/* ============================================================
   LiNFe — Site institucional
   Sistema visual derivado do Design System do app (linfe-ds.css)
   Tom: sóbrio, institucional, fiscal. Foco: contadores.
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,400;0,500;0,600;0,700;1,400&display=swap');

:root {
  --g:        #1DD68F;
  --g-deep:   #14BA7A;
  --g-700:    #13C07E;
  --g-800:    #0C905E;
  --g-dark:   #29664D;
  --ink:      #0D3424;
  --yellow:   #FBCE00;
  --yellow-deep: #E0B600;

  --page:     #F3F6F4;
  --mint:     #E0FFF3;
  --mint-soft:#E6F8F1;
  --white:    #FFFFFF;
  --border:   #BFCEC8;
  --divider:  #E3EDE9;
  --muted:    #5E7A6F;
  --muted-2:  #8FAA9F;

  --font: 'Google Sans', 'Google Sans Text', 'Product Sans', 'Poppins', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;

  --r-sm: 10px;
  --r:    16px;
  --r-lg: 24px;
  --r-pill: 999px;

  --shadow-sm: 0 2px 8px rgba(13,52,36,0.05);
  --shadow:    0 18px 44px -22px rgba(13,52,36,0.20), 0 3px 10px rgba(13,52,36,0.05);
  --shadow-lg: 0 40px 90px -36px rgba(13,52,36,0.34), 0 8px 22px rgba(13,52,36,0.07);
  --shadow-btn: 0 10px 22px -8px rgba(29,214,143,0.6);

  --maxw: 1180px;
  --gutter: 28px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  line-height: 1.55;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

.wrap {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

section { position: relative; }

.section-pad { padding: clamp(72px, 9vw, 128px) 0; }

/* ---- Eyebrow / kicker ---- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--g-dark);
}
.eyebrow::before {
  content: none;
}
.eyebrow--center::before { display: none; }
.eyebrow--center {
  background: var(--mint);
  color: var(--g-800);
  padding: 7px 16px;
  border-radius: var(--r-pill);
  letter-spacing: 0.1em;
}
.eyebrow--icon::before { display: none; }
.eyebrow--icon { font-size: 11px; letter-spacing: 0.05em; white-space: nowrap; }
.eyebrow__ic { width: 18px; height: 18px; flex: 0 0 18px; color: var(--g-deep); }
@media (max-width: 600px) { .eyebrow--icon { white-space: normal; font-size: 10.5px; } }

/* ---- Headings ---- */
.h-xl {
  font-size: clamp(2.4rem, 5.4vw, 4.05rem);
  line-height: 1.04;
  font-weight: 700;
  letter-spacing: -0.025em;
  margin: 0;
  text-wrap: balance;
}
.h-lg {
  font-size: clamp(1.85rem, 3.6vw, 2.85rem);
  line-height: 1.1;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin: 0;
  text-wrap: balance;
}
.h-md {
  font-size: clamp(1.25rem, 2vw, 1.5rem);
  line-height: 1.2;
  font-weight: 600;
  letter-spacing: -0.01em;
  margin: 0;
}
.lead {
  font-size: clamp(1.05rem, 1.5vw, 1.28rem);
  line-height: 1.6;
  color: var(--muted);
  margin: 0;
  font-weight: 400;
  text-wrap: pretty;
}
.section-head { max-width: 720px; }
.section-head .lead { margin-top: 18px; }
.section-head .h-lg { margin-top: 18px; }
.section-head--center { margin: 0 auto; text-align: center; }

.text-grad {
  color: var(--g-deep);
}

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  height: 52px;
  padding: 0 28px;
  font-family: var(--font);
  font-weight: 600;
  font-size: 15px;
  letter-spacing: 0.01em;
  border-radius: var(--r-pill);
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: background .16s ease, color .16s ease, box-shadow .16s ease, transform .08s ease, border-color .16s ease;
  white-space: nowrap;
}
.btn svg { width: 18px; height: 18px; }
.btn--primary {
  background: var(--g);
  color: #063D29;
  box-shadow: var(--shadow-btn);
}
.btn--primary:hover { background: var(--g-deep); transform: translateY(-1px); }
.btn--primary:active { transform: translateY(0); box-shadow: none; }
.btn--ghost {
  background: transparent;
  color: var(--g-dark);
  border-color: var(--border);
}
.btn--yellow {
  background: var(--yellow);
  color: #0D3424;
  box-shadow: 0 8px 18px -6px rgba(251,206,0,0.6);
}
.btn--yellow:hover { background: var(--yellow-deep); transform: translateY(-1px); }
.btn--yellow:active { transform: translateY(0); box-shadow: none; }
.btn--ghost:hover { border-color: var(--g); background: var(--mint-soft); color: var(--g-800); }
.btn--light {
  background: rgba(255,255,255,0.12);
  color: #fff;
  border-color: rgba(255,255,255,0.34);
}
.btn--light:hover { background: rgba(255,255,255,0.2); }
.btn--sm { height: 44px; padding: 0 20px; font-size: 14px; }
.btn--block { width: 100%; }

/* ============================================================
   HEADER / NAV
   ============================================================ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(255,255,255,0.82);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid var(--divider);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
}
.nav__logo { height: 44px; width: auto; }
.nav__links {
  display: flex;
  align-items: center;
  gap: 30px;
  font-size: 14.5px;
  font-weight: 500;
  color: var(--g-dark);
}
.nav__links a { transition: color .14s ease; }
.nav__links a:hover { color: var(--g-700); }
.nav__cta { display: flex; align-items: center; gap: 14px; }
.nav__login { font-size: 14.5px; font-weight: 600; color: var(--g-dark); }
.nav__login:hover { color: var(--g-700); }
.nav__burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 4px;
  width: 42px; height: 42px;
  padding: 0;
  border: 1px solid var(--border);
  border-radius: var(--r-sm);
  background: var(--white);
  cursor: pointer;
  transition: border-color .15s ease, background .15s ease;
}
.nav__burger:hover { border-color: var(--g); }
.nav__burger span {
  display: block; width: 18px; height: 2px; border-radius: 2px;
  background: var(--g-dark); margin: 0 auto;
  transition: transform .25s ease, opacity .18s ease;
}
.nav__burger.is-open span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav__burger.is-open span:nth-child(2) { opacity: 0; }
.nav__burger.is-open span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }
.nav__logo--symbol { display: none; }

@media (max-width: 900px) {
  .nav {
    height: 64px;
    gap: 10px;
    justify-content: space-between;
  }
  .nav__brand { flex: 0 0 auto; display: flex; align-items: center; }
  .nav__logo--full { display: none; }
  .nav__logo--symbol { display: block; height: 32px; width: auto; }
  .nav__login { display: none; }
  .nav__cta { flex: 0 0 auto; gap: 8px; }
  .nav__cta .btn--sm { height: 38px; padding: 0 13px; font-size: 12.5px; }
  .nav__cta .btn--sm svg { display: none; }
  .nav__burger { display: inline-flex; width: 38px; height: 38px; }

  .nav__links {
    position: absolute;
    top: 100%; left: 0; right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: rgba(255,255,255,0.98);
    -webkit-backdrop-filter: saturate(180%) blur(14px);
    backdrop-filter: saturate(180%) blur(14px);
    border-bottom: 1px solid var(--divider);
    box-shadow: var(--shadow);
    padding: 4px 0;
    display: none;
  }
  .nav__links.is-open { display: flex; }
  .nav__links a {
    padding: 15px 28px;
    font-size: 15.5px;
    font-weight: 600;
    border-bottom: 1px solid var(--divider);
  }
  .nav__links a:last-child { border-bottom: 0; }
}
/* ============================================================
   HERO (3 variantes)
   ============================================================ */
.hero { display: none; }
.hero.is-active { display: block; }

.hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 10px;
  margin-top: 34px;
}
.trust-chip {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 9px 15px 9px 13px;
  background: var(--white);
  border: 1px solid var(--divider);
  border-radius: var(--r-pill);
  font-size: 13px;
  font-weight: 500;
  color: var(--g-dark);
  box-shadow: var(--shadow-sm);
}
.trust-chip svg { width: 16px; height: 16px; color: var(--g-deep); flex: 0 0 auto; }

.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }
.hero-note { margin-top: 16px; font-size: 13px; color: var(--muted-2); display:flex; align-items:center; gap:8px; }
.hero-note svg { width: 15px; height: 15px; color: var(--g-deep); }

/* --- Hero A : split, abstract orbital --- */
.heroA {
  padding: clamp(56px, 7vw, 96px) 0 clamp(64px, 8vw, 110px);
  position: relative;
  overflow: hidden;
  /* fallback caso o shader/WebGL não carregue */
  background:
    radial-gradient(42% 52% at 80% 24%, rgba(29,214,143,0.10), transparent 70%),
    radial-gradient(38% 46% at 68% 82%, rgba(251,206,0,0.09), transparent 70%),
    radial-gradient(60% 70% at 20% 30%, rgba(219,255,241,0.5), transparent 75%);
}
.heroA__bg {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  z-index: 0; display: block;
}
.heroA__veil {
  position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background: linear-gradient(90deg, rgba(255,255,255,0.80) 0%, rgba(255,255,255,0.42) 28%, rgba(255,255,255,0) 56%);
}
.heroA__grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.06fr 0.94fr;
  gap: 56px;
  align-items: center;
}
.heroA .h-xl { margin-top: 22px; }
.heroA .lead { margin-top: 22px; max-width: 540px; }

/* --- Hero B : centered editorial --- */
.heroB { padding: clamp(60px, 8vw, 104px) 0 clamp(48px, 6vw, 84px); text-align: center; overflow: hidden; }
.heroB__inner { max-width: 880px; margin: 0 auto; position: relative; z-index: 1; }
.heroB .h-xl { margin-top: 24px; }
.heroB .lead { margin: 24px auto 0; max-width: 660px; }
.heroB .hero-actions, .heroB .hero-trust { justify-content: center; }
.heroB .hero-note { justify-content: center; }
.heroB__stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  margin-top: 64px;
  border: 1px solid var(--divider);
  border-radius: var(--r-lg);
  background: var(--white);
  box-shadow: var(--shadow);
  overflow: hidden;
}
.stat { padding: 30px 24px; text-align: center; }
.stat + .stat { border-left: 1px solid var(--divider); }
.stat__num { font-size: clamp(2rem, 3.4vw, 2.9rem); font-weight: 700; letter-spacing: -0.03em; color: var(--ink); line-height: 1; }
.stat__num span { color: var(--g-deep); }
.stat__lbl { margin-top: 10px; font-size: 13.5px; color: var(--muted); line-height: 1.4; }
.heroB__bg {
  position: absolute; inset: 0;
  background:
    radial-gradient(60% 50% at 50% 0%, rgba(29,214,143,0.10), transparent 70%);
  pointer-events: none;
}
.heroB__grid-lines {
  position: absolute; inset: 0; z-index: 0;
  background-image:
    linear-gradient(var(--divider) 1px, transparent 1px),
    linear-gradient(90deg, var(--divider) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: radial-gradient(70% 60% at 50% 30%, #000 0%, transparent 75%);
  mask-image: radial-gradient(70% 60% at 50% 30%, #000 0%, transparent 75%);
  opacity: 0.5;
  pointer-events: none;
}

/* --- Hero C : split with stacked validation panel --- */
.heroC { padding: clamp(56px, 7vw, 96px) 0 clamp(64px, 8vw, 110px); }
.heroC__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}
.heroC .h-xl { margin-top: 22px; }
.heroC .lead { margin-top: 22px; max-width: 520px; }
.heroC__panel {
  position: relative;
  background: linear-gradient(160deg, #EAFBF3 0%, #DBF8EC 100%);
  border-radius: var(--r-lg);
  padding: 40px;
  min-height: 420px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

@media (max-width: 920px) {
  .heroA__grid, .heroC__grid { grid-template-columns: 1fr; gap: 44px; }
  .heroA__art, .heroC__panel { order: -1; }
  .heroB__stats { grid-template-columns: 1fr; }
  .stat + .stat { border-left: none; border-top: 1px solid var(--divider); }
}

/* ============================================================
   ABSTRACT GRAPHICS
   ============================================================ */
/* orbital (hero A) */
.orbital { position: relative; width: 100%; aspect-ratio: 1 / 1; max-width: 460px; margin: 0 auto; }
.orbital__ring {
  position: absolute; inset: 0; border-radius: 50%;
  border: 1.5px dashed rgba(20,186,122,0.28);
}
.orbital__ring.r2 { inset: 13%; border-style: solid; border-color: rgba(20,186,122,0.16); }
.orbital__ring.r3 { inset: 27%; border-style: dashed; border-color: rgba(20,186,122,0.34); }
.orbital__core {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%,-50%);
  width: 42%; aspect-ratio: 1; border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #1DD68F, #0C905E);
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 30px 60px -20px rgba(12,144,94,0.6), inset 0 2px 0 rgba(255,255,255,0.3);
}
.orbital__core svg { width: 44%; height: 44%; color: #fff; }
.orbital__chip {
  position: absolute;
  display: inline-flex; align-items: center; gap: 7px;
  padding: 8px 13px;
  background: #fff;
  border: 1px solid var(--divider);
  border-radius: var(--r-pill);
  font-size: 12.5px; font-weight: 600; color: var(--g-dark);
  box-shadow: var(--shadow);
  white-space: nowrap;
}
.orbital__chip svg { width: 14px; height: 14px; color: var(--g-deep); }
.orbital__chip.c1 { top: 4%; left: 50%; transform: translateX(-50%); }
.orbital__chip.c2 { top: 38%; right: -6%; }
.orbital__chip.c3 { bottom: 8%; right: 6%; }
.orbital__chip.c4 { bottom: 8%; left: 6%; }
.orbital__chip.c5 { top: 38%; left: -6%; }
.orbital__dot { position: absolute; width: 10px; height: 10px; border-radius: 50%; background: var(--yellow); box-shadow: 0 0 0 5px rgba(251,206,0,0.18); }
.orbital__dot.d1 { top: 20%; left: 22%; }
.orbital__dot.d2 { bottom: 24%; right: 20%; background: var(--g); box-shadow: 0 0 0 5px rgba(29,214,143,0.16); }

@media (prefers-reduced-motion: no-preference) {
  .orbital__ring.r1 { animation: spin 60s linear infinite; }
  .orbital__ring.r3 { animation: spin 44s linear infinite reverse; }
  @keyframes spin { to { transform: rotate(360deg); } }
}

/* stacked validation panel (hero C) */
.vstack { position: relative; width: 100%; max-width: 360px; }
.vcard {
  background: #fff;
  border: 1px solid var(--divider);
  border-radius: var(--r);
  padding: 18px 18px;
  box-shadow: var(--shadow);
}
.vcard + .vcard { margin-top: 14px; }
.vcard__row { display: flex; align-items: center; gap: 12px; }
.vcard__ico {
  width: 38px; height: 38px; flex: 0 0 38px; border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  background: var(--mint); color: var(--g-deep);
}
.vcard__ico svg { width: 19px; height: 19px; }
.vcard__ico.ok { background: var(--g); color: #063D29; }
.vcard__t { font-size: 14px; font-weight: 600; color: var(--ink); }
.vcard__s { font-size: 12px; color: var(--muted-2); margin-top: 2px; }
.vcard__bar { height: 7px; border-radius: 4px; background: var(--divider); margin-top: 14px; overflow: hidden; }
.vcard__bar i { display: block; height: 100%; width: 100%; background: linear-gradient(90deg, var(--g), var(--g-deep)); border-radius: 4px; }
.vbadge {
  position: absolute; right: -16px; bottom: 34px;
  display: inline-flex; align-items: center; gap: 9px;
  padding: 12px 16px;
  background: var(--ink); color: #fff;
  border-radius: var(--r-pill);
  font-size: 13px; font-weight: 600;
  box-shadow: var(--shadow-lg);
}
.vbadge svg { width: 17px; height: 17px; color: var(--g); }

/* ============================================================
   PASSO A PASSO — Emita sua NFS-e em 4 passos (banda verde escura)
   ============================================================ */
.steps {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(72% 90% at 88% 2%, rgba(29,214,143,0.20), transparent 56%),
    radial-gradient(40% 60% at 6% 100%, rgba(251,206,0,0.06), transparent 60%),
    linear-gradient(165deg, #0a5c41 0%, #07472f 46%, #04291c 100%);
  color: #fff;
}
.steps__head { max-width: 1180px; }
.steps .eyebrow { color: var(--g); }
.steps .eyebrow::before { background: var(--g); }
.steps__headrow {
  display: flex; align-items: flex-end; justify-content: space-between;
  gap: 28px; margin-top: 18px; flex-wrap: wrap;
}
.steps__headrow .h-lg { color: #fff; margin: 0; }
.steps .lead { color: rgba(255,255,255,0.76); margin-top: 18px; max-width: 640px; }
.steps__seal {
  flex: 0 0 auto;
  display: inline-flex; align-items: center; gap: 9px;
  padding: 11px 18px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: var(--r-pill);
  font-size: 13px; font-weight: 600; color: #fff; white-space: nowrap;
}
.steps__seal svg { width: 16px; height: 16px; color: var(--g); }

.steps__track {
  list-style: none; margin: 56px 0 0; padding: 0;
  display: flex; align-items: stretch; gap: 20px;
}
.step {
  flex: 1 1 0; min-width: 0;
  background: #fff; color: var(--ink);
  border: 1px solid rgba(255,255,255,0.6);
  border-radius: var(--r-lg);
  padding: 26px 22px 22px;
  box-shadow: var(--shadow-lg);
  display: flex; flex-direction: column;
}
.step__top { display: flex; align-items: center; justify-content: space-between; }
.step__num { font-size: 40px; font-weight: 700; letter-spacing: -0.03em; color: var(--g-deep); line-height: 1; }
.step__ico {
  width: 42px; height: 42px; border-radius: 12px;
  background: var(--mint); color: var(--g-deep);
  display: flex; align-items: center; justify-content: center;
}
.step__ico svg { width: 22px; height: 22px; }
.step__title { margin: 18px 0 7px; font-size: 17px; font-weight: 600; color: var(--ink); letter-spacing: -0.01em; }
.step__desc { margin: 0 0 18px; font-size: 13.5px; color: var(--muted); line-height: 1.5; min-height: 60px; }

/* conector 1 → 2 → 3 → 4 */
.step__link {
  flex: 0 0 30px; align-self: center;
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,0.7);
}
.step__link svg { width: 22px; height: 22px; }

/* mini preview (recorte das telas do LiNFe) */
.mini {
  flex: 1;
  background: var(--mint-soft);
  border: 1px solid var(--divider);
  border-radius: 12px;
  padding: 14px;
  display: flex; flex-direction: column; gap: 11px;
}
.mini__bar { font-size: 9.5px; letter-spacing: .14em; text-transform: uppercase; font-weight: 700; color: var(--g-dark); }
.mini__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.mf { display: flex; flex-direction: column; gap: 5px; min-width: 0; }
.mf > span { font-size: 10.5px; color: var(--muted); font-weight: 500; }
.mf > b {
  font-size: 12px; font-weight: 600; color: var(--ink);
  background: #fff; border: 1px solid var(--border); border-radius: 8px;
  padding: 7px 9px; line-height: 1.25;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
  display: flex; align-items: center; gap: 6px;
}
.mf > b svg { width: 13px; height: 13px; color: var(--g-deep); flex: 0 0 13px; margin-left: auto; }
.mini__validated {
  display: inline-flex; align-items: center; gap: 7px; align-self: flex-start;
  font-size: 11.5px; font-weight: 700; color: var(--g-800);
  background: var(--mint); border-radius: var(--r-pill); padding: 6px 12px;
}
.mini__validated svg { width: 13px; height: 13px; }
.mini__authed { display: flex; align-items: center; gap: 11px; }
.mini__check {
  width: 36px; height: 36px; flex: 0 0 36px; border-radius: 50%;
  background: var(--g); color: #063D29;
  display: flex; align-items: center; justify-content: center;
}
.mini__check svg { width: 19px; height: 19px; }
.mini__authed .t { font-size: 13px; font-weight: 700; color: var(--ink); }
.mini__authed .s { font-size: 11px; color: var(--muted-2); margin-top: 1px; }
.mini__status {
  display: inline-flex; align-items: center; gap: 6px; align-self: flex-start;
  font-size: 11px; font-weight: 700; color: var(--g-800);
  background: var(--mint); border-radius: var(--r-pill); padding: 5px 11px;
}
.mini__status .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--g-deep); }
.mini__btn {
  height: 38px; border-radius: var(--r-pill);
  background: var(--g); color: #063D29;
  font-size: 12.5px; font-weight: 700;
  display: flex; align-items: center; justify-content: center; gap: 8px;
}
.mini__btn svg { width: 14px; height: 14px; }

@media (max-width: 980px) {
  .steps__track { flex-direction: column; align-items: stretch; gap: 22px; }
  .step__link { flex: 0 0 auto; padding: 6px 0; transform: rotate(90deg); }
}

/* ============================================================
   FEATURES
   ============================================================ */
.features__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 56px;
}
.fcard {
  background: var(--white);
  border: 1px solid var(--divider);
  border-radius: var(--r);
  padding: 30px 28px 30px;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.fcard:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: #CFE5DC; }
.fcard__ico {
  width: 50px; height: 50px; border-radius: 13px;
  display: flex; align-items: center; justify-content: center;
  background: var(--mint); color: var(--g-deep);
  margin-bottom: 20px;
}
.fcard__ico svg { width: 25px; height: 25px; }
.fcard h3 { margin: 0 0 10px; font-size: 18px; font-weight: 600; color: var(--ink); letter-spacing: -0.01em; }
.fcard p { margin: 0 0 16px; font-size: 14px; color: var(--muted); line-height: 1.55; }
.fcard ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.fcard li { display: flex; gap: 9px; font-size: 13.2px; color: var(--g-dark); line-height: 1.4; }
.fcard li svg { width: 15px; height: 15px; color: var(--g-deep); flex: 0 0 15px; margin-top: 2px; }

.fcard--feature {
  grid-column: span 1;
  background: linear-gradient(155deg, var(--ink) 0%, #0b4a33 100%);
  border-color: transparent;
  color: #fff;
}
.fcard--feature h3 { color: #fff; }
.fcard--feature p { color: rgba(255,255,255,0.74); }
.fcard--feature .fcard__ico { background: rgba(29,214,143,0.18); color: var(--g); }
.fcard--feature li { color: rgba(255,255,255,0.9); }
.fcard--feature li svg { color: var(--g); }
.fcard--feature:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.fcard--feature .fbadge {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--g); color: #063D29;
  font-size: 12px; font-weight: 700; letter-spacing: .02em;
  padding: 6px 12px; border-radius: var(--r-pill); margin-bottom: 18px;
}

@media (max-width: 940px) { .features__grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .features__grid { grid-template-columns: 1fr; } }

/* ============================================================
   TRUST / SECURITY BAND
   ============================================================ */
.trust {
  background:
    radial-gradient(80% 120% at 85% 0%, rgba(29,214,143,0.16), transparent 55%),
    linear-gradient(160deg, var(--ink) 0%, #0a3a28 100%);
  color: #fff;
  overflow: hidden;
}
.trust__grid {
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  gap: 64px;
  align-items: center;
}
.trust .eyebrow { color: var(--g); }
.trust .eyebrow::before { background: var(--g); }
.trust .h-lg { color: #fff; margin-top: 18px; }
.trust .lead { color: rgba(255,255,255,0.76); margin-top: 18px; }
.trust__list { margin-top: 30px; display: grid; grid-template-columns: 1fr 1fr; gap: 18px 26px; }
.tfeat { display: flex; gap: 13px; }
.tfeat__ico { width: 38px; height: 38px; flex: 0 0 38px; border-radius: 10px; background: rgba(29,214,143,0.16); color: var(--g); display: flex; align-items: center; justify-content: center; }
.tfeat__ico svg { width: 19px; height: 19px; }
.tfeat h4 { margin: 0 0 3px; font-size: 14.5px; font-weight: 600; color: #fff; }
.tfeat p { margin: 0; font-size: 12.8px; color: rgba(255,255,255,0.62); line-height: 1.45; }

/* connection diagram */
.diagram {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--r-lg);
  padding: 38px 32px;
  backdrop-filter: blur(4px);
}
.diagram__row { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.dnode { text-align: center; flex: 0 0 auto; width: 33%; }
.dnode__box {
  height: 96px; border-radius: var(--r);
  display: flex; align-items: center; justify-content: center; flex-direction: column; gap: 8px;
  border: 1px solid rgba(255,255,255,0.16);
  background: rgba(255,255,255,0.06);
}
.dnode__box svg { width: 28px; height: 28px; color: var(--g); }
.dnode.is-core .dnode__box { background: linear-gradient(150deg, var(--g), var(--g-deep)); border-color: transparent; box-shadow: 0 20px 40px -16px rgba(29,214,143,0.5); }
.dnode.is-core .dnode__box svg { color: #063D29; }
.dnode__lbl { margin-top: 12px; font-size: 13px; font-weight: 600; color: #fff; }
.dnode__sub { font-size: 11px; color: rgba(255,255,255,0.55); margin-top: 2px; }
.dlink { flex: 1 1 auto; position: relative; height: 2px; background: linear-gradient(90deg, rgba(29,214,143,0.2), rgba(29,214,143,0.7), rgba(29,214,143,0.2)); margin-bottom: 34px; }
.dlink__tag {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%,-50%);
  background: var(--ink); border: 1px solid rgba(29,214,143,0.4);
  color: var(--g); font-size: 10.5px; font-weight: 700; letter-spacing: .06em;
  padding: 4px 10px; border-radius: var(--r-pill); white-space: nowrap;
}
.diagram__foot { margin-top: 26px; display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }
.dpill { font-size: 11.5px; font-weight: 600; color: rgba(255,255,255,0.82); background: rgba(255,255,255,0.07); border: 1px solid rgba(255,255,255,0.14); padding: 7px 13px; border-radius: var(--r-pill); }

@media (max-width: 920px) {
  .trust__grid { grid-template-columns: 1fr; gap: 44px; }
  .trust__list { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .diagram__row { flex-direction: column; }
  .dnode { width: 100%; }
  .dlink { width: 2px; height: 40px; min-height: 40px; flex: 0 0 auto; margin: 0; }
  .dlink__tag { white-space: nowrap; }
}

/* ============================================================
   PRICING
   ============================================================ */
.pricing { background: var(--page); }
.pricing__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 56px;
  align-items: stretch;
}
.plan {
  background: var(--white);
  border: 1px solid var(--divider);
  border-radius: var(--r-lg);
  padding: 32px 26px 32px;
  display: flex;
  flex-direction: column;
}
.plan__vol {
  display: inline-flex; align-items: center; gap: 7px;
  align-self: flex-start;
  margin-top: 14px; padding: 7px 13px;
  background: var(--mint); color: var(--g-800);
  border-radius: var(--r-pill); font-size: 12.5px; font-weight: 600;
}
.plan__vol svg { width: 14px; height: 14px; }
.plan--featured .plan__vol { background: rgba(29,214,143,0.18); }
.plan--featured {
  border: 1.5px solid var(--g);
  box-shadow: var(--shadow-lg);
  position: relative;
}
.plan__tag {
  position: absolute; top: -13px; left: 26px;
  background: var(--g); color: #063D29;
  font-size: 11.5px; font-weight: 700; letter-spacing: .04em;
  padding: 6px 14px; border-radius: var(--r-pill);
}
.plan__name { font-size: 14px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--g-dark); }
.plan__desc { margin: 8px 0 22px; font-size: 13.5px; color: var(--muted); line-height: 1.5; min-height: 40px; }
.plan__price { display: flex; align-items: flex-end; gap: 5px; white-space: nowrap; }
.plan__price .cur { font-size: 17px; font-weight: 600; color: var(--ink); margin-bottom: 6px; }
.plan__price .val { font-size: clamp(2rem, 3.2vw, 2.5rem); font-weight: 700; letter-spacing: -0.03em; line-height: 1; color: var(--ink); }
.plan__price .per { font-size: 13.5px; color: var(--muted-2); margin-bottom: 5px; }
.plan__hr { height: 1px; background: var(--divider); margin: 26px 0 22px; }
.plan ul { list-style: none; margin: 0 0 28px; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.plan li { display: flex; gap: 11px; font-size: 14px; color: var(--g-dark); line-height: 1.4; }
.plan li svg { width: 17px; height: 17px; color: var(--g-deep); flex: 0 0 17px; margin-top: 2px; }
.plan .btn { margin-top: auto; }
.pricing__note { margin-top: 26px; text-align: center; font-size: 13px; color: var(--muted-2); }

@media (max-width: 1080px) {
  .pricing__grid { grid-template-columns: repeat(2, 1fr); max-width: 720px; margin-inline: auto; margin-top: 48px; }
}
@media (max-width: 560px) {
  .pricing__grid { grid-template-columns: 1fr; max-width: 420px; }
}

/* ============================================================
   FAQ
   ============================================================ */
.faq__grid { margin-top: 48px; max-width: 820px; margin-inline: auto; }
.faq__item { border-bottom: 1px solid var(--divider); }
.faq__q {
  width: 100%;
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  background: none; border: none; cursor: pointer;
  padding: 24px 4px; text-align: left;
  font-family: var(--font); font-size: 17px; font-weight: 600; color: var(--ink);
}
.faq__q:hover { color: var(--g-700); }
.faq__icon { flex: 0 0 24px; width: 24px; height: 24px; position: relative; }
.faq__icon::before, .faq__icon::after {
  content: ""; position: absolute; left: 50%; top: 50%;
  background: var(--g-deep); border-radius: 2px;
  transform: translate(-50%,-50%); transition: transform .25s ease, opacity .25s ease;
}
.faq__icon::before { width: 14px; height: 2px; }
.faq__icon::after { width: 2px; height: 14px; }
.faq__item.open .faq__icon::after { transform: translate(-50%,-50%) rotate(90deg); opacity: 0; }
.faq__a { max-height: 0; overflow: hidden; transition: max-height .3s ease; }
.faq__a p { margin: 0; padding: 0 4px 26px; font-size: 15px; color: var(--muted); line-height: 1.6; max-width: 680px; }

/* ============================================================
   CONTACT
   ============================================================ */
.contact { background: var(--page); }
.contact__grid {
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  gap: 56px;
  align-items: start;
}
.contact__aside .h-lg { margin-top: 18px; }
.contact__aside .lead { margin-top: 18px; }
.contact__points { margin-top: 30px; display: flex; flex-direction: column; gap: 18px; }
.cpoint { display: flex; gap: 14px; align-items: flex-start; }
.cpoint__ico { width: 42px; height: 42px; flex: 0 0 42px; border-radius: 11px; background: var(--mint); color: var(--g-deep); display: flex; align-items: center; justify-content: center; }
.cpoint__ico svg { width: 20px; height: 20px; }
.cpoint h4 { margin: 0 0 2px; font-size: 14.5px; font-weight: 600; color: var(--ink); }
.cpoint p { margin: 0; font-size: 14px; color: var(--muted); }
.cpoint a { color: var(--g-700); font-weight: 500; }

.contact__form {
  background: var(--white);
  border: 1px solid var(--divider);
  border-radius: var(--r-lg);
  padding: 36px;
  box-shadow: var(--shadow);
}
.fgrid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { display: flex; flex-direction: column; gap: 7px; }
.field.col-2 { grid-column: 1 / -1; }
.field label { font-size: 13px; font-weight: 500; color: var(--g-dark); }
.field input, .field textarea, .field select {
  height: 46px; padding: 0 14px;
  font-family: var(--font); font-size: 14px; color: var(--ink);
  background: var(--white); border: 1px solid var(--border); border-radius: var(--r-sm);
  outline: none; transition: border-color .15s ease, box-shadow .15s ease;
  width: 100%;
}
.field textarea { height: auto; padding: 12px 14px; resize: vertical; min-height: 110px; line-height: 1.5; }
.field input:focus, .field textarea:focus, .field select:focus { border-color: var(--g); box-shadow: 0 0 0 3px var(--mint-soft); }
.field input::placeholder, .field textarea::placeholder { color: #B5C0BB; }
.contact__form .btn { margin-top: 24px; }
.form-legal { margin-top: 14px; font-size: 12px; color: var(--muted-2); line-height: 1.5; }

/* ---- Combobox (estilo do sistema LiNFe) ---- */
.linfe-combo { position: relative; width: 100%; }
.linfe-combo__control {
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  height: 46px; padding: 0 14px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--r-sm);
  font-size: 14px; color: var(--ink);
  cursor: pointer; user-select: none;
  transition: border-color .15s ease, box-shadow .15s ease, background .15s ease;
}
.linfe-combo__control:hover { border-color: var(--g); }
.linfe-combo.is-open .linfe-combo__control,
.linfe-combo__control:focus-visible {
  outline: none;
  border-color: var(--g);
  background: #F4FFFB;
  box-shadow: 0 0 0 3px var(--mint-soft);
}
.linfe-combo__value { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.linfe-combo__value.is-placeholder { color: #B5C0BB; }
.linfe-combo__chevron {
  flex: 0 0 auto; width: 12px; height: 8px;
  color: var(--g-deep); transition: transform .18s ease;
}
.linfe-combo.is-open .linfe-combo__chevron { transform: rotate(180deg); }
.linfe-combo__menu {
  position: absolute; left: 0; right: 0; top: calc(100% + 4px);
  background: var(--white);
  border: 1px solid var(--g);
  border-radius: var(--r-sm);
  padding: 6px; z-index: 30;
  box-shadow: 0 14px 30px -12px rgba(13,52,36,0.28);
  display: none; max-height: 264px; overflow-y: auto;
}
.linfe-combo.is-open .linfe-combo__menu { display: block; }
.linfe-combo__opt {
  display: flex; align-items: center; gap: 9px;
  padding: 9px 11px; border-radius: 7px;
  font-size: 14px; color: var(--ink); cursor: pointer;
  transition: background .12s ease;
}
.linfe-combo__opt::before {
  content: ""; flex: 0 0 16px; width: 16px; height: 16px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none'%3E%3Cpath d='M20 6 9 17l-5-5' stroke='%230C905E' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: center;
  opacity: 0; transition: opacity .12s ease;
}
.linfe-combo__opt.is-active::before { opacity: 1; }
.linfe-combo__opt:hover,
.linfe-combo__opt.is-active { background: #BBFFE6; }
.linfe-combo__opt.is-disabled { color: #C2C7CB; cursor: not-allowed; background: none; }
.linfe-combo__opt.is-disabled::before { display: none; }

@media (max-width: 880px) {
  .contact__grid { grid-template-columns: 1fr; gap: 40px; }
  .fgrid { grid-template-columns: 1fr; }
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  background: linear-gradient(180deg, #0c4632 0%, var(--ink) 100%);
  color: rgba(255,255,255,0.7);
  padding: 72px 0 34px;
}
.footer__top { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; }
.footer__brand img { height: 60px; width: auto; margin-bottom: 18px; }
.footer__brand p { margin: 0; font-size: 13.5px; line-height: 1.6; max-width: 280px; color: rgba(255,255,255,0.6); }
.footer__col h5 { margin: 0 0 16px; font-size: 12.5px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: #fff; }
.footer__col a { display: block; font-size: 14px; padding: 6px 0; color: rgba(255,255,255,0.66); transition: color .14s ease; }
.footer__col a:hover { color: var(--g); }
.footer__bottom {
  margin-top: 52px; padding-top: 26px;
  border-top: 1px solid rgba(255,255,255,0.12);
  display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  font-size: 12.5px; color: rgba(255,255,255,0.5);
}
.footer__bottom .badges { display: flex; gap: 10px; flex-wrap: wrap; }
.footer__bottom .badges span { background: rgba(255,255,255,0.07); border: 1px solid rgba(255,255,255,0.12); padding: 6px 12px; border-radius: var(--r-pill); }

@media (max-width: 820px) {
  .footer__top { grid-template-columns: 1fr 1fr; gap: 32px; }
  .footer__brand { grid-column: 1 / -1; }
}

/* ============================================================
   HERO SWITCHER (control)
   ============================================================ */
.hero-switch {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 80;
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 8px 8px 16px;
  background: rgba(13,52,36,0.92);
  backdrop-filter: blur(8px);
  border-radius: var(--r-pill);
  box-shadow: var(--shadow-lg);
}
.hero-switch__lbl { font-size: 12px; font-weight: 600; color: rgba(255,255,255,0.7); margin-right: 4px; }
.hero-switch button {
  width: 36px; height: 36px; border-radius: 50%;
  border: none; cursor: pointer;
  font-family: var(--font); font-size: 14px; font-weight: 700;
  background: rgba(255,255,255,0.1); color: #fff;
  transition: background .15s ease, color .15s ease;
}
.hero-switch button:hover { background: rgba(255,255,255,0.22); }
.hero-switch button.is-on { background: var(--g); color: #063D29; }

@media (max-width: 560px) {
  .hero-switch { right: 12px; bottom: 12px; padding: 7px 7px 7px 12px; }
  .hero-switch__lbl { display: none; }
}

/* ---- reveal on scroll ---- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s cubic-bezier(.16,.84,.44,1), transform .7s cubic-bezier(.16,.84,.44,1); }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } }

/* ---- toast ---- */
.toast {
  position: fixed; left: 50%; bottom: 80px; transform: translateX(-50%) translateY(20px);
  background: var(--ink); color: #fff; font-size: 13.5px; font-weight: 500;
  padding: 14px 22px; border-radius: 12px; box-shadow: var(--shadow-lg);
  display: flex; align-items: center; gap: 10px;
  opacity: 0; pointer-events: none; transition: opacity .25s ease, transform .25s ease; z-index: 90;
}
.toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }
.toast .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--g); }

/* ============================================================
   HERO STAGE (conceitual — painéis de vidro + pessoa + nota)
   ============================================================ */
.hero-stage {
  position: relative;
  overflow: hidden;
  padding: clamp(26px, 3.5vw, 44px) 0 0;
  background: radial-gradient(70% 90% at 10% 18%, #ffffff 0%, #f6faf8 42%, #eef5f1 100%);
}
.hero-stage__bg {
  position: absolute; inset: 0; pointer-events: none; z-index: 0;
  background:
    radial-gradient(34% 50% at 90% 26%, rgba(29,214,143,0.10), transparent 70%),
    radial-gradient(26% 38% at 98% 82%, rgba(251,206,0,0.08), transparent 70%);
}
.hero-stage__grid {
  position: relative; z-index: 1;
  display: grid;
  grid-template-columns: 1.04fr 0.96fr;
  gap: 52px;
  align-items: center;
}
.hero-stage__copy .h-xl { margin-top: 16px; font-size: clamp(1.8rem, 2.9vw, 2.5rem); line-height: 1.1; }
.hero-stage__copy .lead { margin-top: 15px; max-width: 460px; font-size: 0.97rem; line-height: 1.5; }

.hero-benes {
  list-style: none; margin: 24px 0 0; padding: 0;
  display: grid; grid-template-columns: 1fr 1fr; gap: 12px 24px; max-width: 500px;
}
.hero-benes li { display: flex; align-items: center; gap: 10px; font-size: 14.5px; font-weight: 500; color: var(--g-dark); }
.hero-benes svg { width: 18px; height: 18px; color: var(--g-deep); flex: 0 0 18px; }

/* stage */
.hero-stage__visual { position: relative; }
.stage {
  position: relative;
  width: 100%;
  min-height: 540px;
  aspect-ratio: 1 / 1.06;
  border-radius: 28px;
  overflow: hidden;
  background: radial-gradient(130% 112% at 72% 12%, #1a6344 0%, #0d3a28 50%, #072117 100%);
  box-shadow: var(--shadow-lg), inset 0 1px 0 rgba(255,255,255,0.06);
  isolation: isolate;
}
.stage__ambient {
  position: absolute; inset: -8%; z-index: 0; pointer-events: none;
  background:
    radial-gradient(40% 52% at 58% 42%, rgba(29,214,143,0.55), transparent 70%),
    radial-gradient(30% 40% at 44% 66%, rgba(251,206,0,0.28), transparent 72%);
  filter: blur(10px);
}

/* painéis de vidro justapostos */
.panels { position: absolute; inset: 0; z-index: 1; perspective: 1500px; transform-style: preserve-3d; will-change: transform; }
.panel {
  position: absolute; top: 50%; left: var(--x, 50%);
  width: 196px; height: 150%;
  transform: translate(-50%, -50%) rotateY(var(--rot, 30deg)) translateZ(var(--z, 0px));
  border-radius: 14px;
  background: linear-gradient(90deg,
    rgba(29,214,143,0.015) 0%,
    rgba(29,214,143,0.14) 42%,
    rgba(196,255,231,0.92) 49.4%,
    rgba(196,255,231,0.92) 50.6%,
    rgba(251,206,0,0.16) 58%,
    rgba(251,206,0,0.02) 100%);
  box-shadow: 0 0 50px rgba(29,214,143,0.16);
  opacity: 0.85;
}
.panel.p1 { --x: 28%; --rot: 30deg; --z: -130px; }
.panel.p2 { --x: 43%; --rot: 26deg; --z: -45px; }
.panel.p3 { --x: 57%; --rot: 22deg; --z: 30px; }
.panel.p4 { --x: 71%; --rot: 18deg; --z: -20px; }
.panel.p5 { --x: 84%; --rot: 26deg; --z: -95px; }
.panel.p6 { --x: 96%; --rot: 32deg; --z: -165px; }

@media (prefers-reduced-motion: no-preference) {
  .panel { animation: panelBreath var(--dur, 16s) ease-in-out infinite; animation-delay: var(--d, 0s); }
  .panel.p1 { --dur: 17s; --d: 0s; }
  .panel.p2 { --dur: 21s; --d: -3s; }
  .panel.p3 { --dur: 15s; --d: -6s; }
  .panel.p4 { --dur: 19s; --d: -2s; }
  .panel.p5 { --dur: 23s; --d: -8s; }
  .panel.p6 { --dur: 18s; --d: -4s; }
  @keyframes panelBreath {
    0%, 100% { transform: translate(-50%, -50%) rotateY(var(--rot)) translateZ(var(--z)); opacity: .72; }
    50%      { transform: translate(-50%, -52%) rotateY(calc(var(--rot) - 6deg)) translateZ(calc(var(--z) + 46px)); opacity: 1; }
  }
}

/* pessoa (slot de imagem) */
.stage__person {
  position: absolute; z-index: 3;
  left: 50%; bottom: -2%;
  transform: translateX(-46%);
  width: 82%; height: 99%;
  display: block;
  will-change: transform;
  filter: drop-shadow(0 30px 42px rgba(0,0,0,0.42));
}

/* nota fiscal flutuante */
.nf-card {
  position: absolute; z-index: 4;
  left: 5%; top: 37%;
  width: 178px;
  background: #fff;
  border-radius: 15px;
  padding: 15px 16px 14px;
  box-shadow: 0 26px 54px -16px rgba(0,0,0,0.5), 0 0 0 1px rgba(255,255,255,0.7), 0 0 48px rgba(29,214,143,0.42);
}
.nf-card__head { display: flex; align-items: center; gap: 9px; }
.nf-card__mark { width: 24px; height: 24px; object-fit: contain; }
.nf-card__t { font-size: 14px; font-weight: 700; color: var(--ink); letter-spacing: .02em; }
.nf-card__chk { margin-left: auto; width: 22px; height: 22px; border-radius: 50%; background: var(--g); color: #063D29; display: flex; align-items: center; justify-content: center; }
.nf-card__chk svg { width: 13px; height: 13px; }
.nf-card__lines { margin: 14px 0; display: flex; flex-direction: column; gap: 7px; }
.nf-card__lines span { height: 7px; border-radius: 4px; background: linear-gradient(90deg, #E3EDE9, #f2f7f4); display: block; }
.nf-card__foot { display: flex; flex-direction: column; align-items: flex-start; gap: 7px; }
.nf-card__status { font-size: 11px; font-weight: 700; color: var(--g-800); background: var(--mint); padding: 5px 11px; border-radius: var(--r-pill); }
.nf-card__val { font-size: 14px; font-weight: 700; color: var(--ink); }

@media (prefers-reduced-motion: no-preference) {
  .nf-card { animation: nfFloat 7.5s ease-in-out infinite; }
  .nf-card--b1 { animation: nfFloatB1 9s ease-in-out infinite; animation-delay: -2.5s; }
  .nf-card--b2 { animation: nfFloatB2 6.5s ease-in-out infinite; animation-delay: -4s; }
  @keyframes nfFloat {
    0%, 100% { transform: translateY(0) rotate(-3deg); }
    50%      { transform: translateY(-14px) rotate(-3deg); }
  }
  @keyframes nfFloatB1 {
    0%, 100% { transform: translate(-9px,-9px) rotate(-6deg) scale(0.975); }
    50%      { transform: translate(-9px,-19px) rotate(-6deg) scale(0.975); }
  }
  @keyframes nfFloatB2 {
    0%, 100% { transform: translate(8px,-17px) rotate(4deg) scale(0.95); }
    50%      { transform: translate(8px,-27px) rotate(4deg) scale(0.95); }
  }
}

@media (max-width: 940px) {
  .hero-stage { padding-bottom: clamp(40px, 8vw, 64px); }
  .hero-stage__grid { grid-template-columns: minmax(0, 1fr); gap: 40px; }
  .hero-stage__copy, .hero-stage__visual { min-width: 0; }
  .hero-stage__visual { order: -1; width: 100%; max-width: 480px; margin: 0 auto; }
  .hero-stage__copy .lead { max-width: none; }
  .hero-benes { max-width: none; }
}
@media (max-width: 560px) {
  .hero-benes { grid-template-columns: 1fr; }
  .stage { min-height: 440px; aspect-ratio: 1 / 1; }
  .nf-card { width: 178px; left: 3%; }
  .panel { width: 150px; }
}

/* ============================================================
   HERO SCENE (infográfico redondo + pessoa + nota)
   ============================================================ */
@keyframes ringspin { to { transform: rotate(360deg); } }

.scene {
  position: relative;
  width: 100%;
  min-height: 440px;
  aspect-ratio: 1 / 0.94;
}
.scene__rings { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; overflow: visible; will-change: transform; }
.rr { fill: none; transform-box: fill-box; transform-origin: center; stroke-linecap: round; }
.rr.r1 { stroke: rgba(20,186,122,0.55); stroke-width: 0.42; stroke-dasharray: 0.1 5.4; }
.rr.r2 { stroke: rgba(20,186,122,0.30); stroke-width: 0.42; stroke-dasharray: 0.1 6.2; }
.rr.r3 { stroke: rgba(20,186,122,0.60); stroke-width: 0.5;  stroke-dasharray: 0.1 5.8; }
.rr.r4 { stroke: rgba(251,206,0,0.60);  stroke-width: 0.5;  stroke-dasharray: 0.1 6.6; }
.ring__dot {
  position: absolute; width: 11px; height: 11px; border-radius: 50%;
  top: 50%; left: 50%;
}
.ring__dot.d1 { background: var(--yellow); box-shadow: 0 0 0 6px rgba(251,206,0,0.16); transform: translate(150px, -150px); }
.ring__dot.d2 { background: var(--g); box-shadow: 0 0 0 6px rgba(29,214,143,0.16); transform: translate(-190px, 120px); }

@media (prefers-reduced-motion: no-preference) {
  .rr.r1 { animation: ringspin 96s linear infinite; }
  .rr.r3 { animation: ringspin 68s linear infinite reverse; }
  .rr.r4 { animation: ringspin 46s linear infinite; }
}

.scene__person {
  position: absolute; z-index: 2;
  left: 50%; bottom: 0;
  transform: translateX(-50%);
  width: 100%; height: 102%;
  display: block;
  will-change: transform;
  filter: drop-shadow(0 16px 26px rgba(13,52,36,0.12));
}

/* nota fiscal — reposicionada para a nova cena (acima da mão estendida) */
.nf-card { left: 2%; top: 23%; z-index: 5; box-shadow: 0 26px 54px -16px rgba(13,52,36,0.28), 0 0 0 1px rgba(227,237,233,0.9), 0 0 40px rgba(29,214,143,0.22); }
/* cartões empilhados atrás (só uma pequena fresta aparece) */
.nf-card--b1, .nf-card--b2 { box-shadow: 0 20px 42px -16px rgba(13,52,36,0.22), 0 0 0 1px rgba(227,237,233,0.85), 0 0 30px rgba(29,214,143,0.16); }
.nf-card--b1 { z-index: 4; transform: translate(-9px,-9px) rotate(-6deg) scale(0.975); }
.nf-card--b2 { z-index: 3; transform: translate(8px,-17px) rotate(4deg) scale(0.95); }

@media (max-width: 940px) {
  .scene { min-height: 480px; }
}
@media (max-width: 560px) {
  .scene { min-height: 400px; aspect-ratio: 1 / 0.96; }
  .nf-card { width: 140px; left: 1%; top: 20%; }
  .scene__person { width: 104%; height: 104%; }
}
