/* =====================================================================
   PULSO — Portal institucional
   Direção: "a sala de controle da captação" — midnight cinematic,
   energia teal ECG, tipografia editorial DM Serif Display.
   ===================================================================== */

/* ─── Fonts (self-hosted) ─── */
@font-face {
  font-family: 'DM Sans';
  font-style: normal;
  font-weight: 300 800;
  font-display: swap;
  src: url('../fonts/dm-sans-var-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2212, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'DM Sans';
  font-style: normal;
  font-weight: 300 800;
  font-display: swap;
  src: url('../fonts/dm-sans-var-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0;
}
@font-face {
  font-family: 'DM Serif Display';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/dm-serif-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+2000-206F, U+20AC, U+2212;
}
@font-face {
  font-family: 'DM Serif Display';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/dm-serif-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB;
}
@font-face {
  font-family: 'DM Serif Display';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/dm-serif-italic-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+2000-206F, U+20AC, U+2212;
}
@font-face {
  font-family: 'DM Serif Display';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/dm-serif-italic-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB;
}

/* ─── Tokens ─── */
:root {
  /* herdados da marca */
  --teal: #2CB1BC;
  --teal-dark: #229DA7;
  --glow: #33cfd3;
  --ink: #0d1f33;          /* midnight deep — base do portal */
  --ink-2: #102A43;        /* midnight */
  --ink-3: #16324e;        /* midnight elevado (cards) */
  --paper: #F7F9FC;        /* seção clara */

  --text: #EDF3F8;
  --muted: rgba(237, 243, 248, 0.6);
  --soft: rgba(237, 243, 248, 0.44);

  --line: rgba(51, 207, 211, 0.16);
  --line-soft: rgba(237, 243, 248, 0.08);
  --teal-wash: rgba(44, 177, 188, 0.07);

  --font-sans: 'DM Sans', system-ui, sans-serif;
  --font-serif: 'DM Serif Display', Georgia, serif;

  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --dur: 0.5s;

  --r-sm: 8px;
  --r-md: 14px;
  --r-lg: 22px;
  --r-full: 100px;

  --gutter: clamp(20px, 4vw, 56px);
  --section-y: clamp(84px, 10.5vw, 148px);
}

/* ─── Reset / base ─── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  overflow-x: hidden;
  max-width: 100%;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

body {
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.65;
  color: var(--text);
  background: var(--ink);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

::selection { background: var(--glow); color: var(--ink); }

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

img, svg, canvas { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: none; cursor: pointer; }
ul, ol { list-style: none; }

h1, h2, h3 {
  font-family: var(--font-serif);
  font-weight: 400;
  line-height: 1.04;
  letter-spacing: -0.01em;
}
h1 { font-size: clamp(2.9rem, 8.2vw, 8.2rem); }
h2 { font-size: clamp(2.1rem, 5vw, 4.6rem); }
h3 { font-size: clamp(1.3rem, 2.2vw, 1.9rem); }

em, .it { font-family: var(--font-serif); font-style: italic; font-weight: 400; }
.accent { color: var(--glow); }

/* números tabulares em métricas */
.num { font-variant-numeric: tabular-nums; font-feature-settings: 'tnum'; }

/* ─── Grain (textura global sutil) ─── */
.grain {
  position: fixed;
  inset: -50%;
  width: 200%;
  height: 200%;
  z-index: 2000;
  pointer-events: none;
  opacity: 0.05;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='240'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ─── Utilitários de layout ─── */
.wrap { max-width: 1280px; margin: 0 auto; padding: 0 var(--gutter); position: relative; z-index: 2; }
.wrap-wide { max-width: 1480px; margin: 0 auto; padding: 0 var(--gutter); position: relative; z-index: 2; }

section { position: relative; overflow-x: clip; padding: var(--section-y) 0; }

/* label técnico de seção — o "instrumento" */
.tag {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--glow);
  margin-bottom: 28px;
}
.tag::before {
  content: '';
  width: 34px;
  height: 1px;
  background: var(--glow);
  opacity: 0.7;
}
.tag .idx { color: var(--soft); letter-spacing: 0.2em; }

.lead {
  font-size: clamp(1.05rem, 1.5vw, 1.3rem);
  color: var(--muted);
  max-width: 640px;
  font-weight: 400;
}
.lead strong { color: var(--text); font-weight: 600; }

/* ─── Botões ─── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 17px 34px;
  border-radius: var(--r-full);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  white-space: normal;
  text-align: center;
  max-width: 100%;
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease), background var(--dur) var(--ease), color var(--dur) var(--ease);
  will-change: transform;
}
.btn svg { flex-shrink: 0; transition: transform var(--dur) var(--ease); }
.btn:hover svg { transform: translateX(4px); }

.btn-pulse {
  background: var(--glow);
  color: var(--ink);
  box-shadow: 0 0 0 0 rgba(51, 207, 211, 0.4), 0 18px 44px -12px rgba(51, 207, 211, 0.45);
}
.btn-pulse:hover {
  transform: translateY(-2px);
  background: #56dade;
  box-shadow: 0 0 0 6px rgba(51, 207, 211, 0.12), 0 24px 54px -12px rgba(51, 207, 211, 0.55);
}

.btn-ghost {
  color: var(--text);
  box-shadow: inset 0 0 0 1.5px var(--line-soft);
}
.btn-ghost:hover {
  box-shadow: inset 0 0 0 1.5px var(--glow);
  color: var(--glow);
  transform: translateY(-2px);
}

/* variante para seção clara */
.on-paper .btn-ghost { color: var(--ink-2); box-shadow: inset 0 0 0 1.5px rgba(16, 42, 67, 0.25); }
.on-paper .btn-ghost:hover { box-shadow: inset 0 0 0 1.5px var(--teal); color: var(--teal-dark); }

/* ─── ECG conectivo (linha vertical que se desenha com o scroll) ─── */
.ecg-rail {
  position: fixed;
  top: 0;
  left: max(12px, calc((100vw - 1480px) / 2 - 44px));
  height: 100vh;
  width: 40px;
  z-index: 30;
  pointer-events: none;
}
.ecg-rail svg { height: 100%; width: 100%; overflow: visible; }
.ecg-rail .rail-bg { stroke: var(--line-soft); }
.ecg-rail .rail-fg { stroke: var(--glow); filter: drop-shadow(0 0 6px rgba(51, 207, 211, 0.65)); }
@media (max-width: 1080px) { .ecg-rail { display: none; } }

/* ═════════════════════════════════════════════════════════════════════
   NAV
   ═══════════════════════════════════════════════════════════════════ */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  transition: background 0.45s ease, box-shadow 0.45s ease, backdrop-filter 0.45s ease;
}
.nav.solid {
  background: rgba(13, 31, 51, 0.82);
  backdrop-filter: blur(18px) saturate(160%);
  -webkit-backdrop-filter: blur(18px) saturate(160%);
  box-shadow: 0 1px 0 var(--line-soft);
}
.nav-inner {
  max-width: 1480px;
  margin: 0 auto;
  padding: 0 var(--gutter);
  height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.nav-logo img { height: 30px; width: auto; }

.nav-links { display: flex; gap: 34px; }
.nav-links a {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  transition: color 0.25s;
  position: relative;
}
.nav-links a::after {
  content: '';
  position: absolute;
  left: 0; right: 100%;
  bottom: -6px;
  height: 1px;
  background: var(--glow);
  transition: right var(--dur) var(--ease);
}
.nav-links a:hover { color: var(--text); }
.nav-links a:hover::after { right: 0; }

.nav-cta { display: flex; align-items: center; gap: 14px; }
.nav-cta .btn { padding: 11px 22px; font-size: 11px; }

.nav-burger {
  display: none;
  width: 44px; height: 44px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 6px;
}
.nav-burger span {
  width: 22px; height: 1.6px;
  background: var(--text);
  transition: transform 0.35s var(--ease), opacity 0.2s;
}
.nav-burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7.6px) rotate(45deg); }
.nav-burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7.6px) rotate(-45deg); }

.nav-mobile {
  display: none;
  position: fixed;
  top: 76px; left: 0; right: 0;
  z-index: 99;
  background: rgba(13, 31, 51, 0.97);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  padding: 16px var(--gutter) 32px;
  border-bottom: 1px solid var(--line-soft);
}
.nav-mobile.open { display: block; }
.nav-mobile a {
  display: block;
  padding: 15px 4px;
  font-family: var(--font-serif);
  font-size: 1.5rem;
  color: var(--text);
  border-bottom: 1px solid var(--line-soft);
}
.nav-mobile a:last-of-type { border-bottom: none; }

@media (max-width: 960px) {
  .nav-links { display: none; }
  .nav-burger { display: flex; }
  .nav-cta .btn { display: none; }
}

/* ═════════════════════════════════════════════════════════════════════
   HERO
   ═══════════════════════════════════════════════════════════════════ */
.hero {
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 140px 0 64px;
}
#hero-canvas,
.hero-fallback {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}
.hero-fallback svg { width: 100%; height: 100%; }
.hero-fallback .fecg {
  fill: none;
  stroke: var(--glow);
  stroke-width: 1.8;
  opacity: 0.72;
  filter: drop-shadow(0 0 10px rgba(51, 207, 211, 0.5));
  stroke-dasharray: 1400;
  stroke-dashoffset: 1400;
  animation: ecg-draw 7s linear infinite;
}
@keyframes ecg-draw {
  0%   { stroke-dashoffset: 1400; opacity: 0; }
  8%   { opacity: 0.72; }
  62%  { stroke-dashoffset: 0; opacity: 0.72; }
  82%  { opacity: 0.18; }
  100% { stroke-dashoffset: 0; opacity: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .hero-fallback .fecg { animation: none; stroke-dashoffset: 0; opacity: 0.3; }
}

/* véu para legibilidade sobre o canvas */
.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    radial-gradient(ellipse 85% 60% at 28% 42%, rgba(13, 31, 51, 0.3) 0%, rgba(13, 31, 51, 0.72) 100%),
    linear-gradient(180deg, rgba(13, 31, 51, 0.5) 0%, transparent 22%, transparent 66%, var(--ink) 100%);
  pointer-events: none;
}
.hero .wrap-wide { z-index: 2; }

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--glow);
  margin-bottom: 34px;
  padding: 10px 20px;
  border-radius: var(--r-full);
  box-shadow: inset 0 0 0 1px var(--line);
  background: rgba(13, 31, 51, 0.45);
}
.hero-eyebrow .dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--glow);
  animation: beat 2.6s ease-in-out infinite;
}
@keyframes beat {
  0%, 100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(51, 207, 211, 0.5); }
  12% { transform: scale(1.45); box-shadow: 0 0 0 8px rgba(51, 207, 211, 0); }
  24% { transform: scale(1); }
  36% { transform: scale(1.3); }
  48% { transform: scale(1); }
}
@media (prefers-reduced-motion: reduce) { .hero-eyebrow .dot { animation: none; } }

.hero h1 { max-width: 15ch; }
.hero h1 .line { display: block; overflow: hidden; }
.hero h1 .line > span { display: block; }

.hero-sub {
  margin-top: 36px;
  max-width: 560px;
  font-size: clamp(1.05rem, 1.5vw, 1.3rem);
  color: var(--muted);
}
.hero-sub strong { color: var(--text); font-weight: 600; }

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 44px;
}

.hero-proof {
  margin-top: clamp(48px, 7vh, 84px);
  display: flex;
  flex-wrap: wrap;
  gap: 0;
  border-top: 1px solid var(--line-soft);
}
.hero-proof > div {
  flex: 1 1 150px;
  padding: 22px 28px 0 0;
  margin-right: 28px;
}
@media (max-width: 640px) {
  .hero-proof { display: grid; grid-template-columns: 1fr 1fr; gap: 4px 16px; }
  .hero-proof > div { padding: 18px 0 0; margin-right: 0; }
}
.hero-proof .v {
  font-family: var(--font-serif);
  font-size: clamp(1.6rem, 2.6vw, 2.4rem);
  color: var(--text);
}
.hero-proof .v em { color: var(--glow); }
.hero-proof .k {
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--soft);
  margin-top: 6px;
}

.hero-scroll {
  position: absolute;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: none;
  font-size: 10px;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  color: var(--soft);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}
.hero-scroll::after {
  content: '';
  width: 1px;
  height: 44px;
  background: linear-gradient(180deg, var(--glow), transparent);
  animation: drip 2.2s var(--ease) infinite;
}
/* só aparece quando há folga vertical de verdade */
@media (min-width: 1000px) and (min-height: 860px) {
  .hero-scroll { display: flex; }
}
@keyframes drip {
  0% { transform: scaleY(0); transform-origin: top; }
  55% { transform: scaleY(1); transform-origin: top; }
  56% { transform-origin: bottom; }
  100% { transform: scaleY(0); transform-origin: bottom; }
}
@media (prefers-reduced-motion: reduce) { .hero-scroll::after { animation: none; } }

/* ═════════════════════════════════════════════════════════════════════
   MANIFESTO — a categoria
   ═══════════════════════════════════════════════════════════════════ */
.manifesto h2 { max-width: 21ch; }
.manifesto .lead { margin-top: 30px; }

.glossary {
  margin-top: 72px;
  border-top: 1px solid var(--line-soft);
}
.glossary li {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: baseline;
  gap: clamp(16px, 4vw, 56px);
  padding: 22px 0;
  border-bottom: 1px solid var(--line-soft);
  transition: background 0.3s;
}
.glossary li:hover { background: var(--teal-wash); }
.glossary .no {
  text-align: right;
  color: var(--soft);
  text-decoration: line-through;
  text-decoration-color: rgba(239, 68, 68, 0.6);
  text-decoration-thickness: 1.5px;
  font-size: clamp(0.95rem, 1.5vw, 1.25rem);
}
.glossary .arrow { color: var(--glow); font-size: 1.1rem; }
.glossary .yes {
  font-family: var(--font-serif);
  font-size: clamp(1.15rem, 2.1vw, 1.8rem);
  color: var(--text);
}
@media (max-width: 640px) {
  .glossary li { grid-template-columns: 1fr; gap: 4px; padding: 18px 0; }
  .glossary .no { text-align: left; font-size: 0.9rem; }
  .glossary .arrow { display: none; }
}

/* ═════════════════════════════════════════════════════════════════════
   MÉTODO 14 DIAS — seção clara
   ═══════════════════════════════════════════════════════════════════ */
.method {
  background: var(--paper);
  color: var(--ink-2);
}
.method::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(16, 42, 67, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(16, 42, 67, 0.035) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 90% 80% at 50% 30%, black 0%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 90% 80% at 50% 30%, black 0%, transparent 75%);
}
.method .tag { color: var(--teal-dark); }
.method .tag .idx { color: rgba(16, 42, 67, 0.4); }
.method .lead { color: rgba(16, 42, 67, 0.65); }
.method .lead strong { color: var(--ink-2); }
.method h2 em { color: var(--teal-dark); }

.method-head {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  gap: clamp(32px, 6vw, 96px);
  align-items: end;
  margin-bottom: clamp(56px, 8vw, 104px);
}
@media (max-width: 900px) { .method-head { grid-template-columns: 1fr; } }

.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: rgba(16, 42, 67, 0.12);
  border: 1px solid rgba(16, 42, 67, 0.12);
  border-radius: var(--r-lg);
  overflow: hidden;
}
@media (max-width: 1000px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; } }

.step {
  background: var(--paper);
  padding: clamp(28px, 3vw, 44px);
  position: relative;
  transition: background 0.35s;
}
.step:hover { background: #fff; }
.step .d {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--teal-dark);
}
.step .n {
  font-family: var(--font-serif);
  font-size: clamp(3.4rem, 5vw, 5rem);
  line-height: 1;
  color: rgba(16, 42, 67, 0.12);
  position: absolute;
  right: 20px;
  top: 16px;
  transition: color 0.35s;
}
.step:hover .n { color: rgba(44, 177, 188, 0.3); }
.step h3 { margin: 44px 0 12px; font-size: 1.35rem; }
.step p { font-size: 0.95rem; color: rgba(16, 42, 67, 0.62); }

.method-note {
  margin-top: 44px;
  display: flex;
  align-items: center;
  gap: 18px;
  font-size: 1rem;
  color: rgba(16, 42, 67, 0.7);
}
.method-note .big {
  font-family: var(--font-serif);
  font-size: 2.2rem;
  color: var(--teal-dark);
  flex-shrink: 0;
}

/* ═════════════════════════════════════════════════════════════════════
   SISTEMA M1–M8
   ═══════════════════════════════════════════════════════════════════ */
.system-head { max-width: 760px; margin-bottom: clamp(48px, 7vw, 88px); }
.system-head .lead { margin-top: 26px; }

.modules {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}
@media (max-width: 1100px) { .modules { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .modules { grid-template-columns: 1fr; } }

.module {
  position: relative;
  border-radius: var(--r-md);
  padding: 26px 24px 22px;
  background: linear-gradient(160deg, rgba(22, 50, 78, 0.55), rgba(16, 42, 67, 0.25));
  box-shadow: inset 0 0 0 1px var(--line-soft);
  overflow: hidden;
  transition: box-shadow 0.4s var(--ease), transform 0.4s var(--ease);
}
.module::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(120% 90% at 50% 0%, rgba(51, 207, 211, 0.12), transparent 60%);
  opacity: 0;
  transition: opacity 0.4s;
}
.module:hover {
  box-shadow: inset 0 0 0 1px var(--line), 0 22px 48px -18px rgba(0, 0, 0, 0.55);
  transform: translateY(-4px);
}
.module:hover::before { opacity: 1; }

.module .mid {
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: 0.26em;
  color: var(--glow);
}
.module .win {
  float: right;
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.12em;
  color: var(--soft);
}
.module h3 {
  font-size: 1.22rem;
  margin: 16px 0 10px;
  clear: both;
}
.module p { font-size: 0.88rem; color: var(--muted); }

/* ═════════════════════════════════════════════════════════════════════
   CASE NEUROMASTER
   ═══════════════════════════════════════════════════════════════════ */
.case {
  background:
    radial-gradient(ellipse 70% 55% at 78% 18%, rgba(44, 177, 188, 0.12), transparent 65%),
    linear-gradient(180deg, var(--ink) 0%, #0a1929 55%, var(--ink) 100%);
}
.case-head {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  gap: clamp(32px, 6vw, 96px);
  align-items: end;
  margin-bottom: clamp(52px, 7vw, 96px);
}
@media (max-width: 900px) { .case-head { grid-template-columns: 1fr; } }
.case h2 { max-width: 14ch; }
.case h2 em { color: var(--glow); }

.case-hero-metric {
  border-left: 2px solid var(--glow);
  padding-left: clamp(20px, 3vw, 40px);
}
.case-hero-metric .roas {
  font-family: var(--font-serif);
  font-size: clamp(4.4rem, 9vw, 8.6rem);
  line-height: 0.95;
  color: var(--text);
}
.case-hero-metric .roas em { color: var(--glow); }
.case-hero-metric .cap {
  margin-top: 10px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--soft);
}

.case-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}
@media (max-width: 900px) { .case-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .case-grid { grid-template-columns: 1fr; } }

.metric {
  padding: 30px 28px;
  border-radius: var(--r-md);
  background: rgba(22, 50, 78, 0.35);
  box-shadow: inset 0 0 0 1px var(--line-soft);
  position: relative;
  overflow: hidden;
}
.metric::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--glow), transparent 80%);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 1.1s var(--ease);
}
.metric.lit::after { transform: scaleX(1); }
.metric .v {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 3.4vw, 3rem);
  line-height: 1.05;
  color: var(--text);
}
.metric .v em { color: var(--glow); }
.metric .k {
  margin-top: 10px;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--soft);
}
.metric .s { margin-top: 8px; font-size: 0.85rem; color: var(--muted); }

.case-disclaimer {
  margin-top: 40px;
  font-size: 11.5px;
  letter-spacing: 0.08em;
  color: var(--soft);
  display: flex;
  align-items: center;
  gap: 10px;
}
.case-disclaimer::before {
  content: '';
  width: 8px; height: 8px;
  border: 1px solid var(--soft);
  border-radius: 2px;
  flex-shrink: 0;
}

/* ═════════════════════════════════════════════════════════════════════
   90 DIAS — fases
   ═══════════════════════════════════════════════════════════════════ */
.phases-track {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(16px, 2.5vw, 32px);
  position: relative;
  margin-top: clamp(48px, 7vw, 88px);
}
@media (max-width: 860px) { .phases-track { grid-template-columns: 1fr; } }

.phases-track::before {
  content: '';
  position: absolute;
  top: 27px;
  left: 4%; right: 4%;
  height: 1px;
  background: var(--line-soft);
}
@media (max-width: 860px) { .phases-track::before { display: none; } }

.phase { position: relative; padding-top: 64px; }
.phase .marker {
  position: absolute;
  top: 14px;
  left: 0;
  width: 28px; height: 28px;
  border-radius: 50%;
  background: var(--ink);
  box-shadow: inset 0 0 0 1.5px var(--glow);
  display: flex;
  align-items: center;
  justify-content: center;
}
.phase .marker::after {
  content: '';
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--glow);
}
.phase .days {
  position: absolute;
  top: 18px;
  left: 42px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--glow);
}
.phase h3 { font-size: clamp(1.6rem, 2.4vw, 2.2rem); margin-bottom: 16px; }
.phase ul { display: grid; gap: 9px; }
.phase li {
  font-size: 0.93rem;
  color: var(--muted);
  padding-left: 20px;
  position: relative;
}
.phase li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.62em;
  width: 9px;
  height: 1.5px;
  background: var(--glow);
}

/* ═════════════════════════════════════════════════════════════════════
   NICHOS
   ═══════════════════════════════════════════════════════════════════ */
.niches { background: linear-gradient(180deg, var(--ink), #0b1c30 60%, var(--ink)); }
.niche-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: clamp(44px, 6vw, 72px);
}
@media (max-width: 900px) { .niche-cards { grid-template-columns: 1fr; } }

.niche {
  display: block;
  position: relative;
  border-radius: var(--r-lg);
  padding: clamp(30px, 3.4vw, 46px);
  min-height: 320px;
  background: linear-gradient(165deg, rgba(22, 50, 78, 0.6), rgba(13, 31, 51, 0.4));
  box-shadow: inset 0 0 0 1px var(--line-soft);
  overflow: hidden;
  transition: transform 0.45s var(--ease), box-shadow 0.45s var(--ease);
}
.niche::before {
  content: attr(data-idx);
  position: absolute;
  right: 18px;
  top: 6px;
  font-family: var(--font-serif);
  font-size: 7rem;
  line-height: 1;
  color: rgba(237, 243, 248, 0.05);
  transition: color 0.45s;
}
.niche:hover { transform: translateY(-6px); box-shadow: inset 0 0 0 1px var(--line), 0 28px 60px -20px rgba(0, 0, 0, 0.6); }
.niche:hover::before { color: rgba(51, 207, 211, 0.16); }

.niche .who {
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--glow);
}
.niche h3 { font-size: clamp(1.5rem, 2.2vw, 2rem); margin: 18px 0 12px; max-width: 12ch; }
.niche p { font-size: 0.92rem; color: var(--muted); max-width: 30ch; }
.niche .go {
  position: absolute;
  left: clamp(30px, 3.4vw, 46px);
  bottom: 28px;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text);
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.niche .go::after {
  content: '→';
  color: var(--glow);
  transition: transform 0.35s var(--ease);
}
.niche:hover .go::after { transform: translateX(6px); }

/* ═════════════════════════════════════════════════════════════════════
   CLIENTES + TIME
   ═══════════════════════════════════════════════════════════════════ */
.people-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: clamp(44px, 6vw, 72px);
}
@media (max-width: 900px) { .people-grid { grid-template-columns: 1fr; } }

.client {
  padding: clamp(28px, 3vw, 40px);
  border-radius: var(--r-md);
  background: rgba(22, 50, 78, 0.3);
  box-shadow: inset 0 0 0 1px var(--line-soft);
}
.client .quote {
  font-family: var(--font-serif);
  font-size: clamp(1.15rem, 1.7vw, 1.45rem);
  line-height: 1.35;
  color: var(--text);
}
.client .quote::before { content: '“'; color: var(--glow); }
.client .quote::after { content: '”'; color: var(--glow); }
.client .who {
  margin-top: 22px;
  display: flex;
  align-items: center;
  gap: 14px;
}
.client .who .ini {
  width: 44px; height: 44px;
  border-radius: 50%;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-serif);
  font-size: 1rem;
  color: var(--glow);
  box-shadow: inset 0 0 0 1.5px var(--line);
  background: rgba(51, 207, 211, 0.06);
}
.client .who .n { font-weight: 700; font-size: 0.95rem; }
.client .who .r { font-size: 0.8rem; color: var(--soft); letter-spacing: 0.06em; }

.team-row {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 14px;
  margin-top: clamp(44px, 6vw, 72px);
}
@media (max-width: 1000px) { .team-row { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 620px) { .team-row { grid-template-columns: repeat(2, 1fr); } }

.member {
  text-align: center;
  padding: 34px 16px 28px;
  border-radius: var(--r-md);
  box-shadow: inset 0 0 0 1px var(--line-soft);
  background: linear-gradient(180deg, rgba(22, 50, 78, 0.3), transparent);
  transition: box-shadow 0.4s, transform 0.4s var(--ease);
}
.member:hover { box-shadow: inset 0 0 0 1px var(--line); transform: translateY(-4px); }
.member .avatar {
  width: 76px; height: 76px;
  margin: 0 auto 18px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-serif);
  font-size: 1.7rem;
  color: var(--ink);
  background: linear-gradient(150deg, var(--glow), var(--teal-dark));
  position: relative;
}
/* variação sutil de ângulo por membro — quebra o carimbo */
.member:nth-child(2) .avatar { background: linear-gradient(210deg, var(--glow), var(--teal-dark)); }
.member:nth-child(3) .avatar { background: linear-gradient(30deg, var(--glow), var(--teal-dark)); }
.member:nth-child(4) .avatar { background: linear-gradient(120deg, var(--glow), #1b7f88); }
.member:nth-child(5) .avatar { background: linear-gradient(320deg, var(--glow), var(--teal-dark)); }
.member .avatar::after {
  content: '';
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  border: 1px dashed var(--line);
}
.member .n { font-weight: 700; font-size: 1rem; }
.member .r { font-size: 0.78rem; color: var(--soft); letter-spacing: 0.08em; text-transform: uppercase; margin-top: 4px; }

/* ═════════════════════════════════════════════════════════════════════
   FAQ
   ═══════════════════════════════════════════════════════════════════ */
.faq-list { max-width: 860px; margin: clamp(40px, 6vw, 64px) auto 0; }
.faq-item { border-bottom: 1px solid var(--line-soft); }
.faq-q {
  width: 100%;
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 24px;
  text-align: left;
  padding: 26px 4px;
  font-family: var(--font-serif);
  font-size: clamp(1.15rem, 1.9vw, 1.55rem);
  color: var(--text);
  transition: color 0.3s;
}
.faq-q:hover { color: var(--glow); }
.faq-q .ic {
  flex-shrink: 0;
  font-family: var(--font-sans);
  font-size: 1.4rem;
  font-weight: 300;
  color: var(--glow);
  transition: transform 0.4s var(--ease);
}
.faq-item.open .faq-q .ic { transform: rotate(45deg); }
.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s var(--ease);
}
.faq-a p {
  padding: 0 4px 28px;
  color: var(--muted);
  font-size: 0.98rem;
  max-width: 62ch;
}

/* ═════════════════════════════════════════════════════════════════════
   CTA FINAL + FORM
   ═══════════════════════════════════════════════════════════════════ */
.cta-final {
  background:
    radial-gradient(ellipse 60% 50% at 50% 100%, rgba(44, 177, 188, 0.16), transparent 70%),
    var(--ink);
}
.cta-box {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
  gap: clamp(40px, 6vw, 96px);
  align-items: start;
}
@media (max-width: 940px) { .cta-box { grid-template-columns: 1fr; } }

.cta-box h2 { max-width: 13ch; }
.cta-box h2 em { color: var(--glow); }
.cta-deliver { margin-top: 34px; display: grid; gap: 13px; }
.cta-deliver li {
  display: flex;
  gap: 14px;
  align-items: baseline;
  font-size: 1rem;
  color: var(--muted);
}
.cta-deliver li::before {
  content: '';
  flex-shrink: 0;
  width: 14px; height: 8px;
  border-left: 1.5px solid var(--glow);
  border-bottom: 1.5px solid var(--glow);
  transform: rotate(-45deg) translateY(-2px);
}
.cta-ps {
  margin-top: 38px;
  padding: 22px 26px;
  border-left: 2px solid var(--glow);
  background: rgba(51, 207, 211, 0.05);
  border-radius: 0 var(--r-sm) var(--r-sm) 0;
  font-size: 0.92rem;
  color: var(--muted);
}
.cta-ps strong { color: var(--text); }

.form-card {
  padding: clamp(30px, 3.4vw, 46px);
  border-radius: var(--r-lg);
  background: linear-gradient(170deg, rgba(22, 50, 78, 0.65), rgba(16, 42, 67, 0.35));
  box-shadow: inset 0 0 0 1px var(--line-soft), 0 40px 90px -30px rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(8px);
}
.form-card h3 { font-size: 1.5rem; margin-bottom: 6px; }
.form-card .sub { font-size: 0.9rem; color: var(--soft); margin-bottom: 28px; }

.field { margin-bottom: 18px; }
.field label {
  display: block;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--soft);
  margin-bottom: 8px;
}
.field input, .field select {
  width: 100%;
  padding: 15px 18px;
  font: inherit;
  font-size: 0.98rem;
  color: var(--text);
  background: rgba(13, 31, 51, 0.55);
  border: 1px solid var(--line-soft);
  border-radius: var(--r-sm);
  transition: border-color 0.3s, box-shadow 0.3s;
  appearance: none;
}
.field select { background-image: linear-gradient(45deg, transparent 50%, var(--soft) 50%), linear-gradient(135deg, var(--soft) 50%, transparent 50%); background-position: calc(100% - 21px) 50%, calc(100% - 16px) 50%; background-size: 5px 5px; background-repeat: no-repeat; }
.field input::placeholder { color: var(--soft); }
.field input:focus, .field select:focus {
  outline: none;
  border-color: var(--glow);
  box-shadow: 0 0 0 3px rgba(51, 207, 211, 0.14);
}
.form-error { color: #ff8b8b; font-size: 0.85rem; min-height: 1.2em; margin-bottom: 10px; }
.form-card .btn { width: 100%; }
.form-ok { display: none; text-align: center; padding: 40px 0 24px; }
.form-ok .pulse-ok {
  width: 64px; height: 64px;
  margin: 0 auto 22px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ink);
  background: var(--glow);
  font-size: 1.6rem;
}
.form-ok h3 { margin-bottom: 8px; }
.form-ok p { color: var(--muted); font-size: 0.95rem; }
.form-privacy { margin-top: 16px; font-size: 0.75rem; color: var(--soft); text-align: center; }

/* ═════════════════════════════════════════════════════════════════════
   FOOTER
   ═══════════════════════════════════════════════════════════════════ */
footer {
  padding: 72px 0 44px;
  border-top: 1px solid var(--line-soft);
  position: relative;
  overflow-x: clip;
}
.foot-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: clamp(32px, 5vw, 80px);
}
@media (max-width: 800px) { .foot-grid { grid-template-columns: 1fr; } }
.foot-brand img { height: 34px; margin-bottom: 20px; }
.foot-brand p { font-size: 0.9rem; color: var(--soft); max-width: 34ch; }
.foot-col .t {
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--glow);
  margin-bottom: 18px;
}
.foot-col a {
  display: block;
  padding: 6px 0;
  font-size: 0.92rem;
  color: var(--muted);
  transition: color 0.25s;
}
.foot-col a:hover { color: var(--text); }
.foot-legal {
  margin-top: 56px;
  padding-top: 28px;
  border-top: 1px solid var(--line-soft);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  font-size: 11.5px;
  letter-spacing: 0.06em;
  color: var(--soft);
}

/* ─── WhatsApp float ─── */
.wa-float {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 90;
  width: 58px; height: 58px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #25D366;
  color: #fff;
  box-shadow: 0 14px 34px -8px rgba(37, 211, 102, 0.55);
  transition: transform 0.35s var(--ease);
}
.wa-float:hover { transform: scale(1.08) translateY(-2px); }

/* ─── Reveal states (JS adiciona .in) ─── */
.rv { opacity: 0; transform: translateY(28px); transition: opacity 0.9s var(--ease), transform 0.9s var(--ease); }
.rv.in { opacity: 1; transform: none; }
.rv-d1 { transition-delay: 0.08s; }
.rv-d2 { transition-delay: 0.16s; }
.rv-d3 { transition-delay: 0.24s; }
@media (prefers-reduced-motion: reduce) {
  .rv { opacity: 1; transform: none; transition: none; }
}
/* sem JS, tudo visível */
.no-js .rv { opacity: 1; transform: none; }

/* ─── Página /guide ─── */
.guide-body { padding: 160px 0 100px; }
.guide-body .prose { max-width: 760px; }
.prose h1 { font-size: clamp(2.6rem, 6vw, 4.6rem); margin-bottom: 24px; }
.prose h2 { font-size: clamp(1.5rem, 2.6vw, 2.1rem); margin: 56px 0 16px; }
.prose p, .prose li { color: var(--muted); font-size: 1.02rem; }
.prose p { margin-bottom: 16px; }
.prose ul { margin: 0 0 16px; display: grid; gap: 8px; }
.prose li { padding-left: 20px; position: relative; }
.prose li::before { content: ''; position: absolute; left: 0; top: 0.65em; width: 9px; height: 1.5px; background: var(--glow); }
.prose strong { color: var(--text); }
.prose code {
  font-family: ui-monospace, 'SF Mono', Menlo, monospace;
  font-size: 0.86em;
  color: var(--glow);
  background: rgba(51, 207, 211, 0.08);
  padding: 2px 7px;
  border-radius: 5px;
}
.prose .step-tag {
  display: inline-block;
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--glow);
  margin-bottom: 6px;
}
