/* ==========================================================================
   NEXA Ergonomia — Design System
   Palette derived from the supplied logo (deep forest green, leaf green,
   warm gold, white, warm neutrals). Type: Petrona (display) · Hanken
   Grotesk (UI/body) · Cinzel (brand lockup only). All fonts self-hosted.
   ========================================================================== */

/* ---------- Fonts ---------- */
@font-face {
  font-family: 'Petrona';
  src: url('../fonts/petrona-var.woff2') format('woff2');
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Petrona';
  src: url('../fonts/petrona-italic-var.woff2') format('woff2');
  font-weight: 100 900;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: 'Hanken Grotesk';
  src: url('../fonts/hanken-grotesk-var.woff2') format('woff2');
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Cinzel';
  src: url('../fonts/cinzel-var.woff2') format('woff2');
  font-weight: 400 700;
  font-style: normal;
  font-display: swap;
}

/* ---------- Tokens ---------- */
:root {
  --paper: #FDFCF8;
  --ivory: #F5F2E7;
  --ivory-deep: #EDE8D8;
  --line: #E5E0CF;
  --line-strong: #D2CBB2;
  --ink: #152A1B;
  --ink-soft: #41564A;
  --green-900: #14301D;
  --green-850: #173A22;
  --green-800: #1C4527;
  --green-700: #275935;
  --green-tint: #E4ECDC;
  --leaf: #7CA943;
  --leaf-deep: #4F7226;
  --gold: #C29A44;
  --gold-deep: #8A6A25;
  --gold-soft: #DFC183;
  --gold-pale: #F2E8CE;
  --white: #FFFFFF;

  --font-display: 'Petrona', Georgia, 'Times New Roman', serif;
  --font-sans: 'Hanken Grotesk', 'Segoe UI', system-ui, -apple-system, sans-serif;
  --font-brand: 'Cinzel', Georgia, serif;

  --fs-display: clamp(2.35rem, 1.45rem + 3.4vw, 3.85rem);
  --fs-h1: clamp(2.05rem, 1.4rem + 2.5vw, 3.15rem);
  --fs-h2: clamp(1.65rem, 1.28rem + 1.55vw, 2.4rem);
  --fs-h3: clamp(1.22rem, 1.08rem + 0.55vw, 1.5rem);
  --fs-lead: clamp(1.07rem, 1rem + 0.35vw, 1.24rem);
  --fs-body: 1.0625rem;
  --fs-small: 0.9rem;

  --container: 76rem;
  --gutter: clamp(1.25rem, 4.5vw, 2.5rem);
  --section: clamp(4.25rem, 9vw, 7.5rem);
  --radius: 14px;

  --shadow-soft: 0 14px 40px -18px rgba(21, 42, 27, 0.28);
  --shadow-card: 0 10px 30px -16px rgba(21, 42, 27, 0.22);
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ---------- Reset / base ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
body {
  font-family: var(--font-sans);
  font-size: var(--fs-body);
  line-height: 1.65;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
a { color: var(--green-800); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--green-700); }
button { font: inherit; cursor: pointer; }
strong { font-weight: 650; }
:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
  border-radius: 3px;
}
::selection { background: var(--gold-pale); color: var(--ink); }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; top: -100%; left: 1rem; z-index: 200;
  background: var(--green-800); color: #fff; padding: 0.7em 1.2em;
  border-radius: 0 0 10px 10px; text-decoration: none; font-weight: 600;
}
.skip-link:focus { top: 0; color: #fff; }

/* ---------- Typography ---------- */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 560;
  line-height: 1.14;
  letter-spacing: -0.014em;
  color: var(--ink);
  text-wrap: balance;
}
h1 { font-size: var(--fs-h1); }
h2 { font-size: var(--fs-h2); }
h3 { font-size: var(--fs-h3); line-height: 1.28; }
h1 em, h2 em, .display em {
  font-style: italic;
  font-weight: 480;
  color: var(--green-800);
}
.display { font-size: var(--fs-display); }
.lead {
  font-size: var(--fs-lead);
  line-height: 1.6;
  color: var(--ink-soft);
  max-width: 62ch;
}
p { max-width: 68ch; }
.center-block { margin-inline: auto; text-align: center; }
.center-block p, .center-block .lead { margin-inline: auto; }

/* ---------- Layout ---------- */
.container {
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.section { padding-block: var(--section); position: relative; }
.section-head { max-width: 46rem; margin-bottom: clamp(2.25rem, 5vw, 3.75rem); }
.section-head .lead { margin-top: 1rem; }
.band-ivory { background: var(--ivory); }
.band-forest { background: var(--green-900); color: #EAF0E6; }
.band-forest h2, .band-forest h3 { color: var(--white); }
.band-forest p { color: #C9D6C4; }
.band-forest a { color: var(--gold-soft); }
.band-forest a:hover { color: var(--gold-pale); }

/* Divider with gold dot — echoes the logo's rule */
.divider-dot {
  display: flex; align-items: center; gap: 0.9rem;
  margin: 0 auto;
  max-width: 12rem;
  color: var(--gold);
}
.divider-dot::before, .divider-dot::after {
  content: ""; flex: 1; height: 1px; background: linear-gradient(90deg, transparent, var(--gold) 60%);
}
.divider-dot::after { background: linear-gradient(270deg, transparent, var(--gold) 60%); }
.divider-dot span {
  width: 7px; height: 7px; border-radius: 50%; background: var(--gold); flex: none;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.6em;
  font-family: var(--font-sans); font-weight: 620; font-size: 1rem;
  line-height: 1.2; text-decoration: none; white-space: nowrap;
  padding: 0.95em 1.85em; border-radius: 999px; border: 1.5px solid transparent;
  transition: transform 0.22s var(--ease-out), box-shadow 0.22s var(--ease-out),
    background-color 0.22s var(--ease-out), border-color 0.22s var(--ease-out), color 0.22s var(--ease-out);
  cursor: pointer;
}
.btn svg { width: 1.15em; height: 1.15em; flex: none; }
.btn:active { transform: translateY(0) scale(0.985); }
.btn.btn-primary { background: var(--green-800); color: var(--white); }
.btn.btn-primary:hover { background: var(--green-700); color: var(--white); transform: translateY(-2px); box-shadow: var(--shadow-soft); }
.btn.btn-gold { background: var(--gold); color: var(--green-900); }
.btn.btn-gold:hover { background: var(--gold-soft); color: var(--green-900); transform: translateY(-2px); box-shadow: 0 14px 36px -16px rgba(194, 154, 68, 0.55); }
.btn.btn-ghost { border-color: var(--line-strong); color: var(--ink); background: transparent; }
.btn.btn-ghost:hover { border-color: var(--green-800); color: var(--green-800); transform: translateY(-2px); }
.band-forest .btn.btn-ghost { border-color: rgba(255, 255, 255, 0.42); color: var(--white); }
.band-forest .btn.btn-ghost:hover { border-color: var(--gold-soft); color: var(--gold-pale); }
.btn-sm { padding: 0.72em 1.4em; font-size: 0.94rem; }
@media (max-width: 420px) {
  .btn { white-space: normal; text-align: center; }
}
.cta-row { display: flex; flex-wrap: wrap; gap: 0.9rem; align-items: center; }

/* Text link with arrow */
.link-arrow {
  display: inline-flex; align-items: center; gap: 0.45em;
  font-weight: 620; text-decoration: none; color: var(--green-800);
}
.link-arrow svg { width: 1.05em; height: 1.05em; transition: transform 0.25s var(--ease-out); }
.link-arrow:hover svg { transform: translateX(4px); }
.link-arrow:hover { color: var(--green-700); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(253, 252, 248, 0.92);
  -webkit-backdrop-filter: blur(10px) saturate(1.4);
  backdrop-filter: blur(10px) saturate(1.4);
  border-bottom: 1px solid var(--line);
  transition: box-shadow 0.3s ease;
}
.site-header.is-scrolled { box-shadow: 0 10px 30px -22px rgba(21, 42, 27, 0.35); }
.header-inner {
  display: flex; align-items: center; justify-content: space-between; gap: 1.5rem;
  min-height: 76px;
}
.brand {
  display: flex; align-items: center; gap: 0.8rem; text-decoration: none; color: var(--ink);
}
.brand img { width: 46px; height: 46px; object-fit: contain; }
.brand-name { display: flex; flex-direction: column; line-height: 1.05; }
.brand-name .nexa {
  font-family: var(--font-brand); font-weight: 600; font-size: 1.32rem;
  letter-spacing: 0.16em; color: var(--green-900);
}
.brand-name .erg {
  font-family: var(--font-sans); font-weight: 600; font-size: 0.6rem;
  letter-spacing: 0.42em; color: var(--gold-deep); margin-top: 0.28em; text-transform: uppercase;
}
.site-nav { display: flex; align-items: center; gap: clamp(1.1rem, 2.4vw, 2.2rem); }
.site-nav > a {
  position: relative; text-decoration: none; color: var(--ink-soft);
  font-weight: 570; font-size: 0.99rem; padding-block: 0.35em;
}
.site-nav > a:hover { color: var(--green-800); }
.site-nav > a[aria-current="page"], .site-nav > a[aria-current="true"] { color: var(--green-900); font-weight: 660; }
.site-nav > a[aria-current="page"]::after, .site-nav > a[aria-current="true"]::after {
  content: ""; position: absolute; left: 50%; bottom: -6px; transform: translateX(-50%);
  width: 5px; height: 5px; border-radius: 50%; background: var(--gold);
}
.site-nav > a.nav-cta {
  background: var(--green-800); color: var(--white);
  padding: 0.68em 1.5em; border-radius: 999px; font-weight: 640;
  transition: background-color 0.22s var(--ease-out), transform 0.22s var(--ease-out), box-shadow 0.22s var(--ease-out);
}
.site-nav > a.nav-cta:hover { background: var(--green-700); color: var(--white); transform: translateY(-1px); box-shadow: var(--shadow-card); }
.site-nav > a.nav-cta[aria-current="page"] { background: var(--green-700); color: var(--white); font-weight: 640; }
.site-nav > a.nav-cta[aria-current="page"]::after { display: none; }
.nav-toggle {
  display: none; border: 0; background: none; padding: 0.6rem; margin-right: -0.6rem;
  color: var(--green-900); border-radius: 8px;
}
.nav-toggle svg { width: 26px; height: 26px; }
.nav-toggle .icon-close { display: none; }

@media (max-width: 920px) {
  .header-inner { min-height: 64px; }
  .nav-toggle { display: inline-flex; }
  .site-nav {
    position: fixed; inset: 0; top: 64px; z-index: 90;
    height: calc(100dvh - 64px);
    display: none; flex-direction: column; align-items: flex-start; gap: 0;
    background: var(--green-900); padding: 1.4rem var(--gutter) 2.5rem;
    overflow-y: auto;
  }
  .site-nav.is-open { display: flex; }
  /* backdrop-filter no header cria containing block para descendentes fixed;
     sem esta regra o painel fica preso à altura do header em navegadores móveis */
  body.nav-open .site-header {
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
    background: var(--paper);
  }
  .site-nav > a {
    width: 100%; padding: 1.05rem 0.25rem;
    font-family: var(--font-display); font-size: 1.55rem; font-weight: 520;
    color: #E8EFE3; border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  }
  .site-nav > a:hover { color: var(--gold-soft); }
  .site-nav > a[aria-current="page"] { color: var(--gold-soft); }
  .site-nav > a[aria-current="page"]::after { display: none; }
  .site-nav > a.nav-cta {
    margin-top: 1.75rem; width: 100%;
    display: inline-flex; justify-content: center;
    background: var(--gold); color: var(--green-900);
    font-family: var(--font-sans); font-size: 1.08rem; font-weight: 660;
    padding: 0.9em 1.6em; border-radius: 999px; border-bottom: 0;
  }
  .site-nav > a.nav-cta:hover, .site-nav > a.nav-cta[aria-current="page"] { background: var(--gold-soft); color: var(--green-900); }
  .site-nav .nav-panel-note { color: #A9BCA3; font-size: 0.92rem; margin-top: 1.1rem; }
  body.nav-open { overflow: hidden; }
  body.nav-open .nav-toggle .icon-menu { display: none; }
  body.nav-open .nav-toggle .icon-close { display: block; }
}
@media (min-width: 921px) {
  .site-nav .nav-panel-note { display: none; }
}

/* ---------- Hero (home) ---------- */
.hero { position: relative; overflow: clip; }
.hero-inner {
  display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
  gap: clamp(2.5rem, 5vw, 5rem); align-items: center;
  padding-block: clamp(3.5rem, 7vw, 6.5rem) clamp(4rem, 8vw, 7rem);
}
.hero h1 {
  font-size: var(--fs-display);
  font-weight: 580;
  line-height: 1.09;
  margin-bottom: 1.35rem;
}
.hero h1 .h1-sub {
  display: block; font-size: 0.52em; font-weight: 470; font-style: italic;
  color: var(--ink-soft); letter-spacing: -0.005em; line-height: 1.35; margin-top: 0.75em;
  max-width: 30em;
}
.hero .lead { margin-bottom: 2rem; }
.hero-region {
  display: flex; align-items: center; gap: 0.55em; margin-top: 1.6rem;
  color: var(--ink-soft); font-size: var(--fs-small); font-weight: 550;
}
.hero-region svg { width: 1.1em; height: 1.1em; color: var(--gold-deep); flex: none; }
.hero-media { position: relative; }
.arch-frame {
  position: relative;
  border-radius: 999px 999px var(--radius) var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  background: var(--ivory-deep);
}
.arch-frame img { width: 100%; height: 100%; object-fit: cover; }
.arch-ring {
  position: absolute; z-index: -1;
  inset: -14px auto auto -14px; width: 58%; aspect-ratio: 1;
  border-radius: 50%; border: 1.5px solid var(--gold);
  opacity: 0.55;
}
.hero-line {
  position: absolute; inset: 0; z-index: -1; pointer-events: none;
  width: 100%; height: 100%;
}
@media (max-width: 860px) {
  .hero-inner { grid-template-columns: 1fr; padding-top: 2.75rem; }
  .hero-media { max-width: 30rem; }
}

/* ---------- Credentials strip ---------- */
.cred-strip { border-top: 1px solid var(--line); }
.cred-list {
  list-style: none; padding: 0;
  display: flex; flex-wrap: wrap; align-items: center;
  gap: 0.9rem clamp(1.25rem, 3vw, 2.75rem);
}
.cred-list li {
  display: flex; align-items: center; gap: 0.9rem;
  font-weight: 570; font-size: 0.98rem; color: var(--ink-soft);
}
.cred-list li + li::before {
  content: ""; width: 5px; height: 5px; border-radius: 50%; background: var(--gold);
  flex: none;
}
@media (max-width: 700px) {
  .cred-list { flex-direction: column; align-items: flex-start; gap: 0.8rem; }
  .cred-list li::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: var(--gold); flex: none; }
}

/* ---------- Services ledger ---------- */
.services-grid {
  display: grid; grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.35fr);
  gap: clamp(2.5rem, 5vw, 5rem); align-items: start;
}
.services-intro { position: sticky; top: 108px; }
.services-intro .lead { margin-block: 1.1rem 1.75rem; }
.service-ledger { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line-strong); }
.service-row { border-bottom: 1px solid var(--line-strong); }
.service-row > a {
  display: grid; grid-template-columns: 52px minmax(0, 1fr) auto;
  gap: 1.4rem; align-items: start;
  padding: 1.6rem 0.9rem 1.7rem 0.65rem;
  text-decoration: none; color: inherit;
  transition: background-color 0.25s var(--ease-out), transform 0.25s var(--ease-out);
  border-radius: 6px;
}
.service-row > a:hover { background: rgba(245, 242, 231, 0.75); transform: translateX(6px); }
.service-icon {
  width: 52px; height: 52px; border-radius: 14px;
  display: grid; place-items: center;
  background: var(--green-tint); color: var(--green-800);
}
.service-icon svg { width: 26px; height: 26px; }
.service-row h3 { display: flex; align-items: baseline; gap: 0.6em; flex-wrap: wrap; }
.abbr {
  font-family: var(--font-sans); font-size: 0.72rem; font-weight: 700;
  letter-spacing: 0.14em; color: var(--gold-deep);
  border: 1px solid var(--gold); border-radius: 6px; padding: 0.22em 0.5em;
  transform: translateY(-0.18em); white-space: nowrap;
}

/* ---------- Solutions hub blocks ---------- */
.sol-list { display: grid; }
.sol-block {
  display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.4fr);
  gap: clamp(1.5rem, 4vw, 4rem);
  padding-block: clamp(2rem, 4.5vw, 3.25rem);
  border-top: 1px solid var(--line-strong);
}
.sol-block:last-child { border-bottom: 1px solid var(--line-strong); }
.sol-head h2 { display: flex; align-items: baseline; gap: 0.6em; flex-wrap: wrap; margin-bottom: 1rem; font-size: clamp(1.45rem, 1.2rem + 1vw, 1.9rem); }
.sol-body p { color: var(--ink); }
.sol-body .deliver-list { margin-top: 1.1rem; }
@media (max-width: 860px) {
  .sol-block { grid-template-columns: 1fr; gap: 1.25rem; }
}
.service-row p { color: var(--ink-soft); margin-top: 0.5rem; font-size: 0.99rem; max-width: 52ch; }
.service-row .go {
  align-self: center; color: var(--green-800);
  transition: transform 0.25s var(--ease-out);
}
.service-row .go svg { width: 22px; height: 22px; }
.service-row > a:hover .go { transform: translateX(5px); }
.service-row.is-featured > a { padding-block: 2rem; }
.service-row .row-note {
  display: inline-flex; align-items: center; gap: 0.45em;
  margin-top: 0.8rem; font-size: 0.86rem; font-weight: 600; color: var(--leaf-deep);
}
.service-row .row-note svg { width: 1em; height: 1em; flex: none; }
@media (max-width: 900px) {
  .services-grid { grid-template-columns: 1fr; }
  .services-intro { position: static; }
  .service-row > a { grid-template-columns: 44px minmax(0, 1fr); }
  .service-icon { width: 44px; height: 44px; border-radius: 12px; }
  .service-icon svg { width: 22px; height: 22px; }
  .service-row .go { display: none; }
}

/* ---------- Work-reality diagram ---------- */
.reality-grid {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(2.5rem, 5vw, 5rem); align-items: center;
}
.reality-diagram { position: relative; }
.reality-diagram svg { width: 100%; height: auto; }
.reality-copy .lead { margin-block: 1.1rem 1.4rem; }
.reality-copy .fine { color: var(--ink-soft); font-size: 0.98rem; }
@media (max-width: 860px) {
  .reality-grid { grid-template-columns: 1fr; }
  .reality-diagram { max-width: 26rem; margin-inline: auto; }
}

/* ---------- Process ---------- */
.process-wrap { position: relative; max-width: 44rem; }
.process-steps { list-style: none; margin: 0; padding: 0; position: relative; }
.process-steps::before {
  content: ""; position: absolute; left: 21px; top: 14px; bottom: 14px;
  width: 1px; background: rgba(223, 193, 131, 0.28);
}
.process-progress {
  position: absolute; left: 21px; top: 14px; width: 1px; height: 0;
  background: var(--gold-soft); z-index: 1;
  box-shadow: 0 0 12px rgba(223, 193, 131, 0.5);
}
.process-steps li {
  position: relative; padding: 0 0 2.4rem 4.25rem;
}
.process-steps li:last-child { padding-bottom: 0.25rem; }
.process-num {
  position: absolute; left: 0; top: -2px;
  width: 43px; height: 43px; border-radius: 50%;
  display: grid; place-items: center;
  font-family: var(--font-display); font-weight: 600; font-size: 1.05rem;
  color: var(--gold-soft); border: 1px solid rgba(223, 193, 131, 0.5);
  background: var(--green-900); z-index: 2;
}
.process-steps h3 { color: var(--white); margin-bottom: 0.35rem; }
.process-steps p { font-size: 0.99rem; max-width: 54ch; }
.process-note {
  margin-top: 2.5rem; padding-top: 1.5rem; border-top: 1px solid rgba(255, 255, 255, 0.14);
  color: #A9BCA3; font-size: 0.95rem; font-style: italic; font-family: var(--font-display);
}
.process-arc {
  position: absolute; right: -14%; bottom: -32%; width: 52%; aspect-ratio: 1;
  border-radius: 50%; border: 1px solid rgba(223, 193, 131, 0.22);
  pointer-events: none;
}
.process-arc::after {
  content: ""; position: absolute; inset: 14%;
  border-radius: 50%; border: 1px solid rgba(223, 193, 131, 0.12);
}
.band-forest.section { overflow: clip; }

/* ---------- Founder preview ---------- */
.founder-grid {
  display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: clamp(2.5rem, 5.5vw, 5.5rem); align-items: center;
}
.founder-portrait { position: relative; max-width: 24rem; }
.founder-portrait .arch-frame { aspect-ratio: 4 / 4.6; }
.founder-leaf {
  position: absolute; right: -12px; bottom: 26px; width: 74px; height: 74px;
  border-radius: 50%; background: var(--paper); border: 1px solid var(--line);
  display: grid; place-items: center; box-shadow: var(--shadow-card);
}
.founder-leaf img { width: 44px; height: 44px; object-fit: contain; }
.founder-copy h2 { margin-bottom: 0.4rem; }
.founder-role {
  font-weight: 620; color: var(--gold-deep); letter-spacing: 0.02em;
  margin-bottom: 1.2rem; font-size: 0.99rem;
}
.founder-copy blockquote {
  font-family: var(--font-display); font-style: italic; font-weight: 470;
  font-size: clamp(1.15rem, 1rem + 0.7vw, 1.4rem); line-height: 1.5;
  color: var(--green-800); border-left: 1px solid var(--gold);
  padding-left: 1.4rem; margin: 1.6rem 0 1.8rem;
  max-width: 34em;
}
@media (max-width: 860px) {
  .founder-grid { grid-template-columns: 1fr; }
  .founder-portrait { margin-inline: auto; }
}

/* ---------- Why NEXA ---------- */
.why-grid {
  display: grid; grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: clamp(2.5rem, 5vw, 5rem); align-items: start;
}
.why-intro { position: sticky; top: 108px; }
.why-intro .lead { margin-top: 1rem; }
.why-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line-strong); }
.why-list li {
  display: grid; grid-template-columns: 40px minmax(0, 1fr); gap: 1.25rem;
  padding-block: 1.45rem; border-bottom: 1px solid var(--line-strong);
}
.why-glyph {
  width: 40px; height: 40px; border-radius: 50%;
  display: grid; place-items: center;
  color: var(--gold-deep); border: 1px solid var(--gold);
  background: var(--paper);
}
.why-glyph svg { width: 20px; height: 20px; }
.why-list h3 { font-family: var(--font-sans); font-size: 1.06rem; font-weight: 660; letter-spacing: 0; margin-bottom: 0.3rem; }
.why-list p { font-size: 0.98rem; color: var(--ink-soft); max-width: 56ch; }
@media (max-width: 860px) {
  .why-grid { grid-template-columns: 1fr; }
  .why-intro { position: static; }
}

/* ---------- Regional ---------- */
.region-grid {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(2.5rem, 5vw, 5rem); align-items: center;
}
.region-map { position: relative; }
.region-map svg { width: 100%; height: auto; }
.region-links { list-style: none; margin: 1.75rem 0 0; padding: 0; border-top: 1px solid var(--line-strong); }
.region-links li { border-bottom: 1px solid var(--line-strong); }
.region-links a {
  display: flex; align-items: baseline; justify-content: space-between; gap: 1rem;
  padding: 1.02rem 0.35rem; text-decoration: none; color: var(--ink);
  transition: transform 0.24s var(--ease-out), background-color 0.24s var(--ease-out);
  border-radius: 6px;
}
.region-links a:hover { transform: translateX(6px); background: rgba(245, 242, 231, 0.8); color: var(--green-800); }
.region-links .city { font-family: var(--font-display); font-weight: 560; font-size: 1.18rem; }
.region-links .tag { font-size: 0.85rem; color: var(--ink-soft); font-weight: 550; text-align: right; }
.region-links li.is-primary .city { font-size: 1.42rem; color: var(--green-800); }
.region-links li.is-state a { color: var(--gold-deep); }
.region-links li.is-state .city { font-size: 1.05rem; font-family: var(--font-sans); font-weight: 640; letter-spacing: 0.05em; }
@media (max-width: 860px) {
  .region-grid { grid-template-columns: 1fr; }
  .region-map { max-width: 24rem; margin-inline: auto; order: 2; }
}

/* ---------- FAQ ---------- */
.faq-wrap { max-width: 47rem; }
.faq-item { border-bottom: 1px solid var(--line-strong); }
.faq-item summary {
  list-style: none; cursor: pointer;
  display: flex; align-items: baseline; justify-content: space-between; gap: 1.25rem;
  padding: 1.35rem 0.25rem; font-weight: 620; font-size: 1.06rem; color: var(--ink);
  transition: color 0.2s ease;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:hover { color: var(--green-800); }
.faq-item summary .faq-x {
  flex: none; width: 26px; height: 26px; border-radius: 50%;
  display: grid; place-items: center; color: var(--gold-deep);
  border: 1px solid var(--gold);
  transition: transform 0.3s var(--ease-out), background-color 0.2s ease, color 0.2s ease;
  transform: translateY(0.2em);
}
.faq-item summary .faq-x svg { width: 13px; height: 13px; }
.faq-item[open] summary { color: var(--green-800); }
.faq-item[open] summary .faq-x { transform: translateY(0.2em) rotate(45deg); background: var(--gold); color: var(--green-900); }
.faq-item .faq-a { padding: 0 2.6rem 1.5rem 0.25rem; color: var(--ink-soft); }
.faq-item .faq-a p + p { margin-top: 0.7rem; }
.faq-item .faq-a a { font-weight: 600; }

/* ---------- Final CTA ---------- */
.cta-final { position: relative; overflow: clip; }
.cta-final .container { position: relative; z-index: 1; }
.cta-final h2 { font-size: clamp(1.9rem, 1.4rem + 2.2vw, 3rem); max-width: 21em; }
.cta-final .lead { color: #C9D6C4; margin-block: 1.25rem 2.2rem; }
.cta-contactline {
  display: flex; flex-wrap: wrap; gap: 0.8rem 2rem; margin-top: 2.6rem;
  color: #A9BCA3; font-size: 0.95rem;
}
.cta-contactline span { display: inline-flex; align-items: center; gap: 0.55em; }
.cta-contactline svg { width: 1.05em; height: 1.05em; color: var(--gold-soft); flex: none; }
.cta-contactline a { color: #DDE7D8; text-decoration: none; }
.cta-contactline a:hover { color: var(--gold-pale); text-decoration: underline; }
.cta-arc {
  position: absolute; right: -12%; top: -30%; width: 56%; aspect-ratio: 1;
  border-radius: 50%; border: 1px solid rgba(223, 193, 131, 0.25);
  pointer-events: none;
}
.cta-arc::after {
  content: ""; position: absolute; inset: 13%;
  border-radius: 50%; border: 1px solid rgba(223, 193, 131, 0.14);
}

/* ---------- Footer ---------- */
.site-footer { background: var(--green-900); color: #B7C6B1; font-size: 0.96rem; }
.footer-grid {
  display: grid; grid-template-columns: 1.25fr 0.95fr 0.9fr 1.4fr;
  gap: clamp(2rem, 4vw, 3.5rem);
  padding-block: clamp(3rem, 6vw, 4.5rem) 2.5rem;
}
.footer-brand img { width: 52px; height: 52px; margin-bottom: 1rem; }
.footer-brand .brand-name .nexa { color: #EAF0E6; }
.footer-brand .brand-name .erg { color: var(--gold-soft); }
.footer-tagline { margin-top: 1.1rem; font-family: var(--font-display); font-style: italic; color: #A9BCA3; max-width: 24ch; }
.site-footer h2 {
  color: var(--gold-soft); font-family: var(--font-sans); font-size: 0.85rem;
  font-weight: 680; letter-spacing: 0.14em; text-transform: uppercase; margin-bottom: 1.1rem;
}
.footer-nav { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.55rem; }
.footer-nav a { color: #C9D6C4; text-decoration: none; }
.footer-nav a:hover { color: var(--gold-pale); text-decoration: underline; }
.footer-contact { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.8rem; }
.footer-contact li { display: flex; gap: 0.7em; align-items: flex-start; }
.footer-contact svg { width: 1.1em; height: 1.1em; color: var(--gold-soft); flex: none; margin-top: 0.25em; }
.footer-contact a { color: #DDE7D8; text-decoration: none; overflow-wrap: anywhere; }
.footer-contact a:hover { color: var(--gold-pale); text-decoration: underline; }
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding-block: 1.4rem;
  display: flex; flex-wrap: wrap; gap: 0.5rem 2rem; justify-content: space-between;
  font-size: 0.86rem; color: #8FA48A;
}
.footer-credit {
  display: inline-flex; align-items: center; gap: 0.45em;
  color: #8FA48A; text-decoration: none;
  transition: color 0.2s ease;
}
.footer-credit img { width: auto; height: 1.25em; display: inline-block; }
.footer-credit .credit-heart { width: 1em; height: 1em; flex: none; color: var(--white); }
.footer-credit:hover { color: var(--gold-pale); }
@media (max-width: 960px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }

/* ---------- WhatsApp FAB ---------- */
.wa-fab {
  position: fixed; right: max(1.1rem, env(safe-area-inset-right)); bottom: max(1.1rem, env(safe-area-inset-bottom));
  z-index: 80;
  width: 56px; height: 56px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--green-800); color: var(--white);
  box-shadow: 0 12px 30px -10px rgba(20, 48, 29, 0.5);
  transition: transform 0.25s var(--ease-out), background-color 0.25s ease, box-shadow 0.25s ease;
}
.wa-fab svg { width: 28px; height: 28px; }
.wa-fab:hover { background: var(--green-700); transform: translateY(-3px); color: var(--white); box-shadow: 0 18px 40px -12px rgba(20, 48, 29, 0.55); }
.wa-fab:focus-visible { outline-offset: 4px; border-radius: 50%; }

/* ---------- Inner pages ---------- */
.page-hero { border-bottom: 1px solid var(--line); }
.page-hero-inner { padding-block: clamp(2.75rem, 5.5vw, 4.5rem) clamp(2.75rem, 6vw, 4.75rem); }
.breadcrumbs { margin-bottom: 1.5rem; font-size: 0.88rem; color: var(--ink-soft); }
.breadcrumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 0.35em; margin: 0; padding: 0; }
.breadcrumbs li { display: flex; align-items: center; gap: 0.35em; }
.breadcrumbs li + li::before { content: "›"; color: var(--gold); }
.breadcrumbs a { color: var(--ink-soft); text-decoration: none; }
.breadcrumbs a:hover { color: var(--green-800); text-decoration: underline; }
.breadcrumbs [aria-current] { color: var(--green-900); font-weight: 600; }
.page-hero h1 { max-width: 24em; }
.page-hero .lead { margin-top: 1.15rem; }
.page-hero .cta-row { margin-top: 1.9rem; }

/* Article/service layout */
.article-cols {
  display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 0.85fr);
  gap: clamp(2.5rem, 5vw, 5rem); align-items: start;
}
.article-main > h2 { margin-top: clamp(2.4rem, 5vw, 3.5rem); margin-bottom: 0.9rem; }
.article-main > h2:first-child { margin-top: 0; }
.article-main p + p { margin-top: 0.9rem; }
.article-main ul:not([class]) { padding-left: 1.2rem; margin-top: 0.9rem; display: grid; gap: 0.45rem; color: var(--ink); }
.article-main ul:not([class]) li::marker { color: var(--gold); }
.article-aside { position: sticky; top: 108px; display: grid; gap: 1.5rem; }
.aside-card {
  border: 1px solid var(--line-strong); border-radius: var(--radius);
  padding: 1.75rem 1.6rem; background: var(--white);
}
.band-ivory .aside-card { background: var(--paper); }
.aside-card h2, .aside-card h3 { font-family: var(--font-sans); font-size: 1.02rem; font-weight: 680; margin-bottom: 0.9rem; }
.aside-card ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.6rem; font-size: 0.96rem; }
.aside-card ul a { display: inline-flex; gap: 0.55em; align-items: center; color: var(--green-800); text-decoration: none; font-weight: 580; }
.aside-card ul a svg { width: 1em; height: 1em; flex: none; color: var(--gold-deep); }
.aside-card ul a:hover { text-decoration: underline; }
.aside-card .btn { width: 100%; margin-top: 0.4rem; }
.aside-card p { font-size: 0.94rem; color: var(--ink-soft); }
.aside-card--forest { background: var(--green-900); border-color: var(--green-900); color: #C9D6C4; }
.aside-card--forest h2, .aside-card--forest h3 { color: var(--white); }
.aside-card--forest p { color: #C9D6C4; }
@media (max-width: 900px) {
  .article-cols { grid-template-columns: 1fr; }
  .article-aside { position: static; }
}

/* Deliverables list (o que sua empresa recebe) */
.deliver-list { list-style: none; margin: 1.1rem 0 0; padding: 0; display: grid; gap: 0.7rem; }
.deliver-list li { display: flex; gap: 0.8em; align-items: flex-start; }
.deliver-list svg { width: 1.25em; height: 1.25em; color: var(--leaf-deep); flex: none; margin-top: 0.18em; }

/* Scenario list (quando pode ser indicado) */
.scenario-list { list-style: none; margin: 1.1rem 0 0; padding: 0; display: grid; gap: 0.85rem; }
.scenario-list li {
  padding: 1.05rem 1.2rem; border: 1px solid var(--line); border-radius: 12px;
  background: var(--white); color: var(--ink); font-size: 0.99rem;
  display: flex; gap: 0.8em; align-items: flex-start;
}
.band-ivory .scenario-list li { background: var(--paper); }
.scenario-list svg { width: 1.2em; height: 1.2em; color: var(--gold-deep); flex: none; margin-top: 0.2em; }

/* Benefit inline list */
.benefit-flow { display: flex; flex-wrap: wrap; gap: 0.6rem; margin-top: 1.2rem; padding: 0; list-style: none; }
.benefit-flow li {
  border: 1px solid var(--line-strong); border-radius: 999px;
  padding: 0.5em 1.1em; font-size: 0.93rem; font-weight: 570; color: var(--ink-soft);
  background: var(--white);
}
.band-ivory .benefit-flow li { background: var(--paper); }

/* ---------- Forms ---------- */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.3rem 1.4rem; }
.form-field { display: grid; gap: 0.45rem; }
.form-field.full { grid-column: 1 / -1; }
.form-field label { font-weight: 620; font-size: 0.96rem; }
.form-field label .req { color: var(--gold-deep); }
.form-field input, .form-field select, .form-field textarea {
  font: inherit; color: var(--ink);
  border: 1px solid var(--line-strong); border-radius: 10px;
  padding: 0.78em 1em; background: var(--white); width: 100%;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.form-field textarea { min-height: 8.5rem; resize: vertical; }
.form-field input:focus-visible, .form-field select:focus-visible, .form-field textarea:focus-visible {
  outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px var(--gold-pale);
}
.form-field select {
  appearance: none; -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%238A6A25' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 1em center;
  padding-right: 2.6em;
}
.form-consent { display: flex; gap: 0.75em; align-items: flex-start; font-size: 0.92rem; color: var(--ink-soft); }
.form-consent input { width: 1.15rem; height: 1.15rem; margin-top: 0.2em; accent-color: var(--green-800); flex: none; }
.form-note { font-size: 0.88rem; color: var(--ink-soft); }
.form-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1.2rem; margin-top: 0.4rem; }
@media (max-width: 640px) { .form-grid { grid-template-columns: 1fr; } }

/* Contact page layout */
.contact-grid {
  display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: clamp(2.5rem, 5vw, 4.5rem); align-items: start;
}
.contact-side { display: grid; gap: 1.5rem; }
.contact-block {
  border: 1px solid var(--line-strong); border-radius: var(--radius);
  padding: 1.6rem 1.5rem; background: var(--white);
}
.contact-block h2 { font-family: var(--font-sans); font-size: 1rem; font-weight: 680; margin-bottom: 0.8rem; }
.contact-block p, .contact-block li { font-size: 0.97rem; color: var(--ink-soft); }
.contact-block ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.7rem; }
.contact-block li { display: flex; gap: 0.65em; align-items: flex-start; }
.contact-block svg { width: 1.15em; height: 1.15em; color: var(--gold-deep); flex: none; margin-top: 0.2em; }
.contact-block a { font-weight: 600; overflow-wrap: anywhere; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }

/* ---------- Content imagery ---------- */
.figure-frame {
  border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow-card); background: var(--ivory-deep);
  margin-bottom: clamp(1.75rem, 4vw, 2.75rem);
}
.figure-frame img { width: 100%; height: auto; }

/* ---------- Service link panels (city pages) ---------- */
.svc-links {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.1rem; margin-top: 1.5rem;
}
.svc-links a {
  border: 1px solid var(--line-strong); border-radius: var(--radius);
  padding: 1.4rem; text-decoration: none; color: inherit; background: var(--white);
  transition: border-color 0.2s ease, transform 0.25s var(--ease-out), box-shadow 0.25s var(--ease-out);
  display: block;
}
.band-ivory .svc-links a { background: var(--paper); }
.svc-links a:hover { border-color: var(--gold); transform: translateY(-3px); box-shadow: var(--shadow-card); }
.svc-links h3 { font-size: 1.08rem; margin-bottom: 0.35rem; }
.svc-links p { font-size: 0.95rem; color: var(--ink-soft); }
.svc-links .go-line {
  display: inline-flex; align-items: center; gap: 0.4em; margin-top: 0.75rem;
  font-size: 0.9rem; font-weight: 640; color: var(--green-800);
}
.svc-links .go-line svg { width: 1em; height: 1em; }
@media (max-width: 640px) { .svc-links { grid-template-columns: 1fr; } }

/* ---------- Mini numbered steps (service pages) ---------- */
.mini-steps { list-style: none; counter-reset: step; margin: 1.1rem 0 0; padding: 0; display: grid; gap: 0.9rem; }
.mini-steps li { counter-increment: step; display: flex; gap: 1rem; align-items: flex-start; }
.mini-steps li::before {
  content: counter(step); flex: none; width: 30px; height: 30px; border-radius: 50%;
  border: 1px solid var(--gold); color: var(--gold-deep);
  display: grid; place-items: center;
  font-family: var(--font-display); font-weight: 600; font-size: 0.95rem;
  transform: translateY(0.1em);
}
.mini-steps li strong { display: block; }

/* ---------- Credential list (sobre) ---------- */
.cred-cards { list-style: none; margin: 1.25rem 0 0; padding: 0; display: grid; gap: 0.75rem; }
.cred-cards li {
  display: flex; gap: 0.85em; align-items: flex-start;
  padding: 0.95rem 1.15rem; border: 1px solid var(--line); border-radius: 12px; background: var(--white);
  font-size: 0.99rem;
}
.band-ivory .cred-cards li { background: var(--paper); }
.cred-cards svg { width: 1.2em; height: 1.2em; color: var(--leaf-deep); flex: none; margin-top: 0.2em; }

/* ---------- Motion helpers ---------- */
.will-reveal { will-change: transform, opacity; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* ---------- Utility ---------- */
.mt-1 { margin-top: 1rem; }
.mt-2 { margin-top: 2rem; }
.text-soft { color: var(--ink-soft); }
.nowrap { white-space: nowrap; }
