/* ============================================================
   Konvert Digital — folha de estilo
   Direção: console de engenharia financeira.
   Serifa editorial (Fraunces) + UI limpa (Inter) + dados (Plex Mono).
   Acento ciano = sinal/ativo.  Acento verde = dinheiro/resultado.
   ============================================================ */

:root {
  --ink-980: #00060f;
  --ink-960: #00101f;
  --ink-920: #051a30;
  --ink-880: #0a2540;
  --paper: #f4f7fa;
  --paper-2: #e9eff4;
  --white: #ffffff;
  --ink: #0d1622;
  --muted: #5a6573;
  --muted-2: #828c98;
  --line: rgba(13, 22, 34, 0.12);
  --line-strong: rgba(13, 22, 34, 0.2);
  --line-light: rgba(255, 255, 255, 0.12);
  --silver: #d7e2ec;
  --platinum: #f6fafe;

  /* acentos com função fixa */
  --signal: #4fd6f0; /* dados / ativo */
  --signal-soft: rgba(79, 214, 240, 0.14);
  --money: #34d39e; /* financeiro / resultado */
  --money-soft: rgba(52, 211, 158, 0.16);
  --wa: #25d366;

  --display: "Fraunces", Georgia, "Times New Roman", serif;
  --sans: "Inter", system-ui, -apple-system, Arial, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;

  --text-sm: clamp(0.86rem, 0.9vw, 0.95rem);
  --text-base: clamp(1.02rem, 1.05vw, 1.14rem);
  --text-md: clamp(1.16rem, 1.4vw, 1.34rem);
  --text-lg: clamp(1.95rem, 3.4vw, 3.7rem);
  --text-xl: clamp(2.5rem, 5vw, 5.4rem);

  --radius: 10px;
  --radius-lg: 18px;
  --header-height: 78px;
  --shadow-soft: 0 1px 2px rgba(13, 22, 34, 0.04), 0 14px 40px rgba(13, 22, 34, 0.07);
  --shadow-dark: 0 30px 80px rgba(0, 0, 0, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-height) + 22px);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: var(--text-base);
  line-height: 1.6;
  letter-spacing: -0.003em;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body.nav-open {
  overflow: hidden;
}

img {
  display: block;
  max-width: 100%;
}

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

button,
input,
select,
textarea {
  font: inherit;
  color: inherit;
}

button {
  cursor: pointer;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2,
h3 {
  text-wrap: balance;
}

h1,
h2 {
  font-family: var(--display);
  font-weight: 560;
  font-optical-sizing: auto;
  letter-spacing: -0.018em;
}

h1 {
  max-width: 18ch;
  margin-bottom: 22px;
  font-size: var(--text-xl);
  line-height: 1.02;
}

h2 {
  margin-bottom: 18px;
  font-size: var(--text-lg);
  line-height: 1.07;
}

h3 {
  font-family: var(--sans);
  font-size: 1.16rem;
  font-weight: 700;
  line-height: 1.28;
  letter-spacing: -0.01em;
}

::selection {
  background: var(--signal-soft);
  color: var(--ink-960);
}

/* ---------- utilidades ---------- */

.skip-link {
  position: fixed;
  top: -60px;
  left: 16px;
  z-index: 1000;
  padding: 11px 15px;
  border-radius: var(--radius);
  background: var(--white);
  color: var(--ink-960);
  font-weight: 700;
  box-shadow: var(--shadow-soft);
  transition: top 0.2s ease;
}

.skip-link:focus {
  top: 16px;
}

.section-shell,
.nav-shell {
  width: min(1180px, calc(100% - 44px));
  margin: 0 auto;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 16px;
  color: var(--signal);
  font-family: var(--mono);
  font-size: 0.74rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 22px;
  height: 1px;
  background: linear-gradient(90deg, var(--signal), transparent);
}

:focus-visible {
  outline: 2px solid var(--signal);
  outline-offset: 3px;
  border-radius: 4px;
}

/* ---------- header / nav ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 80;
  height: var(--header-height);
  border-bottom: 1px solid var(--line-light);
  background: rgba(0, 6, 15, 0.82);
  backdrop-filter: blur(16px) saturate(140%);
  transition: background 0.25s ease, border-color 0.25s ease;
}

.site-header.is-scrolled {
  background: rgba(0, 6, 15, 0.95);
  border-bottom-color: rgba(79, 214, 240, 0.16);
}

.nav-shell {
  display: flex;
  height: 100%;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  width: 188px;
  min-width: 188px;
}

.brand img {
  width: 100%;
  height: 46px;
  object-fit: contain;
  object-position: left center;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.94rem;
  font-weight: 600;
}

.nav-links > a {
  position: relative;
  padding: 4px 0;
  transition: color 0.18s ease;
}

.nav-links > a:not(.nav-cta)::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 0;
  height: 1.5px;
  background: var(--signal);
  transition: width 0.22s ease;
}

.nav-links > a:not(.nav-cta):hover {
  color: var(--white);
}

.nav-links > a:not(.nav-cta):hover::after {
  width: 100%;
}

.nav-cta {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  padding: 0 18px;
  border: 1px solid rgba(79, 214, 240, 0.4);
  border-radius: var(--radius);
  color: var(--white);
  background: var(--signal-soft);
  font-weight: 700;
  transition: background 0.18s ease, border-color 0.18s ease;
}

.nav-cta:hover {
  background: rgba(79, 214, 240, 0.22);
  border-color: rgba(79, 214, 240, 0.6);
}

.nav-toggle {
  display: none;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  padding: 0 14px;
  border: 1px solid var(--line-light);
  border-radius: var(--radius);
  color: var(--white);
  background: transparent;
  font-weight: 700;
}

.menu-icon,
.menu-icon::before,
.menu-icon::after {
  display: block;
  width: 19px;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
}

.menu-icon {
  position: relative;
}

.menu-icon::before,
.menu-icon::after {
  content: "";
  position: absolute;
  left: 0;
}

.menu-icon::before {
  top: -6px;
}

.menu-icon::after {
  top: 6px;
}

/* ---------- botões ---------- */

.btn {
  display: inline-flex;
  min-height: 54px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0 24px;
  border-radius: var(--radius);
  font-weight: 700;
  font-size: 1rem;
  line-height: 1.1;
  text-align: center;
  transition: transform 0.18s ease, background 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  border: 1px solid rgba(246, 250, 254, 0.9);
  color: var(--ink-960);
  background: linear-gradient(135deg, var(--platinum) 0%, var(--silver) 60%, #aebfcf 100%);
  box-shadow: 0 16px 38px rgba(79, 214, 240, 0.16), 0 0 0 5px rgba(255, 255, 255, 0.03);
}

.btn-primary:hover {
  box-shadow: 0 20px 48px rgba(79, 214, 240, 0.26), 0 0 0 5px rgba(255, 255, 255, 0.05);
}

.btn-secondary {
  border: 1px solid rgba(255, 255, 255, 0.22);
  color: var(--white);
  background: rgba(255, 255, 255, 0.04);
}

.btn-secondary:hover {
  border-color: rgba(79, 214, 240, 0.45);
  background: rgba(255, 255, 255, 0.07);
}

/* ---------- hero ---------- */

.hero {
  position: relative;
  display: flex;
  min-height: calc(94vh - var(--header-height));
  align-items: center;
  padding: 80px 0 84px;
  color: var(--white);
  background:
    radial-gradient(circle at 84% 14%, rgba(79, 214, 240, 0.2), transparent 30%),
    radial-gradient(circle at 70% 88%, rgba(52, 211, 158, 0.1), transparent 34%),
    linear-gradient(150deg, var(--ink-980) 0%, var(--ink-960) 52%, var(--ink-920) 100%);
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, transparent 0, transparent 87px, rgba(255, 255, 255, 0.022) 88px),
    linear-gradient(transparent 0, transparent 87px, rgba(255, 255, 255, 0.022) 88px);
  background-size: 88px 88px;
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.7), transparent 86%);
  pointer-events: none;
}

.hero::after {
  content: "KONVERT";
  position: absolute;
  right: -4vw;
  bottom: -3vw;
  color: rgba(255, 255, 255, 0.022);
  font-family: var(--display);
  font-size: clamp(5rem, 16vw, 18rem);
  font-weight: 600;
  letter-spacing: 0.14em;
  line-height: 1;
  pointer-events: none;
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(440px, 0.86fr);
  gap: clamp(46px, 5vw, 84px);
  align-items: center;
}

.hero-lead {
  max-width: 35ch;
  color: rgba(255, 255, 255, 0.74);
  font-size: var(--text-md);
  line-height: 1.5;
}

.hero-qualifier {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 28px 0 0;
}

.hero-qualifier span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 14px;
  border: 1px solid rgba(215, 226, 236, 0.22);
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.78);
  background: rgba(255, 255, 255, 0.04);
  font-size: var(--text-sm);
  font-weight: 500;
}

.hero-qualifier i {
  color: var(--signal);
  font-style: normal;
  font-weight: 700;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 32px;
}

.trust-copy {
  max-width: 52ch;
  margin: 20px 0 0;
  color: rgba(255, 255, 255, 0.58);
  font-size: var(--text-sm);
  line-height: 1.55;
}

/* ---------- painel KDX ---------- */

.kdx-board {
  position: relative;
  margin: 0;
  padding: clamp(20px, 2.6vw, 30px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-lg);
  background:
    linear-gradient(155deg, rgba(246, 250, 254, 0.12), rgba(79, 214, 240, 0.03)),
    rgba(0, 16, 31, 0.74);
  box-shadow: var(--shadow-dark);
  overflow: hidden;
  isolation: isolate;
}

.board-glow {
  position: absolute;
  inset: -30% -22% auto auto;
  width: 320px;
  height: 320px;
  border-radius: 999px;
  background: rgba(79, 214, 240, 0.2);
  filter: blur(38px);
  z-index: -1;
}

.board-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.board-mark {
  font-family: var(--display);
  font-size: 1.9rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--platinum);
}

.board-top strong {
  color: rgba(255, 255, 255, 0.66);
  font-family: var(--mono);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.signal-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 18px;
  padding: 11px 14px;
  border: 1px solid rgba(52, 211, 158, 0.26);
  border-radius: var(--radius);
  background: var(--money-soft);
}

.signal-label,
.signal-state {
  font-family: var(--mono);
  font-size: 0.74rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.signal-label {
  color: rgba(255, 255, 255, 0.6);
}

.signal-state {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: rgba(255, 255, 255, 0.9);
}

.signal-state .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--money);
  box-shadow: 0 0 0 4px rgba(52, 211, 158, 0.16);
  animation: pulse 2.4s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 3px rgba(52, 211, 158, 0.16); }
  50% { box-shadow: 0 0 0 6px rgba(52, 211, 158, 0.05); }
}

.architecture-map {
  display: grid;
  grid-template-columns: 1fr 22px 1fr 22px 1fr 22px 1fr;
  align-items: center;
  margin: 0 0 18px;
}

.map-node {
  min-height: 78px;
  padding: 14px 12px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.04);
}

.map-node span,
.metric-panel span {
  display: block;
  color: rgba(255, 255, 255, 0.5);
  font-family: var(--mono);
  font-size: 0.66rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.map-node strong,
.metric-panel strong {
  display: block;
  margin-top: 8px;
  color: var(--white);
  font-size: 0.96rem;
  font-weight: 600;
  line-height: 1.15;
}

.map-node.is-active {
  border-color: rgba(79, 214, 240, 0.4);
  background: rgba(79, 214, 240, 0.08);
}

.map-node.is-final {
  border-color: rgba(52, 211, 158, 0.4);
  background: linear-gradient(135deg, rgba(52, 211, 158, 0.14), rgba(79, 214, 240, 0.05));
}

.map-node.is-final strong {
  color: var(--money);
}

.map-connector {
  height: 1px;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.22), rgba(79, 214, 240, 0.7));
}

.metric-panel {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.metric-panel article {
  min-height: 76px;
  padding: 14px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  background: rgba(0, 0, 0, 0.18);
}

.board-footer {
  margin: 18px 0 0;
  padding: 14px 16px;
  border: 1px solid rgba(79, 214, 240, 0.24);
  border-radius: 12px;
  color: rgba(255, 255, 255, 0.82);
  background: rgba(79, 214, 240, 0.06);
  font-size: 0.96rem;
  line-height: 1.45;
}

/* ---------- prova de logos ---------- */

.logo-proof {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  border-bottom: 1px solid var(--line);
  color: var(--white);
  background: linear-gradient(180deg, #050b14 0%, #0a1320 100%);
  overflow: hidden;
}

.logo-proof .section-shell {
  padding: 38px 0 36px;
}

.logo-proof h2 {
  max-width: none;
  margin: 0 0 22px;
  color: rgba(255, 255, 255, 0.6);
  font-family: var(--mono);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  line-height: 1.4;
}

.logo-carousel {
  position: relative;
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent 0%, #000 9%, #000 91%, transparent 100%);
}

.logo-track {
  display: flex;
  width: max-content;
  gap: 16px;
  animation: logo-scroll 30s linear infinite;
}

.brand-logo {
  display: grid;
  min-width: clamp(168px, 18vw, 244px);
  min-height: 64px;
  place-items: center;
  padding: 0 24px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.74);
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.02));
  font-family: var(--display);
  font-size: clamp(1rem, 1.4vw, 1.24rem);
  font-weight: 600;
  white-space: nowrap;
}

@keyframes logo-scroll {
  from { transform: translate3d(0, 0, 0); }
  to { transform: translate3d(calc(-50% - 8px), 0, 0); }
}

/* ---------- seções base ---------- */

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

.problem-section,
.criteria-section,
.dre-section,
.manifesto-section,
.faq-section {
  background: var(--paper);
}

.maturity-section,
.project-section,
.method-section,
.authority-section {
  background: var(--white);
}

.problem-section,
.criteria-section,
.maturity-section,
.project-section {
  border-top: 1px solid var(--line);
}

.section-heading {
  max-width: 760px;
  margin: 0 auto 52px;
  text-align: center;
}

.section-heading.align-left {
  margin-left: 0;
  margin-right: auto;
  text-align: left;
}

.section-heading p,
.criteria-section p,
.dre-section p,
.problem-section .section-heading p,
.manifesto-intro p,
.diagnostic-copy p {
  color: var(--muted);
  font-size: var(--text-base);
  line-height: 1.66;
}

.section-closer {
  max-width: 60ch;
  margin: 36px 0 0;
  padding-left: 20px;
  border-left: 2px solid var(--signal);
  color: var(--ink);
  font-family: var(--display);
  font-size: clamp(1.2rem, 1.8vw, 1.62rem);
  font-weight: 500;
  line-height: 1.35;
}

/* ---------- problema: lista de vazamentos ---------- */

.leak-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.leak-list li {
  position: relative;
  padding: 20px 22px 20px 46px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  color: var(--muted);
  line-height: 1.5;
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.leak-list li:hover {
  border-color: rgba(79, 214, 240, 0.4);
  transform: translateY(-2px);
}

.leak-list li::before {
  content: "";
  position: absolute;
  left: 22px;
  top: 25px;
  width: 9px;
  height: 9px;
  border-radius: 2px;
  background: var(--signal);
  transform: rotate(45deg);
}

.leak-list strong {
  color: var(--ink);
  font-weight: 700;
}

/* ---------- para quem (split) ---------- */

.split-layout,
.dre-grid,
.manifesto-grid,
.diagnostic-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1fr);
  gap: clamp(40px, 5vw, 70px);
  align-items: start;
}

.criteria-list {
  display: grid;
  gap: 12px;
}

.criteria-list article {
  display: grid;
  grid-template-columns: 52px 1fr;
  gap: 16px;
  align-items: center;
  padding: 20px 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.criteria-list article:hover {
  border-color: var(--line-strong);
  transform: translateX(3px);
}

.criteria-list span {
  font-family: var(--mono);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--signal);
}

.criteria-list p {
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
}

/* ---------- Maturidade Digital ---------- */

.maturity-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.maturity-grid article {
  padding: 24px 22px 26px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.maturity-grid article:hover {
  border-color: rgba(79, 214, 240, 0.4);
  box-shadow: var(--shadow-soft);
  transform: translateY(-3px);
}

.maturity-grid span {
  display: block;
  margin-bottom: 16px;
  font-family: var(--mono);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--muted-2);
}

.maturity-grid h3 {
  margin: 0 0 8px;
  color: var(--ink-960);
}

.maturity-grid p {
  margin: 0;
  color: var(--muted);
  font-size: 0.96rem;
  line-height: 1.5;
}

/* ---------- projeto martech ---------- */

.project-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.project-grid article {
  display: flex;
  flex-direction: column;
  min-height: 252px;
  padding: 26px 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.project-grid article:hover {
  border-color: rgba(79, 214, 240, 0.4);
  box-shadow: var(--shadow-soft);
}

.card-tag {
  align-self: flex-start;
  margin-bottom: 20px;
  padding: 5px 11px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-family: var(--mono);
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  background: var(--white);
}

.project-grid h3 {
  margin: auto 0 10px;
  color: var(--ink-960);
}

.project-grid p {
  margin: 0;
  color: var(--muted);
  font-size: 0.98rem;
  line-height: 1.55;
}

/* ---------- DRE ---------- */

.dre-card {
  display: grid;
  gap: 0;
  padding: 8px 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
}

.dre-line {
  display: grid;
  grid-template-columns: 0.42fr 1fr;
  gap: 16px;
  align-items: center;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}

.dre-line:last-child {
  border-bottom: 0;
}

.dre-line span {
  font-family: var(--mono);
  font-size: 0.86rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--ink-960);
}

.dre-line strong {
  color: var(--muted);
  font-weight: 500;
  line-height: 1.45;
}

/* ---------- Método KDX (timeline) ---------- */

.method-timeline {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: step;
}

.method-timeline li {
  position: relative;
  padding: 44px 18px 0 0;
}

.method-timeline li::before {
  content: "";
  position: absolute;
  top: 13px;
  left: 0;
  right: 0;
  height: 1px;
  background: var(--line-strong);
}

.method-timeline li::after {
  content: "";
  position: absolute;
  top: 8px;
  left: 0;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: var(--white);
  border: 2px solid var(--signal);
}

.method-timeline li:first-child::after {
  background: var(--signal);
}

.method-timeline span {
  display: block;
  margin-bottom: 8px;
  font-family: var(--mono);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--muted-2);
}

.method-timeline h3 {
  margin: 0 0 8px;
  font-size: 1.04rem;
  color: var(--ink-960);
}

.method-timeline p {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.5;
}

/* ---------- manifesto / anti-promessa ---------- */

.manifesto-section {
  position: relative;
}

.manifesto-list {
  display: grid;
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--line);
}

.manifesto-list li {
  padding: 20px 0;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  line-height: 1.5;
}

.manifesto-list strong {
  color: var(--ink);
  font-weight: 700;
}

/* ---------- autoridade ---------- */

.authority-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.authority-grid article {
  padding: 26px 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
}

.authority-grid h3 {
  margin: 0 0 10px;
  color: var(--ink-960);
}

.authority-grid p {
  margin: 0;
  color: var(--muted);
  font-size: 0.96rem;
  line-height: 1.5;
}

/* ---------- FAQ ---------- */

.faq-list {
  display: grid;
  gap: 12px;
  max-width: 880px;
}

.faq-list details {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  overflow: hidden;
  transition: border-color 0.2s ease;
}

.faq-list details[open] {
  border-color: rgba(79, 214, 240, 0.4);
}

.faq-list summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 20px 22px;
  font-weight: 600;
  font-size: 1.06rem;
  color: var(--ink-960);
  list-style: none;
  cursor: pointer;
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-list summary::after {
  content: "+";
  flex-shrink: 0;
  font-family: var(--mono);
  font-size: 1.4rem;
  font-weight: 400;
  color: var(--signal);
  transition: transform 0.2s ease;
}

.faq-list details[open] summary::after {
  transform: rotate(45deg);
}

.faq-list p {
  margin: 0;
  padding: 0 22px 22px;
  color: var(--muted);
  line-height: 1.6;
}

/* ---------- diagnóstico / formulário ---------- */

.diagnostic {
  color: var(--white);
  background:
    radial-gradient(circle at 12% 10%, rgba(79, 214, 240, 0.1), transparent 36%),
    linear-gradient(150deg, var(--ink-980), var(--ink-920));
}

.diagnostic-grid {
  grid-template-columns: minmax(0, 0.8fr) minmax(480px, 1fr);
  align-items: center;
}

.diagnostic-copy p {
  color: rgba(255, 255, 255, 0.74);
}

.diagnostic-copy .eyebrow {
  color: var(--signal);
}

.form-aside {
  margin: 24px 0 0;
  padding: 14px 16px;
  border: 1px solid rgba(79, 214, 240, 0.22);
  border-radius: var(--radius);
  background: rgba(79, 214, 240, 0.05);
  color: rgba(255, 255, 255, 0.78);
  font-size: var(--text-sm);
  line-height: 1.5;
}

.plain-checks {
  display: grid;
  gap: 12px;
  margin: 26px 0 0;
  padding: 0;
  list-style: none;
}

.plain-checks li {
  position: relative;
  padding-left: 30px;
  color: rgba(255, 255, 255, 0.78);
  line-height: 1.5;
}

.plain-checks li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.36em;
  width: 14px;
  height: 14px;
  border-radius: 4px;
  background: var(--signal-soft);
  border: 1px solid var(--signal);
}

.plain-checks li::after {
  content: "";
  position: absolute;
  left: 5px;
  top: 0.62em;
  width: 3px;
  height: 6px;
  border-right: 2px solid var(--signal);
  border-bottom: 2px solid var(--signal);
  transform: rotate(42deg);
}

.checklist-card {
  max-width: 900px;
  margin-top: 34px;
  padding: clamp(24px, 4vw, 42px);
  border: 1px solid var(--line-light);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.05);
}

.checklist-card ol {
  display: grid;
  gap: 14px;
  margin: 0;
  padding-left: 24px;
}

.checklist-card li {
  color: rgba(255, 255, 255, 0.84);
  line-height: 1.5;
}

.lead-form {
  padding: 26px;
  border: 1px solid rgba(246, 250, 254, 0.14);
  border-radius: var(--radius);
  background:
    linear-gradient(145deg, rgba(246, 250, 254, 0.1), rgba(79, 214, 240, 0.03)),
    rgba(0, 16, 31, 0.7);
  box-shadow: var(--shadow-dark);
}

.honeypot {
  position: absolute;
  left: -9999px;
}

.form-top {
  display: grid;
  gap: 14px;
  margin-bottom: 22px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--line-light);
}

.form-top span,
.form-top strong {
  display: block;
}

.form-top > div:first-child span {
  color: var(--signal);
  font-family: var(--mono);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.form-top strong {
  margin-top: 4px;
  color: var(--white);
  font-size: 1.14rem;
  font-weight: 600;
}

.progress-track {
  height: 6px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
}

.progress-track span {
  display: block;
  width: 50%;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--signal), var(--money));
  transition: width 0.25s ease;
}

.lead-form[data-current-step="2"] .progress-track span {
  width: 100%;
}

.form-step {
  display: none;
}

.form-step.is-active {
  display: block;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.lead-form label {
  display: grid;
  gap: 8px;
  color: rgba(255, 255, 255, 0.8);
  font-size: var(--text-sm);
  font-weight: 600;
}

.lead-form input,
.lead-form select,
.lead-form textarea {
  width: 100%;
  min-height: 50px;
  padding: 0 14px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius);
  color: var(--white);
  background: rgba(0, 8, 21, 0.5);
  outline: none;
  transition: border-color 0.18s ease, box-shadow 0.18s ease;
}

.lead-form textarea {
  min-height: 120px;
  padding-top: 13px;
  resize: vertical;
  line-height: 1.5;
}

.lead-form input:focus,
.lead-form select:focus,
.lead-form textarea:focus {
  border-color: rgba(79, 214, 240, 0.8);
  box-shadow: 0 0 0 3px rgba(79, 214, 240, 0.12);
}

.lead-form input::placeholder,
.lead-form textarea::placeholder {
  color: rgba(255, 255, 255, 0.34);
}

.lead-form select option {
  color: var(--ink);
}

.full-field {
  grid-column: 1 / -1;
}

.form-next,
.form-actions {
  margin-top: 18px;
}

.form-actions {
  display: grid;
  grid-template-columns: 0.45fr 1fr;
  gap: 12px;
}

.privacy-copy {
  margin: 18px 0 0;
  color: rgba(255, 255, 255, 0.56);
  font-size: 0.82rem;
  line-height: 1.5;
}

.form-status {
  min-height: 22px;
  margin: 14px 0 0;
  color: var(--money);
  font-weight: 600;
  line-height: 1.45;
}

.form-status a {
  color: var(--money);
  text-decoration: underline;
}

/* ---------- footer ---------- */

.site-footer {
  padding: 48px 0;
  color: rgba(255, 255, 255, 0.7);
  background: #00040b;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr 0.55fr 0.55fr;
  gap: 46px;
  align-items: start;
}

.site-footer img {
  width: 186px;
  height: 56px;
  object-fit: contain;
  object-position: left center;
  margin-bottom: 16px;
}

.site-footer p {
  max-width: 42ch;
  margin-bottom: 0;
  line-height: 1.6;
}

.site-footer strong,
.site-footer a,
.site-footer span {
  display: block;
}

.site-footer strong {
  margin-bottom: 12px;
  color: var(--white);
  font-weight: 600;
}

.site-footer a,
.site-footer span {
  margin-top: 8px;
  transition: color 0.18s ease;
}

.site-footer a:hover {
  color: var(--signal);
}

/* ---------- WhatsApp flutuante ---------- */

.whatsapp-float {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 70;
  display: inline-flex;
  min-height: 58px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 0 20px 0 8px;
  border-radius: 999px;
  color: #062116;
  background: var(--wa);
  font-weight: 700;
  box-shadow: 0 18px 46px rgba(37, 211, 102, 0.3);
  opacity: 0;
  pointer-events: none;
  transform: translateY(12px);
  transition: opacity 0.18s ease, transform 0.18s ease;
}

.whatsapp-float.is-visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.whatsapp-float:hover {
  transform: translateY(-2px);
}

.whatsapp-float img {
  width: 44px;
  height: 44px;
}

/* ---------- reveal on scroll ---------- */

[data-reveal] {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.6s ease, transform 0.6s ease;
  will-change: opacity, transform;
}

[data-reveal].is-visible {
  opacity: 1;
  transform: none;
}

/* ---------- página de obrigado ---------- */

.thanks-page .hero {
  min-height: calc(100vh - var(--header-height));
}

.board-row {
  display: grid;
  grid-template-columns: 36px 1fr;
  grid-template-rows: auto auto;
  column-gap: 14px;
  align-items: center;
  padding: 16px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.board-row:last-child {
  border-bottom: 0;
}

.board-row span {
  grid-row: 1 / span 2;
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid rgba(79, 214, 240, 0.4);
  font-family: var(--mono);
  font-weight: 600;
  color: var(--signal);
  background: var(--signal-soft);
}

.board-row strong {
  color: var(--white);
  font-weight: 600;
}

.board-row small {
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.86rem;
}

/* ============================================================
   Responsivo
   ============================================================ */

@media (max-width: 1080px) {
  .hero-grid,
  .split-layout,
  .dre-grid,
  .manifesto-grid,
  .diagnostic-grid {
    grid-template-columns: 1fr;
  }

  .maturity-grid,
  .project-grid,
  .authority-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .method-timeline {
    grid-template-columns: repeat(3, 1fr);
    row-gap: 28px;
  }

  .kdx-board {
    max-width: 720px;
  }

  .diagnostic-grid {
    align-items: start;
  }
}

@media (max-width: 820px) {
  :root {
    --header-height: 70px;
  }

  .section-shell,
  .nav-shell {
    width: min(100% - 32px, 1180px);
  }

  .site-header {
    background: rgba(0, 6, 15, 0.97);
    backdrop-filter: none;
  }

  .brand {
    width: 160px;
    min-width: 160px;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .nav-links {
    position: fixed;
    inset: var(--header-height) 0 auto;
    display: none;
    height: calc(100vh - var(--header-height));
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 18px 16px 28px;
    background: rgba(0, 6, 15, 0.98);
  }

  .nav-links.is-open {
    display: flex;
  }

  .nav-links > a {
    padding: 17px 4px;
    border-bottom: 1px solid var(--line-light);
    color: var(--white);
  }

  .nav-links > a:not(.nav-cta)::after {
    display: none;
  }

  .nav-cta {
    margin-top: 16px;
    justify-content: center;
  }

  .hero {
    min-height: auto;
    padding: 44px 0 56px;
  }

  h1 {
    font-size: clamp(2.1rem, 9vw, 3rem);
    line-height: 1.05;
  }

  h2 {
    font-size: clamp(1.9rem, 8vw, 2.9rem);
  }

  .hero-lead {
    font-size: 1.06rem;
  }

  .hero-qualifier {
    display: grid;
    gap: 8px;
  }

  .hero-actions,
  .btn,
  .form-actions {
    width: 100%;
  }

  .hero-actions,
  .form-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .leak-list,
  .maturity-grid,
  .project-grid,
  .authority-grid,
  .method-timeline,
  .form-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .leak-list li:nth-child(odd) {
    border-right: 0;
  }

  .architecture-map {
    grid-template-columns: 1fr;
  }

  .map-connector {
    width: 1px;
    height: 18px;
    margin: 0 auto;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.22), rgba(79, 214, 240, 0.7));
  }

  .metric-panel {
    grid-template-columns: 1fr;
  }

  .map-node,
  .metric-panel article {
    min-height: 64px;
  }

  /* timeline vira vertical no mobile */
  .method-timeline li {
    padding: 0 0 0 30px;
  }

  .method-timeline li::before {
    top: 6px;
    bottom: -28px;
    left: 5px;
    right: auto;
    width: 1px;
    height: auto;
  }

  .method-timeline li:last-child::before {
    display: none;
  }

  .method-timeline li::after {
    top: 4px;
    left: 0;
  }

  .section-closer {
    font-size: 1.2rem;
  }

  .dre-line {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .lead-form,
  .kdx-board {
    padding: 18px;
  }

  .diagnostic-grid {
    gap: 32px;
  }

  .whatsapp-float {
    right: 14px;
    bottom: 14px;
    min-height: 56px;
    width: 56px;
    padding: 0;
  }

  .whatsapp-float span {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    scroll-behavior: auto !important;
    transition: none !important;
  }

  [data-reveal] {
    opacity: 1;
    transform: none;
  }
}
