/* =========================================================
   B2N · Proposta comercial
   Tokens do Design System B2N (tema escuro)
   ========================================================= */
:root {
  /* Paleta base */
  --black-900: #010203;
  --black-800: #030609;
  --blue-900: #103975;
  --blue-500: #529ff1;
  --blue-400: #68a9f7;
  --blue-300: #70aef5;
  --steel-400: #7c9ec2;
  --white: #f5f7fa;

  /* Semânticos */
  --background: var(--black-900);
  --surface: var(--black-800);
  --surface-raised: rgba(124, 158, 194, .06);
  --border: rgba(124, 158, 194, .2);
  --border-strong: rgba(124, 158, 194, .34);
  --foreground: var(--white);
  --muted-foreground: var(--steel-400);
  --primary: var(--blue-400);
  --primary-hover: var(--blue-500);
  --primary-foreground: var(--black-900);
  --accent-text: var(--blue-400);
  --accent-text-80: rgba(104, 169, 247, .8);
  --deep: var(--blue-900);
  --deep-foreground: var(--white);
  --primary-tint-05: rgba(104, 169, 247, .05);
  --primary-tint-10: rgba(104, 169, 247, .1);
  --primary-border-20: rgba(104, 169, 247, .2);
  --primary-border-40: rgba(104, 169, 247, .4);
  --focus-ring: var(--blue-400);
  --grid-line: rgba(124, 158, 194, .07);

  /* Elevação */
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, .4), 0 4px 6px -4px rgba(0, 0, 0, .4);
  --glow-sm: 0 4px 6px -1px rgba(104, 169, 247, .25), 0 2px 4px -2px rgba(104, 169, 247, .25);
  --glow-md: 0 10px 15px -3px rgba(104, 169, 247, .3), 0 4px 6px -4px rgba(104, 169, 247, .3);
  --glow-lg: 0 20px 25px -5px rgba(104, 169, 247, .12), 0 8px 10px -6px rgba(104, 169, 247, .12);

  /* Tipografia */
  --font-display: "Sora", "Segoe UI", system-ui, sans-serif;
  --font-sans: "DM Sans", "Segoe UI", system-ui, sans-serif;
  --font-mono: ui-monospace, SFMono-Regular, Menlo, Consolas, "Liberation Mono", monospace;

  /* Espaço, raio, movimento */
  --space-1: 4px; --space-2: 8px; --space-3: 12px; --space-4: 16px; --space-5: 20px;
  --space-6: 24px; --space-10: 40px; --space-16: 64px; --space-20: 80px; --space-24: 96px;
  --radius-sm: 4px; --radius-md: 10px; --radius-lg: 12px; --radius-xl: 16px; --radius-full: 9999px;
  --dur-fast: 150ms; --dur-base: 200ms; --dur-slow: 400ms;
  --ease: cubic-bezier(.4, 0, .2, 1);
  --ease-out: cubic-bezier(.16, 1, .3, 1);

  /* Layout da apresentação */
  --bar-top: 72px;
  --bar-bottom: 88px;
  --gutter: clamp(16px, 5vw, 72px);
  --content: 1200px;

  color-scheme: dark;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { box-sizing: border-box; height: 100%; background: var(--background); }
body {
  height: 100%; margin: 0; overflow: hidden;
  background: var(--background); color: var(--foreground);
  font: 400 16px/24px var(--font-sans);
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, p, ol, ul, dl, dd, figure, blockquote { margin: 0; }
h1, h2, h3 { text-wrap: balance; }
img { max-width: 100%; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--focus-ring); outline-offset: 2px; }
[hidden] { display: none !important; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.lc { width: 20px; height: 20px; flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.is-placeholder { text-decoration: underline dotted var(--primary-border-40); text-underline-offset: 5px; }

/* ---------- Palco ---------- */
.deck { position: relative; height: 100%; overflow: hidden; isolation: isolate; }
.deck::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; opacity: .025;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
.slides { position: absolute; inset: 0; }

.slide {
  position: absolute; inset: 0;
  display: grid;
  overflow-x: hidden; overflow-y: auto;
  padding: calc(var(--bar-top) + 16px) var(--gutter) calc(var(--bar-bottom) + 16px);
  visibility: hidden; opacity: 0;
  scrollbar-width: thin; scrollbar-color: var(--border) transparent;
}
.slide.is-active { visibility: visible; opacity: 1; animation: slide-in-next 520ms var(--ease-out) both; }
.deck[data-dir="prev"] .slide.is-active { animation-name: slide-in-prev; }
.slide.is-leaving { visibility: visible; pointer-events: none; animation: slide-out-next 320ms var(--ease) both; }
.deck[data-dir="prev"] .slide.is-leaving { animation-name: slide-out-prev; }
@keyframes slide-in-next { from { opacity: 0; transform: translateX(40px); } to { opacity: 1; transform: none; } }
@keyframes slide-in-prev { from { opacity: 0; transform: translateX(-40px); } to { opacity: 1; transform: none; } }
@keyframes slide-out-next { from { opacity: 1; transform: none; } to { opacity: 0; transform: translateX(-40px); } }
@keyframes slide-out-prev { from { opacity: 1; transform: none; } to { opacity: 0; transform: translateX(40px); } }

.slide.is-active [data-anim] { animation: rise 640ms var(--ease-out) both; animation-delay: calc(140ms + var(--d, 0) * 70ms); }
@keyframes rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }

.slide__inner {
  width: 100%; max-width: var(--content); min-width: 0;
  margin: auto;
  display: flex; flex-direction: column; gap: var(--space-10);
  position: relative;
}

/* ---------- Tipografia ---------- */
.head { display: flex; flex-direction: column; gap: var(--space-3); max-width: 860px; min-width: 0; }
.eyebrow { font: 600 10px/15px var(--font-sans); letter-spacing: 1px; text-transform: uppercase; color: var(--accent-text); }
.eyebrow--muted { color: var(--muted-foreground); }
.kicker { font: 600 12px/16px var(--font-sans); letter-spacing: .3em; text-transform: uppercase; color: var(--accent-text-80); }
.h2 { font: 800 clamp(28px, 3.4vw, 48px)/1.08 var(--font-display); letter-spacing: -.02em; }
.hl { color: var(--accent-text); }
.lead { color: var(--muted-foreground); font-size: 16px; line-height: 26px; max-width: 58ch; }
.lead strong { color: var(--foreground); }
.pill-tag { display: inline-block; border: 1px solid var(--primary-border-20); border-radius: var(--radius-full); color: var(--accent-text-80); font: 600 9px/13.5px var(--font-sans); letter-spacing: .35em; text-transform: uppercase; padding: 6px 16px; }

/* ---------- Peças base ---------- */
.card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-xl); padding: var(--space-6); min-width: 0; }
.card--accent { border-color: var(--primary-border-20); background-image: linear-gradient(to bottom right, var(--primary-tint-10), transparent); }
.glow { position: relative; isolation: isolate; transition: transform var(--dur-base) var(--ease); }
.glow::before {
  content: ""; position: absolute; inset: -1px; border-radius: inherit; padding: 1px; pointer-events: none; z-index: -1; opacity: 0;
  background: linear-gradient(135deg, rgba(104, 169, 247, .6), transparent 40%, rgba(104, 169, 247, .3));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude;
  transition: opacity var(--dur-slow) var(--ease);
}
.glow:hover::before { opacity: 1; }
.glow:hover { transform: translateY(-2px); }

.ic { width: 36px; height: 36px; border-radius: var(--radius-md); background: var(--primary-tint-10); color: var(--accent-text); display: inline-flex; align-items: center; justify-content: center; flex: none; }
.ic .lc { width: 18px; height: 18px; }
.ic--lg { width: 48px; height: 48px; border-radius: var(--radius-lg); }
.ic--lg .lc { width: 24px; height: 24px; }
.ic--solid { background: var(--primary); color: var(--primary-foreground); box-shadow: var(--glow-sm); }

.chip { display: inline-flex; align-items: center; gap: 6px; align-self: flex-start; font: 600 11px/16px var(--font-sans); padding: 3px 10px; border-radius: var(--radius-full); background: var(--primary-tint-10); color: var(--accent-text); white-space: nowrap; }
.chip--line { background: none; border: 1px solid var(--border); color: var(--muted-foreground); padding: 2px 9px; }
.chip--solid { background: var(--primary); color: var(--primary-foreground); }
.badge { display: inline-block; background: var(--primary); color: var(--primary-foreground); font: 700 9px/13.5px var(--font-sans); letter-spacing: .04em; padding: 3px 10px; border-radius: var(--radius-full); text-transform: uppercase; white-space: nowrap; }

.checks { list-style: none; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.checks li { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; line-height: 20px; }
.checks .lc { width: 16px; height: 16px; margin-top: 2px; color: var(--accent-text); }
.checks b { font-weight: 700; }

/* ---------- Barra superior ---------- */
.progress { position: absolute; top: 0; left: 0; right: 0; height: 2px; background: var(--border); z-index: 12; }
.progress__bar { display: block; height: 100%; width: 0; background: var(--primary); box-shadow: 0 0 12px rgba(104, 169, 247, .6); transition: width var(--dur-slow) var(--ease-out); }

.topbar {
  position: absolute; top: 0; left: 0; right: 0; z-index: 10; height: var(--bar-top);
  padding-inline: var(--gutter);
  display: flex; align-items: center; justify-content: space-between; gap: var(--space-4);
  background: linear-gradient(var(--background) 45%, rgba(1, 2, 3, 0));
  pointer-events: none;
}
.topbar > * { pointer-events: auto; }
.topbar__logo { display: block; transition: opacity var(--dur-slow) var(--ease); }
.topbar__logo img { display: block; height: 22px; width: auto; }
.deck[data-slide="capa"] .topbar__logo { opacity: 0; pointer-events: none; }
.topbar__meta { display: flex; align-items: center; gap: var(--space-4); min-width: 0; }
.topbar__client { font-size: 12px; line-height: 16px; color: var(--muted-foreground); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.counter { font: 600 12px/16px var(--font-sans); color: var(--muted-foreground); font-variant-numeric: tabular-nums; white-space: nowrap; }
.counter b { color: var(--foreground); }
.icon-btn { width: 40px; height: 40px; flex: none; border-radius: var(--radius-full); border: 1px solid var(--border); background: var(--surface-raised); color: var(--foreground); display: grid; place-items: center; cursor: pointer; transition: border-color var(--dur-fast) var(--ease), background var(--dur-fast) var(--ease); }
.icon-btn:hover { border-color: var(--primary-border-40); background: var(--primary-tint-10); }
.icon-btn .lc { width: 18px; height: 18px; }

/* ---------- Barra inferior ---------- */
.navbar {
  position: absolute; bottom: 0; left: 0; right: 0; z-index: 10; height: var(--bar-bottom);
  padding-inline: var(--gutter);
  display: flex; align-items: center; justify-content: space-between; gap: var(--space-4);
  background: linear-gradient(rgba(1, 2, 3, 0), var(--background) 50%);
  pointer-events: none;
}
.navbar > * { pointer-events: auto; }
.cycle { list-style: none; padding: 0; display: flex; align-items: center; gap: 6px; font: 600 10px/15px var(--font-sans); letter-spacing: 1px; text-transform: uppercase; color: var(--muted-foreground); }
.cycle li[data-stage] { padding: 5px 10px; border-radius: var(--radius-full); border: 1px solid transparent; transition: color var(--dur-base) var(--ease), border-color var(--dur-base) var(--ease), background var(--dur-base) var(--ease); }
.cycle li.is-on { color: var(--accent-text); border-color: var(--primary-border-40); background: var(--primary-tint-05); }
.cycle__arrow { opacity: .45; }
.navbar__controls { display: flex; align-items: center; gap: var(--space-2); margin-left: auto; }
.navbar__hint { font-size: 11px; color: var(--muted-foreground); margin-right: var(--space-3); white-space: nowrap; }
.navbar__hint kbd { display: inline-block; min-width: 20px; padding: 1px 5px; margin-right: 3px; border: 1px solid var(--border); border-radius: 5px; font: 600 10px/16px var(--font-sans); text-align: center; color: var(--foreground); }
.nav-btn { height: 44px; min-width: 44px; padding: 0 14px; border-radius: var(--radius-full); border: 1px solid var(--border); background: var(--surface-raised); display: inline-flex; align-items: center; justify-content: center; gap: 8px; font: 600 13px/16px var(--font-sans); cursor: pointer; transition: background var(--dur-base) var(--ease), border-color var(--dur-base) var(--ease), transform var(--dur-base) var(--ease), opacity var(--dur-base) var(--ease); }
.nav-btn:hover { border-color: var(--primary-border-40); }
.nav-btn .lc { width: 18px; height: 18px; }
.nav-btn--primary { background: var(--primary); color: var(--primary-foreground); border-color: var(--primary); box-shadow: var(--glow-sm); padding: 0 18px; }
.nav-btn--primary:hover { background: var(--primary-hover); border-color: var(--primary-hover); transform: translateY(-1px); }
.nav-btn[disabled] { opacity: .35; cursor: default; box-shadow: none; transform: none; }

/* ---------- Índice ---------- */
.index { position: absolute; inset: 0; z-index: 30; display: grid; overflow-y: auto; padding: var(--space-10) var(--gutter); background: rgba(1, 2, 3, .94); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.index__inner { width: 100%; max-width: var(--content); margin: auto; display: flex; flex-direction: column; gap: var(--space-6); }
.index__head { display: flex; align-items: flex-start; justify-content: space-between; gap: var(--space-4); }
.index__title { font: 800 28px/34px var(--font-display); }
.index__list { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--space-3); }
.index__list button { width: 100%; display: flex; align-items: baseline; gap: var(--space-4); padding: 16px 18px; text-align: left; border-radius: var(--radius-lg); border: 1px solid var(--border); background: var(--surface); cursor: pointer; transition: border-color var(--dur-fast) var(--ease), background var(--dur-fast) var(--ease); }
.index__list button:hover { border-color: var(--primary-border-40); background: var(--primary-tint-05); }
.index__list button[aria-current="true"] { border-color: var(--primary); background: var(--primary-tint-10); }
.index__list b { font: 800 14px/20px var(--font-display); color: var(--accent-text); font-variant-numeric: tabular-nums; }
.index__list span { font: 600 15px/20px var(--font-sans); }

/* =========================================================
   Slides
   ========================================================= */

/* 01 · Capa */
.slide--cover::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: linear-gradient(var(--grid-line) 1px, transparent 1px), linear-gradient(90deg, var(--grid-line) 1px, transparent 1px);
  background-size: 64px 64px;
  -webkit-mask-image: radial-gradient(ellipse 70% 70% at 72% 45%, #000 0%, transparent 75%);
  mask-image: radial-gradient(ellipse 70% 70% at 72% 45%, #000 0%, transparent 75%);
}
.cover { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); align-items: center; gap: var(--space-10); }
.cover__text { display: flex; flex-direction: column; gap: var(--space-6); min-width: 0; }
.cover__brand { display: flex; align-items: center; flex-wrap: wrap; gap: var(--space-5); margin-bottom: var(--space-4); }
.cover__logo { width: clamp(140px, 15vw, 210px); height: auto; display: block; }
.cover__title { font: 800 clamp(40px, 6vw, 88px)/.98 var(--font-display); letter-spacing: -.035em; }
.cover__lead { font-size: clamp(15px, 1.25vw, 18px); line-height: 1.6; color: var(--muted-foreground); max-width: 50ch; }
.cover__meta { display: flex; flex-wrap: wrap; margin-top: var(--space-4); border-top: 1px solid var(--border); }
.cover__meta > div { padding: var(--space-5) var(--space-10) 0 0; min-width: 0; }
.cover__meta dt { font: 600 10px/15px var(--font-sans); letter-spacing: 1px; text-transform: uppercase; color: var(--muted-foreground); }
.cover__meta dd { font: 700 18px/26px var(--font-display); margin-top: 4px; }
.cover__ring { min-width: 0; }
.ring { width: 100%; height: auto; display: block; overflow: visible; }
.ring__track { fill: none; stroke: var(--border-strong); stroke-width: 1; }
.ring__spin { fill: none; stroke: var(--primary-border-40); stroke-width: 1; stroke-dasharray: 2 10; transform-origin: 280px 240px; animation: spin 90s linear infinite; }
.ring__chev path { fill: none; stroke: var(--accent-text); stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.ring__nodes circle { fill: var(--background); stroke: var(--accent-text); stroke-width: 2; }
.ring__nodes circle:first-child { fill: var(--primary); }
.ring__labels text { fill: var(--foreground); font: 700 13px var(--font-display); letter-spacing: .12em; text-transform: uppercase; }
@keyframes spin { to { transform: rotate(360deg); } }

/* 02 · Problema */
.problem { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: var(--space-16); align-items: start; }
.questions { list-style: none; padding: 0; border-top: 1px solid var(--border); }
.questions li { display: grid; grid-template-columns: 28px 36px minmax(0, 1fr); align-items: center; gap: var(--space-4); padding: 14px 0; border-bottom: 1px solid var(--border); font-size: 16px; line-height: 23px; }
.questions__n { font: 700 12px/16px var(--font-display); color: var(--muted-foreground); font-variant-numeric: tabular-nums; }
.callout { display: flex; align-items: center; justify-content: space-between; gap: var(--space-6); padding: var(--space-6) 32px; border-radius: var(--radius-xl); background: var(--deep); color: var(--deep-foreground); }
.callout p { font: 800 clamp(22px, 2.4vw, 32px)/1.15 var(--font-display); letter-spacing: -.01em; }
.callout__arrow { width: 48px; height: 48px; flex: none; border-radius: var(--radius-full); border: 1px solid rgba(245, 247, 250, .4); display: grid; place-items: center; }

/* 03 · Proposta: sistema conectado */
.system { position: relative; display: flex; align-items: stretch; padding-bottom: 56px; }
.pillar { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: var(--space-3); padding: var(--space-6); border-radius: var(--radius-xl); border: 1px solid var(--border); background: var(--surface); position: relative; }
.pillar--accent { border-color: var(--primary-border-40); background-image: linear-gradient(to bottom right, var(--primary-tint-10), transparent); box-shadow: var(--glow-lg); }
.pillar__num { position: absolute; top: var(--space-6); right: var(--space-6); font: 800 12px/16px var(--font-display); color: var(--muted-foreground); letter-spacing: .08em; }
.pillar h3 { font: 700 18px/26px var(--font-display); margin-top: var(--space-2); }
.pillar p { font-size: 14px; line-height: 22px; color: var(--muted-foreground); }
.pillar .chip { margin-top: auto; }
.system__arrow { flex: none; width: 40px; display: grid; place-items: center; color: var(--accent-text); }
.system__arrow .lc { width: 18px; height: 18px; }
.loop { position: absolute; bottom: 0; height: 40px; border: 1px dashed var(--primary-border-40); border-top: none; border-radius: 0 0 var(--radius-xl) var(--radius-xl); }
.loop::before { content: ""; position: absolute; left: -5px; top: -2px; border-left: 5px solid transparent; border-right: 5px solid transparent; border-bottom: 7px solid var(--accent-text); }
.loop__label { position: absolute; left: 50%; bottom: -8px; transform: translateX(-50%); padding: 0 12px; background: var(--background); font: 600 10px/15px var(--font-sans); letter-spacing: 1px; text-transform: uppercase; color: var(--accent-text-80); white-space: nowrap; }
.loop--system { left: calc((100% - 120px) / 8); right: calc((100% - 120px) / 8); }
.loop-note { display: none; align-items: center; gap: var(--space-2); font-size: 13px; line-height: 20px; color: var(--accent-text); }
.loop-note .lc { width: 16px; height: 16px; }

/* 04 · Incluso */
.incl { display: grid; grid-template-columns: repeat(var(--cols, 4), minmax(0, 1fr)); gap: var(--space-4); }
.incl__card { display: flex; flex-direction: column; gap: var(--space-5); padding: var(--space-5); }
.incl__head { display: flex; align-items: center; gap: var(--space-3); }
.incl__head h3 { font: 700 16px/22px var(--font-display); }
.incl__tag { margin-top: auto; padding-top: var(--space-4); border-top: 1px solid var(--border); font: 600 13px/20px var(--font-sans); color: var(--accent-text); }
.incl__text { font-size: 14px; line-height: 22px; color: var(--muted-foreground); }
.roles { display: flex; flex-direction: column; gap: var(--space-3); }
.roles__row { display: flex; flex-direction: column; gap: 4px; padding: var(--space-3) 14px; border-radius: var(--radius-lg); border: 1px solid var(--primary-border-20); background: var(--primary-tint-05); font-size: 13px; line-height: 20px; }
.roles__who { font: 600 10px/15px var(--font-sans); letter-spacing: 1px; text-transform: uppercase; color: var(--accent-text); }
.metric-group { display: flex; flex-direction: column; gap: var(--space-2); }
.metric-group__label { font: 600 10px/15px var(--font-sans); letter-spacing: 1px; text-transform: uppercase; color: var(--muted-foreground); }
.chips { display: flex; flex-wrap: wrap; gap: 6px; }

/* 05 · CRM: fluxo */
.flow-wrap { position: relative; padding-bottom: 56px; }
.flow-wrap::before { content: ""; position: absolute; top: 28px; left: calc(100% / 14); right: calc(100% / 14); height: 1px; background: var(--primary-border-40); }
.flow__pulse { position: absolute; top: 25px; left: calc(100% / 14); width: 7px; height: 7px; border-radius: 50%; background: var(--primary); box-shadow: 0 0 12px var(--primary); opacity: 0; }
.slide.is-active .flow__pulse { animation: pulse-x 4.2s var(--ease) 1s infinite; }
@keyframes pulse-x { 0% { left: calc(100% / 14); opacity: 0; } 8% { opacity: 1; } 92% { opacity: 1; } 100% { left: calc(100% - 100% / 14); opacity: 0; } }
.flow { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: var(--space-3); }
.flow li { display: flex; flex-direction: column; align-items: center; text-align: center; gap: var(--space-3); min-width: 0; }
.flow__node { position: relative; z-index: 1; width: 56px; height: 56px; border-radius: var(--radius-full); border: 1px solid var(--primary-border-40); background: var(--background); color: var(--accent-text); display: grid; place-items: center; }
.flow__node .lc { width: 22px; height: 22px; }
.flow li:last-child .flow__node { background: var(--primary); color: var(--primary-foreground); border-color: var(--primary); box-shadow: var(--glow-sm); }
.flow__text { display: flex; flex-direction: column; gap: 4px; }
.flow__label { font: 700 12px/16px var(--font-display); letter-spacing: .06em; text-transform: uppercase; }
.flow__sub { font-size: 12px; line-height: 18px; color: var(--muted-foreground); }
.loop--flow { left: calc(100% / 14); right: calc(100% / 14); }
.crm-bottom { display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr); gap: var(--space-4); }
.quote { position: relative; padding: 32px 36px; border-radius: var(--radius-xl); background: var(--deep); color: var(--deep-foreground); display: flex; flex-direction: column; gap: var(--space-4); justify-content: center; }
.quote p { font: 800 clamp(20px, 2.2vw, 30px)/1.25 var(--font-display); letter-spacing: -.01em; }
.quote__hl { color: var(--blue-300); }
.quote__mark .lc { width: 28px; height: 28px; opacity: .6; }
.note { display: flex; flex-direction: column; gap: var(--space-3); }
.note p { font-size: 14px; line-height: 22px; color: var(--muted-foreground); }

/* 06 · Responsabilidades */
.duo { display: grid; grid-template-columns: minmax(0, 1fr) 56px minmax(0, 1fr); gap: var(--space-4); align-items: stretch; }
.duo__card { display: flex; flex-direction: column; gap: var(--space-2); padding: 28px; }
.duo__title { font: 800 28px/34px var(--font-display); letter-spacing: -.01em; }
.duo__sub { font-size: 14px; line-height: 20px; color: var(--muted-foreground); margin-bottom: var(--space-4); }
.duo__sep { position: relative; display: grid; place-items: center; }
.duo__sep::before { content: ""; position: absolute; top: 12%; bottom: 12%; left: 50%; width: 1px; background: var(--border); }
.duo__sep span { position: relative; width: 48px; height: 48px; border-radius: var(--radius-full); border: 1px solid var(--primary-border-40); background: var(--background); color: var(--accent-text); display: grid; place-items: center; }
.statement { padding-top: var(--space-6); border-top: 1px solid var(--border); font: 600 clamp(16px, 1.5vw, 20px)/1.5 var(--font-display); color: var(--muted-foreground); max-width: 900px; }
.statement b { color: var(--foreground); font-weight: 700; }

/* 07 · Prova social */
.proof { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: var(--space-4); }
.proof__side { display: flex; flex-direction: column; gap: var(--space-4); min-width: 0; }
.shot { display: flex; flex-direction: column; border: 1px solid var(--border); border-radius: var(--radius-xl); background: var(--surface); overflow: hidden; min-width: 0; }
.shot--main .ph--fill { min-height: 300px; }
.proof__side .shot { flex: 1; }
.proof__side .ph--fill { min-height: 140px; }
.shot__bar { display: flex; align-items: center; gap: 6px; padding: 10px 14px; border-bottom: 1px solid var(--border); }
.shot__bar span { width: 8px; height: 8px; border-radius: 50%; background: var(--border-strong); }
.shot__bar em { margin-left: 8px; font: 600 11px/16px var(--font-sans); font-style: normal; color: var(--muted-foreground); }
.shot__img { display: block; width: 100%; height: 100%; object-fit: cover; }
.shot__cap { padding: 10px 14px; border-top: 1px solid var(--border); font: 600 12px/18px var(--font-sans); color: var(--muted-foreground); }
.ph { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: var(--space-2); text-align: center; padding: var(--space-5); color: var(--accent-text); border: 1px dashed var(--primary-border-40); border-radius: var(--radius-lg); background: repeating-linear-gradient(135deg, var(--primary-tint-05) 0 10px, transparent 10px 20px); }
.ph--fill { flex: 1; margin: 12px; }
.ph .lc { width: 24px; height: 24px; opacity: .8; }
.ph__label { font: 700 11px/16px var(--font-mono); letter-spacing: .06em; }
.ph__hint { font-size: 12px; line-height: 18px; color: var(--muted-foreground); max-width: 32ch; }
.testimonial { display: flex; flex-direction: column; gap: var(--space-3); padding: var(--space-6); border-radius: var(--radius-xl); border: 1px dashed var(--primary-border-40); background: var(--primary-tint-05); }
.testimonial .quote__mark { color: var(--accent-text); }
/* Ao trocar o placeholder pelo depoimento real, use font: 700 17px/26px var(--font-display) e color: var(--foreground). */
.testimonial p { font: 700 13px/20px var(--font-mono); letter-spacing: .06em; color: var(--accent-text); }
.testimonial footer { display: flex; align-items: center; gap: var(--space-3); font-size: 12px; line-height: 18px; color: var(--muted-foreground); }
.testimonial footer b { color: var(--foreground); }
.testimonial__avatar { width: 36px; height: 36px; border-radius: 50%; border: 1px dashed var(--primary-border-40); display: grid; place-items: center; color: var(--accent-text); flex: none; }
.testimonial__avatar .lc { width: 16px; height: 16px; }
.logos { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: var(--space-3); }
.ph--logo { height: 64px; padding: var(--space-2); }
.ph--logo .ph__label { font-size: 10px; }

/* 08 · Processo */
.timeline-wrap { position: relative; padding-top: 40px; }
.timeline__cycle { position: absolute; top: 0; left: calc(300% / 7 + 5px); right: 0; height: 14px; border: 1px dashed var(--primary-border-40); border-bottom: none; border-radius: var(--radius-sm) var(--radius-sm) 0 0; }
.timeline__cycle span { position: absolute; left: 50%; top: -8px; transform: translateX(-50%); padding: 0 10px; background: var(--background); font: 600 10px/15px var(--font-sans); letter-spacing: 1px; text-transform: uppercase; color: var(--accent-text); white-space: nowrap; }
.timeline { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: var(--space-3); position: relative; }
.timeline::before { content: ""; position: absolute; top: 18px; left: 18px; right: 18px; height: 1px; background: var(--border-strong); }
.step { position: relative; display: flex; flex-direction: column; gap: var(--space-4); min-width: 0; }
.step__dot { position: relative; z-index: 1; flex: none; width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--border-strong); background: var(--background); display: grid; place-items: center; font: 800 12px/1 var(--font-display); color: var(--muted-foreground); font-variant-numeric: tabular-nums; }
.step--cycle .step__dot { border-color: var(--primary-border-40); color: var(--accent-text); background: #07101c; }
.step--last .step__dot { background: var(--primary); border-color: var(--primary); color: var(--primary-foreground); box-shadow: var(--glow-sm); }
.step__body { display: flex; flex-direction: column; gap: var(--space-2); }
.step h3 { font: 700 16px/22px var(--font-display); margin-top: 4px; }
.step p { font-size: 13px; line-height: 20px; color: var(--muted-foreground); }

/* 09 · Diferenciais */
.diff { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--space-4); }
.diff__item { display: flex; flex-direction: column; gap: var(--space-4); padding: 28px var(--space-6); }
.diff__item h3 { font: 800 15px/20px var(--font-display); letter-spacing: .08em; text-transform: uppercase; margin-top: var(--space-4); }
.diff__item p { font-size: 14px; line-height: 22px; color: var(--muted-foreground); }
.cycle-strip { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--space-3) var(--space-4); padding: var(--space-6) 0 0; border-top: 1px solid var(--border); font: 800 clamp(18px, 2.3vw, 32px)/1.2 var(--font-display); letter-spacing: -.01em; }
.cycle-strip i { font-style: normal; color: var(--accent-text); font-weight: 400; }

/* 10 · Investimento */
.plans { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--space-4); align-items: stretch; }
.plan, .media { position: relative; display: flex; flex-direction: column; gap: var(--space-4); padding: 28px; border-radius: var(--radius-xl); min-width: 0; }
.plan { background: var(--surface); border: 1px solid var(--border); }
.plan--featured { border-color: var(--primary-border-40); background-image: linear-gradient(to bottom right, var(--primary-tint-10), transparent); box-shadow: var(--glow-lg); }
.plan__badge { position: absolute; top: -10px; left: 28px; }
.plan__head { display: flex; flex-direction: column; gap: 2px; }
.plan__head h3, .media h3 { font: 700 18px/26px var(--font-display); }
.plan__kind { font-size: 12px; line-height: 16px; color: var(--muted-foreground); }
.price { font: 800 clamp(34px, 3.4vw, 44px)/1 var(--font-display); letter-spacing: -1.2px; font-variant-numeric: tabular-nums; white-space: nowrap; }
.price small { font: 400 14px var(--font-sans); letter-spacing: 0; color: var(--muted-foreground); }
.checks__plus .lc { color: var(--accent-text); }
.plan__note { font-size: 12px; line-height: 18px; color: var(--muted-foreground); margin-top: -6px; }
.sum { margin-top: auto; padding-top: var(--space-4); border-top: 1px dashed var(--border-strong); display: flex; flex-direction: column; gap: 6px; font-variant-numeric: tabular-nums; }
.sum > div { display: flex; justify-content: space-between; gap: var(--space-3); font-size: 13px; line-height: 20px; color: var(--muted-foreground); }
.sum dd { color: var(--foreground); white-space: nowrap; }
.sum .sum__total { margin-top: 4px; padding-top: var(--space-2); border-top: 1px solid var(--border); font: 800 16px/24px var(--font-display); color: var(--foreground); }
.sum .sum__total dd { color: var(--accent-text); font-size: 18px; }
.media { border: 1px dashed var(--border-strong); background: none; }
.media__alert { padding: 10px 14px; border-radius: var(--radius-lg); background: var(--deep); color: var(--deep-foreground); font-size: 13px; line-height: 20px; }
.media__text { font-size: 13px; line-height: 21px; color: var(--muted-foreground); }
.media__chip { margin-top: auto; }

/* 11 · Audiovisual */
.av { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: var(--space-16); align-items: center; }
.av__text { display: flex; flex-direction: column; gap: 28px; min-width: 0; }
.av__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-3); }
.av__item { display: flex; align-items: center; gap: var(--space-3); padding: 14px; border: 1px solid var(--border); border-radius: var(--radius-lg); background: var(--surface); font-size: 14px; line-height: 20px; font-weight: 600; min-width: 0; }
.hire { display: flex; flex-direction: column; border: 1px solid var(--border); border-radius: var(--radius-xl); overflow: hidden; }
.hire__row { display: flex; align-items: center; justify-content: space-between; gap: var(--space-4); padding: var(--space-4) var(--space-5); }
.hire__row + .hire__row { border-top: 1px solid var(--border); }
.hire__row--on { background: var(--primary-tint-05); }
.hire__row div { display: flex; flex-direction: column; gap: 2px; }
.hire__row b { font: 700 15px/22px var(--font-display); }
.hire__row div span { font-size: 13px; line-height: 20px; color: var(--muted-foreground); }
.hire__row .chip { align-self: center; }
.viewfinder { position: relative; aspect-ratio: 4 / 5; max-height: 560px; width: 100%; max-width: 100%; border-radius: var(--radius-xl); border: 1px dashed var(--primary-border-40); background: radial-gradient(ellipse at 50% 40%, var(--primary-tint-10), transparent 70%), var(--surface); display: grid; place-items: center; }
.vf__c { position: absolute; width: 36px; height: 36px; border-color: var(--foreground); border-style: solid; border-width: 0; }
.vf__c--tl { top: 20px; left: 20px; border-top-width: 2px; border-left-width: 2px; }
.vf__c--tr { top: 20px; right: 20px; border-top-width: 2px; border-right-width: 2px; }
.vf__c--bl { bottom: 20px; left: 20px; border-bottom-width: 2px; border-left-width: 2px; }
.vf__c--br { bottom: 20px; right: 20px; border-bottom-width: 2px; border-right-width: 2px; }
.vf__rec { position: absolute; top: 28px; left: 68px; display: flex; align-items: center; gap: 8px; font: 700 11px/16px var(--font-mono); letter-spacing: .1em; }
.vf__rec i { width: 8px; height: 8px; border-radius: 50%; background: var(--primary); box-shadow: 0 0 10px var(--primary); }
.slide.is-active .vf__rec i { animation: blink 1.6s steps(2, start) infinite; }
@keyframes blink { to { visibility: hidden; } }
.vf__tc { position: absolute; bottom: 28px; right: 68px; font: 600 11px/16px var(--font-mono); letter-spacing: .08em; color: var(--muted-foreground); font-variant-numeric: tabular-nums; }
.vf__center { display: flex; flex-direction: column; align-items: center; gap: var(--space-2); text-align: center; color: var(--accent-text); padding: var(--space-6); }
.vf__center .lc { width: 32px; height: 32px; }

/* 12 · O que esperar */
.expect { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--space-4); }
.expect__item { display: flex; flex-direction: column; gap: var(--space-3); }
.expect__item h3 { font: 700 16px/22px var(--font-display); margin-top: var(--space-2); }
.expect__item p { font-size: 14px; line-height: 22px; color: var(--muted-foreground); }

/* 13 · Próximos passos */
.steps7 { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: var(--space-3); }
.steps7 li { display: flex; flex-direction: column; gap: var(--space-2); padding-top: var(--space-4); border-top: 2px solid var(--border-strong); font: 600 14px/20px var(--font-sans); min-width: 0; }
.steps7 li:first-child { border-top-color: var(--primary); }
.steps7 li span { font: 800 22px/1 var(--font-display); color: var(--accent-text); font-variant-numeric: tabular-nums; }
.cta { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 420px); gap: var(--space-10); align-items: center; padding: var(--space-10); border-radius: var(--radius-xl); border: 1px solid var(--primary-border-40); background-image: linear-gradient(to bottom right, var(--primary-tint-10), transparent); box-shadow: var(--glow-lg); }
.cta__text { display: flex; flex-direction: column; gap: var(--space-4); align-items: flex-start; }
.cta__title { font: 800 clamp(40px, 5.4vw, 76px)/1 var(--font-display); letter-spacing: -.03em; }
.cta__logo { width: 104px; height: auto; margin-top: var(--space-2); }
.contact { list-style: none; padding: 0; display: flex; flex-direction: column; gap: var(--space-3); }
.contact li { display: flex; align-items: center; gap: 14px; padding: 14px var(--space-4); border: 1px solid var(--border); border-radius: var(--radius-lg); background: var(--background); min-width: 0; }
.contact li > span:last-child { display: flex; flex-direction: column; min-width: 0; }
.contact small { font: 600 10px/15px var(--font-sans); letter-spacing: 1px; text-transform: uppercase; color: var(--muted-foreground); }
.contact b { font: 700 15px/22px var(--font-display); overflow-wrap: anywhere; user-select: all; }

/* =========================================================
   Responsivo
   ========================================================= */
@media (max-height: 820px) and (min-width: 901px) {
  .slide__inner { gap: 28px; }
  .incl__card, .plan, .media { padding: 20px; gap: 14px; }
  .shot--main .ph--fill { min-height: 240px; }
  .cta { padding: 28px; }
}

@media (max-width: 1100px) {
  .incl, .diff { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .plans { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .media { grid-column: 1 / -1; }
  .index__list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .navbar__hint { display: none; }
  .steps7 { grid-template-columns: repeat(4, minmax(0, 1fr)); row-gap: var(--space-6); }
}

@media (max-width: 900px) {
  :root { --bar-top: 60px; --bar-bottom: 76px; }
  .slide__inner { gap: 28px; }
  .cycle, .topbar__client { display: none; }
  .cover { grid-template-columns: minmax(0, 1fr); }
  .cover__ring { max-width: 300px; width: 100%; justify-self: center; order: -1; }
  .cover__brand { margin-bottom: 0; }
  .problem, .crm-bottom, .proof, .av { grid-template-columns: minmax(0, 1fr); gap: var(--space-6); }

  .system { flex-direction: column; padding-bottom: 0; }
  .system__arrow { width: auto; height: 32px; transform: rotate(90deg); }
  .loop { display: none; }
  .loop-note { display: flex; }

  .flow-wrap { padding-bottom: 0; }
  .flow-wrap::before { top: 28px; bottom: 28px; left: 28px; right: auto; width: 1px; height: auto; }
  .flow__pulse { display: none; }
  .flow { grid-template-columns: minmax(0, 1fr); gap: var(--space-4); }
  .flow li { flex-direction: row; text-align: left; align-items: center; gap: var(--space-4); }

  .duo { grid-template-columns: minmax(0, 1fr); }
  .duo__sep { height: 48px; }
  .duo__sep::before { display: none; }
  .duo__sep span { transform: rotate(90deg); }

  .timeline-wrap { padding-top: 0; }
  .timeline__cycle { display: none; }
  .timeline { grid-template-columns: minmax(0, 1fr); gap: var(--space-5); }
  .timeline::before { top: 18px; bottom: 18px; left: 18px; right: auto; width: 1px; height: auto; }
  .step { flex-direction: row; gap: var(--space-4); }
  .step h3 { margin-top: 0; }

  .expect { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .logos { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .viewfinder { aspect-ratio: 4 / 3; }
  .cta { grid-template-columns: minmax(0, 1fr); padding: 28px; }
}

@media (max-width: 600px) {
  .incl, .diff, .plans, .expect, .index__list { grid-template-columns: minmax(0, 1fr); }
  .steps7 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .logos { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .av__grid { grid-template-columns: minmax(0, 1fr); }
  .nav-btn__label { display: none; }
  .nav-btn--primary { padding: 0 14px; }
  .callout { padding: 20px; }
  .quote { padding: 24px; }
  .cycle-strip { justify-content: flex-start; }
  .cover__meta > div { padding-right: var(--space-6); }
  .shot--main .ph--fill { min-height: 200px; }
  .hire__row { flex-wrap: wrap; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .flow__pulse { display: none; }
}

/* =========================================================
   Template: estados de carregamento e dados dinâmicos
   ========================================================= */
.state {
  position: fixed; inset: 0; z-index: 50;
  display: none; flex-direction: column; align-items: center; justify-content: center; gap: var(--space-4);
  padding: var(--space-6) var(--gutter); text-align: center;
  background: var(--background);
}
.is-loading .state, .state.is-on { display: flex; }
.is-loading .deck { visibility: hidden; }
.state img { width: 140px; height: auto; margin-bottom: var(--space-4); }
.state__spinner { width: 28px; height: 28px; border-radius: 50%; border: 2px solid var(--border); border-top-color: var(--primary); animation: spin .9s linear infinite; }
.state__title { font: 800 clamp(22px, 2.6vw, 32px)/1.2 var(--font-display); }
.state__text { font-size: 15px; line-height: 24px; color: var(--muted-foreground); max-width: 46ch; }
.state__text:empty { display: none; }

.mode-pill { font: 700 9px/13.5px var(--font-sans); letter-spacing: .08em; text-transform: uppercase; padding: 4px 10px; border-radius: var(--radius-full); border: 1px solid var(--primary-border-40); color: var(--accent-text); white-space: nowrap; }

.plans[data-count="2"] { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.plans[data-count="2"] .media { grid-column: auto; }
.plans__obs { font-size: 13px; line-height: 20px; color: var(--muted-foreground); padding-left: var(--space-3); border-left: 2px solid var(--primary-border-40); max-width: 80ch; }

.shot__media { flex: 1; margin: 12px; min-height: 140px; border-radius: var(--radius-lg); overflow: hidden; background: var(--background); display: grid; place-items: center; }
.shot--main .shot__media { min-height: 300px; }
.shot__media img { display: block; width: 100%; height: 100%; max-height: 420px; object-fit: contain; }
.proof--single { grid-template-columns: minmax(0, 1fr); }
.testimonial--real { border-style: solid; border-color: var(--primary-border-20); }
.testimonial--real p { font: 700 17px/26px var(--font-display); letter-spacing: 0; color: var(--foreground); }
.logo-cell { height: 64px; display: grid; place-items: center; padding: var(--space-3); border: 1px solid var(--border); border-radius: var(--radius-lg); background: var(--surface); }
.logo-cell img { max-width: 100%; max-height: 40px; object-fit: contain; filter: grayscale(1) brightness(1.6); opacity: .85; }

@media (max-width: 1100px) {
  .plans[data-count="2"] { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 600px) {
  .plans[data-count="2"] { grid-template-columns: minmax(0, 1fr); }
  .mode-pill { display: none; }
}
