/* ============================================================
   Nota Máxima Tecnologia — style.css
   ============================================================ */

:root {
  --nm-navy-900: #0b0f19;
  --nm-navy-700: #4f46e5;
  --nm-accent-500: #6366f1;
  --nm-accent-400: #818cf8;
  --nm-accent-200: #a5b4fc;
  --nm-accent-100: #e0e7ff;
  --nm-rose-500: #f43f5e;
  --nm-cyan-500: #06b6d4;
  --nm-emerald-500: #10b981;
  --nm-amber-500: #f59e0b;
  --nm-violet-500: #8b5cf6;
  --nm-gradient-brand: linear-gradient(135deg, var(--nm-accent-500) 0%, var(--nm-navy-700) 100%);
  --nm-gradient-text: linear-gradient(135deg, #ffffff 30%, var(--nm-accent-200) 100%);
  --nm-gradient-accent: linear-gradient(135deg, var(--nm-accent-200) 0%, var(--nm-accent-400) 50%, var(--nm-accent-500) 100%);

  /* Hero slide theme (overridden per-slide via [data-theme] below) */
  --hero-c-rgb: 99, 102, 241;
  --hero-c-200: var(--nm-accent-200);
  --hero-c-400: var(--nm-accent-400);
  --hero-c-500: var(--nm-accent-500);

  --nm-ink: #101827;
  --nm-muted: #5b6577;
  --nm-line: #e6e9ef;
  --nm-bg: #ffffff;
  --nm-bg-soft: #f6f8fb;

  --nm-radius: 14px;
  --nm-radius-sm: 8px;
  --nm-shadow: 0 10px 30px -12px rgba(10, 10, 18, 0.18);
  --nm-shadow-sm: 0 4px 14px -6px rgba(10, 10, 18, 0.14);

  --nm-font-heading: "Sora", sans-serif;
  --nm-font-body: "Inter", sans-serif;
}

/* ---------- Base ---------- */
html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--nm-font-body);
  color: var(--nm-ink);
  background-color: var(--nm-bg);
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--nm-font-heading);
  font-weight: 700;
  color: var(--nm-navy-900);
}

.text-muted-nm {
  color: var(--nm-muted);
}

section {
  scroll-margin-top: 88px;
}

.section-eyebrow {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--nm-accent-500);
  margin-bottom: 0.75rem;
}

.section-title {
  font-size: clamp(1.75rem, 1.4rem + 1.4vw, 2.5rem);
  margin-bottom: 1rem;
}

.section-lead {
  color: var(--nm-muted);
  font-size: 1.05rem;
  max-width: 640px;
}

.bg-soft {
  background-color: var(--nm-bg-soft);
}

/* ---------- Buttons ---------- */
.btn.btn-nm-primary {
  --bs-btn-bg: #6366f1;
  --bs-btn-border-color: transparent;
  --bs-btn-hover-bg: #4f46e5;
  --bs-btn-hover-border-color: transparent;
  --bs-btn-color: #ffffff;
  --bs-btn-hover-color: #ffffff;
  background-image: var(--nm-gradient-brand);
  background-color: #6366f1;
  border: none;
  color: #ffffff;
  font-weight: 600;
  padding: 0.7rem 1.6rem;
  border-radius: var(--nm-radius-sm);
  transition: box-shadow 0.2s ease, transform 0.2s ease, filter 0.2s ease;
}

.btn.btn-nm-primary:hover,
.btn.btn-nm-primary:focus {
  filter: brightness(1.1);
  box-shadow: 0 8px 24px -8px rgba(99, 102, 241, 0.55);
  color: #ffffff;
  transform: translateY(-1px);
}

.btn-nm-outline {
  background-color: transparent;
  border: 1.5px solid rgba(255, 255, 255, 0.55);
  color: #fff;
  font-weight: 600;
  padding: 0.7rem 1.6rem;
  border-radius: var(--nm-radius-sm);
  transition: background-color 0.2s ease, border-color 0.2s ease;
}

.btn-nm-outline:hover {
  background-color: rgba(255, 255, 255, 0.12);
  border-color: #fff;
  color: #fff;
}

.btn-nm-outline-dark {
  background-color: transparent;
  border: 1.5px solid var(--nm-line);
  color: var(--nm-navy-900);
  font-weight: 600;
  padding: 0.7rem 1.6rem;
  border-radius: var(--nm-radius-sm);
  transition: background-color 0.2s ease, border-color 0.2s ease;
}

.btn-nm-outline-dark:hover {
  background-color: var(--nm-bg-soft);
  border-color: var(--nm-navy-700);
  color: var(--nm-navy-900);
}

.btn.btn-nm-whatsapp {
  --bs-btn-bg: #f59e0b;
  --bs-btn-border-color: transparent;
  --bs-btn-hover-bg: #d97706;
  --bs-btn-hover-border-color: transparent;
  --bs-btn-color: #1a1200;
  --bs-btn-hover-color: #1a1200;
  background-image: linear-gradient(135deg, #fbbf24 0%, #d97706 100%);
  background-color: #f59e0b;
  border: none;
  color: #1a1200;
  font-weight: 600;
  padding: 0.7rem 1.6rem;
  border-radius: var(--nm-radius-sm);
  transition: box-shadow 0.2s ease, transform 0.2s ease, filter 0.2s ease;
}

.btn.btn-nm-whatsapp:hover,
.btn.btn-nm-whatsapp:focus {
  filter: brightness(1.08);
  box-shadow: 0 8px 24px -8px rgba(245, 158, 11, 0.55);
  color: #1a1200;
  transform: translateY(-1px);
}

/* ---------- Navbar ---------- */
.navbar-nm {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1030;
  padding: 1.1rem 0;
  background-color: transparent;
  transition: background-color 0.25s ease, box-shadow 0.25s ease, padding 0.25s ease;
}

.navbar-nm.is-scrolled {
  background-color: rgba(10, 10, 18, 0.55);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: var(--nm-shadow-sm);
  padding: 0.7rem 0;
  backdrop-filter: blur(18px) saturate(160%);
  -webkit-backdrop-filter: blur(18px) saturate(160%);
}

.navbar-nm .navbar-brand,
.navbar-nm .custom-logo-link {
  font-family: var(--nm-font-heading);
  font-weight: 700;
  font-size: 1.25rem;
  color: #fff;
  display: flex;
  align-items: center;
  gap: 0.55rem;
}

.navbar-nm .custom-logo {
  height: 40px;
  width: auto;
  max-width: 180px;
  object-fit: contain;
}

.navbar-nm .navbar-brand .brand-mark {
  width: 34px;
  height: 34px;
  border-radius: 9px;
  background: var(--nm-gradient-brand);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  font-weight: 800;
  font-size: 0.95rem;
}

.navbar-nm .nav-link {
  color: rgba(255, 255, 255, 0.85);
  font-weight: 500;
  padding: 0.5rem 0.9rem;
}

.navbar-nm .nav-link:hover,
.navbar-nm .nav-link:focus {
  color: #fff;
}

.navbar-nm .nav-link.active {
  color: #fff;
}

.navbar-nm .dropdown-toggle::after {
  vertical-align: 0.15em;
  opacity: 0.7;
}

.navbar-nm .dropdown-menu {
  background-color: #10141f;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 14px;
  padding: 0.5rem;
  margin-top: 0.6rem;
  min-width: 280px;
  box-shadow: 0 24px 48px -16px rgba(0, 0, 0, 0.5);
}

.navbar-nm .dropdown-item {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  color: rgba(255, 255, 255, 0.8);
  border-radius: 9px;
  padding: 0.6rem 0.75rem;
  font-size: 0.9rem;
}

.navbar-nm .dropdown-item i {
  width: 18px;
  text-align: center;
  color: var(--nm-accent-400);
}

.navbar-nm .dropdown-item:hover,
.navbar-nm .dropdown-item:focus {
  background-color: rgba(99, 102, 241, 0.16);
  color: #ffffff;
}

.navbar-nm .dropdown-item.active {
  background-color: rgba(99, 102, 241, 0.16);
  color: #ffffff;
}

.navbar-nm .dropdown-divider {
  border-color: rgba(255, 255, 255, 0.1);
  margin: 0.4rem 0.25rem;
}

@media (max-width: 991.98px) {
  .navbar-nm .dropdown-menu {
    box-shadow: none;
    border-color: rgba(255, 255, 255, 0.06);
  }
}

.navbar-nm .navbar-toggler {
  border: none;
  color: #fff;
}

.navbar-nm .navbar-toggler:focus {
  box-shadow: none;
}

/* ---------- Hero ---------- */
.hero-nm {
  position: relative;
  padding: 9.5rem 0 6rem;
  background-color: var(--nm-navy-900);
  color: #fff;
  overflow: hidden;
}

.bg-glow-orb {
  position: absolute;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  filter: blur(140px);
  pointer-events: none;
  z-index: 0;
  opacity: 0.4;
}

.orb-primary {
  background: radial-gradient(circle, var(--nm-accent-500) 0%, transparent 70%);
  top: -100px;
  right: -100px;
}

.orb-cyan {
  background: radial-gradient(circle, var(--nm-cyan-500) 0%, transparent 70%);
  top: 20%;
  left: -200px;
}

.orb-rose {
  background: radial-gradient(circle, var(--nm-rose-500) 0%, transparent 70%);
  bottom: -150px;
  right: 15%;
}

.orb-theme-a {
  background: radial-gradient(circle, var(--hero-c-500) 0%, transparent 70%);
  top: -120px;
  right: -100px;
}

.orb-theme-b {
  background: radial-gradient(circle, var(--hero-c-500) 0%, transparent 70%);
  top: 30%;
  left: -220px;
  opacity: 0.25;
}

.hero-nm::before,
.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(rgba(255, 255, 255, 0.08) 1px, transparent 1px);
  background-size: 26px 26px;
  opacity: 0.5;
  pointer-events: none;
  z-index: 1;
}

.hero-nm .container,
.page-hero .container {
  position: relative;
  z-index: 2;
}

/* ---------- Page hero (internal pages) ---------- */
.page-hero {
  position: relative;
  padding: 8.5rem 0 4.5rem;
  background-color: var(--nm-navy-900);
  color: #fff;
  overflow: hidden;
}

.page-breadcrumb {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.5);
  margin-bottom: 1.25rem;
}

.page-breadcrumb a {
  color: rgba(255, 255, 255, 0.75);
  text-decoration: none;
}

.page-breadcrumb a:hover {
  color: #fff;
}

.page-hero h1 {
  color: #fff;
  font-size: clamp(1.9rem, 1.5rem + 1.8vw, 2.9rem);
  line-height: 1.16;
  margin-bottom: 1rem;
  max-width: 720px;
}

.page-hero p.lead {
  color: rgba(255, 255, 255, 0.78);
  font-size: 1.08rem;
  max-width: 620px;
  margin-bottom: 0;
}

@media (max-width: 991.98px) {
  .page-hero {
    padding-top: 7.5rem;
  }
}

/* ---------- Process steps ---------- */
.process-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 1.5rem;
}

.process-step {
  padding: 1.75rem;
  border-radius: var(--nm-radius);
  border: 1px solid var(--nm-line);
  background-color: #fff;
  height: 100%;
}

.process-step .step-number {
  display: inline-block;
  font-family: var(--nm-font-heading);
  font-weight: 800;
  font-size: 1.5rem;
  background: var(--nm-gradient-brand);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin-bottom: 0.75rem;
}

.process-step h4 {
  font-size: 1.05rem;
  margin-bottom: 0.5rem;
}

.process-step p {
  color: var(--nm-muted);
  font-size: 0.9rem;
  margin-bottom: 0;
}

/* ---------- Antes / Depois ---------- */
.compare-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  max-width: 980px;
  margin: 0 auto;
}

.compare-side {
  padding: 2.25rem;
  border-radius: var(--nm-radius);
  border: 1px solid var(--nm-line);
  height: 100%;
  box-shadow: var(--nm-shadow-sm);
}

.compare-before {
  background: linear-gradient(160deg, rgba(244, 63, 94, 0.08) 0%, rgba(244, 63, 94, 0.015) 65%);
  border-color: rgba(244, 63, 94, 0.22);
}

.compare-after {
  background: linear-gradient(160deg, rgba(16, 185, 129, 0.08) 0%, rgba(16, 185, 129, 0.015) 65%);
  border-color: rgba(16, 185, 129, 0.22);
}

.compare-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border-radius: 13px;
  font-size: 1.25rem;
  margin-bottom: 1.1rem;
}

.compare-before .compare-icon {
  background-color: rgba(244, 63, 94, 0.14);
  color: var(--nm-rose-500);
}

.compare-after .compare-icon {
  background-color: rgba(16, 185, 129, 0.14);
  color: var(--nm-emerald-500);
}

.compare-side h4 {
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 1.25rem;
}

.compare-before h4 {
  color: var(--nm-rose-500);
}

.compare-after h4 {
  color: var(--nm-emerald-500);
}

.compare-side ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.compare-side li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 0.95rem;
  color: var(--nm-ink);
  line-height: 1.45;
}

.compare-side li i {
  flex: none;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.68rem;
  margin-top: 0.1rem;
}

.compare-before li i {
  background-color: rgba(244, 63, 94, 0.14);
  color: var(--nm-rose-500);
}

.compare-after li i {
  background-color: rgba(16, 185, 129, 0.14);
  color: var(--nm-emerald-500);
}

.compare-arrow {
  display: none;
}

@media (min-width: 768px) {
  .compare-arrow {
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--nm-gradient-brand);
    color: #ffffff;
    font-size: 1.1rem;
    box-shadow: var(--nm-shadow);
    z-index: 2;
  }
}

@media (max-width: 767.98px) {
  .compare-grid {
    grid-template-columns: 1fr;
  }
}

/* ---------- FAQ ---------- */
.faq-list {
  max-width: 820px;
  margin: 0 auto;
}

.faq-item {
  border-bottom: 1px solid var(--nm-line);
}

.faq-item:first-child {
  border-top: 1px solid var(--nm-line);
}

.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  width: 100%;
  background: none;
  border: none;
  text-align: left;
  padding: 1.25rem 0.25rem;
  font-family: var(--nm-font-heading);
  font-weight: 700;
  font-size: 1rem;
  color: var(--nm-navy-900);
}

.faq-question .faq-icon {
  flex: none;
  transition: transform 0.25s ease;
  color: var(--nm-accent-500);
}

.faq-question[aria-expanded="true"] .faq-icon {
  transform: rotate(45deg);
}

.faq-answer {
  padding: 0 0.25rem 1.25rem;
  color: var(--nm-muted);
  font-size: 0.94rem;
  line-height: 1.6;
}

/* ---------- Dark surface helper (dark bg content sections outside the hero) ---------- */
.dark-surface {
  position: relative;
  background-color: #10141f;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
  overflow: hidden;
}

.dark-surface .section-eyebrow {
  color: var(--hero-c-400, var(--nm-accent-400));
}

.dark-surface .section-title {
  color: #ffffff;
}

.dark-surface .section-lead {
  color: rgba(255, 255, 255, 0.68);
}

.dashboard-image-frame {
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 40px 100px -30px rgba(0, 0, 0, 0.65);
}

.dashboard-image-frame img {
  display: block;
  width: 100%;
  height: auto;
}

.dark-surface .container {
  position: relative;
  z-index: 2;
}

/* ---------- Dashboard mockup (product preview) ---------- */
.dashboard-mockup {
  border-radius: 20px;
  overflow: hidden;
  background-color: #10141f;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 40px 80px -30px rgba(0, 0, 0, 0.6);
}

.dashboard-mockup-bar {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.85rem 1.25rem;
  background-color: rgba(255, 255, 255, 0.03);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.dashboard-mockup-bar .dm-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.dm-dot-red { background-color: #f43f5e; }
.dm-dot-amber { background-color: #f59e0b; }
.dm-dot-green { background-color: #10b981; }

.dashboard-mockup-title {
  margin-left: 0.6rem;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.45);
  font-weight: 600;
}

.dashboard-mockup-body {
  padding: 1.5rem;
}

.dm-kpis {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  margin-bottom: 1.25rem;
}

.dm-kpi {
  padding: 1rem;
  border-radius: 12px;
  background-color: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.dm-kpi-label {
  display: block;
  font-size: 0.7rem;
  color: rgba(255, 255, 255, 0.45);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 0.4rem;
}

.dm-kpi-value {
  display: block;
  font-family: var(--nm-font-heading);
  font-weight: 800;
  font-size: 1.25rem;
  color: #ffffff;
}

.dm-kpi-trend {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  font-size: 0.74rem;
  font-weight: 700;
  margin-top: 0.35rem;
}

.dm-kpi-trend.up { color: var(--nm-emerald-500); }
.dm-kpi-trend.down { color: var(--nm-rose-500); }

.dm-sparkline {
  display: block;
  width: 100%;
  height: 24px;
  margin-top: 0.6rem;
}

.dm-sparkline polyline {
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.dm-sparkline.up polyline { stroke: var(--nm-emerald-500); }
.dm-sparkline.down polyline { stroke: var(--nm-rose-500); }

.dm-charts {
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  gap: 1rem;
}

.dm-chart-card {
  padding: 1.1rem;
  border-radius: 12px;
  background-color: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.dm-chart-title {
  display: block;
  font-size: 0.78rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 1rem;
}

.dm-bars {
  display: flex;
  align-items: flex-end;
  gap: 0.5rem;
  height: 120px;
}

.dm-bars span {
  flex: 1;
  border-radius: 5px 5px 0 0;
  background: linear-gradient(180deg, var(--hero-c-400, var(--nm-accent-400)) 0%, var(--hero-c-500, var(--nm-accent-500)) 100%);
  box-shadow: 0 0 16px -4px rgba(var(--hero-c-rgb, 99, 102, 241), 0.6);
}

.dm-donut-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.dm-donut {
  width: 108px;
  height: 108px;
  border-radius: 50%;
  margin: 0 auto 1rem;
  position: relative;
  background: conic-gradient(
    var(--hero-c-500, var(--nm-accent-500)) 0% 45%,
    var(--hero-c-400, var(--nm-accent-400)) 45% 72%,
    rgba(255, 255, 255, 0.1) 72% 100%
  );
}

.dm-donut::after {
  content: "";
  position: absolute;
  inset: 18px;
  border-radius: 50%;
  background-color: #10141f;
}

.dm-legend {
  list-style: none;
  padding: 0;
  margin: 0;
  font-size: 0.76rem;
  color: rgba(255, 255, 255, 0.55);
  text-align: left;
  width: 100%;
}

.dm-legend li {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  margin-bottom: 0.35rem;
}

.dm-legend .dm-swatch {
  width: 8px;
  height: 8px;
  border-radius: 2px;
  display: inline-block;
  flex: none;
}

@media (max-width: 767.98px) {
  .dm-kpis {
    grid-template-columns: repeat(2, 1fr);
  }

  .dm-charts {
    grid-template-columns: 1fr;
  }
}

.theme-surface[data-theme="cyan"] {
  --hero-c-rgb: 6, 182, 212;
  --hero-c-200: #a5f3fc;
  --hero-c-400: #22d3ee;
  --hero-c-500: var(--nm-cyan-500);
}

.theme-surface[data-theme="emerald"] {
  --hero-c-rgb: 16, 185, 129;
  --hero-c-200: #a7f3d0;
  --hero-c-400: #34d399;
  --hero-c-500: var(--nm-emerald-500);
}

.theme-surface[data-theme="amber"] {
  --hero-c-rgb: 245, 158, 11;
  --hero-c-200: #fde68a;
  --hero-c-400: #fbbf24;
  --hero-c-500: var(--nm-amber-500);
}

.theme-surface[data-theme="rose"] {
  --hero-c-rgb: 244, 63, 94;
  --hero-c-200: #fecdd3;
  --hero-c-400: #fb7185;
  --hero-c-500: var(--nm-rose-500);
}

.theme-surface[data-theme="violet"] {
  --hero-c-rgb: 139, 92, 246;
  --hero-c-200: #ddd6fe;
  --hero-c-400: #a78bfa;
  --hero-c-500: var(--nm-violet-500);
}

.theme-surface .hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background-color: rgba(var(--hero-c-rgb), 0.08);
  border: 1px solid rgba(var(--hero-c-rgb), 0.25);
  color: var(--hero-c-200);
  font-size: 0.82rem;
  font-weight: 600;
  padding: 0.4rem 0.9rem;
  border-radius: 999px;
  margin-bottom: 1.5rem;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: background-color 0.35s ease, border-color 0.35s ease, color 0.35s ease;
}

/* ---------- Hero slides ---------- */
.hero-slides {
  position: relative;
}

.hero-slide {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.45s ease;
  pointer-events: none;
}

.hero-slide.is-active {
  position: relative;
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.hero-slide h2 {
  min-height: calc(1.12em * 3);
}

.hero-slide p.lead {
  min-height: calc(1.6em * 2);
}

.hero-slide-nav {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-top: 2rem;
}

.hero-nav-arrow {
  flex: none;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background-color: rgba(255, 255, 255, 0.06);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.2s ease, border-color 0.2s ease;
}

.hero-nav-arrow:hover {
  background-color: rgba(255, 255, 255, 0.14);
  border-color: rgba(255, 255, 255, 0.32);
}

.hero-dots {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.hero-dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  border: none;
  padding: 0;
  background-color: rgba(255, 255, 255, 0.25);
  transition: background-color 0.25s ease, width 0.25s ease;
}

.hero-dot.is-active {
  width: 22px;
  background-color: var(--hero-c-400);
}

.hero-slide h2 {
  color: #fff;
  font-size: clamp(2.1rem, 1.5rem + 2.4vw, 3.4rem);
  line-height: 1.12;
  margin-bottom: 1.25rem;
}

.theme-surface .text-highlight {
  background: linear-gradient(135deg, var(--hero-c-200) 0%, var(--hero-c-400) 50%, var(--hero-c-500) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.theme-surface .btn.btn-nm-primary {
  background-image: linear-gradient(135deg, var(--hero-c-500) 0%, var(--hero-c-400) 100%);
  background-color: var(--hero-c-500);
  transition: box-shadow 0.35s ease, transform 0.2s ease, filter 0.2s ease, background 0.35s ease;
}

.theme-surface .btn.btn-nm-primary:hover,
.theme-surface .btn.btn-nm-primary:focus {
  box-shadow: 0 8px 24px -8px rgba(var(--hero-c-rgb), 0.55);
}

.hero-nm p.lead {
  color: rgba(255, 255, 255, 0.78);
  font-size: 1.15rem;
  max-width: 560px;
}

.hero-stats {
  display: flex;
  gap: 2.25rem;
  margin-top: 3rem;
  flex-wrap: wrap;
}

.hero-stats .stat-value {
  font-family: var(--nm-font-heading);
  font-size: 1.9rem;
  font-weight: 700;
  color: #fff;
}

.hero-stats .stat-label {
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.85rem;
}

.hero-panel {
  background-color: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--nm-radius);
  padding: 2rem;
  backdrop-filter: blur(24px) saturate(160%);
  -webkit-backdrop-filter: blur(24px) saturate(160%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.12),
    0 24px 60px -20px rgba(99, 102, 241, 0.35);
}

.hero-panel .hero-panel-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  padding: 0.9rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.hero-panel .hero-panel-item:last-child {
  border-bottom: none;
}

.hero-panel .icon-chip {
  flex: none;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background-color: rgba(99, 102, 241, 0.16);
  color: var(--nm-accent-400);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
}

.scroll-indicator {
  position: absolute;
  left: 50%;
  bottom: 1.75rem;
  transform: translateX(-50%);
  z-index: 2;
  display: none;
}

.mouse-scroll {
  display: block;
  width: 26px;
  height: 42px;
  border: 2px solid rgba(255, 255, 255, 0.35);
  border-radius: 14px;
  position: relative;
  transition: border-color 0.2s ease;
}

.scroll-indicator:hover .mouse-scroll {
  border-color: rgba(255, 255, 255, 0.6);
}

.mouse-wheel {
  position: absolute;
  top: 7px;
  left: 50%;
  width: 4px;
  height: 8px;
  border-radius: 2px;
  background: var(--hero-c-400);
  animation: mouse-scroll-wheel 1.8s ease-in-out infinite;
  transition: background-color 0.35s ease;
}

@keyframes mouse-scroll-wheel {
  0% {
    opacity: 1;
    transform: translate(-50%, 0);
  }
  70% {
    opacity: 0;
    transform: translate(-50%, 16px);
  }
  100% {
    opacity: 0;
    transform: translate(-50%, 16px);
  }
}

@media (min-width: 992px) {
  .scroll-indicator {
    display: block;
  }
}

/* ---------- Sobre / Pilares ---------- */
.icon-chip-lg {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  background-color: var(--nm-accent-100);
  color: var(--nm-accent-500);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  margin-bottom: 1.25rem;
  flex: none;
}

.pilar-list {
  display: flex;
  flex-direction: column;
}

.pilar-row {
  display: flex;
  gap: 1.75rem;
  align-items: flex-start;
  padding: 1.5rem 0;
  border-top: 1px solid var(--nm-line);
}

.pilar-row:first-child {
  padding-top: 0;
  border-top: none;
}

.pilar-index {
  flex: none;
  width: 3rem;
  font-family: var(--nm-font-heading);
  font-size: 1.75rem;
  font-weight: 800;
  background: var(--nm-gradient-brand);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  line-height: 1;
}

.pilar-row h4 {
  font-size: 1.1rem;
  margin-bottom: 0.4rem;
}

/* ---------- O que fazemos / Bento ---------- */
.bento-grid {
  display: grid;
  grid-template-columns: 1fr;
  grid-auto-rows: minmax(120px, auto);
  gap: 1.25rem;
}

.bento-item {
  height: 100%;
  padding: 1.75rem;
  border-radius: var(--nm-radius);
  border: 1px solid var(--nm-line);
  background-color: #fff;
  display: flex;
  flex-direction: column;
  transition: box-shadow 0.2s ease, transform 0.2s ease, border-color 0.2s ease;
}

.bento-item:hover {
  box-shadow: var(--nm-shadow);
  transform: translateY(-3px);
  border-color: rgba(99, 102, 241, 0.35);
}

.bento-item h4 {
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
}

.bento-featured {
  position: relative;
  overflow: hidden;
  justify-content: flex-end;
  background: linear-gradient(160deg, #ffffff 0%, var(--nm-accent-100) 160%);
  border-color: rgba(99, 102, 241, 0.3);
}

.bento-featured::before {
  content: "";
  position: absolute;
  top: -50px;
  right: -50px;
  width: 200px;
  height: 200px;
  border-radius: 50%;
  background: var(--nm-gradient-brand);
  opacity: 0.16;
  filter: blur(6px);
}

.bento-featured .icon-chip-xl {
  position: relative;
  z-index: 1;
  width: 60px;
  height: 60px;
  border-radius: 16px;
  background: var(--nm-gradient-brand);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  margin-bottom: 1rem;
}

.bento-featured .badge-tag,
.bento-featured h4,
.bento-featured p {
  position: relative;
  z-index: 1;
}

.bento-featured h4 {
  font-size: 1.4rem;
}

.bento-wide {
  flex-direction: row;
  align-items: center;
  gap: 1.5rem;
}

.bento-wide .icon-chip-lg {
  margin-bottom: 0;
}

@media (min-width: 576px) {
  .bento-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 992px) {
  .bento-grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .bento-featured {
    grid-column: span 2;
    grid-row: span 2;
  }

  .bento-wide {
    grid-column: span 4;
  }
}

/* ---------- Soluções ---------- */
.solucao-group-title {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

.solucao-group-title .icon-chip-md {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background-color: var(--nm-navy-900);
  color: var(--nm-accent-400);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex: none;
}

.solucao-card {
  height: 100%;
  padding: 1.75rem;
  border-radius: var(--nm-radius);
  border: 1px solid var(--nm-line);
  background-color: #fff;
  transition: box-shadow 0.2s ease, transform 0.2s ease, border-color 0.2s ease;
}

.solucao-card:hover {
  box-shadow: var(--nm-shadow-sm);
  transform: translateY(-2px);
  border-color: rgba(99, 102, 241, 0.5);
}

.badge-tag {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--nm-navy-700);
  background-color: var(--nm-bg-soft);
  border-radius: 999px;
  padding: 0.28rem 0.7rem;
  margin-bottom: 0.9rem;
}

.solucao-card h4 {
  font-size: 1.15rem;
  margin-bottom: 0.6rem;
}

.solucao-card p {
  color: var(--nm-muted);
  font-size: 0.94rem;
  margin-bottom: 0;
}

/* ---------- Diferenciais ---------- */
.diferenciais-dark {
  background:
    radial-gradient(50% 80% at 100% 0%, rgba(244, 63, 94, 0.16) 0%, transparent 70%),
    radial-gradient(60% 80% at 0% 100%, rgba(99, 102, 241, 0.28) 0%, transparent 70%),
    var(--nm-navy-900);
}

.diferenciais-dark .section-eyebrow {
  color: var(--nm-accent-400);
}

.diferenciais-dark .section-title {
  color: #ffffff;
}

.stat-item {
  padding-top: 1.25rem;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
  height: 100%;
}

.stat-number {
  display: block;
  font-family: var(--nm-font-heading);
  font-size: 2.75rem;
  font-weight: 800;
  line-height: 1;
  margin-bottom: 1rem;
  background: var(--nm-gradient-brand);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.stat-item h5 {
  color: #ffffff;
  font-size: 1.05rem;
  margin-bottom: 0.4rem;
}

.stat-item p {
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.92rem;
  margin-bottom: 0;
}

/* ---------- CTA final ---------- */
.cta-nm {
  position: relative;
  background:
    radial-gradient(60% 120% at 100% 100%, rgba(244, 63, 94, 0.28) 0%, transparent 70%),
    radial-gradient(70% 120% at 0% 0%, rgba(99, 102, 241, 0.5) 0%, transparent 70%),
    var(--nm-navy-900);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--nm-radius);
  padding: 3rem;
  color: #fff;
  overflow: hidden;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.cta-nm h2 {
  color: #fff;
}

.cta-nm p {
  color: rgba(255, 255, 255, 0.78);
}

/* ---------- Footer ---------- */
.footer-nm {
  background-color: var(--nm-navy-900);
  color: rgba(255, 255, 255, 0.7);
  padding: 3.5rem 0 1.75rem;
}

.footer-nm .navbar-brand,
.footer-nm .custom-logo-link {
  color: #fff;
  display: inline-flex;
  align-items: center;
  margin-bottom: 0.75rem;
}

.footer-nm .custom-logo {
  height: 44px;
  width: auto;
  max-width: 200px;
  object-fit: contain;
}

.footer-nm h6 {
  color: #fff;
  font-size: 0.9rem;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  margin-bottom: 1.1rem;
}

.footer-nm a {
  color: rgba(255, 255, 255, 0.68);
  text-decoration: none;
}

.footer-nm a:hover {
  color: var(--nm-accent-400);
}

.footer-nm .social-icon {
  width: 38px;
  height: 38px;
  border-radius: 9px;
  background-color: rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  transition: background-color 0.2s ease;
}

.footer-nm .social-icon:hover {
  background-color: var(--nm-accent-500);
  color: var(--nm-navy-900);
}

.footer-divider {
  border-color: rgba(255, 255, 255, 0.12);
  margin: 2.5rem 0 1.5rem;
}

/* ---------- Utilities ---------- */
.form-control-nm {
  border-radius: var(--nm-radius-sm);
  border: 1px solid var(--nm-line);
  padding: 0.7rem 1rem;
}

.form-control-nm:focus {
  border-color: var(--nm-accent-500);
  box-shadow: 0 0 0 0.2rem rgba(99, 102, 241, 0.2);
}

@media (max-width: 991.98px) {
  .navbar-nm {
    background-color: rgba(10, 10, 18, 0.7);
    backdrop-filter: blur(18px) saturate(160%);
    -webkit-backdrop-filter: blur(18px) saturate(160%);
  }

  .hero-nm {
    padding-top: 8rem;
  }
}

/* ============================================================
   Blog
   ============================================================ */

.post-cover {
  height: 168px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.25rem;
  color: rgba(255, 255, 255, 0.9);
  background: var(--nm-gradient-brand);
}

.post-cover.cover-cyan { background: linear-gradient(135deg, #22d3ee 0%, #0891b2 100%); }
.post-cover.cover-emerald { background: linear-gradient(135deg, #34d399 0%, #059669 100%); }
.post-cover.cover-amber { background: linear-gradient(135deg, #fbbf24 0%, #d97706 100%); }
.post-cover.cover-rose { background: linear-gradient(135deg, #fb7185 0%, #e11d48 100%); }
.post-cover.cover-violet { background: linear-gradient(135deg, #a78bfa 0%, #7c3aed 100%); }

.post-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  border-radius: var(--nm-radius);
  border: 1px solid var(--nm-line);
  background-color: #fff;
  overflow: hidden;
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.post-card:hover {
  box-shadow: var(--nm-shadow);
  transform: translateY(-3px);
}

.post-card-body {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.post-card-body h3 {
  font-size: 1.1rem;
  margin: 0.75rem 0 0.6rem;
}

.post-card-body p {
  color: var(--nm-muted);
  font-size: 0.92rem;
  margin-bottom: 0;
}

.post-card-meta {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-top: 1.1rem;
  padding-top: 1rem;
  border-top: 1px solid var(--nm-line);
  font-size: 0.78rem;
  color: var(--nm-muted);
}

.post-card-link {
  display: block;
  color: inherit;
  text-decoration: none;
}

/* ---------- Sidebar ---------- */
@media (min-width: 992px) {
  .blog-sidebar {
    position: sticky;
    top: 96px;
  }
}

.blog-sidebar-widget {
  padding: 1.5rem;
  border-radius: var(--nm-radius);
  border: 1px solid var(--nm-line);
  background-color: #fff;
  margin-bottom: 1.5rem;
}

.blog-sidebar-widget h5 {
  font-size: 0.95rem;
  margin-bottom: 1.1rem;
}

.blog-sidebar-links {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.blog-sidebar-links a {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding: 0.5rem;
  border-radius: 10px;
  color: var(--nm-ink);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 600;
  transition: background-color 0.2s ease;
}

.blog-sidebar-links a:hover {
  background-color: var(--nm-bg-soft);
}

.blog-sidebar-links a:hover .link-arrow {
  opacity: 1;
  transform: translateX(0);
}

.sidebar-icon-chip {
  flex: none;
  width: 38px;
  height: 38px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.05rem;
}

.sidebar-icon-chip.chip-cyan { background-color: rgba(6, 182, 212, 0.13); color: var(--nm-cyan-500); }
.sidebar-icon-chip.chip-emerald { background-color: rgba(16, 185, 129, 0.13); color: var(--nm-emerald-500); }
.sidebar-icon-chip.chip-amber { background-color: rgba(245, 158, 11, 0.13); color: var(--nm-amber-500); }
.sidebar-icon-chip.chip-rose { background-color: rgba(244, 63, 94, 0.13); color: var(--nm-rose-500); }
.sidebar-icon-chip.chip-violet { background-color: rgba(139, 92, 246, 0.13); color: var(--nm-violet-500); }
.sidebar-icon-chip.chip-indigo { background-color: rgba(99, 102, 241, 0.13); color: var(--nm-accent-500); }

.link-arrow {
  margin-left: auto;
  flex: none;
  color: var(--nm-muted);
  opacity: 0;
  transform: translateX(-4px);
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.sidebar-stats {
  display: flex;
  gap: 0.5rem;
}

.sidebar-stats .stat {
  flex: 1;
  text-align: center;
  padding: 0.9rem 0.25rem;
  border-radius: 10px;
  background-color: var(--nm-bg-soft);
}

.sidebar-stats .stat-value {
  display: block;
  font-family: var(--nm-font-heading);
  font-weight: 800;
  font-size: 1.15rem;
  background: var(--nm-gradient-brand);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  line-height: 1;
  margin-bottom: 0.3rem;
}

.sidebar-stats .stat-label {
  display: block;
  font-size: 0.62rem;
  color: var(--nm-muted);
  text-transform: uppercase;
  letter-spacing: 0.02em;
  line-height: 1.2;
}

.sidebar-cta {
  position: relative;
  overflow: hidden;
  border-radius: var(--nm-radius);
  padding: 1.75rem;
  color: #fff;
  background:
    radial-gradient(70% 100% at 100% 0%, rgba(99, 102, 241, 0.45) 0%, transparent 70%),
    var(--nm-navy-900);
  margin-bottom: 1.5rem;
}

.sidebar-cta h5 {
  color: #fff;
  margin-bottom: 0.5rem;
}

.sidebar-cta p {
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.9rem;
  margin-bottom: 1.25rem;
}

/* ---------- Article (single post) ---------- */
.post-meta-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.25rem;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.88rem;
  margin-top: 1.25rem;
}

.post-meta-row .post-author {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.post-author .avatar-chip {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--nm-gradient-brand);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.78rem;
  flex: none;
}

.article-content {
  font-size: 1.06rem;
  line-height: 1.8;
  color: var(--nm-ink);
}

.article-content h2 {
  font-size: 1.4rem;
  margin-top: 2.5rem;
  margin-bottom: 1rem;
}

.article-content p {
  margin-bottom: 1.25rem;
}

.article-content ul,
.article-content ol {
  margin-bottom: 1.25rem;
  padding-left: 1.4rem;
}

.article-content li {
  margin-bottom: 0.5rem;
}

.article-pull-quote {
  border-left: 4px solid var(--nm-accent-500);
  background-color: var(--nm-bg-soft);
  border-radius: 0 var(--nm-radius) var(--nm-radius) 0;
  padding: 1.25rem 1.5rem;
  font-size: 1.15rem;
  font-style: italic;
  color: var(--nm-navy-900);
  margin: 2rem 0;
}

.article-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 2.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--nm-line);
}
