/* ─── FUNCIONALIDADES PAGE ─── */

/* Hero */
.fn-hero {
  background: var(--white);
  border-bottom: 1px solid var(--border);
  padding: 80px 40px 72px;
  text-align: center;
}
.fn-hero-inner {
  max-width: 680px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}
.fn-hero-h1 {
  font-size: 52px;
  font-weight: 800;
  color: var(--dark);
  line-height: 1.1;
  margin: 0;
}
.fn-hero-sub {
  font-size: 17px;
  color: var(--text);
  line-height: 1.65;
  max-width: 540px;
}
.fn-hero-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  margin-top: 8px;
}
.fn-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 9px 18px;
  border-radius: 100px;
  border: 1px solid var(--border);
  background: var(--bg);
  font-size: 13px;
  font-weight: 600;
  color: var(--text);
  text-decoration: none;
  transition: all .2s;
}
.fn-pill:hover {
  background: var(--dark);
  border-color: var(--dark);
  color: #fff;
}

/* ── Sticky nav ── */
.fn-sticky {
  position: sticky;
  top: 64px;
  z-index: 90;
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  transform: translateY(-100%);
  opacity: 0;
  transition: transform .3s ease, opacity .3s ease;
  pointer-events: none;
}
.fn-sticky.visible {
  transform: translateY(0);
  opacity: 1;
  pointer-events: all;
}
.fn-sticky-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  height: 52px;
  overflow-x: auto;
}
.fn-sticky-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 600;
  color: var(--text);
  text-decoration: none;
  white-space: nowrap;
  transition: all .2s;
}
.fn-sticky-link:hover { color: var(--dark); background: var(--bg); }
.fn-sticky-link.active { color: var(--blue); background: rgba(0,0,254,.06); }

/* ── Feature sections ── */
.fn-section { padding: 96px 40px; background: var(--white); }
.fn-section-alt { background: var(--bg); }

.fn-section-inner {
  max-width: 1160px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.fn-reverse { direction: rtl; }
.fn-reverse > * { direction: ltr; }

/* Section text */
.fn-section-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 12px;
  border-radius: 100px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .03em;
}
.fn-section-h2 {
  font-size: 36px;
  font-weight: 800;
  color: var(--dark);
  line-height: 1.2;
  margin: 12px 0 0;
}
.fn-section-desc {
  font-size: 15px;
  color: var(--text);
  line-height: 1.7;
  margin-top: 12px;
}
.fn-feat-list {
  list-style: none;
  padding: 0;
  margin: 28px 0 0;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.fn-feat-list li {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}
.fn-feat-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.fn-feat-title {
  font-size: 14px;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 3px;
}
.fn-feat-desc {
  font-size: 13.5px;
  color: var(--text);
  line-height: 1.55;
}
.fn-section-cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 32px;
  font-size: 14px;
  font-weight: 700;
  color: var(--blue);
  text-decoration: none;
  padding: 10px 20px;
  border: 1.5px solid rgba(0,0,254,.2);
  border-radius: 10px;
  transition: all .2s;
}
.fn-section-cta:hover { background: rgba(0,0,254,.05); }

/* ── Visual cards ── */
.fn-visual-card {
  border-radius: 20px;
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  min-height: 360px;
  position: relative;
  overflow: hidden;
}
.fn-visual-label {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: rgba(255,255,255,.4);
}
.fn-visual-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: 100px;
  font-size: 11px;
  font-weight: 600;
  background: rgba(255,255,255,.1);
  color: rgba(255,255,255,.7);
  margin-top: auto;
  width: fit-content;
}

/* Calendar mock */
.fn-cal-mock { flex: 1; display: flex; flex-direction: column; gap: 8px; }
.fn-cal-header {
  display: flex;
  justify-content: space-between;
  font-size: 10px;
  font-weight: 700;
  color: rgba(255,255,255,.35);
  text-transform: uppercase;
  letter-spacing: .08em;
  padding: 0 4px;
}
.fn-cal-body {
  flex: 1;
  position: relative;
  background: rgba(255,255,255,.05);
  border-radius: 10px;
  min-height: 160px;
}
.fn-cal-event {
  position: absolute;
  width: 18%;
  border-radius: 6px;
  padding: 4px 6px;
  font-size: 9px;
  font-weight: 600;
  color: #fff;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  opacity: .9;
}

/* Ficha mock */
.fn-ficha-mock { flex: 1; display: flex; flex-direction: column; gap: 14px; }
.fn-ficha-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(16,185,129,.4);
  color: #fff;
  font-size: 14px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
}
.fn-ficha-info {}
.fn-ficha-name { font-size: 15px; font-weight: 700; color: #fff; }
.fn-ficha-meta { font-size: 11px; color: rgba(255,255,255,.5); margin-top: 2px; }
.fn-ficha-timeline { display: flex; flex-direction: column; gap: 12px; }
.fn-tl-item { display: flex; gap: 10px; align-items: flex-start; }
.fn-tl-dot { width: 8px; height: 8px; border-radius: 50%; flex-shrink: 0; margin-top: 3px; }
.fn-tl-date { font-size: 10px; font-weight: 600; color: rgba(255,255,255,.4); }
.fn-tl-text { font-size: 11.5px; color: rgba(255,255,255,.75); line-height: 1.45; margin-top: 1px; }

/* NF mock */
.fn-nf-mock { flex: 1; display: flex; flex-direction: column; gap: 10px; }
.fn-nf-row { display: flex; justify-content: space-between; align-items: center; padding: 8px 12px; background: rgba(255,255,255,.07); border-radius: 8px; }
.fn-nf-label { font-size: 11px; color: rgba(255,255,255,.45); font-weight: 500; }
.fn-nf-val { font-size: 12px; color: rgba(255,255,255,.85); font-weight: 600; }
.fn-nf-status {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  font-weight: 600;
  color: #6ee7b7;
  background: rgba(16,185,129,.15);
  padding: 8px 12px;
  border-radius: 8px;
  margin-top: 4px;
}

/* Relatórios mock */
.fn-rel-mock { flex: 1; display: flex; flex-direction: column; gap: 16px; }
.fn-rel-bars { display: flex; align-items: flex-end; gap: 8px; height: 100px; }
.fn-bar-wrap { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 6px; height: 100%; justify-content: flex-end; }
.fn-bar { width: 100%; border-radius: 4px 4px 0 0; min-height: 8px; transition: height .3s; }
.fn-bar-wrap span { font-size: 9px; color: rgba(255,255,255,.35); font-weight: 600; }
.fn-rel-stats { display: flex; gap: 16px; }
.fn-rel-stat { flex: 1; background: rgba(255,255,255,.07); border-radius: 10px; padding: 10px 12px; }
.fn-rel-stat-val { font-size: 20px; font-weight: 800; color: #fff; }
.fn-rel-stat-label { font-size: 10px; color: rgba(255,255,255,.4); margin-top: 2px; }

/* Team mock */
.fn-team-mock { flex: 1; display: flex; flex-direction: column; gap: 10px; }
.fn-team-item { display: flex; align-items: center; gap: 10px; padding: 10px 12px; background: rgba(255,255,255,.07); border-radius: 10px; }
.fn-team-avatar { width: 36px; height: 36px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 12px; font-weight: 800; color: #fff; flex-shrink: 0; }
.fn-team-info { flex: 1; }
.fn-team-name { font-size: 13px; font-weight: 700; color: #fff; }
.fn-team-role { font-size: 11px; color: rgba(255,255,255,.45); margin-top: 1px; }
.fn-team-badge { font-size: 10px; font-weight: 700; padding: 3px 10px; border-radius: 100px; }

/* ── CTA final ── */
.fn-cta-section {
  background: var(--dark);
  padding: 80px 40px;
  text-align: center;
}
.fn-cta-inner {
  max-width: 560px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}
.fn-cta-inner h2 {
  font-size: 40px;
  font-weight: 800;
  color: #fff;
  line-height: 1.15;
  margin: 0;
}
.fn-cta-inner p {
  font-size: 16px;
  color: rgba(255,255,255,.55);
  margin: 0;
}
.fn-cta-btns { display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; margin-top: 8px; }

/* ── Appointment Detail Mockup ── */
.fn-appt-container { width: 100%; }
.fn-appt-scaler { min-width: 480px; }
.fn-appt-card {
  background: #fff;
  border-radius: 16px;
  border: 1px solid #e5e7eb;
  box-shadow: 0 8px 40px rgba(0,0,0,.10);
  overflow: hidden;
  font-family: inherit;
}
.fn-appt-hd {
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px 20px;
  border-bottom: 1px solid #f0f0f0;
}
.fn-appt-hd-title { font-size: 14px; font-weight: 700; color: #111827; }
.fn-appt-hd-x {
  width: 26px; height: 26px; border-radius: 6px; border: none;
  background: #f3f4f6; color: #6b7280; cursor: default;
  display: flex; align-items: center; justify-content: center; font-size: 14px;
}
.fn-appt-client-row {
  display: flex; align-items: center; gap: 12px;
  padding: 16px 20px;
}
.fn-appt-av {
  width: 42px; height: 42px; border-radius: 50%;
  background: #3b82f6; color: #fff;
  font-size: 13px; font-weight: 800; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
}
.fn-appt-client-body { flex: 1; min-width: 0; }
.fn-appt-client-name { font-size: 14px; font-weight: 700; color: #111827; }
.fn-appt-client-meta { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 3px; }
.fn-appt-client-meta span { display: flex; align-items: center; gap: 4px; font-size: 11px; color: #6b7280; }
.fn-appt-badge {
  font-size: 11px; font-weight: 600; color: #059669;
  background: #d1fae5; border-radius: 20px; padding: 4px 10px;
  white-space: nowrap; flex-shrink: 0;
}
.fn-appt-divider { height: 1px; background: #f0f0f0; }
.fn-appt-info-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 12px;
  padding: 16px 20px 4px;
}
.fn-appt-sec-label {
  font-size: 9px; font-weight: 700; color: #9ca3af;
  text-transform: uppercase; letter-spacing: .08em; margin-bottom: 6px;
}
.fn-appt-sec-label-pad { padding: 12px 20px 6px; }
.fn-appt-info-box {
  border-radius: 10px; padding: 12px;
  display: flex; gap: 10px; align-items: flex-start;
}
.fn-appt-info-box-blue { background: #eff6ff; }
.fn-appt-info-box-purple { background: #f5f3ff; }
.fn-appt-ico {
  width: 30px; height: 30px; border-radius: 8px; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
}
.fn-appt-ico-blue { background: #dbeafe; color: #3b82f6; }
.fn-appt-ico-purple { background: #ede9fe; color: #7c3aed; }
.fn-appt-service-nm { font-size: 13px; font-weight: 700; color: #111827; }
.fn-appt-service-dur { font-size: 11px; color: #6b7280; margin-top: 2px; }
.fn-appt-service-price { font-size: 13px; font-weight: 700; color: #3b82f6; margin-top: 4px; }
.fn-appt-date-val { font-size: 14px; font-weight: 700; color: #111827; }
.fn-appt-time-val { font-size: 11px; color: #6b7280; margin-top: 2px; }
.fn-appt-notes {
  margin: 0 20px 8px;
  padding: 12px;
  background: #f9fafb; border: 1px solid #e5e7eb;
  border-radius: 8px;
  font-size: 12px; color: #374151; line-height: 1.5;
}
.fn-appt-foot-meta {
  display: flex; gap: 12px; flex-wrap: wrap;
  padding: 4px 20px 10px;
}
.fn-appt-foot-meta span { font-size: 10px; color: #9ca3af; }
.fn-appt-actions-row {
  display: flex; gap: 8px; padding: 10px 20px;
  border-top: 1px solid #f0f0f0;
}
.fn-appt-btn {
  font-size: 12px; font-weight: 600; border-radius: 8px;
  padding: 7px 12px; cursor: default; font-family: inherit;
  display: flex; align-items: center; gap: 5px;
}
.fn-appt-btn-amber { background: #fff; border: 1.5px solid #f59e0b; color: #d97706; }
.fn-appt-btn-blue-o { background: #fff; border: 1.5px solid #3b82f6; color: #3b82f6; }
.fn-appt-btn-gray { background: #fff; border: 1.5px solid #d1d5db; color: #374151; }
.fn-appt-btn-blue { background: #3b82f6; border: none; color: #fff; flex: 1; justify-content: center; }
.fn-appt-btn-purple { background: #7c3aed; border: none; color: #fff; flex: 1; justify-content: center; }

/* ── Histórico de Agendamentos Mockup ── */
.fn-hist-container { width: 100%; }
.fn-hist-scaler { min-width: 520px; }
.fn-hist-card {
  background: #f8fafc;
  border-radius: 16px;
  border: 1px solid #e5e7eb;
  box-shadow: 0 8px 40px rgba(0,0,0,.10);
  overflow: hidden;
  font-family: inherit;
}
.fn-hist-page-hd {
  display: flex; align-items: center; gap: 10px;
  padding: 14px 20px;
  background: #fff; border-bottom: 1px solid #f0f0f0;
}
.fn-hist-back {
  width: 28px; height: 28px; border-radius: 6px; border: 1px solid #e5e7eb;
  background: #fff; color: #374151; cursor: default;
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.fn-hist-hd-icon {
  width: 30px; height: 30px; border-radius: 8px; background: #eff6ff;
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.fn-hist-hd-title { font-size: 13px; font-weight: 700; color: #111827; }
.fn-hist-hd-sub { font-size: 11px; color: #6b7280; margin-top: 1px; }
.fn-hist-banner {
  display: flex; align-items: center; gap: 14px;
  padding: 16px 20px;
  background: #3b4fe4;
}
.fn-hist-banner-av {
  width: 44px; height: 44px; border-radius: 50%;
  background: rgba(255,255,255,.2); border: 2px solid rgba(255,255,255,.4);
  color: #fff; font-size: 14px; font-weight: 800; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
}
.fn-hist-banner-info { flex: 1; min-width: 0; }
.fn-hist-banner-name { font-size: 14px; font-weight: 700; color: #fff; }
.fn-hist-banner-meta { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 4px; }
.fn-hist-banner-meta span { display: flex; align-items: center; gap: 4px; font-size: 10px; color: rgba(255,255,255,.8); white-space: nowrap; }
.fn-hist-banner-count { text-align: right; flex-shrink: 0; }
.fn-hist-banner-num { font-size: 28px; font-weight: 800; color: #fff; line-height: 1; }
.fn-hist-banner-lbl { font-size: 9px; font-weight: 700; color: rgba(255,255,255,.65); letter-spacing: .06em; margin-top: 2px; }
.fn-hist-stats {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 10px; padding: 14px;
  background: #f8fafc;
}
.fn-hist-stat {
  background: #fff; border-radius: 10px; border: 1px solid #e5e7eb;
  padding: 12px;
}
.fn-hist-stat-top { display: flex; align-items: flex-start; justify-content: space-between; margin-bottom: 10px; }
.fn-hist-stat-label { font-size: 9px; font-weight: 700; color: #9ca3af; letter-spacing: .06em; text-transform: uppercase; }
.fn-hist-stat-ico {
  width: 28px; height: 28px; border-radius: 8px; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
}
.fn-hist-stat-val { font-size: 24px; font-weight: 800; line-height: 1; }
.fn-hist-notes-row {
  display: flex; align-items: center; gap: 12px;
  padding: 14px; margin: 0 14px 14px;
  background: #fff; border-radius: 10px; border: 1px solid #e5e7eb;
}
.fn-hist-notes-ico {
  width: 36px; height: 36px; border-radius: 10px; background: #eff6ff;
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.fn-hist-notes-body { flex: 1; min-width: 0; }
.fn-hist-notes-title { font-size: 13px; font-weight: 700; color: #111827; }
.fn-hist-notes-sub { font-size: 11px; color: #6b7280; margin-top: 2px; line-height: 1.4; }
.fn-hist-notes-btn {
  display: flex; align-items: center; gap: 6px;
  background: #3b82f6; color: #fff; border: none;
  padding: 9px 14px; border-radius: 8px; cursor: default;
  font-size: 12px; font-weight: 600; font-family: inherit;
  white-space: nowrap; flex-shrink: 0;
}

/* ── Notas Fiscais Mockup ── */
.fn-nfse-container { width: 100%; }
.fn-nfse-scaler { min-width: 560px; }
.fn-nfse-card {
  background: #f8fafc; border-radius: 16px;
  border: 1px solid #e5e7eb;
  box-shadow: 0 8px 40px rgba(0,0,0,.10);
  overflow: hidden; font-family: inherit;
}
.fn-nfse-page-hd {
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 18px; background: #fff; border-bottom: 1px solid #f0f0f0;
}
.fn-nfse-hd-left { display: flex; align-items: center; gap: 8px; }
.fn-nfse-hd-icon {
  width: 28px; height: 28px; border-radius: 7px; background: #eff6ff;
  display: flex; align-items: center; justify-content: center;
}
.fn-nfse-hd-title { font-size: 15px; font-weight: 700; color: #111827; }
.fn-nfse-hd-btns { display: flex; gap: 8px; }
.fn-nfse-btn-out {
  display: flex; align-items: center; gap: 5px;
  font-size: 11px; font-weight: 600; color: #374151;
  background: #fff; border: 1px solid #d1d5db;
  padding: 6px 10px; border-radius: 7px; cursor: default; font-family: inherit;
}
.fn-nfse-btn-blue {
  display: flex; align-items: center; gap: 5px;
  font-size: 11px; font-weight: 600; color: #fff;
  background: #3b82f6; border: none;
  padding: 6px 10px; border-radius: 7px; cursor: default; font-family: inherit;
}
.fn-nfse-alert {
  display: flex; align-items: flex-start; gap: 12px;
  margin: 12px; padding: 12px;
  background: #fff; border: 1px solid #e5e7eb; border-radius: 10px;
}
.fn-nfse-alert-ico {
  width: 30px; height: 30px; border-radius: 8px; background: #dcfce7; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
}
.fn-nfse-alert-body { flex: 1; }
.fn-nfse-alert-title { font-size: 13px; font-weight: 700; color: #111827; }
.fn-nfse-alert-sub { font-size: 11px; color: #374151; margin-top: 2px; }
.fn-nfse-alert-info { font-size: 10px; color: #6b7280; margin-top: 4px; display: flex; align-items: flex-start; gap: 4px; line-height: 1.4; }
.fn-nfse-alert-x {
  width: 22px; height: 22px; background: none; border: none;
  color: #9ca3af; cursor: default; font-size: 13px; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
}
.fn-nfse-stats {
  display: grid; grid-template-columns: repeat(6, 1fr); gap: 8px;
  padding: 0 12px 12px;
}
.fn-nfse-stat {
  background: #fff; border: 1px solid #e5e7eb; border-radius: 10px;
  padding: 10px 8px;
}
.fn-nfse-stat-ico {
  width: 28px; height: 28px; border-radius: 8px;
  display: flex; align-items: center; justify-content: center; margin-bottom: 8px;
}
.fn-nfse-stat-lbl { font-size: 8px; font-weight: 700; color: #9ca3af; letter-spacing: .05em; text-transform: uppercase; margin-bottom: 4px; }
.fn-nfse-stat-val { font-size: 20px; font-weight: 800; color: #111827; line-height: 1; }
.fn-nfse-stat-sm { font-size: 13px; font-weight: 800; color: #111827; line-height: 1; }
.fn-nfse-filtros {
  margin: 0 12px 12px; background: #fff;
  border: 1px solid #e5e7eb; border-radius: 10px; overflow: hidden;
}
.fn-nfse-filtros-hd {
  display: flex; align-items: center; gap: 6px;
  padding: 10px 14px; border-bottom: 1px solid #f0f0f0;
  font-size: 13px; font-weight: 700; color: #111827;
}
.fn-nfse-filtros-row {
  display: flex; gap: 12px; padding: 12px 14px; align-items: flex-end;
}
.fn-nfse-filtros-col { display: flex; flex-direction: column; gap: 6px; }
.fn-nfse-filtros-col-grow { flex: 1; }
.fn-nfse-col-lbl { font-size: 9px; font-weight: 700; color: #9ca3af; letter-spacing: .06em; text-transform: uppercase; }
.fn-nfse-chips { display: flex; gap: 6px; }
.fn-nfse-chip {
  font-size: 11px; font-weight: 600; padding: 4px 10px; border-radius: 20px;
  border: 1px solid #d1d5db; color: #374151; background: #fff;
}
.fn-nfse-chip-active { background: #eff6ff; border-color: #93c5fd; color: #3b82f6; }
.fn-nfse-input {
  font-size: 11px; color: #9ca3af; padding: 6px 10px;
  border: 1px solid #d1d5db; border-radius: 7px; background: #fff;
}
.fn-nfse-select {
  display: flex; align-items: center; justify-content: space-between;
  font-size: 11px; color: #374151; padding: 6px 10px;
  border: 1px solid #d1d5db; border-radius: 7px; background: #fff;
  gap: 8px; white-space: nowrap;
}
.fn-nfse-filtros-foot {
  display: flex; justify-content: flex-end; gap: 8px;
  padding: 10px 14px; border-top: 1px solid #f0f0f0;
}
.fn-nfse-limpar {
  font-size: 12px; font-weight: 600; color: #374151;
  background: none; border: none; cursor: default; font-family: inherit;
}
.fn-nfse-filtrar {
  display: flex; align-items: center; gap: 5px;
  font-size: 12px; font-weight: 600; color: #fff;
  background: #3b82f6; border: none; padding: 7px 14px;
  border-radius: 7px; cursor: default; font-family: inherit;
}

/* ── Relatórios Mockup ── */
.fn-rel2-container { width: 100%; }
.fn-rel2-scaler { min-width: 560px; }
.fn-rel2-card {
  background: #f8fafc; border-radius: 16px;
  border: 1px solid #e5e7eb;
  box-shadow: 0 8px 40px rgba(0,0,0,.10);
  overflow: hidden; font-family: inherit;
}
.fn-rel2-page-hd {
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 18px; background: #fff; border-bottom: 1px solid #f0f0f0;
}
.fn-rel2-hd-left { display: flex; align-items: center; gap: 10px; }
.fn-rel2-hd-icon {
  width: 30px; height: 30px; border-radius: 8px; background: #eff6ff; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
}
.fn-rel2-hd-title { font-size: 14px; font-weight: 700; color: #111827; }
.fn-rel2-hd-sub { font-size: 10px; color: #6b7280; margin-top: 1px; }
.fn-rel2-export-btn {
  display: flex; align-items: center; gap: 5px;
  font-size: 11px; font-weight: 600; color: #fff;
  background: #3b82f6; border: none; padding: 7px 12px;
  border-radius: 7px; cursor: default; font-family: inherit;
}
.fn-rel2-filtros {
  margin: 12px; background: #fff;
  border: 1px solid #e5e7eb; border-radius: 10px; overflow: hidden;
}
.fn-rel2-filtros-hd {
  display: flex; align-items: center; gap: 6px;
  padding: 10px 14px; border-bottom: 1px solid #f0f0f0;
  font-size: 12px; font-weight: 700; color: #111827;
}
.fn-rel2-filtros-row { display: flex; gap: 10px; padding: 12px 14px; align-items: flex-end; flex-wrap: wrap; }
.fn-rel2-filtros-col { display: flex; flex-direction: column; gap: 5px; }
.fn-rel2-filtros-col-grow { flex: 1; min-width: 120px; }
.fn-rel2-col-lbl { font-size: 9px; font-weight: 700; color: #9ca3af; letter-spacing: .06em; text-transform: uppercase; }
.fn-rel2-select {
  display: flex; align-items: center; justify-content: space-between; gap: 6px;
  font-size: 11px; color: #374151; padding: 6px 10px;
  border: 1px solid #d1d5db; border-radius: 7px; background: #fff;
}
.fn-rel2-date-range {
  display: flex; align-items: center; gap: 5px;
  font-size: 11px; color: #374151; padding-bottom: 7px; white-space: nowrap;
}
.fn-rel2-section-hd {
  display: flex; align-items: center; gap: 8px;
  padding: 10px 14px 6px;
  font-size: 13px; font-weight: 700; color: #111827;
}
.fn-rel2-sec-ico {
  width: 26px; height: 26px; border-radius: 7px;
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.fn-rel2-stats {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px;
  padding: 0 12px 8px;
}
.fn-rel2-stats-last { padding-bottom: 12px; }
.fn-rel2-stat {
  background: #fff; border: 1px solid #e5e7eb; border-radius: 10px; padding: 10px;
}
.fn-rel2-stat-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 4px; margin-bottom: 8px; }
.fn-rel2-stat-lbl { font-size: 8px; font-weight: 700; color: #9ca3af; letter-spacing: .05em; text-transform: uppercase; line-height: 1.3; }
.fn-rel2-stat-ico {
  width: 26px; height: 26px; border-radius: 7px; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
}
.fn-rel2-stat-val { font-size: 22px; font-weight: 800; color: #111827; line-height: 1; margin-bottom: 4px; }
.fn-rel2-stat-md { font-size: 16px; }
.fn-rel2-stat-trend { font-size: 9px; color: #6b7280; line-height: 1.3; }
.fn-rel2-green { color: #16a34a; }

/* ── Configurações Mockup ── */
.fn-cfg-container { width: 100%; }
.fn-cfg-scaler { min-width: 520px; }
.fn-cfg-card {
  background: #fff; border-radius: 16px;
  border: 1px solid #e5e7eb;
  box-shadow: 0 8px 40px rgba(0,0,0,.10);
  overflow: hidden; font-family: inherit;
}
.fn-cfg-page-hd {
  display: flex; align-items: center; gap: 8px;
  padding: 14px 18px; border-bottom: 1px solid #f0f0f0;
}
.fn-cfg-hd-icon {
  width: 28px; height: 28px; border-radius: 7px; background: #eff6ff;
  display: flex; align-items: center; justify-content: center;
}
.fn-cfg-hd-title { font-size: 14px; font-weight: 700; color: #111827; }
.fn-cfg-tabnav {
  display: flex; align-items: stretch; gap: 0;
  border-bottom: 1px solid #e5e7eb; padding: 0 14px;
  overflow-x: auto;
}
.fn-cfg-tabnav-group { display: flex; flex-direction: column; gap: 0; }
.fn-cfg-tabnav-label {
  font-size: 8px; font-weight: 700; color: #9ca3af; letter-spacing: .08em;
  text-transform: uppercase; padding: 8px 4px 2px;
}
.fn-cfg-tabs { display: flex; gap: 0; }
.fn-cfg-tab {
  display: flex; align-items: center; gap: 5px;
  padding: 6px 10px 10px; font-size: 12px; font-weight: 500; color: #6b7280;
  background: none; border: none; cursor: default; font-family: inherit;
  border-bottom: 2px solid transparent; white-space: nowrap;
}
.fn-cfg-tab-active { color: #3b82f6; font-weight: 600; border-bottom-color: #3b82f6; }
.fn-cfg-tabnav-divider {
  width: 1px; background: #e5e7eb; margin: 8px 10px 0; align-self: stretch;
}
.fn-cfg-content { padding: 16px; background: #f8fafc; }
.fn-cfg-content-hd {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 12px;
}
.fn-cfg-content-title { font-size: 13px; font-weight: 700; color: #111827; }
.fn-cfg-add-btn {
  display: flex; align-items: center; gap: 5px;
  font-size: 11px; font-weight: 600; color: #fff;
  background: #3b82f6; border: none; padding: 6px 12px;
  border-radius: 7px; cursor: default; font-family: inherit;
}
.fn-cfg-service-list { display: flex; flex-direction: column; gap: 8px; }
.fn-cfg-service {
  display: flex; align-items: center; gap: 10px;
  background: #fff; border: 1px solid #e5e7eb; border-radius: 10px; padding: 10px 12px;
}
.fn-cfg-service-ico {
  width: 32px; height: 32px; border-radius: 8px; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
}
.fn-cfg-service-info { flex: 1; min-width: 0; }
.fn-cfg-service-name { font-size: 13px; font-weight: 600; color: #111827; }
.fn-cfg-service-meta { font-size: 11px; color: #6b7280; margin-top: 1px; }
.fn-cfg-service-badge {
  font-size: 10px; font-weight: 600; padding: 3px 8px; border-radius: 20px; flex-shrink: 0;
}
.fn-cfg-badge-green { background: #dcfce7; color: #16a34a; }

/* ── Funcionalidades Mockup ── */
.fn-fnc-card { background: #f8fafc !important; }
.fn-fnc-page-hd {
  display: flex; align-items: flex-start; justify-content: space-between; gap: 12px;
  padding: 14px 16px; background: #fff; border-bottom: 1px solid #f0f0f0;
}
.fn-fnc-breadcrumb { font-size: 9px; font-weight: 700; color: #3b82f6; letter-spacing: .08em; text-transform: uppercase; margin-bottom: 2px; }
.fn-fnc-title { font-size: 16px; font-weight: 800; color: #111827; }
.fn-fnc-hd-desc { font-size: 10px; color: #6b7280; line-height: 1.4; max-width: 160px; text-align: right; }
.fn-fnc-section-lbl {
  display: flex; align-items: center; gap: 6px;
  font-size: 9px; font-weight: 700; color: #3b82f6; letter-spacing: .07em;
  padding: 10px 16px 6px;
}
.fn-fnc-section-lbl-gray { color: #6b7280; }
.fn-fnc-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px;
  padding: 0 12px 6px;
}
.fn-fnc-feat-card {
  background: #fff; border: 1px solid #e5e7eb; border-radius: 10px;
  padding: 10px; display: flex; flex-direction: column; gap: 6px;
}
.fn-fnc-feat-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 4px; }
.fn-fnc-feat-ico {
  width: 30px; height: 30px; border-radius: 8px; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
}
.fn-fnc-badge {
  font-size: 8px; font-weight: 700; color: #3b82f6;
  background: #eff6ff; border: 1px solid #bfdbfe;
  padding: 2px 6px; border-radius: 20px; white-space: nowrap;
}
.fn-fnc-badge-upgrade { color: #b45309; background: #fff7ed; border-color: #fed7aa; }
.fn-fnc-feat-name { font-size: 11px; font-weight: 700; color: #111827; line-height: 1.2; }
.fn-fnc-feat-desc { font-size: 10px; color: #6b7280; line-height: 1.4; flex: 1; }
.fn-fnc-feat-btn {
  width: 100%; padding: 6px; border-radius: 7px; border: none; cursor: default;
  font-size: 10px; font-weight: 600; color: #fff; background: #3b82f6;
  font-family: inherit; margin-top: auto;
}
.fn-fnc-upgrade-wrap { padding: 0 12px 12px; }
.fn-fnc-feat-card-upgrade { max-width: 200px; }
.fn-fnc-upgrade-info {
  display: flex; align-items: center; gap: 4px;
  font-size: 10px; color: #b45309; background: #fff7ed;
  border: 1px solid #fed7aa; border-radius: 6px; padding: 5px 8px;
}
.fn-fnc-feat-btn-upgrade {
  background: #b45309; display: flex; align-items: center; justify-content: center; gap: 5px;
}

/* ── Responsive ── */
@media (max-width: 1024px) {
  .fn-section-inner { gap: 48px; }
}
@media (max-width: 820px) {
  .fn-hero-h1 { font-size: 36px; }
  .fn-hero { padding: 56px 20px 48px; }
  .fn-section { padding: 64px 20px; overflow-x: hidden; }
  .fn-section-inner { grid-template-columns: 1fr; gap: 48px; }
  .fn-section-inner > * { min-width: 0; }
  .fn-reverse { direction: ltr; }
  .fn-reverse .fn-section-text { order: -1; }
  .fn-section-h2 { font-size: 28px; }
  .fn-sticky-inner { padding: 0 16px; justify-content: flex-start; }
  .fn-visual-card { min-height: 300px; }
  .fn-appt-container { overflow: hidden; }
  .fn-hist-container { overflow: hidden; }
  .fn-nfse-container { overflow: hidden; }
  .fn-rel2-container { overflow: hidden; }
  .fn-cfg-container { overflow: hidden; }
}
@media (max-width: 480px) {
  .fn-hero-h1 { font-size: 28px; }
  .fn-cta-inner h2 { font-size: 28px; }
}
