/* ==========================================================================
   Páginas "novas" — efeitos compartilhados (Empresa, Serviços, Parceiros)
   ========================================================================== */
.nv-progress {
  position: fixed; top: 0; left: 0; height: 3px; width: 100%; z-index: 1001; pointer-events: none;
  transform-origin: left; transform: scaleX(0);
  background: linear-gradient(90deg, var(--verde-escuro), var(--verde-claro));
}

/* ---------- topo escuro ---------- */
.nv-hero {
  position: relative; isolation: isolate; overflow: hidden; color: #fff; text-align: center;
  min-height: 460px; display: flex; align-items: center; justify-content: center;
  padding: 7rem 2rem 4.5rem; background: #06130a;
}
.nv-hero-bg {
  position: absolute; inset: 0; z-index: -2;
  background-image:
    radial-gradient(ellipse at 50% 30%, rgba(18, 158, 56, 0.28), transparent 60%),
    linear-gradient(180deg, rgba(4, 16, 8, 0.85) 0%, rgba(4, 16, 8, 0.78) 60%, rgba(4, 16, 8, 0.95) 100%),
    var(--foto-floresta-b);
  background-size: cover; background-position: center;
  transform: scale(1.05); animation: bc-nv-kb 26s ease-in-out infinite alternate;
}
@keyframes bc-nv-kb { to { transform: scale(1.12) translate(-1%, -1%); } }
.nv-net { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; }
.nv-hero-in { max-width: 860px; position: relative; }
.nv-crumb {
  display: inline-flex; align-items: center; gap: 0.55rem; margin-bottom: 1.4rem;
  font-size: 0.82rem; font-weight: 600; color: rgba(255, 255, 255, 0.7);
  padding: 0.45rem 1rem; border-radius: 50px; background: rgba(255, 255, 255, 0.06); border: 1px solid rgba(255, 255, 255, 0.14);
}
.nv-crumb a { color: #bfe86a; text-decoration: none; font-weight: 700; }
.nv-crumb i { font-size: 0.6rem; opacity: 0.6; }
.nv-title { font-size: 3.2rem; font-weight: 800; line-height: 1.06; letter-spacing: -0.035em; color: #fff; margin-bottom: 1.2rem; text-wrap: initial; }
.nv-w { display: inline-block; opacity: 0; transform: translateY(0.45em); filter: blur(8px); }
.nv-title.nv-in .nv-w { animation: bc-nv-word 0.9s cubic-bezier(0.2, 0.8, 0.2, 1) forwards; }
@keyframes bc-nv-word { to { opacity: 1; transform: none; filter: blur(0); } }
.nv-grad {
  background: linear-gradient(100deg, #9cbf00 10%, #eaffb0 40%, #4fd06f 60%, #9cbf00 90%);
  background-size: 250% 100%; -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
.nv-title.nv-in .nv-grad { animation: bc-nv-word 0.9s cubic-bezier(0.2, 0.8, 0.2, 1) forwards, bc-nv-shine 5s linear 1.4s infinite; }
@keyframes bc-nv-shine { from { background-position: 150% 0; } to { background-position: -100% 0; } }
.nv-lead { font-size: 1.15rem; color: rgba(255, 255, 255, 0.78); max-width: 680px; margin: 0 auto; opacity: 0; animation: bc-nv-fade 1s ease 0.8s forwards; }
@keyframes bc-nv-fade { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
.nv-hero-cta { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; margin-top: 2rem; opacity: 0; animation: bc-nv-fade 1s ease 1.1s forwards; }
.nv-btn-ghost { background: rgba(255, 255, 255, 0.06); color: #fff; border: 1.5px solid rgba(255, 255, 255, 0.35); }
.nv-btn-ghost:hover { border-color: #4fd06f; color: #4fd06f; }
.nv-hero::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: -1px; height: 80px; z-index: -1;
  background: linear-gradient(180deg, transparent, rgba(6, 19, 10, 0.6));
}

/* ---------- utilitários de interação ---------- */
.nv-magnet { transition: transform 0.25s cubic-bezier(0.2, 0.8, 0.2, 1), background 0.3s, box-shadow 0.3s, border-color 0.3s, color 0.3s; }
.nv-tilt { position: relative; transform-style: preserve-3d; transition: transform 0.2s ease-out, box-shadow 0.3s ease, border-color 0.3s; }
.nv-tilt::after {
  content: ''; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; opacity: 0; transition: opacity 0.3s;
  background: radial-gradient(320px circle at var(--mx, 50%) var(--my, 50%), rgba(156, 191, 0, 0.2), transparent 60%);
}
.nv-tilt:hover::after { opacity: 1; }
.nv-glow-border { position: relative; }
.nv-glow-border::before {
  content: ''; position: absolute; inset: -1px; border-radius: inherit; padding: 1.5px; pointer-events: none; z-index: 2;
  background: conic-gradient(from var(--ang, 0deg), transparent 0 65%, rgba(18, 158, 56, 0.9) 80%, rgba(156, 191, 0, 0.9) 88%, transparent 100%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
}
.nv-dark { background: #06130a; color: #fff; position: relative; isolation: isolate; overflow: hidden; }
.nv-dark .section-header h2 { color: #fff; }
.nv-dark .section-header p { color: rgba(255, 255, 255, 0.7); }
.nv-dark .section-tag { background: rgba(156, 191, 0, 0.12); color: #bfe86a; }
.nv-dark .highlight { background: linear-gradient(135deg, #bfe86a, #4fd06f); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.nv-dark::before {
  content: ''; position: absolute; inset: 0; z-index: -1; opacity: 0.5;
  background-image: linear-gradient(rgba(156, 220, 120, 0.07) 1px, transparent 1px), linear-gradient(90deg, rgba(156, 220, 120, 0.07) 1px, transparent 1px);
  background-size: 48px 48px;
  -webkit-mask-image: radial-gradient(ellipse at 50% 50%, #000, transparent 75%); mask-image: radial-gradient(ellipse at 50% 50%, #000, transparent 75%);
}
.nv-cta-spot::after {
  content: ''; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: radial-gradient(600px circle at var(--mx, 50%) var(--my, 50%), rgba(156, 191, 0, 0.16), transparent 60%);
}

@media (max-width: 768px) {
  .nv-hero { min-height: 0; padding: 6.8rem 1.2rem 4rem; }
  .nv-title { font-size: 2.4rem; }
  .nv-lead { font-size: 1rem; }
  .nv-hero-cta .btn { width: 100%; justify-content: center; }
}
@media (prefers-reduced-motion: reduce) {
  .nv-w, .nv-lead, .nv-hero-cta { opacity: 1; transform: none; filter: none; animation: none; }
  .nv-hero-bg { animation: none; }
}

/* ---------- seção com floresta ao fundo (mais clara) ---------- */
.nv-forest {
  position: relative; isolation: isolate; overflow: hidden; color: #fff;
  background-color: var(--floresta); background-image: var(--foto-floresta-b);
  background-size: cover; background-position: center; background-attachment: fixed;
}
.nv-forest::before {
  content: ''; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, rgba(6, 30, 14, 0.62) 0%, rgba(6, 30, 14, 0.38) 45%, rgba(6, 30, 14, 0.62) 100%);
}
.nv-forest .section-header h2 { color: #fff; text-shadow: 0 2px 20px rgba(0, 0, 0, 0.35); }
.nv-forest .section-header p { color: rgba(255, 255, 255, 0.88); }
.nv-forest .section-tag { background: rgba(255, 255, 255, 0.9); color: var(--verde-escuro); }
.nv-forest .highlight { background: linear-gradient(135deg, #d9ff7a, #6ee08a); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
@media (max-width: 768px) { .nv-forest { background-attachment: scroll; } }
