:root {
  --bg: #0b0f1a;
  --paper: #121a2d;
  --ink: #ffffff;
  --muted: #adb8cf;
  --line: #23304e;
  --accent: #c4161c;
  --accent-2: #ffffff;
  --shadow: 0 22px 56px rgba(0, 0, 0, 0.35);
  --radius: 20px;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  width: 100%;
  height: 100%;
}

body {
  min-height: 100dvh;
  font-family: "Space Grotesk", "Segoe UI", Tahoma, sans-serif;
  color: var(--ink);
  background: radial-gradient(1200px 700px at -10% -30%, rgba(196, 22, 28, 0.24) 0%, transparent 58%),
    radial-gradient(950px 650px at 110% -10%, rgba(255, 255, 255, 0.09) 0%, transparent 62%),
    var(--bg);
  overflow: hidden;
}

.bg-shape {
  position: fixed;
  pointer-events: none;
  filter: blur(36px);
  opacity: 0.25;
  z-index: 0;
}

.shape-a {
  width: 320px;
  height: 320px;
  border-radius: 50%;
  background: #c4161c;
  top: 65%;
  left: -80px;
}

.shape-b {
  width: 380px;
  height: 260px;
  border-radius: 42% 58% 61% 39% / 38% 34% 66% 62%;
  background: #ffffff;
  top: -40px;
  right: -100px;
}

.topbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 20;
  padding: calc(18px + env(safe-area-inset-top)) 34px 14px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  font-size: 0.93rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
}

.brand-logo {
  width: 36px;
  height: 36px;
  object-fit: cover;
  border-radius: 10px;
  border: 1px solid var(--line);
}

.brand-copy {
  display: grid;
  line-height: 1.05;
}

.brand-title {
  font-weight: 700;
}

.brand-sub {
  font-size: 0.62rem;
  color: var(--muted);
}

.meta {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
}

.insta {
  color: var(--muted);
  text-decoration: none;
  font-weight: 500;
  margin-right: 10px;
}

.insta:hover {
  color: var(--ink);
}

.divider {
  color: var(--muted);
}

.progress {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  z-index: 30;
  background: rgba(255, 255, 255, 0.1);
}

.progress-bar {
  height: 100%;
  width: 10%;
  background: linear-gradient(90deg, var(--accent), #ee2a31);
  transition: width 420ms ease;
}

.deck {
  position: relative;
  width: 100%;
  height: 100dvh;
  z-index: 10;
}

.slide {
  position: absolute;
  inset: 0;
  padding: 112px clamp(18px, 8vw, 120px) calc(124px + env(safe-area-inset-bottom));
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: clamp(14px, 2.4vh, 24px);
  overflow-y: auto;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  transform: translateX(110%);
  opacity: 0;
  visibility: hidden;
  transition: transform 600ms cubic-bezier(0.22, 0.61, 0.36, 1), opacity 500ms ease;
}

.slide.is-active {
  transform: translateX(0);
  opacity: 1;
  visibility: visible;
}

.slide.is-prev {
  transform: translateX(-28%);
  opacity: 0;
  visibility: hidden;
}

.theme-dark {
  color: #f5f7f6;
}

.theme-dark::before {
  content: "";
  position: absolute;
  inset: 5vh 4vw;
  border-radius: 28px;
  background: linear-gradient(145deg, #141d32, #0b0f1a 58%, #1a2238);
  box-shadow: var(--shadow);
  z-index: -1;
}

.kicker {
  margin: 0;
  font-size: 0.84rem;
  font-weight: 700;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  color: var(--accent);
}

.theme-dark .kicker {
  color: #ff6b72;
}

.hero {
  margin: 0;
  font-family: "DM Serif Display", "Georgia", serif;
  font-size: clamp(2.3rem, 5.3vw, 4.8rem);
  line-height: 1.05;
  max-width: 14ch;
}

.hero em {
  font-style: italic;
  color: #ff7e84;
}

.theme-dark .hero em {
  color: #ff7e84;
}

.title {
  margin: 0;
  font-family: "DM Serif Display", "Georgia", serif;
  font-size: clamp(2rem, 4.4vw, 3.5rem);
  line-height: 1.08;
  max-width: 100%;
}

.lead {
  margin: 0;
  max-width: 62ch;
  color: var(--muted);
  font-size: clamp(0.98rem, 1.5vw, 1.1rem);
  line-height: 1.55;
}

.theme-dark .lead {
  color: #c8d2e6;
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.chips span {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 8px 14px;
  font-size: 0.86rem;
  letter-spacing: 0.03em;
  background: rgba(255, 255, 255, 0.04);
}

.slide:not(.theme-dark) .chips span {
  border-color: var(--line);
  background: rgba(255, 255, 255, 0.04);
}

.opening-slide .lead {
  max-width: 68ch;
}

.opening-slide .hero {
  max-width: 100%;
}

.slide[data-title="Encerramento"] .hero {
  max-width: 100%;
}

.opening-evolution {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.evolution-step {
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 12px;
  background: linear-gradient(165deg, rgba(196, 22, 28, 0.18), rgba(255, 255, 255, 0.03));
  box-shadow: var(--shadow);
  display: grid;
  gap: 8px;
  transition: transform 220ms ease, border-color 220ms ease, box-shadow 220ms ease,
    background 220ms ease;
}

.step-badge {
  display: inline-grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: rgba(196, 22, 28, 0.26);
  border: 1px solid rgba(196, 22, 28, 0.75);
  color: #ff9aa0;
  font-weight: 700;
  font-size: 0.8rem;
}

.evolution-step strong {
  display: block;
  margin-bottom: 4px;
  font-size: 0.96rem;
}

.evolution-step p {
  margin: 0;
  color: #cdd7ec;
  font-size: 0.88rem;
}

.opening-impact {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.impact-pill {
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 12px 14px;
  background: rgba(255, 255, 255, 0.03);
  display: grid;
  gap: 6px;
  transition: transform 220ms ease, border-color 220ms ease, box-shadow 220ms ease,
    background 220ms ease;
}

.impact-pill strong {
  color: #ff858b;
  font-size: 0.95rem;
}

.impact-pill span {
  color: #d1dbef;
  font-size: 0.88rem;
}

.grid-2,
.grid-3,
.value-grid {
  display: grid;
  gap: 16px;
}

.grid-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.grid-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.value-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.value-spotlight-slide .lead {
  max-width: 74ch;
}

.closing-trust-slide .lead {
  max-width: 74ch;
}

.partnership-slide .lead {
  max-width: 76ch;
}

.partnership-claim {
  margin: 0;
  border-left: 4px solid rgba(196, 22, 28, 0.78);
  padding: 10px 0 10px 14px;
  color: #dbe5f8;
  font-size: 1rem;
  max-width: 84ch;
}

.partnership-logos {
  display: flex;
  align-items: center;
  gap: 16px;
}

.partnership-logos img {
  height: 44px;
  width: auto;
  object-fit: contain;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.03);
  padding: 4px 10px;
}

.partnership-x {
  color: #ff9fa4;
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: 0.08em;
}

.closing-goal-kpis {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.closing-goal-card {
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 12px 13px;
  background: linear-gradient(165deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.02));
  box-shadow: var(--shadow);
  display: grid;
  gap: 7px;
  transition: transform 220ms ease, border-color 220ms ease, box-shadow 220ms ease,
    background 220ms ease;
}

.closing-goal-card span {
  color: #c7d3ea;
  font-size: 0.72rem;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  font-weight: 700;
}

.closing-goal-card strong {
  font-size: 1.02rem;
  line-height: 1.25;
}

.closing-goal-card.is-goal {
  border-color: rgba(196, 22, 28, 0.58);
  background: linear-gradient(165deg, rgba(196, 22, 28, 0.2), rgba(255, 255, 255, 0.03));
}

.closing-goal-card.is-goal span {
  color: #ffc2c6;
}

.closing-goal-card.is-actual {
  border-color: rgba(127, 145, 181, 0.62);
  background: linear-gradient(165deg, rgba(127, 145, 181, 0.24), rgba(255, 255, 255, 0.03));
}

.closing-goal-card.is-actual span {
  color: #c7d7f3;
}

.closing-goal-card.is-gap {
  border-color: rgba(209, 138, 56, 0.62);
  background: linear-gradient(165deg, rgba(209, 138, 56, 0.24), rgba(255, 255, 255, 0.03));
}

.closing-goal-card.is-gap span {
  color: #ffd7a4;
}

.closing-insight-board {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.insight-card {
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 12px 13px;
  background: linear-gradient(165deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.02));
  box-shadow: var(--shadow);
  display: grid;
  gap: 8px;
  transition: transform 220ms ease, border-color 220ms ease, box-shadow 220ms ease,
    background 220ms ease;
}

.insight-label {
  color: #aebad2;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 700;
}

.insight-value {
  color: #ffffff;
  font-size: 1.18rem;
  line-height: 1.2;
}

.insight-sub {
  color: #ff9ca1;
  font-size: 0.84rem;
  font-weight: 700;
}

.closing-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.indicators-slide .lead {
  max-width: 74ch;
}

.indicators-slide .metric-value {
  font-size: 1.06rem;
}

.expenses-slide .lead {
  max-width: 74ch;
}

.drf-slide .lead {
  max-width: 74ch;
}

.expense-kpis {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.expense-kpi-card {
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 12px 13px;
  background: linear-gradient(165deg, rgba(196, 22, 28, 0.14), rgba(255, 255, 255, 0.03));
  box-shadow: var(--shadow);
  display: grid;
  gap: 7px;
  transition: transform 220ms ease, border-color 220ms ease, box-shadow 220ms ease,
    background 220ms ease;
}

.expense-kpi-card span {
  color: #aebad2;
  font-size: 0.72rem;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  font-weight: 700;
}

.expense-kpi-card strong {
  font-size: 1.03rem;
  line-height: 1.25;
}

.expense-panels {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.expense-panels > .card {
  height: 100%;
}

.expense-row {
  display: grid;
  gap: 6px;
  margin-bottom: 10px;
}

.expense-row:last-child {
  margin-bottom: 0;
}

.expense-row span {
  color: var(--muted);
  font-size: 0.86rem;
}

.expense-track {
  width: 100%;
  height: 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.11);
  overflow: hidden;
}

.expense-track span {
  display: block;
  height: 100%;
  border-radius: 999px;
  background: linear-gradient(90deg, #ff7279, #c4161c);
  min-width: 4px;
}

.drf-kpis {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.drf-kpi-card {
  border: 1px solid rgba(127, 145, 181, 0.48);
  border-radius: 14px;
  padding: 12px 13px;
  background: linear-gradient(165deg, rgba(127, 145, 181, 0.24), rgba(255, 255, 255, 0.03));
  box-shadow: var(--shadow);
  display: grid;
  gap: 7px;
  transition: transform 220ms ease, border-color 220ms ease, box-shadow 220ms ease,
    background 220ms ease;
}

.drf-kpi-card span {
  color: #b9c8e3;
  font-size: 0.72rem;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  font-weight: 700;
}

.drf-kpi-card strong {
  font-size: 1.03rem;
  line-height: 1.25;
}

.drf-kpi-card em {
  font-style: normal;
  color: #d7e2f8;
  font-size: 0.8rem;
}

.drf-panels {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.drf-panels > .card {
  height: 100%;
}

.drf-month-card,
.drf-unit-card {
  display: grid;
  gap: 10px;
}

.drf-month-list,
.drf-unit-list {
  display: grid;
  gap: 8px;
}

.drf-month-row,
.drf-unit-item {
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.03);
  padding: 10px;
  display: grid;
  gap: 5px;
  transition: transform 220ms ease, border-color 220ms ease, box-shadow 220ms ease,
    background 220ms ease;
}

.drf-month-row span {
  color: var(--muted);
  font-size: 0.82rem;
}

.drf-month-row strong {
  font-size: 0.95rem;
}

.drf-month-row.is-positive {
  border-color: rgba(120, 202, 148, 0.52);
  background: linear-gradient(165deg, rgba(88, 170, 118, 0.2), rgba(255, 255, 255, 0.03));
}

.drf-month-row.is-negative {
  border-color: rgba(196, 22, 28, 0.62);
  background: linear-gradient(165deg, rgba(196, 22, 28, 0.22), rgba(255, 255, 255, 0.03));
}

.drf-unit-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 8px;
}

.drf-unit-head span {
  font-size: 0.9rem;
  font-weight: 700;
}

.drf-unit-head strong {
  font-size: 0.95rem;
}

.drf-unit-item small {
  color: var(--muted);
  font-size: 0.8rem;
}

.drf-unit-item.is-warning {
  border-color: rgba(196, 22, 28, 0.58);
  background: linear-gradient(165deg, rgba(196, 22, 28, 0.2), rgba(255, 255, 255, 0.03));
}

.breakeven-slide .lead,
.control-slide .lead {
  max-width: 74ch;
}

.be-kpis,
.control-kpis {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.be-kpi-card,
.control-kpi-card {
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 12px 13px;
  box-shadow: var(--shadow);
  display: grid;
  gap: 7px;
  transition: transform 220ms ease, border-color 220ms ease, box-shadow 220ms ease,
    background 220ms ease;
}

.be-kpi-card {
  border-color: rgba(96, 179, 132, 0.58);
  background: linear-gradient(165deg, rgba(88, 170, 118, 0.2), rgba(255, 255, 255, 0.03));
}

.control-kpi-card {
  border-color: rgba(127, 145, 181, 0.5);
  background: linear-gradient(165deg, rgba(127, 145, 181, 0.22), rgba(255, 255, 255, 0.03));
}

.be-kpi-card span,
.control-kpi-card span {
  color: #b8c8e4;
  font-size: 0.72rem;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  font-weight: 700;
}

.be-kpi-card strong,
.control-kpi-card strong {
  font-size: 1.02rem;
  line-height: 1.24;
}

.be-panels,
.control-panels {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.be-unit-list,
.control-file-list {
  display: grid;
  gap: 8px;
}

.be-unit-item,
.control-file-item {
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.03);
  padding: 10px;
  display: grid;
  gap: 6px;
  transition: transform 220ms ease, border-color 220ms ease, box-shadow 220ms ease,
    background 220ms ease;
}

.be-unit-item-lite {
  background: linear-gradient(165deg, rgba(127, 145, 181, 0.16), rgba(255, 255, 255, 0.03));
}

.be-unit-head,
.control-file-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px;
}

.be-unit-head span,
.control-file-head span {
  font-size: 0.9rem;
  font-weight: 700;
}

.be-unit-head strong,
.control-file-head strong {
  font-size: 0.88rem;
}

.be-progress,
.control-track {
  width: 100%;
  height: 9px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.11);
  overflow: hidden;
}

.be-progress span,
.control-track span {
  display: block;
  height: 100%;
  border-radius: 999px;
  min-width: 4px;
}

.be-progress span {
  background: linear-gradient(90deg, #67c08e, #3f8f66);
}

.control-track span {
  background: linear-gradient(90deg, #9aaed3, #6279a8);
}

.be-unit-item p,
.control-file-item small {
  margin: 0;
  color: var(--muted);
  font-size: 0.82rem;
}

.control-row {
  display: grid;
  gap: 6px;
  margin-bottom: 10px;
}

.control-row:last-child {
  margin-bottom: 0;
}

.control-row span {
  color: var(--muted);
  font-size: 0.86rem;
}

.expenses-direct-slide .expense-kpi-card {
  border-color: rgba(196, 22, 28, 0.46);
  background: linear-gradient(165deg, rgba(196, 22, 28, 0.2), rgba(255, 255, 255, 0.03));
}

.expenses-direct-slide .expense-unit-item.is-top {
  border-color: rgba(196, 22, 28, 0.65);
  background: linear-gradient(165deg, rgba(196, 22, 28, 0.2), rgba(255, 255, 255, 0.03));
}

.expenses-indirect-slide .expense-kpi-card {
  border-color: rgba(127, 145, 181, 0.52);
  background: linear-gradient(165deg, rgba(127, 145, 181, 0.24), rgba(255, 255, 255, 0.03));
}

.expenses-indirect-slide .expense-kpi-card span {
  color: #b8c7e2;
}

.expenses-indirect-slide .expense-track span {
  background: linear-gradient(90deg, #9aaed3, #6279a8);
}

.expenses-indirect-slide .expense-unit-item.is-top {
  border-color: rgba(127, 145, 181, 0.68);
  background: linear-gradient(165deg, rgba(127, 145, 181, 0.24), rgba(255, 255, 255, 0.03));
}

.expenses-indirect-slide .expense-unit-item.is-minor .expense-track span {
  background: linear-gradient(90deg, #c3cedf, #9aacc8);
}

.expenses-indirect-slide .expense-unit-share {
  color: #b7c7e7;
}

.expenses-indirect-slide .expense-unit-insight {
  border-left-color: rgba(127, 145, 181, 0.8);
  color: #dfe8fa;
}

.expense-unit-card {
  display: grid;
  grid-template-rows: auto 1fr auto;
  gap: 10px;
}

.expense-unit-list {
  display: grid;
  gap: 8px;
  align-content: start;
}

.expense-unit-item {
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.03);
  padding: 10px;
  display: grid;
  gap: 6px;
  transition: transform 220ms ease, border-color 220ms ease, box-shadow 220ms ease,
    background 220ms ease;
}

.expense-unit-item.is-top {
  border-color: rgba(196, 22, 28, 0.58);
  background: linear-gradient(165deg, rgba(196, 22, 28, 0.18), rgba(255, 255, 255, 0.03));
}

.expense-unit-item.is-minor .expense-track span {
  background: linear-gradient(90deg, #8da0c8, #7f91b5);
}

.expense-unit-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px;
}

.expense-unit-name {
  font-size: 0.9rem;
  font-weight: 700;
}

.expense-unit-share {
  font-size: 0.78rem;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: #ff9ca1;
  font-weight: 700;
}

.expense-track-unit {
  height: 9px;
}

.expense-unit-value {
  margin: 0;
  color: var(--muted);
  font-size: 0.84rem;
}

.expense-unit-insight {
  margin: 0;
  border-left: 3px solid rgba(196, 22, 28, 0.72);
  padding-left: 10px;
  color: #d8e2f6;
  font-size: 0.84rem;
  line-height: 1.4;
  align-self: end;
}

.unit-highlight-head {
  display: grid;
  gap: 4px;
}

.unit-highlight-head h3 {
  margin: 0;
  font-size: 1rem;
}

.unit-highlight-head p {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.unit-highlight-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.unit-card {
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 14px;
  background: linear-gradient(165deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.02));
  box-shadow: var(--shadow);
  display: grid;
  gap: 10px;
  transition: transform 220ms ease, border-color 220ms ease, box-shadow 220ms ease,
    background 220ms ease;
}

.unit-card-minor {
  background: linear-gradient(165deg, rgba(127, 145, 181, 0.16), rgba(255, 255, 255, 0.03));
}

.unit-top {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 8px;
}

.unit-top h4 {
  margin: 0;
  font-size: 1rem;
}

.unit-share {
  font-size: 0.78rem;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: #ff9fa4;
  font-weight: 700;
}

.unit-total {
  font-size: 1.12rem;
}

.unit-progress {
  width: 100%;
  height: 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  overflow: hidden;
}

.unit-progress span {
  display: block;
  height: 100%;
  border-radius: 999px;
  background: linear-gradient(90deg, #ff7279, #c4161c);
}

.unit-card-minor .unit-progress span {
  background: linear-gradient(90deg, #8da0c8, #7f91b5);
}

.unit-meta {
  display: grid;
  gap: 6px;
}

.unit-meta span {
  color: var(--muted);
  font-size: 0.85rem;
}

.unit-meta strong {
  color: #e9efff;
}

.mix-row {
  display: grid;
  gap: 6px;
  margin-bottom: 10px;
}

.mix-row:last-child {
  margin-bottom: 0;
}

.mix-label {
  color: var(--muted);
  font-size: 0.86rem;
  letter-spacing: 0.01em;
}

.mix-track {
  width: 100%;
  height: 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.1);
  overflow: hidden;
}

.mix-track-light {
  background: rgba(255, 255, 255, 0.04);
}

.mix-servicos,
.mix-produtos {
  display: block;
  height: 100%;
  border-radius: 999px;
}

.mix-servicos {
  background: linear-gradient(90deg, #ff7279, #c4161c);
}

.mix-produtos {
  background: linear-gradient(90deg, #7f91b5, #a7b7d8);
}

.indicators-slide .card ul strong {
  color: #eaf0ff;
}

.closing-trust-slide .grid-2 {
  align-items: stretch;
}

.closing-trust-slide .card {
  background: linear-gradient(165deg, rgba(196, 22, 28, 0.16), rgba(255, 255, 255, 0.03));
}

.closing-trust-slide .card h3 {
  margin-bottom: 10px;
}

.closing-trust-slide .card li {
  color: #d8e1f2;
}

.impact-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.impact-kpi {
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 12px 14px;
  background: linear-gradient(165deg, rgba(196, 22, 28, 0.18), rgba(255, 255, 255, 0.03));
  box-shadow: var(--shadow);
  display: grid;
  gap: 6px;
  transition: transform 220ms ease, border-color 220ms ease, box-shadow 220ms ease,
    background 220ms ease;
}

.impact-kpi span {
  color: #ffb8bc;
  font-size: 0.76rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 700;
}

.impact-kpi strong {
  font-size: 1.22rem;
}

.value-proof {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.proof-card {
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 16px;
  background: linear-gradient(165deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.02));
  box-shadow: var(--shadow);
  transition: transform 220ms ease, border-color 220ms ease, box-shadow 220ms ease,
    background 220ms ease;
}

.proof-card h3 {
  margin: 0 0 8px;
  font-size: 1.02rem;
}

.proof-card p {
  margin: 0;
  color: var(--muted);
}

.signature-claim {
  margin: 0;
  border-left: 4px solid var(--accent);
  padding: 10px 0 10px 14px;
  color: #dfe7f8;
  font-size: 1rem;
  max-width: 70ch;
}

.client-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.client-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 14px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.03);
  color: var(--ink);
  text-decoration: none;
  font-weight: 700;
  letter-spacing: 0.02em;
  transition: transform 180ms ease, border-color 180ms ease, color 180ms ease;
}

.client-links a:hover {
  transform: translateY(-1px);
  border-color: var(--accent);
  color: #ff7e84;
}

.compare-slide .lead {
  max-width: 74ch;
}

.compare-shell {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 12px;
  align-items: stretch;
}

.compare-card {
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 18px 18px 16px;
  box-shadow: var(--shadow);
  background: linear-gradient(165deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.02));
  transition: transform 220ms ease, border-color 220ms ease, box-shadow 220ms ease, background 220ms ease;
}

.compare-card h3 {
  margin: 10px 0 10px;
  font-size: 1.02rem;
}

.compare-card ul {
  margin: 0;
  padding-left: 16px;
  display: grid;
  gap: 8px;
}

.compare-card li {
  color: var(--muted);
}

.compare-tag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  border: 1px solid var(--line);
  padding: 6px 12px;
  font-size: 0.76rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 700;
}

.compare-before .compare-tag {
  color: #d2d8e8;
}

.compare-after {
  border-color: rgba(196, 22, 28, 0.55);
  background: linear-gradient(165deg, rgba(196, 22, 28, 0.2), rgba(255, 255, 255, 0.03));
}

.compare-after .compare-tag {
  color: #ff7e84;
  border-color: rgba(196, 22, 28, 0.7);
}

.compare-divider {
  width: 44px;
  border: 1px dashed rgba(196, 22, 28, 0.7);
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: rgba(196, 22, 28, 0.15);
}

.compare-divider span {
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 700;
  color: #ffb8bc;
}

.compare-gains {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.gain-item {
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.03);
  padding: 12px 14px;
  display: grid;
  gap: 6px;
  transition: transform 220ms ease, border-color 220ms ease, box-shadow 220ms ease, background 220ms ease;
}

.gain-item strong {
  color: #ff7e84;
}

.gain-item span {
  color: var(--muted);
  font-size: 0.9rem;
}

.governance-slide .lead {
  max-width: 70ch;
}

.governance-layout {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 14px;
}

.governance-flow,
.governance-assurance {
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 18px;
  background: linear-gradient(165deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.02));
  box-shadow: var(--shadow);
  transition: transform 220ms ease, border-color 220ms ease, box-shadow 220ms ease,
    background 220ms ease;
}

.governance-flow h3,
.governance-assurance h3 {
  margin: 0 0 12px;
  font-size: 1rem;
}

.gov-track {
  display: grid;
  gap: 8px;
}

.gov-node {
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 10px 12px;
  display: grid;
  gap: 3px;
  background: rgba(255, 255, 255, 0.03);
  transition: transform 220ms ease, border-color 220ms ease, box-shadow 220ms ease,
    background 220ms ease;
}

.gov-node strong {
  font-size: 0.95rem;
  color: #ffffff;
}

.gov-node span {
  color: var(--muted);
  font-size: 0.84rem;
}

.gov-arrow {
  justify-self: center;
  color: #ff7e84;
  font-weight: 700;
  font-size: 0.95rem;
}

.assurance-list {
  display: grid;
  gap: 10px;
}

.assurance-item {
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 10px 12px;
  background: rgba(255, 255, 255, 0.03);
  transition: transform 220ms ease, border-color 220ms ease, box-shadow 220ms ease,
    background 220ms ease;
}

.assurance-label {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border: 1px solid rgba(196, 22, 28, 0.65);
  color: #ff7e84;
  border-radius: 999px;
  padding: 4px 10px;
  margin-bottom: 7px;
  font-weight: 700;
}

.assurance-item p {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.governance-badges {
  margin-top: 12px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.governance-badges span {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 7px 11px;
  font-size: 0.76rem;
  font-weight: 700;
  color: #d9e1ef;
  background: rgba(255, 255, 255, 0.03);
}

.client-slide .lead {
  max-width: 72ch;
}

.client-layout {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: 16px;
}

.client-brand-panel,
.client-channel-panel {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(165deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.02));
  box-shadow: var(--shadow);
  padding: 20px 22px;
  transition: transform 220ms ease, border-color 220ms ease, box-shadow 220ms ease,
    background 220ms ease;
}

.client-brand-head {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 14px;
}

.client-brand-head img {
  width: 56px;
  height: 56px;
  object-fit: cover;
  border-radius: 14px;
  border: 1px solid var(--line);
}

.client-brand-head h3 {
  margin: 0;
  font-size: 1.04rem;
}

.client-brand-head p {
  margin: 4px 0 0;
  color: var(--muted);
}

.client-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.client-stat {
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 10px;
  background: rgba(255, 255, 255, 0.03);
  display: grid;
  gap: 3px;
  transition: transform 220ms ease, border-color 220ms ease, box-shadow 220ms ease,
    background 220ms ease;
}

.client-stat strong {
  font-size: 1.5rem;
  line-height: 1;
  color: #ff7e84;
}

.client-stat span {
  font-size: 0.78rem;
  color: var(--muted);
}

.client-note {
  margin: 14px 0 0;
  color: var(--muted);
}

.client-channel-panel h3 {
  margin: 0 0 10px;
  font-size: 0.92rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
}

.channel-title {
  margin-top: 16px !important;
}

.client-links-maps {
  display: grid;
  grid-template-columns: 1fr;
}

.client-links-maps a {
  justify-content: flex-start;
  text-align: left;
}

.card,
.metric,
.value-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px 22px;
  box-shadow: var(--shadow);
  transition: transform 220ms ease, border-color 220ms ease, box-shadow 220ms ease,
    background 220ms ease;
}

.card h3,
.value-card h3 {
  margin: 0 0 8px;
  font-size: 1.02rem;
}

.card p,
.value-card p,
.card li {
  margin: 0;
  color: var(--muted);
}

.card ul {
  margin: 0;
  padding-left: 16px;
  display: grid;
  gap: 8px;
}

.phase-steps {
  display: grid;
  gap: 9px;
  margin-top: 8px;
}

.phase-step {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 10px;
  align-items: start;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 9px 10px;
  background: rgba(255, 255, 255, 0.03);
  transition: transform 220ms ease, border-color 220ms ease, box-shadow 220ms ease,
    background 220ms ease;
}

.phase-code {
  display: inline-grid;
  place-items: center;
  min-width: 42px;
  height: 28px;
  border-radius: 8px;
  background: rgba(196, 22, 28, 0.22);
  border: 1px solid rgba(196, 22, 28, 0.65);
  color: #ff8e94;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.05em;
}

.phase-step p {
  margin: 0;
  color: var(--muted);
}

.flow {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.flow-step {
  padding: 14px 16px;
  border-radius: 16px;
  border: 1px solid var(--line);
  background: var(--paper);
  font-weight: 700;
  transition: transform 220ms ease, border-color 220ms ease, box-shadow 220ms ease,
    background 220ms ease;
}

.flow-arrow {
  color: var(--accent);
  font-weight: 700;
}

.architecture-slide .lead {
  max-width: 68ch;
}

.pipeline-track {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.pipeline-node {
  border: 1px solid var(--line);
  border-radius: 16px;
  background: linear-gradient(165deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.02));
  padding: 14px;
  box-shadow: var(--shadow);
  position: relative;
  transition: transform 220ms ease, border-color 220ms ease, box-shadow 220ms ease,
    background 220ms ease;
}

.pipeline-node h3 {
  margin: 0 0 6px;
  font-size: 1rem;
}

.pipeline-node p {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.node-number {
  display: inline-grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 10px;
  font-weight: 700;
  color: #fff;
  background: var(--accent);
  margin-bottom: 10px;
}

.pipeline-summary {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.summary-item {
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.03);
  padding: 12px 14px;
  display: grid;
  gap: 6px;
  transition: transform 220ms ease, border-color 220ms ease, box-shadow 220ms ease,
    background 220ms ease;
}

.summary-item span {
  font-size: 0.76rem;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 700;
}

.summary-item strong {
  font-size: 0.95rem;
}

.footnote {
  margin: 0;
  color: var(--muted);
}

.timeline {
  display: grid;
  gap: 14px;
}

.timeline-item {
  display: grid;
  grid-template-columns: 58px 1fr;
  gap: 14px;
  align-items: start;
  padding: 14px;
  border-radius: 18px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.03);
  transition: transform 220ms ease, border-color 220ms ease, box-shadow 220ms ease,
    background 220ms ease;
}

/* Hover visual consistente para cards e painéis */
.card:hover,
.metric:hover,
.value-card:hover,
.flow-step:hover,
.pipeline-node:hover,
.summary-item:hover,
.timeline-item:hover,
.closing-goal-card:hover,
.insight-card:hover,
.expense-kpi-card:hover,
.drf-kpi-card:hover,
.be-kpi-card:hover,
.control-kpi-card:hover,
.unit-card:hover,
.expense-unit-item:hover,
.drf-month-row:hover,
.drf-unit-item:hover,
.be-unit-item:hover,
.control-file-item:hover,
.client-brand-panel:hover,
.client-channel-panel:hover,
.client-stat:hover,
.compare-card:hover,
.gain-item:hover,
.evolution-step:hover,
.impact-pill:hover,
.impact-kpi:hover,
.proof-card:hover,
.phase-step:hover,
.governance-flow:hover,
.governance-assurance:hover,
.gov-node:hover,
.assurance-item:hover {
  transform: translateY(-4px);
  border-color: rgba(196, 22, 28, 0.8);
  box-shadow: 0 26px 56px rgba(0, 0, 0, 0.45);
  background: linear-gradient(165deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.03));
}

.closing-goal-card.is-goal:hover {
  border-color: rgba(196, 22, 28, 0.8);
  background: linear-gradient(165deg, rgba(196, 22, 28, 0.24), rgba(255, 255, 255, 0.04));
}

.closing-goal-card.is-actual:hover {
  border-color: rgba(127, 145, 181, 0.82);
  background: linear-gradient(165deg, rgba(127, 145, 181, 0.3), rgba(255, 255, 255, 0.04));
}

.closing-goal-card.is-gap:hover {
  border-color: rgba(209, 138, 56, 0.84);
  background: linear-gradient(165deg, rgba(209, 138, 56, 0.3), rgba(255, 255, 255, 0.04));
}

.idx {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  background: var(--accent);
  color: #fff;
  display: grid;
  place-items: center;
  font-weight: 700;
}

.timeline-item p {
  margin: 6px 0 0;
  color: var(--muted);
}

.metric {
  display: grid;
  gap: 8px;
}

.metric-label {
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

.metric-value {
  font-weight: 700;
  font-size: 1.15rem;
}

.table-shell {
  width: min(900px, 100%);
  border: 1px solid var(--line);
  border-radius: 18px;
  overflow: hidden;
  box-shadow: var(--shadow);
  background: var(--paper);
}

.row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  padding: 14px 16px;
  border-bottom: 1px solid var(--line);
  align-items: start;
}

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

.row.head {
  background: #c4161c;
  color: #ffffff;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.controls {
  position: fixed;
  z-index: 25;
  left: 28px;
  right: 28px;
  bottom: calc(16px + env(safe-area-inset-bottom));
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.credit-layout {
  width: 100%;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(230px, 0.85fr);
  align-items: center;
  gap: clamp(18px, 3vw, 36px);
}

.credit-copy {
  display: grid;
  gap: 14px;
  align-content: center;
}

.credit-copy .hero {
  max-width: 100%;
}

.credit-copy .lead {
  max-width: 62ch;
}

.credit-brand {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  min-height: 210px;
  flex-direction: column;
}

.credit-logo {
  width: clamp(180px, 25vw, 320px);
  height: auto;
  display: block;
  filter: drop-shadow(0 14px 28px rgba(0, 0, 0, 0.34));
}

.owners {
  display: grid;
  gap: 6px;
  margin-top: 4px;
}

.owners-label {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
  font-weight: 700;
}

.owners a {
  color: #ffffff;
  text-decoration: none;
  font-weight: 500;
  width: fit-content;
  border-bottom: 1px solid rgba(255, 255, 255, 0.28);
  transition: color 180ms ease, border-color 180ms ease;
}

.owners a:hover {
  color: #ff7e84;
  border-bottom-color: #ff7e84;
}

button {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.04);
  color: var(--ink);
  border-radius: 999px;
  padding: 10px 16px;
  font-family: inherit;
  font-weight: 700;
  cursor: pointer;
  transition: transform 180ms ease, background 180ms ease;
}

button:hover {
  transform: translateY(-1px);
  background: rgba(255, 255, 255, 0.1);
}

.dots {
  display: flex;
  gap: 6px;
  align-items: center;
}

.dot {
  width: 9px;
  height: 9px;
  border-radius: 999px;
  border: 0;
  background: #6f7a91;
  opacity: 0.7;
  transition: transform 260ms ease, background 260ms ease, opacity 260ms ease;
}

.dot.is-active {
  transform: scale(1.45);
  background: var(--accent);
  opacity: 1;
}

.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 520ms ease, transform 580ms ease;
}

.slide.is-active .reveal {
  opacity: 1;
  transform: translateY(0);
}

.delay-1 {
  transition-delay: 90ms;
}

.delay-2 {
  transition-delay: 170ms;
}

.delay-3 {
  transition-delay: 250ms;
}

.delay-4 {
  transition-delay: 330ms;
}

.delay-5 {
  transition-delay: 410ms;
}

@media (max-width: 980px) {
  .topbar {
    padding: calc(14px + env(safe-area-inset-top)) 18px 10px;
    font-size: 0.79rem;
    letter-spacing: 0.04em;
  }

  .brand-title {
    font-size: 0.86rem;
  }

  .brand-sub {
    font-size: 0.58rem;
  }

  .meta {
    gap: 6px;
    font-size: 0.8rem;
  }

  .slide {
    padding: 92px 18px calc(118px + env(safe-area-inset-bottom));
  }

  .theme-dark::before {
    inset: 14px 10px 16px;
    border-radius: 20px;
  }

  .title {
    max-width: 100%;
  }

  .closing-goal-kpis,
  .closing-insight-board {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .closing-split {
    grid-template-columns: 1fr;
  }

  .expense-kpis {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .drf-kpis {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .be-kpis,
  .control-kpis {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .expense-panels {
    grid-template-columns: 1fr;
  }

  .drf-panels {
    grid-template-columns: 1fr;
  }

  .be-panels,
  .control-panels {
    grid-template-columns: 1fr;
  }

  .unit-highlight-grid {
    grid-template-columns: 1fr;
  }

  .credit-layout {
    grid-template-columns: minmax(0, 1fr) minmax(180px, 0.65fr);
    align-items: start;
  }

  .credit-brand {
    min-height: 0;
    padding-top: 8px;
  }

  .credit-logo {
    width: clamp(140px, 22vw, 230px);
  }

  .grid-2,
  .grid-3,
  .value-grid {
    grid-template-columns: 1fr;
  }

  .opening-evolution {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .opening-impact {
    grid-template-columns: 1fr;
  }

  .flow {
    flex-direction: column;
    align-items: flex-start;
  }

  .pipeline-track {
    grid-template-columns: 1fr;
  }

  .pipeline-summary {
    grid-template-columns: 1fr;
  }

  .controls {
    left: 14px;
    right: 14px;
    bottom: calc(10px + env(safe-area-inset-bottom));
  }

  .insta {
    display: none;
  }

  .client-layout {
    grid-template-columns: 1fr;
  }

  .client-stats {
    grid-template-columns: 1fr 1fr;
  }

  .compare-shell {
    grid-template-columns: 1fr;
  }

  .compare-divider {
    width: 100%;
    height: 36px;
    border-style: solid;
  }

  .compare-divider span {
    writing-mode: horizontal-tb;
    transform: none;
  }

  .compare-gains {
    grid-template-columns: 1fr;
  }

  .governance-layout {
    grid-template-columns: 1fr;
  }

  .impact-strip,
  .value-proof {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .topbar {
    align-items: flex-start;
  }

  .brand-logo {
    width: 32px;
    height: 32px;
    border-radius: 9px;
  }

  .brand-sub {
    display: none;
  }

  .slide {
    justify-content: flex-start;
  }

  .hero,
  .title {
    max-width: 100%;
  }

  .credit-layout {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .credit-brand {
    justify-content: flex-start;
    padding-top: 0;
  }

  .credit-logo {
    width: clamp(130px, 36vw, 190px);
  }

  .kicker {
    font-size: 0.72rem;
  }

  .lead {
    font-size: 0.96rem;
    line-height: 1.5;
  }

  .partnership-claim {
    font-size: 0.9rem;
  }

  .partnership-logos {
    gap: 10px;
  }

  .partnership-logos img {
    height: 38px;
    padding: 4px 8px;
  }

  .closing-goal-kpis,
  .closing-insight-board {
    grid-template-columns: 1fr;
  }

  .expense-kpis {
    grid-template-columns: 1fr;
  }

  .drf-kpis {
    grid-template-columns: 1fr;
  }

  .be-kpis,
  .control-kpis {
    grid-template-columns: 1fr;
  }

  .expense-kpi-card strong {
    font-size: 0.98rem;
  }

  .drf-kpi-card strong {
    font-size: 0.98rem;
  }

  .be-kpi-card strong,
  .control-kpi-card strong {
    font-size: 0.98rem;
  }

  .drf-month-row strong,
  .drf-unit-head strong {
    font-size: 0.9rem;
  }

  .drf-month-row span,
  .drf-unit-item small {
    font-size: 0.78rem;
  }

  .be-unit-head span,
  .control-file-head span {
    font-size: 0.84rem;
  }

  .be-unit-head strong,
  .control-file-head strong {
    font-size: 0.8rem;
  }

  .be-unit-item p,
  .control-file-item small,
  .control-row span {
    font-size: 0.78rem;
  }

  .expense-row span {
    font-size: 0.82rem;
  }

  .insight-value {
    font-size: 1.08rem;
  }

  .closing-goal-card strong {
    font-size: 0.98rem;
  }

  .card,
  .metric,
  .value-card,
  .unit-card,
  .client-brand-panel,
  .client-channel-panel,
  .governance-flow,
  .governance-assurance,
  .compare-card,
  .evolution-step,
  .impact-pill {
    padding: 14px;
    border-radius: 14px;
  }

  .client-stats {
    grid-template-columns: 1fr;
  }

  .client-brand-head {
    gap: 10px;
  }

  .client-brand-head img {
    width: 44px;
    height: 44px;
  }

  .compare-card ul,
  .card ul {
    gap: 6px;
    padding-left: 14px;
  }

  .timeline-item {
    grid-template-columns: 46px 1fr;
    gap: 10px;
    padding: 12px;
  }

  .opening-evolution {
    grid-template-columns: 1fr;
  }

  .idx {
    width: 38px;
    height: 38px;
    border-radius: 11px;
    font-size: 0.86rem;
  }

  .table-shell {
    border-radius: 14px;
  }

  .row {
    grid-template-columns: 1fr;
    gap: 5px;
    padding: 12px;
  }

  .row.head {
    display: none;
  }

  .row span:first-child {
    color: #ff9ca1;
    font-weight: 700;
  }

  .controls {
    padding: 8px 10px;
    border: 1px solid rgba(35, 48, 78, 0.9);
    border-radius: 999px;
    background: rgba(11, 15, 26, 0.72);
    backdrop-filter: blur(8px);
  }

  .dots {
    gap: 4px;
  }
}

@media (max-width: 560px) {
  .topbar {
    padding: calc(10px + env(safe-area-inset-top)) 12px 8px;
    gap: 10px;
  }

  .brand-title {
    font-size: 0.78rem;
  }

  .meta {
    font-size: 0.72rem;
    gap: 4px;
  }

  .slide {
    padding: 80px 12px calc(104px + env(safe-area-inset-bottom));
    gap: 12px;
  }

  .hero {
    font-size: clamp(1.8rem, 8.8vw, 2.4rem);
  }

  .title {
    font-size: clamp(1.55rem, 7.4vw, 2rem);
  }

  .insight-label {
    font-size: 0.67rem;
  }

  .insight-value {
    font-size: 1rem;
  }

  .insight-sub {
    font-size: 0.76rem;
  }

  .closing-split {
    gap: 10px;
  }

  .expense-kpi-card {
    padding: 11px;
  }

  .drf-kpi-card {
    padding: 11px;
  }

  .closing-goal-card {
    padding: 11px;
  }

  .be-kpi-card,
  .control-kpi-card {
    padding: 11px;
  }

  .expense-kpi-card span {
    font-size: 0.66rem;
  }

  .drf-kpi-card span {
    font-size: 0.66rem;
  }

  .closing-goal-card span {
    font-size: 0.66rem;
  }

  .be-kpi-card span,
  .control-kpi-card span {
    font-size: 0.66rem;
  }

  .expense-kpi-card strong {
    font-size: 0.92rem;
  }

  .drf-kpi-card strong {
    font-size: 0.92rem;
  }

  .closing-goal-card strong {
    font-size: 0.92rem;
  }

  .be-kpi-card strong,
  .control-kpi-card strong {
    font-size: 0.92rem;
  }

  .drf-kpi-card em {
    font-size: 0.74rem;
  }

  .expense-row span {
    font-size: 0.78rem;
  }

  .drf-unit-head span {
    font-size: 0.84rem;
  }

  .drf-month-row strong,
  .drf-unit-head strong {
    font-size: 0.84rem;
  }

  .drf-month-row span,
  .drf-unit-item small {
    font-size: 0.72rem;
  }

  .partnership-claim {
    font-size: 0.8rem;
  }

  .partnership-logos {
    gap: 8px;
    flex-wrap: wrap;
  }

  .partnership-logos img {
    height: 34px;
    padding: 3px 7px;
  }

  .partnership-x {
    font-size: 0.84rem;
  }

  .be-unit-head span,
  .control-file-head span {
    font-size: 0.8rem;
  }

  .be-unit-head strong,
  .control-file-head strong {
    font-size: 0.76rem;
  }

  .be-unit-item p,
  .control-file-item small,
  .control-row span {
    font-size: 0.72rem;
  }

  .expense-unit-name {
    font-size: 0.84rem;
  }

  .expense-unit-share {
    font-size: 0.72rem;
  }

  .expense-unit-value,
  .expense-unit-insight {
    font-size: 0.76rem;
  }

  .unit-top h4 {
    font-size: 0.94rem;
  }

  .unit-total {
    font-size: 1rem;
  }

  .unit-meta span {
    font-size: 0.8rem;
  }

  .credit-brand {
    justify-content: flex-start;
  }

  .chips span {
    padding: 7px 10px;
    font-size: 0.75rem;
  }

  .phase-step {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .phase-code {
    min-width: 0;
    width: fit-content;
    height: 24px;
    padding: 0 8px;
  }

  .client-links a {
    width: 100%;
    justify-content: flex-start;
    text-align: left;
  }

  .compare-divider {
    height: 30px;
  }

  .summary-item strong,
  .pipeline-node p,
  .assurance-item p {
    font-size: 0.86rem;
  }

  .controls {
    left: 10px;
    right: 10px;
    padding: 6px 8px;
    gap: 6px;
  }

  button {
    width: 38px;
    height: 38px;
    padding: 0;
    font-size: 0;
    display: grid;
    place-items: center;
  }

  #prevBtn::before,
  #nextBtn::before {
    font-size: 1.25rem;
    line-height: 1;
  }

  #prevBtn::before {
    content: "‹";
  }

  #nextBtn::before {
    content: "›";
  }

  .dots {
    flex: 1;
    justify-content: center;
    overflow-x: auto;
    padding: 0 4px;
    scrollbar-width: none;
  }

  .dots::-webkit-scrollbar {
    display: none;
  }

  .dot {
    width: 8px;
    height: 8px;
    flex: 0 0 auto;
  }

}

@media print {
  @page {
    size: A4 landscape;
    margin: 10mm;
  }

  body {
    overflow: visible !important;
    background: #ffffff !important;
    color: #111111 !important;
  }

  .topbar,
  .progress,
  .controls,
  .bg-shape {
    display: none !important;
  }

  .deck {
    height: auto !important;
  }

  .slide {
    position: relative !important;
    inset: auto !important;
    transform: none !important;
    opacity: 1 !important;
    visibility: visible !important;
    padding: 14mm 12mm !important;
    min-height: 180mm !important;
    overflow: visible !important;
    page-break-after: always;
    break-after: page;
    color: #111111 !important;
    background: #ffffff !important;
  }

  .slide:last-child {
    page-break-after: auto;
    break-after: auto;
  }

  .slide.theme-dark,
  .slide.theme-dark * {
    color: #111111 !important;
  }

  .theme-dark::before {
    display: none !important;
  }

  .reveal,
  .slide.is-active .reveal {
    opacity: 1 !important;
    transform: none !important;
  }

  .card,
  .metric,
  .value-card,
  .pipeline-node,
  .summary-item,
  .timeline-item,
  .client-brand-panel,
  .client-channel-panel,
  .client-stat,
  .compare-card,
  .gain-item,
  .impact-kpi,
  .proof-card,
  .phase-step,
  .governance-flow,
  .governance-assurance,
  .gov-node,
  .assurance-item,
  .expense-kpi-card,
  .drf-kpi-card,
  .be-kpi-card,
  .control-kpi-card,
  .expense-unit-item,
  .drf-month-row,
  .drf-unit-item,
  .be-unit-item,
  .control-file-item,
  .closing-goal-card {
    border-color: #d0d0d0 !important;
    box-shadow: none !important;
    background: #ffffff !important;
  }

  a {
    color: #111111 !important;
    text-decoration: none !important;
  }
}

@media (pointer: coarse) {
  .card:hover,
  .metric:hover,
  .value-card:hover,
  .flow-step:hover,
  .pipeline-node:hover,
  .summary-item:hover,
  .timeline-item:hover,
  .closing-goal-card:hover,
  .insight-card:hover,
  .expense-kpi-card:hover,
  .drf-kpi-card:hover,
  .be-kpi-card:hover,
  .control-kpi-card:hover,
  .unit-card:hover,
  .expense-unit-item:hover,
  .drf-month-row:hover,
  .drf-unit-item:hover,
  .be-unit-item:hover,
  .control-file-item:hover,
  .client-brand-panel:hover,
  .client-channel-panel:hover,
  .client-stat:hover,
  .compare-card:hover,
  .gain-item:hover,
  .evolution-step:hover,
  .impact-pill:hover,
  .impact-kpi:hover,
  .proof-card:hover,
  .phase-step:hover,
  .governance-flow:hover,
  .governance-assurance:hover,
  .gov-node:hover,
  .assurance-item:hover {
    transform: none;
  }
}
