/* ==========================================================================
   Confix — institutional website design
   Based on the Nexus template identity, adapted to the Confix brand.
   ========================================================================== */

:root {
  --confix-blue: #0066CC;
  --confix-blue-dark: #101A30;
  --confix-white: #FFFFFF;
  --confix-bg: #0b1220;
  --confix-surface: #141f33;
  --confix-surface-alt: #1b2a43;
  --confix-text: #eef3fb;
  --confix-heading: #f7f9fd;
  --confix-muted: #aab7ca;
  --confix-line: rgba(210, 225, 247, 0.14);
  --confix-shadow: 0 24px 60px -28px rgba(0, 0, 0, 0.62);
  --confix-shadow-soft: 0 14px 32px -18px rgba(0, 102, 204, 0.62);
  --confix-grad: linear-gradient(120deg, #0066CC 0%, #1485e8 58%, #55baff 100%);
  --confix-grad-soft: linear-gradient(120deg, rgba(0, 102, 204, 0.22), rgba(85, 186, 255, 0.1));
  --confix-font-display: "Manrope", "Segoe UI", sans-serif;
  --confix-font-body: "Inter", "Segoe UI", sans-serif;
  --confix-nav-h: 82px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

body {
  margin: 0;
  font-family: var(--confix-font-body);
  font-size: 1rem;
  line-height: 1.7;
  color: var(--confix-text);
  background: var(--confix-bg);
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }

a {
  color: var(--confix-blue);
  text-decoration: none;
  transition: color 0.2s ease;
}
a:hover { color: var(--confix-blue-dark); }

button, input, select, textarea {
  font: inherit;
}

h1, h2, h3, h4, h5, h6 {
  margin: 0 0 1rem;
  font-family: var(--confix-font-display);
  line-height: 1.12;
  letter-spacing: -0.03em;
  color: var(--confix-blue-dark);
}

p { margin: 0 0 1rem; }

.container { max-width: 1200px; }

::selection { background: rgba(0, 102, 204, 0.18); }

:focus-visible {
  outline: 3px solid rgba(0, 102, 204, 0.5);
  outline-offset: 3px;
}

.nx-skip {
  position: fixed;
  left: 16px;
  top: -80px;
  z-index: 2000;
  background: var(--confix-blue-dark);
  color: var(--confix-white);
  padding: 12px 18px;
  border-radius: 10px;
  font-weight: 700;
}
.nx-skip:focus { top: 16px; }

.nx-section {
  padding: clamp(64px, 8vw, 120px) 0;
}
.nx-section--muted {
  background: rgba(16, 26, 48, 0.04);
  border-top: 1px solid var(--confix-line);
  border-bottom: 1px solid var(--confix-line);
}
.nx-section--cta {
  padding-top: 0;
}

.nx-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
  font-size: 0.75rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--confix-blue);
  font-weight: 800;
}
.nx-eyebrow::before {
  content: "";
  width: 26px;
  height: 2px;
  border-radius: 999px;
  background: var(--confix-grad);
}
.nx-eyebrow--dark {
  color: rgba(255,255,255,0.8);
}
.nx-eyebrow--dark::before { background: rgba(255,255,255,0.7); }

.nx-title {
  font-size: clamp(2rem, 3.2vw, 3rem);
  color: var(--confix-blue-dark);
}
.nx-lead {
  font-size: clamp(1.02rem, 1.5vw, 1.2rem);
  color: var(--confix-muted);
}

.nx-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 0.8rem 1.6rem;
  border: 1px solid transparent;
  border-radius: 999px;
  font-family: var(--confix-font-display);
  font-weight: 800;
  letter-spacing: -0.02em;
  white-space: nowrap;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}
.nx-btn:hover { transform: translateY(-2px); }
.nx-btn--primary {
  background: var(--confix-grad);
  color: var(--confix-white);
  box-shadow: var(--confix-shadow-soft);
}
.nx-btn--primary:hover { color: var(--confix-white); }
.nx-btn--ghost {
  background: rgba(16, 26, 48, 0.03);
  color: var(--confix-blue-dark);
  border-color: var(--confix-line);
}
.nx-btn--ghost:hover { color: var(--confix-blue-dark); }
.nx-btn--light {
  background: rgba(255,255,255,0.12);
  color: var(--confix-white);
  border-color: rgba(255,255,255,0.2);
}
.nx-btn--light:hover { color: var(--confix-white); }
.nx-btn--sm {
  min-height: 40px;
  padding: 0.6rem 1.2rem;
  font-size: 0.92rem;
}
.nx-arrow { transition: transform 0.2s ease; }
.nx-btn:hover .nx-arrow { transform: translateX(4px); }

.nx-nav {
  position: sticky;
  top: 0;
  z-index: 1040;
  height: var(--confix-nav-h);
  background: rgba(244, 247, 252, 0.82);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: background 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}
.nx-nav.is-stuck {
  background: rgba(244, 247, 252, 0.96);
  border-color: var(--confix-line);
  box-shadow: 0 8px 28px -18px rgba(16,26,48,0.28);
}
.nx-nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  height: 100%;
}

.nx-brand {
  display: inline-flex;
  align-items: center;
  min-width: 0;
}
.nx-brand img {
  height: auto;
  width: 115px;
  object-fit: contain;
}
.nx-brand--footer img { width: 190px; }

.nx-nav__links {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  list-style: none;
  padding: 0;
  margin: 0;
}
.nx-nav__links > li {
  position: relative;
}
.nx-nav__links a,
.nx-menu__button {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.72rem 0.96rem;
  border-radius: 10px;
  border: none;
  background: transparent;
  font-weight: 600;
  color: var(--confix-blue-dark);
  cursor: pointer;
}
.nx-nav__links a:hover,
.nx-menu__button:hover,
.nx-nav__links a.is-active,
.nx-menu__button.is-active {
  background: rgba(0, 102, 204, 0.08);
  color: var(--confix-blue);
}
.nx-menu__button svg {
  width: 16px;
  height: 16px;
  transition: transform 0.2s ease;
}
.nx-menu__button[aria-expanded="true"] svg { transform: rotate(180deg); }

.nx-menu__panel {
  position: absolute;
  top: calc(100% + 10px);
  left: 0;
  min-width: 230px;
  display: grid;
  gap: 0.25rem;
  padding: 0.5rem;
  border: 1px solid var(--confix-line);
  border-radius: 16px;
  background: rgba(255,255,255,0.98);
  box-shadow: var(--confix-shadow);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
}
.nx-menu__panel.is-open {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.nx-menu__panel a {
  padding: 0.7rem 0.9rem;
  border-radius: 10px;
  font-size: 0.94rem;
  color: var(--confix-blue-dark);
}
.nx-menu__panel a:hover { background: rgba(0, 102, 204, 0.06); color: var(--confix-blue); }

.nx-nav__cta {
  display: flex;
  align-items: center;
  gap: 0.9rem;
}
.nx-nav__toggle {
  display: none;
  position: relative;
  width: 46px;
  height: 46px;
  border: 1px solid var(--confix-line);
  border-radius: 12px;
  background: rgba(255,255,255,0.6);
  cursor: pointer;
}
.nx-nav__toggle span,
.nx-nav__toggle span::before,
.nx-nav__toggle span::after {
  position: absolute;
  left: 50%;
  width: 18px;
  height: 2px;
  margin-left: -9px;
  background: var(--confix-blue-dark);
  border-radius: 999px;
  content: "";
  transition: transform 0.2s ease;
}
.nx-nav__toggle span { top: 50%; margin-top: -1px; }
.nx-nav__toggle span::before { top: -6px; }
.nx-nav__toggle span::after { top: 6px; }
.nx-nav__toggle[aria-expanded="true"] span { background: transparent; }
.nx-nav__toggle[aria-expanded="true"] span::before { transform: rotate(45deg); top: 0; }
.nx-nav__toggle[aria-expanded="true"] span::after { transform: rotate(-45deg); top: 0; }

.nx-drawer {
  position: fixed;
  inset: var(--confix-nav-h) 0 auto 0;
  z-index: 1030;
  display: none;
  padding: 1.2rem 1rem 1.6rem;
  background: rgba(244,247,252,0.98);
  border-bottom: 1px solid var(--confix-line);
  box-shadow: 0 16px 30px -20px rgba(16,26,48,0.28);
}
.nx-drawer.is-open { display: block; }
.nx-drawer ul {
  list-style: none;
  margin: 0 0 1rem;
  padding: 0;
}
.nx-drawer li + li { margin-top: 0.35rem; }
.nx-drawer a {
  display: block;
  padding: 0.85rem 0.9rem;
  border-radius: 10px;
  color: var(--confix-blue-dark);
  font-weight: 600;
}
.nx-drawer a:hover { background: rgba(0, 102, 204, 0.06); }

.nx-hero {
  position: relative;
  overflow: hidden;
  padding: clamp(74px, 10vw, 120px) 0 40px;
  background: linear-gradient(180deg, #f1f6ff 0%, #f8fafe 100%);
}
.nx-pagehero {
  position: relative;
  overflow: hidden;
  padding: clamp(72px, 10vw, 110px) 0 40px;
  background: linear-gradient(180deg, #f5f9ff 0%, #edf4ff 100%);
}
.nx-pagehero--simple { padding-bottom: 72px; }
.nx-hero__mesh,
.nx-hero__grid {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.nx-hero__mesh {
  background: radial-gradient(circle at 15% 20%, rgba(0, 102, 204, 0.12), transparent 32%),
              radial-gradient(circle at 80% 35%, rgba(16, 26, 48, 0.08), transparent 32%);
}
.nx-hero__grid {
  background-image: linear-gradient(rgba(16,26,48,0.025) 1px, transparent 1px), linear-gradient(90deg, rgba(16,26,48,0.025) 1px, transparent 1px);
  background-size: 34px 34px;
  mask-image: linear-gradient(180deg, rgba(0,0,0,0.8), transparent 90%);
}

.nx-hero h1,
.nx-pagehero h1 {
  font-size: clamp(2.5rem, 5vw, 4.3rem);
  max-width: 740px;
  margin-bottom: 1.2rem;
  color: var(--confix-blue-dark);
}
.nx-hero__sub {
  max-width: 640px;
  font-size: clamp(1.08rem, 1.7vw, 1.3rem);
  color: var(--confix-muted);
}

.nx-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0.7rem 1rem;
  margin-bottom: 1.25rem;
  border: 1px solid rgba(0, 102, 204, 0.12);
  border-radius: 999px;
  background: rgba(255,255,255,0.66);
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--confix-blue-dark);
}
.nx-pill__dot {
  display: inline-grid;
  place-items: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: rgba(0, 102, 204, 0.1);
  color: var(--confix-blue);
  font-size: 0.9rem;
}

.nx-hero__points {
  list-style: none;
  margin: 2rem 0 0;
  padding: 0;
  display: grid;
  gap: 0.75rem;
  max-width: 620px;
}
.nx-hero__points li {
  position: relative;
  padding-left: 1.7rem;
  color: var(--confix-text);
  font-weight: 600;
}
.nx-hero__points li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.65rem;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--confix-blue);
  box-shadow: 0 0 0 5px rgba(0,102,204,0.12);
}

.nx-feature-panel {
  position: relative;
  background: linear-gradient(180deg, var(--confix-blue-dark) 0%, #152544 100%);
  color: var(--confix-white);
  padding: 1.7rem 1.5rem;
  border-radius: 22px;
  box-shadow: var(--confix-shadow);
}
.nx-feature-panel__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1rem;
}
.nx-feature-panel h2 {
  color: var(--confix-white);
  font-size: clamp(2rem, 3vw, 2.4rem);
}
.nx-feature-panel p {
  color: rgba(255,255,255,0.82);
}
.nx-badge {
  display: inline-flex;
  padding: 0.45rem 0.8rem;
  border-radius: 999px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.12);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.nx-feature-list {
  list-style: none;
  padding: 0;
  margin: 1.5rem 0 0;
  display: grid;
  gap: 0.75rem;
}
.nx-feature-list li {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  color: rgba(255,255,255,0.9);
  font-weight: 600;
}
.nx-feature-list li::before {
  content: "";
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #7cc0ff;
  box-shadow: 0 0 0 5px rgba(124,192,255,0.12);
}

.nx-card {
  height: 100%;
  background: var(--confix-surface);
  border: 1px solid var(--confix-line);
  border-radius: 22px;
  padding: 2rem 1.5rem;
  box-shadow: 0 12px 30px -24px rgba(16,26,48,0.26);
}
.nx-card--feature { background: linear-gradient(180deg, #fefefe 0%, #f1f7ff 100%); }
.nx-card--tight { padding: 1.5rem; }
.nx-card--contact { padding: 1.8rem; }
.nx-card--form { padding: 2rem; }

.nx-card__icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: rgba(0, 102, 204, 0.08);
  color: var(--confix-blue);
  margin-bottom: 1.2rem;
  font-weight: 800;
}
.nx-card__icon svg {
  width: 28px;
  height: 28px;
}

.nx-list-check,
.nx-contact-list {
  list-style: none;
  margin: 1.25rem 0 0;
  padding: 0;
  display: grid;
  gap: 0.7rem;
}
.nx-list-check li,
.nx-contact-list li {
  position: relative;
  padding-left: 1.6rem;
}
.nx-list-check li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.48rem;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--confix-blue);
}

.nx-diferenciais {
  list-style: none;
  padding: 0;
  margin: 1.25rem 0 0;
  display: grid;
  gap: 1rem;
  counter-reset: diff;
}
.nx-diferenciais li {
  position: relative;
  padding-left: 3.2rem;
  color: var(--confix-text);
}
.nx-diferenciais li::before {
  counter-increment: diff;
  content: counter(diff, decimal) ".";
  position: absolute;
  left: 0;
  top: 0;
  width: 2rem;
  height: 2rem;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(0, 102, 204, 0.1);
  color: var(--confix-blue);
  font-family: var(--confix-font-display);
  font-weight: 800;
}

.nx-brand-row {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 1rem;
}
.nx-brand-row > span {
  display: grid;
  place-items: center;
  min-height: 86px;
  padding: 1rem;
  border-radius: 18px;
  border: 1px solid var(--confix-line);
  background: rgba(255,255,255,0.75);
  color: var(--confix-blue-dark);
  font-family: var(--confix-font-display);
  font-weight: 800;
  letter-spacing: -0.02em;
}

.nx-breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  list-style: none;
  padding: 0;
  margin: 0 0 1rem;
  color: var(--confix-muted);
  font-size: 0.92rem;
}
.nx-breadcrumb li + li::before {
  content: "/";
  margin-right: 0.5rem;
  color: var(--confix-muted);
}

.nx-svc-detail {
  height: 100%;
  background: var(--confix-surface);
  border-radius: 22px;
  border: 1px solid var(--confix-line);
  padding: 1.7rem 1.5rem;
  box-shadow: 0 12px 30px -26px rgba(16,26,48,0.22);
}
.nx-svc-detail__ico {
  width: 62px;
  height: 62px;
  border-radius: 16px;
  background: rgba(0, 102, 204, 0.08);
  color: var(--confix-blue);
  display: grid;
  place-items: center;
  font-family: var(--confix-font-display);
  font-weight: 800;
  font-size: 0.9rem;
  margin-bottom: 1rem;
}
.nx-svc-detail h2 {
  font-size: clamp(1.5rem, 2vw, 2.1rem);
}

.nx-cta-band {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  padding: clamp(2rem, 4vw, 3rem);
  border-radius: 28px;
  background: var(--confix-grad);
  color: var(--confix-white);
  box-shadow: var(--confix-shadow);
}
.nx-cta-band h2 {
  margin: 0;
  color: var(--confix-white);
  font-size: clamp(2rem, 3vw, 3rem);
  max-width: 560px;
}

.nx-footer {
  padding: 2rem 0 2.5rem;
  background: var(--confix-blue-dark);
  color: rgba(255,255,255,0.8);
}
.nx-footer__meta {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  align-items: center;
  gap: 1rem 1.5rem;
  font-size: 0.96rem;
}
.nx-footer__meta a,
.nx-footer__meta span {
  color: rgba(255,255,255,0.78);
}

.nx-form-layout {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem 1.2rem;
}
.nx-form-group {
  display: grid;
  gap: 0.45rem;
}
.nx-form-group--full { grid-column: 1 / -1; }
.nx-form-group label,
.nx-form-checkbox label {
  font-weight: 700;
  color: var(--confix-blue-dark);
}
.nx-form-group input,
.nx-form-group select,
.nx-form-group textarea {
  width: 100%;
  min-height: 50px;
  padding: 0.8rem 0.9rem;
  border: 1px solid var(--confix-line);
  border-radius: 12px;
  background: rgba(0, 102, 204, 0.02);
  color: var(--confix-text);
}
.nx-form-group textarea { min-height: 120px; resize: vertical; }
.nx-form-checkbox {
  display: flex;
  align-items: flex-start;
  gap: 0.7rem;
  padding-top: 0.25rem;
}
.nx-form-checkbox input {
  width: 18px;
  height: 18px;
  margin-top: 0.2rem;
}
.nx-form-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem;
}
.nx-form-note {
  margin: 0;
  color: var(--confix-muted);
  font-size: 0.92rem;
}
.nx-contact-list li strong {
  color: var(--confix-blue-dark);
}

.nx-reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.45s ease, transform 0.45s ease;
}
.nx-reveal.is-in {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 991.98px) {
  .nx-nav__links { display: none; }
  .nx-nav__toggle { display: inline-flex; }
  .nx-brand img { width: 100px; }
  .nx-brand-row { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .nx-footer__meta { justify-content: flex-start; }
  .nx-cta-band { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 767.98px) {
  .nx-nav { height: auto; }
  .nx-nav__inner { min-height: var(--confix-nav-h); }
  .nx-hero__points { margin-top: 1.4rem; }
  .nx-form-layout { grid-template-columns: 1fr; }
  .nx-card--form, .nx-card--contact { padding: 1.2rem; }
  .nx-cta-band { padding: 1.6rem; }
  .nx-brand-row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .nx-feature-panel__header { align-items: flex-start; flex-direction: column; }
}

/* Dark Confix theme keeps the original Nexus contrast and visual weight. */
a:hover { color: #78c5ff; }
h1, h2, h3, h4, h5, h6,
.nx-title,
.nx-hero h1,
.nx-pagehero h1,
.nx-card h3,
.nx-svc-detail h2,
.nx-card--form h2,
.nx-card--contact h2 {
  color: var(--confix-heading);
}

.nx-section--muted { background: #101a2b; }
.nx-nav,
.nx-nav.is-stuck {
  background: rgba(11, 18, 32, 0.94);
  border-bottom-color: var(--confix-line);
}
.nx-brand {
  padding: 4px 7px;
  border-radius: 9px;
  background: transparent;
}
.nx-nav__links a,
.nx-menu__button,
.nx-drawer a {
  color: var(--confix-heading);
}
.nx-nav__links a:hover,
.nx-menu__button:hover,
.nx-nav__links a.is-active,
.nx-menu__button.is-active {
  background: rgba(0, 102, 204, 0.22);
  color: #8dccff;
}
.nx-menu__panel {
  background: #17243a;
}
.nx-menu__panel a { color: var(--confix-heading); }
.nx-menu__panel a:hover,
.nx-drawer a:hover {
  background: rgba(0, 102, 204, 0.2);
  color: #8dccff;
}
.nx-nav__toggle {
  background: rgba(255,255,255,0.06);
}
.nx-nav__toggle span,
.nx-nav__toggle span::before,
.nx-nav__toggle span::after {
  background: var(--confix-heading);
}
.nx-nav__toggle[aria-expanded="true"] span { background: transparent; }
.nx-drawer {
  background: rgba(16, 26, 43, 0.98);
  box-shadow: 0 16px 30px -20px rgba(0,0,0,0.72);
}

.nx-hero {
  background: linear-gradient(145deg, #101d33 0%, #0b1220 68%, #111d31 100%);
}
.nx-pagehero {
  background: linear-gradient(145deg, #14233c 0%, #0d1728 75%);
}
.nx-hero__mesh {
  background: radial-gradient(circle at 15% 20%, rgba(0, 102, 204, 0.3), transparent 35%),
              radial-gradient(circle at 80% 35%, rgba(38, 119, 208, 0.14), transparent 34%);
}
.nx-hero__grid {
  background-image: linear-gradient(rgba(220,235,255,0.035) 1px, transparent 1px), linear-gradient(90deg, rgba(220,235,255,0.035) 1px, transparent 1px);
}
.nx-pill {
  background: rgba(16, 31, 52, 0.86);
  border-color: rgba(125, 190, 255, 0.22);
  color: var(--confix-heading);
}
.nx-pill__dot {
  background: rgba(0, 102, 204, 0.25);
  color: #8dccff;
}
.nx-hero__points li { color: var(--confix-text); }

.nx-card,
.nx-svc-detail {
  background: var(--confix-surface);
  border-color: var(--confix-line);
  box-shadow: 0 16px 38px -28px rgba(0,0,0,0.72);
}
.nx-card--feature {
  background: linear-gradient(145deg, #1b2d49 0%, #141f33 100%);
}
.nx-card__icon,
.nx-svc-detail__ico {
  background: rgba(0, 102, 204, 0.22);
  color: #7dc3ff;
}
.nx-brand-row > .nx-brand-item {
  background: #16233a;
  color: var(--confix-heading);
}
.nx-brand-item > span { background: transparent; }
.nx-diferenciais li { color: var(--confix-text); }
.nx-diferenciais li::before {
  background: rgba(0, 102, 204, 0.22);
  color: #8dccff;
}

.nx-form-group label,
.nx-form-checkbox label,
.nx-contact-list li strong {
  color: var(--confix-heading);
}
.nx-form-group input,
.nx-form-group select,
.nx-form-group textarea {
  color-scheme: dark;
  background: rgba(255, 255, 255, 0.035);
  color: var(--confix-text);
}
.nx-form-group input::placeholder,
.nx-form-group textarea::placeholder {
  color: #9aaac1;
  opacity: 1;
}
.nx-contact-list a { color: #78c5ff; }
.nx-footer { background: #080e19; }
.nx-btn--ghost {
  background: rgba(255,255,255,0.05);
  color: var(--confix-heading);
}
.nx-btn--ghost:hover { color: var(--confix-heading); }
.nx-eyebrow { color: #78c5ff; }
.nx-hero-photo {
  position: relative;
  min-height: 440px;
  aspect-ratio: 0.95;
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(125, 190, 255, 0.2);
  border-radius: 22px;
  background: #152544;
  box-shadow: var(--confix-shadow);
}
.nx-hero-photo::after {
  position: absolute;
  inset: 30% 0 0;
  background: linear-gradient(180deg, transparent, rgba(5, 12, 24, 0.94));
  content: "";
}
.nx-hero-photo img,
.nx-photo-card img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.nx-hero-photo figcaption {
  position: absolute;
  z-index: 1;
  right: 1.5rem;
  bottom: 1.5rem;
  left: 1.5rem;
  display: grid;
  gap: 0.6rem;
  color: #fff;
}
.nx-hero-photo__label {
  color: #9bd5ff;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.nx-hero-photo figcaption strong {
  max-width: 30rem;
  font-size: clamp(1.35rem, 2.4vw, 1.9rem);
  line-height: 1.25;
}
.nx-hero-photo__note {
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.75rem;
}
.nx-photo-card {
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--confix-line);
  border-radius: 20px;
  background: var(--confix-surface);
  box-shadow: var(--confix-shadow);
}
.nx-photo-card img {
  aspect-ratio: 1.35;
}
.nx-photo-card figcaption {
  padding: 0.8rem 1rem;
  color: var(--confix-muted);
  font-size: 0.82rem;
}
.nx-photo-split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.9fr);
  align-items: center;
  gap: clamp(2rem, 5vw, 5rem);
}
.nx-photo-split__content .nx-title { max-width: 14ch; }
.nx-photo-split__content .nx-lead { margin-bottom: 1.5rem; }
.nx-pagehero > .container { position: static; }
.nx-pagehero__photo {
  position: absolute;
  top: 50%;
  right: max(1rem, calc((100vw - 1200px) / 2));
  width: clamp(240px, 27vw, 340px);
  height: 215px;
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(125, 190, 255, 0.18);
  border-radius: 18px;
  box-shadow: var(--confix-shadow);
  transform: translateY(-50%);
}
.nx-pagehero__photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.nx-pagehero__photo figcaption {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  padding: 1.7rem 0.9rem 0.7rem;
  background: linear-gradient(transparent, rgba(5, 12, 24, 0.88));
  color: #fff;
  font-size: 0.78rem;
}
.nx-pagehero h1 { max-width: min(740px, calc(100% - 370px)); }
.nx-pagehero .nx-lead { max-width: min(650px, calc(100% - 370px)); }
.nx-svc-detail__ico svg {
  width: 34px;
  height: 34px;
}
.nx-svc-detail__ico--wide svg {
  width: 38px;
  height: 38px;
}
.nx-brand-row > .nx-brand-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  min-width: 0;
  min-height: 112px;
  padding: 1rem 0.7rem;
  color: var(--confix-heading);
  white-space: nowrap;
  font-size: clamp(0.85rem, 1.2vw, 1rem);
}
.nx-brand-item img {
  width: 44px;
  height: 44px;
  object-fit: contain;
  filter: none;
}
.nx-brand-item--wordmark img {
  width: 88px;
  height: 40px;
}
.nx-brand-item img[src*="linux.svg"] {
  padding: 2px;
  border-radius: 50%;
  background: #fff;
}

@media (max-width: 991.98px) {
  .nx-pagehero__photo {
    right: 16px;
    width: clamp(190px, 24vw, 240px);
    height: 190px;
  }
  .nx-pagehero h1,
  .nx-pagehero .nx-lead {
    max-width: calc(100% - 265px);
  }
}

@media (max-width: 767.98px) {
  .nx-pagehero__photo {
    position: relative;
    top: auto;
    right: auto;
    width: 100%;
    height: 280px;
    margin-top: 1.5rem;
    transform: none;
  }
  .nx-pagehero h1,
  .nx-pagehero .nx-lead {
    max-width: 100%;
  }
  .nx-photo-split { grid-template-columns: 1fr; }
  .nx-photo-split__content .nx-title { max-width: 100%; }
  .nx-hero-photo { min-height: 340px; aspect-ratio: 1.1; }
}
