/* ============================================================
   NODE4HEALTH — Landing Page styles
   Builds on colors_and_type.css (tokens + fonts).
   ============================================================ */

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body {
  margin: 0;
  font-family: var(--font-body);
  background: var(--navy-900);
  color: var(--fg1-dark);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

/* ---------- Type helpers ---------- */
.disp {
  font-family: var(--font-display);
  text-transform: uppercase;
  letter-spacing: var(--track-display);
  line-height: 1.04;
  margin: 0;
}
.eyebrow {
  font-family: var(--font-display);
  text-transform: uppercase;
  letter-spacing: var(--track-eyebrow);
  font-size: 12px;
  font-weight: 700;
  color: var(--teal-400);
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.eyebrow::before {
  content: "";
  width: 22px; height: 1px;
  background: var(--teal-400);
  display: inline-block;
}
.mono { font-family: var(--font-mono); font-variant-numeric: tabular-nums; }

a { color: inherit; text-decoration: none; }

/* ---------- Layout ---------- */
.wrap { width: min(1180px, 100% - 48px); margin-inline: auto; }
section { position: relative; }
.sec-pad { padding: clamp(72px, 9vw, 128px) 0; }

.sec-head { max-width: 760px; margin-bottom: clamp(40px, 5vw, 64px); }
.sec-head .eyebrow { margin-bottom: 20px; }
.sec-head h2 {
  font-size: clamp(30px, 4vw, 44px);
  color: var(--fg1-dark);
}
.sec-head p {
  margin: 20px 0 0;
  font-size: clamp(16px, 1.6vw, 19px);
  line-height: 1.6;
  color: var(--fg2-dark);
  max-width: 640px;
}

/* Background bands for rhythm */
.band-900 { background: var(--navy-900); }
.band-800 { background: var(--navy-800); }
.band-light { background: var(--paper-50); color: var(--ink-900); }
.band-light .eyebrow { color: var(--teal-600); }
.band-light .eyebrow::before { background: var(--teal-600); }
.band-light .sec-head h2 { color: var(--ink-900); }
.band-light .sec-head p { color: var(--ink-700); }

/* ECG divider line between bands */
.ecg-divider { display: block; width: 100%; height: 40px; opacity: .5; }
.ecg-divider path { fill: none; stroke: var(--line-dark-strong); stroke-width: 1.4; }

/* ============================================================
   NAVBAR
   ============================================================ */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  height: 96px;
  display: flex; align-items: center;
  background: rgba(6, 15, 22, 0);
  border-bottom: 1px solid transparent;
  transition: background .3s ease, border-color .3s ease, backdrop-filter .3s ease;
}
.nav.scrolled {
  background: rgba(6, 15, 22, .82);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line-dark);
}
.nav .wrap { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: flex; align-items: center; gap: 0px; }
.brand img { width: 128px; height: 128px; }
.brand .wordmark {
  font-family: var(--font-display);
  text-transform: uppercase;
  letter-spacing: .03em;
  font-size: 19px; font-weight: 700;
  color: #fff;
}
.brand .wordmark b { color: var(--teal-400); font-weight: 700; }
.nav-links { display: flex; align-items: center; gap: 4px; }
.nav-links a {
  font-size: 14px; color: var(--fg2-dark);
  padding: 9px 14px; border-radius: var(--r-sm);
  transition: color .15s, background .15s, border-color .15s;
  position: relative;
}
.nav-links a:hover { color: #fff; background: var(--navy-700); }
.nav-links a[data-active] {
  color: var(--teal-400);
  background: rgba(37, 198, 164, .1);
  border-bottom: 2px solid var(--teal-400);
}
.nav-cta-wrap { display: flex; align-items: center; gap: 10px; }

/* ---------- Buttons ---------- */
.btn {
  font-family: var(--font-body); font-size: 15px; line-height: 1;
  border: none; border-radius: var(--r-sm); padding: 14px 22px;
  cursor: pointer; display: inline-flex; align-items: center; gap: 9px;
  transition: background .15s ease, color .15s, transform .06s ease, box-shadow .2s ease;
  white-space: nowrap; font-weight: 500;
}
.btn svg { width: 17px; height: 17px; }
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--teal-400); color: #06221c; }
.btn-primary:hover { background: var(--teal-500); box-shadow: var(--glow-teal); }
.btn-primary:active { background: var(--teal-600); }
.btn-ghost { background: transparent; color: #fff; border: 1px solid var(--line-dark-strong); }
.btn-ghost:hover { border-color: var(--teal-400); color: var(--teal-300); }
.btn-sm { padding: 10px 16px; font-size: 14px; }
.band-light .btn-ghost { color: var(--ink-900); border-color: var(--line-200); }
.band-light .btn-ghost:hover { border-color: var(--teal-600); color: var(--teal-600); }

/* ============================================================
   HERO
   ============================================================ */
.hero { padding: 150px 0 90px; position: relative; overflow: hidden; }
.hero .wrap {
  display: grid; grid-template-columns: 1.05fr .95fr;
  gap: clamp(32px, 5vw, 72px); align-items: center;
}
.hero-watermark {
  position: absolute; right: -240px; top: 50%; transform: translateY(-50%);
  width: 760px; height: 760px; opacity: .05; pointer-events: none;
  filter: grayscale(.1);
}
.hero-tag {
  display: inline-flex; align-items: center; gap: 9px;
  font-size: 13px; color: var(--fg2-dark);
  border: 1px solid var(--line-dark); border-radius: var(--r-pill);
  padding: 7px 15px 7px 12px; margin-bottom: 28px;
}
.hero-tag .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--teal-400); box-shadow: 0 0 0 0 rgba(37,198,164,.6); }
.hero h1 {
  font-family: var(--font-display);
  text-transform: uppercase; letter-spacing: .02em;
  font-size: clamp(38px, 2.5vw, 66px); line-height: 1.02;
  margin: 0; color: #fff; text-wrap: balance;
}
.hero h1 .accent { color: var(--teal-400); }
.hero-sub {
  margin: 26px 0 0; font-size: clamp(16px, 1.7vw, 19px);
  line-height: 1.62; color: var(--fg2-dark); max-width: 560px;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 36px; }
.hero-stats { display: flex; gap: 36px; margin-top: 48px; flex-wrap: wrap; }
.hero-stat .num {
  font-family: var(--font-display); font-size: 30px; color: #fff;
  letter-spacing: .02em; line-height: 1;
}
.hero-stat .num .u { color: var(--teal-400); }
.hero-stat .lbl { font-size: 13px; color: var(--fg3-dark); margin-top: 8px; }

/* ---------- Node diagram (SVG) ---------- */
.diagram { position: relative; width: 100%; }
.diagram svg { width: 120%; height: auto; overflow: visible; }
.dg-link { fill: none; stroke: var(--line-dark-strong); stroke-width: 1.5; }
.dg-link.draw { stroke-dasharray: 1; stroke-dashoffset: 1; }
.dg-flow {
  fill: none; stroke: var(--teal-400); stroke-width: 3.5; stroke-linecap: round;
  stroke-dasharray: 0.16 0.84; stroke-dashoffset: 1;
}
.dg-node rect, .dg-node .nbg {
  fill: var(--navy-700); stroke: var(--line-dark); stroke-width: 1;
}
.dg-node.in rect { stroke: var(--line-dark-strong); }
.dg-node text {
  font-family: var(--font-display); text-transform: uppercase;
  letter-spacing: .06em; fill: var(--fg2-dark); font-size: 13px; font-weight: 700;
}
.dg-node.in text { fill: #fff; }
.dg-hub circle.ring { fill: var(--navy-800); stroke: var(--teal-400); stroke-width: 1.5; }
.dg-hub circle.ring2 { fill: none; stroke: var(--cyan-accent); stroke-width: 1; opacity: .55; }
.dg-hub text { font-family: var(--font-display); fill: #fff; }
.dg-pulse { fill: none; stroke: #fff; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

/* line draw animation */
@keyframes draw-line {
  0% { stroke-dashoffset: 1; }
  100% { stroke-dashoffset: 0; }
}
/* comet flow animation */
@keyframes comet-flow {
  0%   { stroke-dashoffset: 1;  opacity: 0; }
  6%   { opacity: .95; }
  88%  { opacity: .95; }
  100% { stroke-dashoffset: 0;  opacity: 0; }
}
/* node pulse animation */
@keyframes node-pulse {
  0%, 82% { filter: drop-shadow(0 0 0 rgba(37,198,164,0)); }
  90%     { filter: drop-shadow(0 0 14px rgba(37,198,164,.85)); }
  100%    { filter: drop-shadow(0 0 0 rgba(37,198,164,0)); }
}
/* hub breathing animation */
@keyframes hub-breathe {
  0%, 100% { opacity: .35; }
  50%      { opacity: .75; }
}
/* hub glow on comet arrival */
@keyframes hub-glow {
  0%, 15% { filter: drop-shadow(0 0 0 rgba(37,198,164,0)); }
  25%, 75% { filter: drop-shadow(0 0 12px rgba(37,198,164,.7)); }
  85%, 100% { filter: drop-shadow(0 0 0 rgba(37,198,164,0)); }
}
/* dot pulse animation */
@keyframes dot-pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%      { opacity: .4; transform: scale(1.4); }
}
.dg-flow { animation: comet-flow 2.2s linear infinite; }
.dg-hub .ring2 { animation: hub-breathe 2.6s ease-in-out infinite; }
.dg-node.in { animation: node-pulse 2.2s linear infinite; }


@media (prefers-reduced-motion: reduce) {
  .diagram .dg-link.draw { stroke-dashoffset: 0 !important; animation: none !important; }
  .diagram .dg-flow, .diagram .dg-hub .ring2, #pulseDot { animation: none !important; }
  .dg-flow { opacity: 0; }
}

/* ============================================================
   PROBLEMA
   ============================================================ */
.prob-grid {
  display: grid; grid-template-columns: repeat(2, 1fr);
  gap: 14px; margin-top: 8px;
}
.prob-item {
  display: flex; align-items: center; gap: 14px;
  padding: 18px 20px;
  background: var(--navy-700); border: 1px solid var(--line-dark);
  border-radius: var(--r-md);
}
.prob-item .ic {
  flex: none; width: 34px; height: 34px; border-radius: var(--r-sm);
  display: grid; place-items: center;
  background: rgba(240,88,79,.12); color: #F6938C;
}
.prob-item .ic svg { width: 18px; height: 18px; }
.prob-item span { font-size: 15.5px; color: var(--fg1-dark); }
.prob-note {
  margin-top: 28px; padding-left: 20px;
  border-left: 2px solid var(--teal-400);
  font-size: clamp(16px, 1.7vw, 19px); line-height: 1.6;
  color: var(--fg2-dark); max-width: 720px;
}
.prob-note b { color: #fff; font-weight: 400; }

/* ============================================================
   SOLUÇÃO / DIFERENCIAIS — card grids
   ============================================================ */
.card-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px;
}
.feat {
  position: relative; padding: 28px;
  background: var(--navy-700); border: 1px solid var(--line-dark);
  border-radius: var(--r-md);
  transition: border-color .2s, transform .2s, box-shadow .2s;
}
.feat:hover { border-color: var(--line-dark-strong); transform: translateY(-3px); box-shadow: var(--shadow-md); }
.feat .ic {
  width: 46px; height: 46px; border-radius: var(--r-sm);
  display: grid; place-items: center; margin-bottom: 22px;
  background: rgba(37,198,164,.1); color: var(--teal-300);
  border: 1px solid rgba(37,198,164,.22);
}
.feat .ic svg { width: 23px; height: 23px; }
.feat h3 {
  font-family: var(--font-display); text-transform: uppercase;
  letter-spacing: .03em; font-size: 16px; font-weight: 700;
  margin: 0 0 12px; color: #fff;
}
.feat p { margin: 0; font-size: 15px; line-height: 1.58; color: var(--fg2-dark); }
.feat .idx {
  position: absolute; top: 22px; right: 24px;
  font-family: var(--font-display); font-size: 13px;
  color: var(--fg3-dark); letter-spacing: .08em;
}

/* light variant of feat (diferenciais on light) */
.band-light .feat { background: #fff; border-color: var(--line-200); box-shadow: var(--shadow-sm); }
.band-light .feat:hover { border-color: var(--teal-300); box-shadow: var(--shadow-md); }
.band-light .feat h3 { color: var(--ink-900); }
.band-light .feat p { color: var(--ink-700); }
.band-light .feat .idx { color: var(--ink-500); }
.band-light .feat .ic { background: var(--teal-100); color: var(--teal-600); border-color: rgba(37,198,164,.3); }

/* ============================================================
   ESPECIALIDADES — terminal / chip groups
   ============================================================ */
.spec-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px;
}
.spec-col {
  background: var(--navy-800); border: 1px solid var(--line-dark);
  border-radius: var(--r-md); padding: 22px 22px 26px;
}
.spec-col .ch {
  display: flex; align-items: center; gap: 10px; margin-bottom: 20px;
  font-family: var(--font-display); text-transform: uppercase;
  letter-spacing: .1em; font-size: 13px; color: #fff;
}
.spec-col .ch .ic { color: var(--teal-400); display: inline-flex; }
.spec-col .ch .ic svg { width: 17px; height: 17px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  font-family: var(--font-mono); font-size: 12.5px;
  color: var(--fg2-dark); background: var(--navy-700);
  border: 1px solid var(--line-dark); border-radius: var(--r-sm);
  padding: 6px 11px; transition: color .15s, border-color .15s, background .15s;
}
.chip:hover { color: var(--teal-300); border-color: rgba(37,198,164,.4); background: var(--navy-600); }

/* ============================================================
   RESULTADOS — light section
   ============================================================ */
.results-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.result {
  padding: 30px 28px; background: #fff;
  border: 1px solid var(--line-200); border-radius: var(--r-md);
  box-shadow: var(--shadow-sm);
}
.result .top { display: flex; align-items: baseline; gap: 10px; margin-bottom: 16px; }
.result .ic { color: var(--teal-600); display: inline-flex; }
.result .ic svg { width: 22px; height: 22px; }
.result h3 {
  font-family: var(--font-display); text-transform: uppercase;
  letter-spacing: .03em; font-size: 16px; font-weight: 700;
  margin: 0; color: var(--ink-900);
}
.result p { margin: 0; font-size: 15px; line-height: 1.58; color: var(--ink-700); }
.results-grid .result:first-child { grid-column: span 1; }

/* ============================================================
   SEGMENTOS
   ============================================================ */
.seg-row { display: flex; flex-wrap: wrap; gap: 12px; }
.seg {
  display: flex; align-items: center; gap: 12px;
  padding: 16px 22px 16px 18px;
  background: var(--navy-700); border: 1px solid var(--line-dark);
  border-radius: var(--r-pill);
  transition: border-color .2s, background .2s;
}
.seg:hover { border-color: rgba(37,198,164,.4); background: var(--navy-600); }
.seg .ic { color: var(--teal-300); display: inline-flex; }
.seg .ic svg { width: 20px; height: 20px; }
.seg span { font-size: 15.5px; color: var(--fg1-dark); }

/* ============================================================
   CASES
   ============================================================ */
.case-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.case {
  position: relative; padding: 32px;
  background: linear-gradient(180deg, var(--navy-700), var(--navy-800));
  border: 1px solid var(--line-dark); border-radius: var(--r-md);
  overflow: hidden;
}
.case::after {
  content: ""; position: absolute; right: -40px; bottom: -40px;
  width: 160px; height: 160px; border-radius: 50%;
  border: 1px solid var(--line-dark); opacity: .5;
}
.case .kicker {
  display: inline-flex; align-items: center; gap: 9px; margin-bottom: 18px;
}
.case .kicker .ic {
  width: 38px; height: 38px; border-radius: var(--r-sm); flex: none;
  display: grid; place-items: center;
  background: rgba(37,198,164,.1); color: var(--teal-300);
  border: 1px solid rgba(37,198,164,.22);
}
.case .kicker .ic svg { width: 19px; height: 19px; }
.case h3 {
  font-family: var(--font-display); text-transform: uppercase;
  letter-spacing: .03em; font-size: 18px; font-weight: 700;
  margin: 0; color: #fff;
}
.case p { margin: 14px 0 0; font-size: 15.5px; line-height: 1.6; color: var(--fg2-dark); position: relative; z-index: 1; }

/* ============================================================
   CTA FINAL
   ============================================================ */
.cta {
  position: relative; overflow: hidden;
  background: var(--navy-800);
}
.cta-inner {
  position: relative; z-index: 2;
  border: 1px solid var(--line-dark);
  border-radius: var(--r-lg);
  background:
    radial-gradient(120% 120% at 80% 0%, rgba(37,198,164,.08), transparent 55%),
    var(--navy-700);
  padding: clamp(44px, 6vw, 76px);
  text-align: center; overflow: hidden;
}
.cta-inner .emblem-bg {
  position: absolute; right: -90px; top: 50%; transform: translateY(-50%);
  width: 360px; opacity: .07; pointer-events: none;
}
.cta-inner h2 {
  font-family: var(--font-display); text-transform: uppercase;
  letter-spacing: .02em; font-size: clamp(28px, 4vw, 46px);
  line-height: 1.05; margin: 0 auto; max-width: 820px; color: #fff; text-wrap: balance;
}
.cta-inner p {
  margin: 22px auto 0; max-width: 620px; font-size: clamp(16px,1.7vw,19px);
  line-height: 1.6; color: var(--fg2-dark);
}
.cta-inner .hero-actions { justify-content: center; margin-top: 38px; }

/* ============================================================
   FOOTER
   ============================================================ */
.foot { background: var(--navy-900); border-top: 1px solid var(--line-dark); padding: 64px 0 40px; }
.foot .grid {
  display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px;
  padding-bottom: 44px; border-bottom: 1px solid var(--line-dark);
}
.foot .brand { margin-bottom: 18px; }
.foot .blurb { font-size: 15px; line-height: 1.6; color: var(--fg2-dark); max-width: 340px; }
.foot h4 {
  font-family: var(--font-display); text-transform: uppercase;
  letter-spacing: .12em; font-size: 12px; color: var(--fg3-dark);
  margin: 0 0 18px; font-weight: 700;
}
.foot a.link, .foot p.line { display: block; font-size: 15px; color: var(--fg2-dark); margin-bottom: 12px; transition: color .15s; }
.foot a.link:hover { color: var(--teal-300); }
.foot .mail { display: inline-flex; align-items: center; gap: 9px; color: #fff; }
.foot .mail svg { width: 17px; height: 17px; color: var(--teal-400); }
.foot-bottom {
  display: flex; align-items: center; justify-content: space-between;
  padding-top: 26px; gap: 20px; flex-wrap: wrap;
}
.foot-bottom .slogan {
  font-family: var(--font-display); text-transform: uppercase;
  letter-spacing: .14em; font-size: 13px; color: var(--teal-400);
}
.foot-bottom .copy { font-size: 13px; color: var(--fg3-dark); }

/* ============================================================
   SCROLL REVEAL
   ============================================================ */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s cubic-bezier(.4,0,.2,1), transform .7s cubic-bezier(.4,0,.2,1); }
.reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: .06s; }
.reveal.d2 { transition-delay: .12s; }
.reveal.d3 { transition-delay: .18s; }
.reveal.d4 { transition-delay: .24s; }
.reveal.d5 { transition-delay: .30s; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* ============================================================
   CONECTORES - CAROUSEL
   ============================================================ */
@keyframes scroll-right {
  0% { transform: translateX(0); }
  100% { transform: translateX(-100%); }
}

.carousel-container {
  position: relative; margin-top: 32px;
  overflow: hidden;
}
.carousel-container:hover .carousel-track {
  animation-play-state: paused;
}
.carousel-container::before,
.carousel-container::after {
  content: "";
  position: absolute;
  top: 0; bottom: 0; width: 60px;
  pointer-events: none;
  z-index: 5;
}
.carousel-container::before {
  left: 0;
  background: linear-gradient(to right, var(--navy-800) 0%, transparent 100%);
}
.carousel-container::after {
  right: 0;
  background: linear-gradient(to left, var(--navy-800) 0%, transparent 100%);
}
.carousel-track {
  display: flex; gap: 16px; padding: 12px 0;
  animation: scroll-right 10s linear infinite;
  will-change: transform;
}
@media (prefers-reduced-motion: reduce) {
  .carousel-track {
    animation: none;
  }
}
.carousel-item {
  flex: 0 0 calc((100% - 112px) / 8);
  min-height: 100px;
  padding: 12px;
  background:
    linear-gradient(135deg, rgba(37,198,164,.04), rgba(37,198,164,.01)),
    var(--navy-700);
  border: 1px solid var(--line-dark);
  border-radius: var(--r-md);
  display: grid; place-items: center;
  transition: all .3s cubic-bezier(.4,0,.2,1);
  overflow: hidden;
}
.carousel-item:hover {
  border-color: var(--teal-400);
  box-shadow: 0 12px 32px rgba(37,198,164,.15);
  transform: translateY(-4px);
  background:
    linear-gradient(135deg, rgba(37,198,164,.08), rgba(37,198,164,.02)),
    var(--navy-700);
}
.carousel-item img {
  width: 100%; height: 100%;
  object-fit: contain;
  border-radius: var(--r-sm);
  filter: drop-shadow(0 2px 8px rgba(0,0,0,.15));
  transition: filter .3s, transform .3s;
}
.carousel-item:hover img {
  filter: drop-shadow(0 4px 16px rgba(37,198,164,.25));
  transform: scale(1.05);
}

/* ============================================================
   PARCEIROS
   ============================================================ */
.partners-grid {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px;
  max-width: 900px;
}
.partner-card {
  position: relative; display: flex; flex-direction: column; align-items: center;
  padding: 42px 32px;
  background:
    linear-gradient(135deg, rgba(37,198,164,.06), rgba(37,198,164,.02)),
    var(--navy-700);
  border: 1.5px solid var(--line-dark);
  border-radius: var(--r-lg);
  transition: all .3s cubic-bezier(.4,0,.2,1);
  text-align: center; text-decoration: none; color: inherit;
  overflow: hidden;
}
.partner-card::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(circle at 50% 0%, rgba(37,198,164,.1), transparent 70%);
  opacity: 0; transition: opacity .3s;
  pointer-events: none;
}
.partner-card:hover {
  border-color: var(--teal-400);
  transform: translateY(-6px);
  box-shadow: 0 20px 48px rgba(37,198,164,.15), 0 0 1px rgba(37,198,164,.3);
}
.partner-card:hover::before {
  opacity: 1;
}
.partner-logo {
  margin-bottom: 26px; height: 80px; display: flex; align-items: center; justify-content: center;
}
.partner-logo img {
  max-width: 100%; max-height: 100%; width: auto;
  filter: drop-shadow(0 4px 12px rgba(0,0,0,.2));
  transition: filter .3s;
}
.partner-card:hover .partner-logo img {
  filter: drop-shadow(0 8px 20px rgba(37,198,164,.3));
}
.partner-card h3 {
  font-family: var(--font-display); text-transform: uppercase;
  letter-spacing: .04em; font-size: 18px; font-weight: 700;
  margin: 0 0 12px; color: #fff; position: relative; z-index: 1;
}
.partner-card p {
  margin: 0 0 20px; font-size: 14px; line-height: 1.6;
  color: var(--fg2-dark); position: relative; z-index: 1;
  max-width: 280px;
}
.partner-link {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 13px; font-weight: 500; letter-spacing: .03em;
  color: var(--teal-400); transition: gap .2s, color .2s;
  position: relative; z-index: 1;
}
.partner-link svg { width: 16px; height: 16px; transition: transform .2s; }
.partner-card:hover .partner-link {
  color: var(--teal-300); gap: 10px;
}
.partner-card:hover .partner-link svg {
  transform: translate(2px, -2px);
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 980px) {
  .hero .wrap { grid-template-columns: 1fr; }
  .diagram { max-width: 480px; margin: 8px auto 0; }
  .card-grid, .spec-grid, .results-grid, .partners-grid { grid-template-columns: repeat(2, 1fr); }
  .carousel-item { flex: 0 0 calc((100% - 48px) / 4); }
  .nav-links { display: none; }
}
@media (max-width: 640px) {
  .wrap { width: 100% - 36px; width: calc(100% - 36px); }
  .prob-grid, .card-grid, .spec-grid, .results-grid, .case-grid, .partners-grid { grid-template-columns: 1fr; }
  .carousel-item { flex: 0 0 calc((100% - 12px) / 2); min-height: 100px; }
  .foot .grid { grid-template-columns: 1fr; gap: 32px; }
  .hero-stats { gap: 24px; }
  .partner-card { padding: 32px 24px; }
  .partner-logo { height: 70px; margin-bottom: 20px; }
  .partner-card h3 { font-size: 16px; }
  .partner-card p { font-size: 13px; }
}

.nav-cta-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
}

/* BOTÃO */
.futuristic-btn {
  position: relative;
  overflow: hidden;

  display: inline-flex;
  align-items: center;
  justify-content: center;

  padding: 0.92rem 1.45rem;

  border-radius: 18px;

  text-decoration: none;

  background: rgba(10, 28, 40, 0.82);

  border: 1px solid rgba(37, 198, 164, 0.22);

  backdrop-filter: blur(14px);

  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease,
    border-color 0.25s ease;

  isolation: isolate;

  white-space: nowrap;
}

/* BORDA ANIMADA */
.futuristic-btn::before {
  content: "";

  position: absolute;
  inset: -1px;

  border-radius: inherit;

  background: linear-gradient(
    135deg,
    rgba(37, 198, 164, 0.9),
    rgba(37, 198, 164, 0.15),
    rgba(37, 198, 164, 0.9)
  );

  background-size: 250% 250%;

  animation: borderFlow 6s linear infinite;

  z-index: -2;
}

/* FUNDO INTERNO */
.futuristic-btn::after {
  content: "";

  position: absolute;
  inset: 1px;

  border-radius: inherit;

  background:
    linear-gradient(
      180deg,
      rgba(14, 34, 48, 0.98),
      rgba(10, 28, 40, 0.98)
    );

  z-index: -1;
}

/* CONTEÚDO */
.btn-content {
  display: flex;
  align-items: center;
  gap: 0.7rem;

  position: relative;
  z-index: 2;
}

.btn-text {
  color: var(--n4h-white);

  font-size: 0.94rem;
  font-weight: 600;
  letter-spacing: 0.2px;

  white-space: nowrap;
}

/* ÍCONE */
.btn-icon {
  width: 18px;
  height: 18px;

  color: var(--n4h-teal);

  filter:
    drop-shadow(0 0 6px rgba(37, 198, 164, 0.55))
    drop-shadow(0 0 18px rgba(37, 198, 164, 0.25));

  transition:
    transform 0.25s ease,
    filter 0.25s ease;
}

/* GLOW */
.btn-glow {
  position: absolute;

  width: 140px;
  height: 140px;

  top: 50%;
  left: 50%;

  transform: translate(-50%, -50%);

  background: radial-gradient(
    circle,
    rgba(37, 198, 164, 0.18) 0%,
    transparent 72%
  );

  z-index: -1;

  pointer-events: none;
}

/* HOVER */
.futuristic-btn:hover {
  transform: translateY(-2px);

  border-color: rgba(37, 198, 164, 0.5);

  box-shadow:
    0 0 18px rgba(37, 198, 164, 0.18),
    0 0 42px rgba(37, 198, 164, 0.12);
}

.futuristic-btn:hover .btn-icon {
  transform: rotate(-8deg) scale(1.08);

  filter:
    drop-shadow(0 0 10px rgba(37, 198, 164, 0.9))
    drop-shadow(0 0 24px rgba(37, 198, 164, 0.4));
}

/* ANIMAÇÃO */
@keyframes borderFlow {
  0% {
    background-position: 0% 50%;
  }

  100% {
    background-position: 250% 50%;
  }
}