:root {
  --green: #8BB567;
  --green-bright: #a3cd7e;
  --green-deep: #6fa84a;
  --ink: #1c1e20;
  --surface: #26292c;
  --surface-2: #2e3236;
  --line: rgba(255, 255, 255, 0.08);
  --text: #e9ecea;
  --muted: #a7adaa;
  --radius: 16px;
  --container: 1140px;
  --font-head: 'Quicksand', system-ui, sans-serif;
  --font-body: 'Inter', system-ui, sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background: var(--ink);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

h1, h2, h3 { font-family: var(--font-head); font-weight: 600; line-height: 1.15; letter-spacing: -0.01em; }
a { color: inherit; text-decoration: none; }
.accent { color: var(--green); }

/* ---------- BUTTONS ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 15px;
  padding: 13px 26px;
  border-radius: 999px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform .18s ease, background .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.btn-primary {
  background: var(--green);
  color: #15240c;
  box-shadow: 0 8px 24px rgba(139, 181, 103, 0.25);
}
.btn-primary:hover { background: var(--green-bright); transform: translateY(-2px); box-shadow: 0 12px 30px rgba(139, 181, 103, 0.35); }
.btn-ghost { background: transparent; color: var(--text); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--green); color: var(--green); transform: translateY(-2px); }
.btn-sm { padding: 9px 18px; font-size: 14px; }
.btn-lg { padding: 16px 34px; font-size: 16px; }

/* ---------- HEADER ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(28, 30, 32, 0.72);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s ease, background .3s ease, padding .3s ease;
}
.site-header.scrolled { border-bottom-color: var(--line); background: rgba(24, 26, 28, 0.9); }
.header-inner { display: flex; align-items: center; gap: 24px; height: 76px; }
.brand-logo { height: 30px; display: block; }
.nav { display: flex; gap: 30px; margin-left: auto; }
.nav a { font-family: var(--font-head); font-weight: 500; font-size: 15px; color: var(--muted); transition: color .15s ease; }
.nav a:hover { color: var(--text); }
.nav-cta { flex-shrink: 0; }
.nav-toggle { display: none; }

/* mobile nav */
.mobile-nav { display: none; }

/* ---------- HERO ---------- */
.hero {
  position: relative;
  padding: 120px 0 130px;
  overflow: hidden;
  isolation: isolate;
}
.hero-glow {
  position: absolute;
  top: -200px; left: 50%;
  transform: translateX(-50%);
  width: 900px; height: 700px;
  background: radial-gradient(circle, rgba(139, 181, 103, 0.22) 0%, rgba(139, 181, 103, 0) 62%);
  z-index: -2;
  pointer-events: none;
}
.hero-grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 30%, #000 0%, transparent 75%);
          mask-image: radial-gradient(ellipse 70% 60% at 50% 30%, #000 0%, transparent 75%);
  z-index: -1;
  opacity: .6;
}
.hero-inner { max-width: 760px; }
.eyebrow {
  display: inline-block;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--green);
  margin-bottom: 20px;
}
.hero-title { font-size: clamp(2.4rem, 6vw, 4rem); font-weight: 700; }
.hero-sub { margin: 26px 0 36px; font-size: clamp(1.05rem, 2.2vw, 1.25rem); color: var(--muted); max-width: 620px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }

/* ---------- SECTIONS ---------- */
.section { padding: 96px 0; }
.section-alt { background: var(--surface); }
.section-head { max-width: 680px; margin-bottom: 52px; }
.section-head h2 { font-size: clamp(1.8rem, 4vw, 2.6rem); margin-top: 10px; }
.section-lead { color: var(--muted); margin-top: 14px; font-size: 1.08rem; }

/* ---------- CARDS ---------- */
.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px 28px;
  transition: transform .22s ease, border-color .22s ease, background .22s ease;
}
.section-alt .card { background: var(--surface-2); }
.card:hover { transform: translateY(-6px); border-color: rgba(139, 181, 103, 0.45); }
.card-wide {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: auto 1fr;
  column-gap: 24px;
  align-items: center;
  background: rgba(139, 181, 103, 0.07);
  border-color: rgba(139, 181, 103, 0.32);
}
.card-wide .card-icon { grid-row: 1 / 3; margin-bottom: 0; align-self: center; }
.card-wide h3 { align-self: end; }
.card-wide p { align-self: start; max-width: 640px; }
.card-icon {
  width: 52px; height: 52px;
  display: grid; place-items: center;
  border-radius: 13px;
  background: rgba(139, 181, 103, 0.12);
  color: var(--green);
  margin-bottom: 20px;
}
.card-icon svg { width: 26px; height: 26px; }
.card h3 { font-size: 1.22rem; margin-bottom: 8px; }
.card p { color: var(--muted); font-size: 0.98rem; }

/* ---------- STEPS ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.step { padding: 8px 0; position: relative; }
.step-num {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 2.4rem;
  color: rgba(139, 181, 103, 0.55);
  display: block;
  margin-bottom: 12px;
}
.step h3 { font-size: 1.15rem; margin-bottom: 8px; }
.step p { color: var(--muted); font-size: 0.97rem; }

/* ---------- SOBRE ---------- */
.about-inner { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 56px; align-items: center; }
.about-text h2 { font-size: clamp(1.8rem, 4vw, 2.5rem); margin: 10px 0 20px; }
.about-text p { color: var(--muted); margin-bottom: 16px; max-width: 540px; }
.about-text strong { color: var(--text); font-weight: 600; }
.about-tags { display: flex; gap: 12px; margin-top: 24px; flex-wrap: wrap; }
.about-tags span {
  font-family: var(--font-head); font-weight: 500; font-size: 14px;
  padding: 8px 16px; border-radius: 999px;
  border: 1px solid var(--line); color: var(--text);
}
.about-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 30px;
}
.off-family-label { font-family: var(--font-head); font-weight: 600; font-size: 13px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-bottom: 18px; }
.off-chip {
  display: flex; align-items: center; gap: 12px;
  font-family: var(--font-head); font-weight: 600; font-size: 1.05rem;
  padding: 16px 18px; border-radius: 12px;
  background: rgba(255,255,255,0.02);
  border: 1px solid var(--line);
  margin-bottom: 12px;
  color: var(--muted);
}
.off-chip em { font-style: normal; font-weight: 400; font-size: .9rem; color: var(--muted); opacity: .8; }
.off-chip.is-active { color: var(--text); background: rgba(139, 181, 103, 0.08); border-color: rgba(139, 181, 103, 0.4); }
.off-chip .dot { width: 11px; height: 11px; border-radius: 50%; flex-shrink: 0; }

/* ---------- CONTATO ---------- */
.contact-panel {
  background: linear-gradient(135deg, var(--surface) 0%, var(--surface-2) 100%);
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 56px;
  display: grid;
  grid-template-columns: 1.3fr auto;
  gap: 40px;
  align-items: center;
  position: relative;
  overflow: hidden;
}
.contact-panel::before {
  content: "";
  position: absolute; top: -120px; right: -80px;
  width: 360px; height: 360px;
  background: radial-gradient(circle, rgba(139,181,103,0.18), transparent 65%);
  pointer-events: none;
}
.contact-copy h2 { font-size: clamp(1.7rem, 3.6vw, 2.3rem); margin: 10px 0 12px; }
.contact-copy > p { color: var(--muted); margin-bottom: 26px; max-width: 480px; }
.contact-list { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.contact-item {
  display: flex; align-items: center; gap: 12px;
  color: var(--text); font-size: 0.97rem;
  padding: 6px 0;
  transition: color .15s ease;
}
.contact-item svg { width: 22px; height: 22px; color: var(--green); flex-shrink: 0; }
.contact-item em { font-style: normal; color: var(--muted); }
a.contact-item:hover { color: var(--green); }
a.contact-item:hover em { color: var(--green); }
.contact-item.is-static { cursor: default; }
.contact-cta { white-space: nowrap; }

/* ---------- FOOTER ---------- */
.site-footer { border-top: 1px solid var(--line); padding: 50px 0; }
.footer-inner { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 14px; }
.footer-logo { height: 30px; opacity: .92; }
.footer-tag { color: var(--muted); font-size: 0.98rem; }
.footer-copy { color: var(--muted); font-size: 0.85rem; opacity: .7; }

/* ---------- REVEAL ANIMATION (only when JS is active) ---------- */
.js .reveal { opacity: 0; transform: translateY(22px); transition: opacity .6s ease, transform .6s ease; }
.js .reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .js .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* ---------- RESPONSIVE ---------- */
@media (max-width: 920px) {
  .cards { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); gap: 30px; }
  .about-inner { grid-template-columns: 1fr; gap: 36px; }
  .contact-panel { grid-template-columns: 1fr; padding: 40px 32px; }
  .contact-cta { justify-self: start; }
}
@media (max-width: 720px) {
  .nav, .nav-cta { display: none; }
  .nav-toggle {
    display: flex; flex-direction: column; gap: 5px;
    margin-left: auto; background: none; border: none; cursor: pointer; padding: 6px;
  }
  .nav-toggle span { width: 24px; height: 2px; background: var(--text); border-radius: 2px; transition: transform .25s ease, opacity .2s ease; }
  .nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .mobile-nav {
    display: grid; gap: 6px;
    max-height: 0; overflow: hidden;
    padding: 0 24px;
    transition: max-height .3s ease, padding .3s ease;
  }
  .mobile-nav.open { max-height: 360px; padding: 8px 24px 22px; border-top: 1px solid var(--line); }
  .mobile-nav a { font-family: var(--font-head); font-weight: 500; padding: 12px 0; color: var(--muted); }
  .mobile-nav .btn { margin-top: 8px; }
  .hero { padding: 80px 0 90px; }
  .section { padding: 70px 0; }
  .cards { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .contact-list { grid-template-columns: 1fr; }
}
