/* ============================================================
   DIEGO BASÍLIO — MÍDIA KIT DECK (1920×1080)
   Navegação em tela + exportação PDF página a página.
   ============================================================ */

:root {
  --mk-black: #070707;
  --mk-graphite: #111111;
  --mk-burgundy: #240408;
  --mk-red: #e31b36;
  --mk-white: #f5f0e8;
  --mk-muted: rgba(245, 240, 232, 0.62);
  --mk-line: rgba(245, 240, 232, 0.12);
  --mk-display: 'Montserrat', sans-serif;
  --mk-sans: 'Space Grotesk', sans-serif;
  --mk-mono: 'Roboto Mono', monospace;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html, body {
  width: 100%;
  height: 100%;
  overflow: hidden;
  background: var(--mk-black);
  color: var(--mk-white);
  font-family: var(--mk-sans);
  font-weight: 300;
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
a { color: inherit; text-decoration: none; }

/* ── Chrome (fora do print) ─────────────────────────────── */
.mk-chrome {
  position: fixed;
  inset: 0;
  z-index: 100;
  pointer-events: none;
}
.mk-chrome > * { pointer-events: auto; }

.mk-topbar {
  position: absolute;
  top: 18px;
  left: 22px;
  right: 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.mk-brand {
  display: flex;
  align-items: baseline;
  gap: 10px;
  font-family: var(--mk-display);
  font-size: 13px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(245, 240, 232, 0.72);
}
.mk-brand strong { font-weight: 600; color: var(--mk-white); }
.mk-brand span { opacity: 0.45; font-weight: 300; }

.mk-actions { display: flex; gap: 8px; flex-wrap: wrap; }
.mk-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 40px;
  padding: 0 14px;
  border: 1px solid rgba(245, 240, 232, 0.22);
  background: rgba(7, 7, 7, 0.55);
  backdrop-filter: blur(12px);
  font-family: var(--mk-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(245, 240, 232, 0.82);
  transition: border-color 0.25s ease, color 0.25s ease, background 0.25s ease;
}
.mk-chip:hover {
  border-color: rgba(245, 240, 232, 0.55);
  color: var(--mk-white);
  background: rgba(7, 7, 7, 0.75);
}
.mk-chip--accent {
  border-color: rgba(227, 27, 54, 0.55);
  color: var(--mk-white);
  background: rgba(227, 27, 54, 0.18);
}
.mk-chip--accent:hover {
  background: rgba(227, 27, 54, 0.32);
  border-color: var(--mk-red);
}

.mk-nav {
  position: absolute;
  left: 22px;
  bottom: 18px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.mk-nav-btn {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(245, 240, 232, 0.22);
  background: rgba(7, 7, 7, 0.55);
  backdrop-filter: blur(12px);
  transition: opacity 0.2s ease, border-color 0.2s ease;
}
.mk-nav-btn:hover:not(:disabled) { border-color: rgba(245, 240, 232, 0.5); }
.mk-nav-btn:disabled { opacity: 0.3; cursor: not-allowed; }
.mk-progress {
  min-width: 72px;
  text-align: center;
  font-family: var(--mk-mono);
  font-size: 12px;
  letter-spacing: 0.12em;
  color: rgba(245, 240, 232, 0.65);
}

.mk-menu {
  position: absolute;
  top: 50%;
  right: 18px;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  gap: 6px;
  max-height: 70vh;
  overflow: auto;
  padding-right: 4px;
}
.mk-dot {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  color: rgba(245, 240, 232, 0.42);
  font-family: var(--mk-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  white-space: nowrap;
  transition: color 0.2s ease;
}
.mk-dot::after {
  content: '';
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: rgba(245, 240, 232, 0.35);
  transition: height 0.25s ease, background 0.25s ease, box-shadow 0.25s ease;
}
.mk-dot.is-active {
  color: var(--mk-white);
}
.mk-dot.is-active::after {
  height: 22px;
  background: var(--mk-red);
  box-shadow: 0 0 18px rgba(227, 27, 54, 0.55);
}
.mk-dot:hover { color: rgba(245, 240, 232, 0.85); }

/* ── Deck shell ─────────────────────────────────────────── */
@media screen {
  .deck-shell {
    position: absolute;
    top: 0;
    left: 0;
    width: 1920px;
    height: 1080px;
    transform-origin: top left;
    background: var(--mk-black);
    overflow: hidden;
  }
}

.mk-slide {
  position: absolute;
  inset: 0;
  width: 1920px;
  height: 1080px;
  display: none;
  overflow: hidden;
  background: var(--mk-black);
}
.mk-slide.is-active { display: grid; }

.mk-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.mk-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.mk-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to top, rgba(7, 7, 7, 0.92) 0%, rgba(7, 7, 7, 0.35) 42%, rgba(7, 7, 7, 0.45) 100%),
    linear-gradient(90deg, rgba(7, 7, 7, 0.55) 0%, transparent 48%);
}
.mk-bg--soft::after {
  background:
    linear-gradient(to top, rgba(7, 7, 7, 0.88) 0%, rgba(7, 7, 7, 0.55) 55%, rgba(7, 7, 7, 0.7) 100%);
}
.mk-grain {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  opacity: 0.28;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/%3E%3CfeColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.05 0'/%3E%3C/filter%3E%3Crect width='120' height='120' filter='url(%23n)'/%3E%3C/svg%3E");
}

.mk-inner {
  position: relative;
  z-index: 2;
  width: 100%;
  height: 100%;
  padding: 96px 120px 88px;
  display: grid;
  align-content: center;
}

.mk-eyebrow {
  font-family: var(--mk-mono);
  font-size: 18px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--mk-red);
  margin-bottom: 22px;
}
.mk-title {
  font-family: var(--mk-display);
  font-weight: 300;
  font-size: 92px;
  line-height: 0.95;
  letter-spacing: -0.03em;
  text-transform: uppercase;
  max-width: 14ch;
}
.mk-title em,
.mk-title .accent {
  font-style: normal;
  color: var(--mk-red);
  font-weight: 400;
}
.mk-title--md { font-size: 68px; max-width: 18ch; }
.mk-title--sm { font-size: 52px; max-width: 22ch; }
.mk-lead {
  margin-top: 28px;
  max-width: 34ch;
  font-size: 28px;
  line-height: 1.45;
  color: rgba(245, 240, 232, 0.82);
}
.mk-note {
  margin-top: 18px;
  font-family: var(--mk-mono);
  font-size: 16px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--mk-muted);
}

/* Layouts */
.mk-split {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 64px;
  align-items: center;
  height: 100%;
}
.mk-split--3 {
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  align-items: stretch;
}
.mk-stack { display: flex; flex-direction: column; gap: 18px; }

.mk-panel {
  border: 1px solid var(--mk-line);
  background: rgba(17, 17, 17, 0.55);
  padding: 36px 34px;
  min-height: 100%;
}
.mk-panel h3 {
  font-family: var(--mk-display);
  font-weight: 400;
  font-size: 28px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 14px;
}
.mk-panel p {
  color: rgba(245, 240, 232, 0.72);
  font-size: 22px;
  line-height: 1.5;
}

.mk-stat {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.mk-stat .valor {
  font-family: var(--mk-display);
  font-weight: 200;
  font-size: 96px;
  line-height: 0.9;
  letter-spacing: -0.04em;
}
.mk-stat .rotulo {
  font-family: var(--mk-mono);
  font-size: 16px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--mk-muted);
}
.mk-stat--red .valor { color: var(--mk-red); }

.mk-giant {
  font-family: var(--mk-display);
  font-weight: 200;
  font-size: 280px;
  line-height: 0.82;
  letter-spacing: -0.06em;
  text-transform: uppercase;
}
.mk-giant .unit {
  display: block;
  font-size: 72px;
  letter-spacing: 0.08em;
  color: var(--mk-red);
  font-weight: 400;
  margin-top: 12px;
}

.mk-list {
  display: flex;
  flex-direction: column;
  gap: 0;
  border-top: 1px solid var(--mk-line);
}
.mk-list li {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 18px;
  padding: 22px 0;
  border-bottom: 1px solid var(--mk-line);
  align-items: baseline;
}
.mk-list .num {
  font-family: var(--mk-mono);
  color: var(--mk-red);
  font-size: 18px;
  letter-spacing: 0.12em;
}
.mk-list strong {
  display: block;
  font-family: var(--mk-display);
  font-weight: 400;
  font-size: 28px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 6px;
}
.mk-list span {
  color: rgba(245, 240, 232, 0.68);
  font-size: 20px;
  line-height: 1.45;
}

.mk-cases {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
}
.mk-case {
  border: 1px solid var(--mk-line);
  padding: 28px 30px;
  background:
    linear-gradient(145deg, rgba(36, 4, 8, 0.45), transparent 55%),
    rgba(17, 17, 17, 0.5);
}
.mk-case .tipo {
  font-family: var(--mk-mono);
  font-size: 14px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--mk-red);
  margin-bottom: 18px;
}
.mk-case .views {
  font-family: var(--mk-display);
  font-weight: 300;
  font-size: 64px;
  letter-spacing: -0.03em;
  line-height: 1;
}
.mk-case .meta {
  margin-top: 14px;
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
  color: var(--mk-muted);
  font-family: var(--mk-mono);
  font-size: 15px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.mk-bars {
  display: flex;
  flex-direction: column;
  gap: 22px;
  margin-top: 36px;
}
.mk-bar {
  display: grid;
  grid-template-columns: 140px 1fr 80px;
  gap: 16px;
  align-items: center;
}
.mk-bar span {
  font-family: var(--mk-mono);
  font-size: 16px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--mk-muted);
}
.mk-bar .track {
  height: 10px;
  background: rgba(245, 240, 232, 0.1);
  overflow: hidden;
}
.mk-bar .fill {
  height: 100%;
  background: linear-gradient(90deg, var(--mk-red), #ff5a6e);
  width: var(--w, 50%);
}
.mk-bar strong {
  font-family: var(--mk-display);
  font-weight: 400;
  font-size: 28px;
  text-align: right;
}

.mk-quote {
  font-family: var(--mk-display);
  font-weight: 300;
  font-size: 56px;
  line-height: 1.15;
  letter-spacing: -0.02em;
  max-width: 18ch;
}
.mk-quote .accent { color: var(--mk-red); }

.mk-photo-frame {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 720px;
  overflow: hidden;
  border: 1px solid var(--mk-line);
}
.mk-photo-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.mk-photo-frame::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(7, 7, 7, 0.45), transparent 40%);
}

.mk-footer-line {
  position: absolute;
  left: 120px;
  right: 120px;
  bottom: 48px;
  z-index: 3;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--mk-mono);
  font-size: 14px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(245, 240, 232, 0.38);
}

.mk-wordmark {
  font-family: var(--mk-display);
  font-weight: 200;
  font-size: 160px;
  letter-spacing: -0.04em;
  line-height: 0.9;
  text-transform: uppercase;
}
.mk-wordmark b { font-weight: 500; }

.mk-cta-row {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
  margin-top: 40px;
}
.mk-cta {
  display: inline-flex;
  align-items: center;
  min-height: 56px;
  padding: 0 28px;
  font-family: var(--mk-mono);
  font-size: 16px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  border: 1px solid rgba(245, 240, 232, 0.35);
}
.mk-cta--fill {
  background: var(--mk-red);
  border-color: var(--mk-red);
  color: var(--mk-white);
}

.mk-orbit {
  position: absolute;
  right: 8%;
  top: 50%;
  transform: translateY(-50%);
  width: 520px;
  height: 520px;
  border-radius: 50%;
  border: 1px solid rgba(245, 240, 232, 0.12);
  display: grid;
  place-items: center;
  text-align: center;
}
.mk-orbit::before,
.mk-orbit::after {
  content: '';
  position: absolute;
  inset: 48px;
  border-radius: 50%;
  border: 1px dashed rgba(227, 27, 54, 0.35);
}
.mk-orbit::after { inset: 110px; border-style: solid; border-color: rgba(245, 240, 232, 0.08); }
.mk-orbit .valor {
  position: relative;
  z-index: 1;
  font-family: var(--mk-display);
  font-weight: 200;
  font-size: 140px;
  line-height: 0.9;
  letter-spacing: -0.05em;
}
.mk-orbit .rotulo {
  position: relative;
  z-index: 1;
  margin-top: 10px;
  font-family: var(--mk-mono);
  font-size: 18px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--mk-muted);
  max-width: 16ch;
}

/* ── Print / PDF ────────────────────────────────────────── */
@page {
  size: 1920px 1080px;
  margin: 0;
}

@media print {
  html, body {
    width: 1920px !important;
    height: auto !important;
    overflow: visible !important;
    background: #070707 !important;
    -webkit-print-color-adjust: exact !important;
    print-color-adjust: exact !important;
  }
  .mk-chrome { display: none !important; }
  .deck-shell {
    position: static !important;
    width: 1920px !important;
    height: auto !important;
    transform: none !important;
    overflow: visible !important;
  }
  .mk-slide {
    position: relative !important;
    display: grid !important;
    width: 1920px !important;
    height: 1080px !important;
    page-break-after: always !important;
    break-after: page !important;
    overflow: hidden !important;
  }
  .mk-slide:last-child {
    page-break-after: auto !important;
    break-after: auto !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; }
}
