/* =========================================================
   Sólida Agroconsultoria — Diagnóstico SEO + GMB
   Apresentação · slides laterais
   ========================================================= */

:root {
  /* Brand */
  --green-900: #0f2e18;
  --green-850: #163a20;
  --green-800: #1f4d2b;
  --green-700: #2d6b3a;
  --green-600: #3a8a3e;
  --green-500: #4ea854;
  --green-200: #c8e0c8;
  --green-100: #e8f0e8;
  --green-50: #f1f7f1;

  --gold-700: #a8884f;
  --gold-600: #c9a96a;
  --gold-500: #d6b97f;
  --gold-300: #ead2a3;
  --gold-100: #f5edd9;

  /* Neutrals */
  --bg: #f7f5f0;
  --surface: #ffffff;
  --surface-2: #fafaf7;
  --ink-900: #14201a;
  --ink-800: #1f2a24;
  --ink-700: #374151;
  --ink-600: #4b5563;
  --ink-500: #6b7280;
  --ink-400: #9ca3af;
  --ink-300: #d1d5db;
  --line: #e5e7eb;
  --line-strong: #d4d8d2;

  /* Status */
  --success: #16a34a;
  --success-bg: #dcfce7;
  --warning: #d97706;
  --warning-bg: #fef3c7;
  --danger: #dc2626;
  --danger-bg: #fee2e2;
  --info: #2563eb;
  --info-bg: #dbeafe;

  /* Misc */
  --radius-sm: 8px;
  --radius: 14px;
  --radius-lg: 20px;
  --shadow-xs: 0 1px 2px rgba(15, 46, 24, 0.04);
  --shadow-sm: 0 2px 6px rgba(15, 46, 24, 0.06);
  --shadow-md: 0 8px 24px rgba(15, 46, 24, 0.08);
  --shadow-lg: 0 20px 48px rgba(15, 46, 24, 0.12);
  --duration: 280ms;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);

  --topbar-h: 64px;
  --bottombar-h: 64px;
}

/* =========================================================
   Reset
   ========================================================= */

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

html, body {
  margin: 0;
  padding: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 16px;
  line-height: 1.55;
  color: var(--ink-800);
  background: var(--bg);
  font-feature-settings: 'cv02', 'cv03', 'cv04', 'cv11';
}

img { max-width: 100%; display: block; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }

a {
  color: var(--green-700);
  text-decoration: none;
  transition: color var(--duration) var(--ease);
}
a:hover { color: var(--green-800); }

/* =========================================================
   Typography
   ========================================================= */

h1, h2, h3, h4, h5 {
  font-family: 'Manrope', 'Inter', sans-serif;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--ink-900);
  margin: 0 0 0.5em;
  line-height: 1.18;
}
h1 { font-size: clamp(2rem, 1.4rem + 1.6vw, 2.8rem); letter-spacing: -0.03em; }
h2 { font-size: clamp(1.5rem, 1.1rem + 1vw, 2rem); }
h3 { font-size: 1.2rem; }
h4 { font-size: 1rem; }
p { margin: 0 0 0.8em; }

.eyebrow {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--green-700);
  display: inline-block;
}

.lead { font-size: 1.04rem; color: var(--ink-700); max-width: 70ch; }

/* =========================================================
   App shell — top bar / deck / bottom bar
   ========================================================= */

.app {
  display: grid;
  grid-template-rows: var(--topbar-h) 1fr var(--bottombar-h);
  height: 100vh;
  position: relative;
}

/* TOP BAR */
.topbar {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 18px;
  padding: 0 24px;
  background: linear-gradient(180deg, var(--green-900) 0%, var(--green-850) 100%);
  color: white;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  z-index: 30;
}

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

.brand__logo {
  height: 36px;
  width: auto;
  max-width: 140px;
  object-fit: contain;
}

.brand__divider {
  width: 1px;
  height: 28px;
  background: rgba(255, 255, 255, 0.18);
}

.brand__doc {
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.3;
}
.brand__doc strong {
  color: white;
  display: block;
  font-weight: 600;
  font-size: 0.92rem;
}

.topbar__center {
  text-align: center;
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.6);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.topbar__center span { color: var(--gold-300); }

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

.btn-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.06);
  color: rgba(255, 255, 255, 0.85);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all var(--duration) var(--ease);
}
.btn-icon:hover {
  background: var(--gold-600);
  color: var(--green-900);
}
.btn-icon svg { width: 16px; height: 16px; }

.counter {
  font-family: 'Manrope', sans-serif;
  font-variant-numeric: tabular-nums;
  font-weight: 700;
  font-size: 0.92rem;
  color: white;
  padding: 6px 12px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
  letter-spacing: 0.04em;
}
.counter span { color: var(--gold-300); }

/* DECK */
.deck {
  display: flex;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
  position: relative;
}
.deck::-webkit-scrollbar { display: none; }

.slide {
  flex-shrink: 0;
  width: 100%;
  height: 100%;
  scroll-snap-align: start;
  scroll-snap-stop: always;
  overflow-y: auto;
  padding: clamp(28px, 4vw, 56px) clamp(28px, 6vw, 96px);
  position: relative;
  display: flex;
  flex-direction: column;
}

.slide__inner {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  flex: 1;
  display: flex;
  flex-direction: column;
}

/* Slide header */
.slide__head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 22px;
  padding-bottom: 16px;
  border-bottom: 2px solid var(--line);
}
.slide__num {
  font-family: 'Manrope', sans-serif;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--gold-700);
  text-transform: uppercase;
}
.slide__title {
  margin: 4px 0 0;
}
.slide__sub {
  color: var(--ink-600);
  margin: 6px 0 0;
  max-width: 80ch;
  font-size: 0.96rem;
}
.slide__badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 11px;
  border-radius: 999px;
  background: var(--green-50);
  color: var(--green-800);
  font-size: 0.74rem;
  font-weight: 600;
  border: 1px solid var(--green-200);
  white-space: nowrap;
}
.slide__badge--warn { background: var(--warning-bg); color: var(--warning); border-color: #fde68a; }
.slide__badge--bad  { background: var(--danger-bg); color: var(--danger); border-color: #fecaca; }
.slide__badge--good { background: var(--success-bg); color: var(--success); border-color: #bbf7d0; }

/* Slide variants */
.slide--cover {
  background:
    radial-gradient(ellipse at top right, rgba(58, 138, 62, 0.12) 0%, transparent 60%),
    radial-gradient(ellipse at bottom left, rgba(201, 169, 106, 0.1) 0%, transparent 55%),
    linear-gradient(180deg, var(--green-900) 0%, var(--green-800) 100%);
  color: white;
  justify-content: center;
}
.slide--cover * { color: inherit; }
.slide--cover h1 { color: white; }
.slide--cover .lead { color: rgba(255, 255, 255, 0.85); }

.slide--closing {
  background:
    radial-gradient(ellipse at center, rgba(201, 169, 106, 0.18) 0%, transparent 60%),
    linear-gradient(180deg, var(--green-900) 0%, var(--green-850) 100%);
  color: white;
  justify-content: center;
  text-align: center;
}
.slide--closing h1, .slide--closing h2 { color: white; }

/* BOTTOM BAR */
.bottombar {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 18px;
  padding: 0 24px;
  background: var(--surface);
  border-top: 1px solid var(--line);
  z-index: 30;
}

.nav-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  border-radius: 10px;
  background: var(--green-50);
  color: var(--green-800);
  font-weight: 600;
  font-size: 0.86rem;
  border: 1px solid var(--green-200);
  transition: all var(--duration) var(--ease);
  white-space: nowrap;
}
.nav-btn:hover {
  background: var(--green-800);
  color: white;
  border-color: var(--green-800);
}
.nav-btn:disabled {
  opacity: 0.4;
  cursor: not-allowed;
  background: #f3f4f6;
  color: var(--ink-500);
  border-color: var(--line);
}
.nav-btn svg { width: 14px; height: 14px; }

.dots {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  flex-wrap: wrap;
}
.dot {
  width: 10px;
  height: 6px;
  border-radius: 3px;
  background: var(--line-strong);
  cursor: pointer;
  transition: all var(--duration) var(--ease);
  padding: 0;
  border: none;
}
.dot:hover { background: var(--green-200); }
.dot.is-active {
  background: var(--green-700);
  width: 26px;
}

.progress {
  position: absolute;
  top: 0;
  left: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--green-700), var(--gold-500));
  width: 0%;
  transition: width 360ms var(--ease);
  z-index: 31;
}

/* SIDE ARROWS */
.arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.95);
  color: var(--green-800);
  box-shadow: var(--shadow-md);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  z-index: 25;
  transition: all var(--duration) var(--ease);
  backdrop-filter: blur(6px);
}
.arrow:hover {
  background: var(--green-800);
  color: white;
  transform: translateY(-50%) scale(1.06);
}
.arrow:disabled {
  opacity: 0.3;
  cursor: not-allowed;
  transform: translateY(-50%);
}
.arrow svg { width: 20px; height: 20px; }
.arrow--prev { left: 18px; }
.arrow--next { right: 18px; }

/* =========================================================
   COVER content
   ========================================================= */

.cover-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 64px;
  align-items: center;
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
}

.cover__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.74rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold-300);
  font-weight: 700;
  margin-bottom: 18px;
}
.cover__eyebrow::before {
  content: '';
  width: 32px;
  height: 1px;
  background: var(--gold-500);
}

.cover h1 { font-size: clamp(2.2rem, 1.4rem + 2.4vw, 3.4rem); line-height: 1.1; }
.cover__lead { font-size: 1.1rem; max-width: 56ch; }

.cover__meta {
  margin-top: 28px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px 28px;
  font-size: 0.86rem;
  color: rgba(255, 255, 255, 0.6);
}
.cover__meta strong {
  color: white;
  display: block;
  font-size: 1rem;
  font-weight: 600;
  margin-top: 2px;
}

/* Score ring */
.score-ring {
  position: relative;
  width: 240px;
  height: 240px;
  margin: 0 auto;
}
.score-ring svg {
  width: 100%;
  height: 100%;
  transform: rotate(-90deg);
}
.score-ring__bg {
  stroke: rgba(255, 255, 255, 0.12);
  fill: none;
  stroke-width: 14;
}
.score-ring__fg {
  fill: none;
  stroke: var(--gold-500);
  stroke-width: 14;
  stroke-linecap: round;
  transition: stroke-dashoffset 1.4s var(--ease);
}
.score-ring__center {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}
.score-ring__num {
  font-family: 'Manrope', sans-serif;
  font-size: 3.2rem;
  font-weight: 800;
  letter-spacing: -0.04em;
  color: white;
  line-height: 1;
}
.score-ring__num span {
  font-size: 1.4rem;
  color: var(--gold-300);
  font-weight: 600;
}
.score-ring__label {
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.7);
  margin-top: 6px;
}

/* =========================================================
   Generic grids
   ========================================================= */

.grid { display: grid; gap: 16px; }
.grid--2 { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.grid--3 { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.grid--4 { grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }

/* =========================================================
   Cards
   ========================================================= */

.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px;
  box-shadow: var(--shadow-xs);
  transition: all var(--duration) var(--ease);
}
.card:hover { border-color: var(--green-200); box-shadow: var(--shadow-sm); }

.card--accent {
  background: linear-gradient(135deg, var(--green-50) 0%, var(--surface) 100%);
  border-color: var(--green-200);
}
.card--gold {
  background: linear-gradient(135deg, var(--gold-100) 0%, var(--surface) 100%);
  border-color: var(--gold-300);
}
.card--dark {
  background: var(--green-900);
  color: rgba(255, 255, 255, 0.92);
  border-color: var(--green-800);
}
.card--dark h3, .card--dark h4 { color: white; }

.card__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: var(--green-50);
  color: var(--green-700);
  font-size: 1.1rem;
  margin-bottom: 10px;
}
.card--gold .card__icon { background: var(--gold-100); color: var(--gold-700); }
.card__title { font-size: 1rem; margin-bottom: 4px; }
.card__desc { color: var(--ink-600); font-size: 0.9rem; margin: 0; }

/* KPI */
.kpi {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px;
  position: relative;
  overflow: hidden;
}
.kpi::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--green-600);
}
.kpi--warn::before { background: var(--warning); }
.kpi--bad::before { background: var(--danger); }
.kpi--good::before { background: var(--success); }
.kpi--gold::before { background: var(--gold-600); }

.kpi__label {
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--ink-500);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 8px;
}
.kpi__value {
  font-family: 'Manrope', sans-serif;
  font-size: 1.85rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--ink-900);
  line-height: 1;
}
.kpi__value small {
  font-size: 0.85rem;
  color: var(--ink-500);
  font-weight: 600;
  margin-left: 4px;
}
.kpi__delta {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-top: 6px;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--success);
}
.kpi__delta--down { color: var(--danger); }

/* Cover KPI on dark slide */
.slide--cover .kpi {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(4px);
}
.slide--cover .kpi__label { color: rgba(255, 255, 255, 0.6); }
.slide--cover .kpi__value { color: white; }

/* =========================================================
   Pills, checklists, callouts
   ========================================================= */

.pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 3px 9px;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 600;
  border: 1px solid;
  white-space: nowrap;
}
.pill--good { background: var(--success-bg); color: var(--success); border-color: #bbf7d0; }
.pill--warn { background: var(--warning-bg); color: var(--warning); border-color: #fde68a; }
.pill--bad  { background: var(--danger-bg); color: var(--danger); border-color: #fecaca; }
.pill--info { background: var(--info-bg); color: var(--info); border-color: #bfdbfe; }
.pill--neutral { background: #f3f4f6; color: var(--ink-600); border-color: var(--line); }

.checklist {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.checklist li {
  display: grid;
  grid-template-columns: 22px 1fr;
  gap: 10px;
  align-items: flex-start;
  padding: 9px 12px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 9px;
  font-size: 0.88rem;
  line-height: 1.45;
}
.checklist__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border-radius: 6px;
  font-size: 0.74rem;
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 1px;
}
.checklist__icon--ok   { background: var(--success-bg); color: var(--success); }
.checklist__icon--no   { background: var(--danger-bg); color: var(--danger); }
.checklist__icon--warn { background: var(--warning-bg); color: var(--warning); }
.checklist strong { color: var(--ink-900); }
.checklist em {
  display: block;
  font-style: normal;
  color: var(--ink-500);
  font-size: 0.8rem;
  margin-top: 2px;
}

.callout {
  display: flex;
  gap: 12px;
  padding: 14px 16px;
  border-radius: var(--radius-sm);
  border-left: 3px solid var(--green-600);
  background: var(--green-50);
}
.callout--gold { border-left-color: var(--gold-600); background: var(--gold-100); }
.callout--warn { border-left-color: var(--warning); background: var(--warning-bg); }
.callout__icon { font-size: 1.15rem; line-height: 1.4; }
.callout p { margin: 0; font-size: 0.88rem; color: var(--ink-700); line-height: 1.5; }
.callout strong { color: var(--ink-900); }

/* =========================================================
   Tables
   ========================================================= */

.table-wrap {
  overflow: auto;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--surface);
  max-height: 100%;
}

table.data {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.86rem;
}
table.data th {
  text-align: left;
  padding: 12px 14px;
  background: var(--surface-2);
  border-bottom: 1px solid var(--line-strong);
  font-weight: 700;
  font-size: 0.74rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--ink-700);
  white-space: nowrap;
  position: sticky;
  top: 0;
  z-index: 1;
}
table.data td {
  padding: 12px 14px;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}
table.data tr:last-child td { border-bottom: none; }
table.data tr:hover td { background: var(--green-50); }
table.data td.num {
  font-variant-numeric: tabular-nums;
  font-weight: 600;
  color: var(--ink-900);
}

/* =========================================================
   Score bars (horizontal)
   ========================================================= */

.scores {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.score-row {
  display: grid;
  grid-template-columns: 170px 1fr 50px;
  gap: 12px;
  align-items: center;
}
.score-row__label {
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--ink-800);
}
.score-row__bar {
  height: 8px;
  background: var(--line);
  border-radius: 999px;
  overflow: hidden;
}
.score-row__fill {
  height: 100%;
  background: linear-gradient(90deg, var(--green-700), var(--green-500));
  border-radius: 999px;
  width: 0;
  transition: width 1.2s var(--ease);
}
.score-row__fill[data-tone='warn'] { background: linear-gradient(90deg, var(--warning), #fbbf24); }
.score-row__fill[data-tone='bad']  { background: linear-gradient(90deg, var(--danger), #f87171); }
.score-row__fill[data-tone='gold'] { background: linear-gradient(90deg, var(--gold-700), var(--gold-500)); }
.score-row__num {
  font-variant-numeric: tabular-nums;
  font-weight: 700;
  font-family: 'Manrope', sans-serif;
  color: var(--ink-900);
  text-align: right;
  font-size: 0.9rem;
}

/* =========================================================
   Quick wins
   ========================================================= */

.quickwins {
  background: linear-gradient(135deg, var(--gold-100) 0%, #fff 100%);
  border: 1px solid var(--gold-300);
  border-radius: var(--radius-lg);
  padding: 28px;
  position: relative;
  overflow: hidden;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.quickwins::before {
  content: '';
  position: absolute;
  top: -40px;
  right: -40px;
  width: 200px;
  height: 200px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--gold-300) 0%, transparent 70%);
  opacity: 0.5;
}
.quickwins__inner { position: relative; z-index: 1; }
.quickwins h2 { display: flex; align-items: center; gap: 12px; margin: 0 0 6px; font-size: 1.4rem; }
.quickwins__list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 12px;
  margin-top: 18px;
  list-style: none;
  padding: 0;
}
.quickwins__list li {
  background: var(--surface);
  border: 1px solid var(--gold-300);
  border-radius: 12px;
  padding: 14px 16px;
  font-size: 0.9rem;
  display: flex;
  gap: 12px;
  align-items: flex-start;
}
.quickwins__num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: var(--green-800);
  color: var(--gold-300);
  font-family: 'Manrope', sans-serif;
  font-weight: 800;
  font-size: 0.85rem;
  flex-shrink: 0;
}
.quickwins__list strong {
  color: var(--ink-900);
  display: block;
  margin-bottom: 2px;
  font-size: 0.94rem;
}
.quickwins__list em {
  font-style: normal;
  color: var(--ink-500);
  font-size: 0.8rem;
}

/* =========================================================
   Sprint card (full bleed)
   ========================================================= */

.sprint-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.sprint-card__head {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 16px;
  align-items: center;
  padding: 16px 18px;
  background: linear-gradient(135deg, var(--green-50), var(--surface-2));
  border-bottom: 1px solid var(--line);
}
.sprint-card__num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: var(--green-800);
  color: white;
  font-family: 'Manrope', sans-serif;
  font-weight: 800;
  font-size: 0.95rem;
  flex-shrink: 0;
}
.sprint-card__title {
  font-size: 1rem;
  font-weight: 700;
  margin: 0 0 2px;
}
.sprint-card__meta {
  font-size: 0.78rem;
  color: var(--ink-500);
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.sprint-card__body {
  padding: 16px 18px;
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 18px;
  flex: 1;
}
.sprint-card__deliverables h4,
.sprint-card__metrics h4 {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--green-700);
  margin: 0 0 8px;
}
.sprint-card__deliverables ol {
  margin: 0;
  padding-left: 16px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 0.84rem;
  color: var(--ink-700);
  line-height: 1.5;
}
.sprint-card__deliverables strong { color: var(--ink-900); }
.sprint-card__metrics {
  background: var(--green-50);
  border: 1px solid var(--green-200);
  border-radius: var(--radius-sm);
  padding: 14px;
}
.sprint-card__metrics h4 { color: var(--green-800); }
.sprint-card__metrics ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.sprint-card__metrics li {
  font-size: 0.82rem;
  color: var(--ink-700);
  padding-left: 14px;
  position: relative;
}
.sprint-card__metrics li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 6px;
  width: 6px;
  height: 6px;
  border-radius: 2px;
  background: var(--green-600);
}

/* =========================================================
   Roadmap / Gantt
   ========================================================= */

.roadmap {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  padding: 18px;
  overflow: auto;
  flex: 1;
}
.roadmap__grid {
  display: grid;
  grid-template-columns: 200px repeat(12, minmax(48px, 1fr));
  gap: 0;
  position: relative;
  min-width: 800px;
}
.roadmap__head {
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-500);
  font-weight: 600;
  padding: 8px 6px;
  border-bottom: 2px solid var(--line);
  text-align: center;
}
.roadmap__head:first-child { text-align: left; }
.roadmap__row-label {
  padding: 12px 8px;
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--ink-800);
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: center;
  gap: 8px;
}
.roadmap__cell {
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
  position: relative;
}
.roadmap__bar {
  height: 22px;
  border-radius: 6px;
  background: var(--green-600);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  color: white;
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  box-shadow: var(--shadow-xs);
}
.roadmap__bar--gold  { background: var(--gold-600); color: var(--green-900); }
.roadmap__bar--dark  { background: var(--green-800); }
.roadmap__bar--light { background: var(--green-500); }

/* =========================================================
   Closing slide
   ========================================================= */

.closing {
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
}
.closing__big {
  font-size: clamp(2.4rem, 1.8rem + 2vw, 3.6rem);
  margin-bottom: 12px;
}
.closing__contact {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 22px;
  margin-top: 36px;
  padding-top: 28px;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
}
.closing__contact a, .closing__contact span {
  color: white;
  display: block;
  font-weight: 600;
  font-size: 1rem;
  margin-top: 4px;
}
.closing__contact small {
  color: var(--gold-300);
  font-size: 0.74rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 700;
}

/* =========================================================
   Utility
   ========================================================= */

.muted { color: var(--ink-500); }
.mb-0 { margin-bottom: 0 !important; }
.mb-sm { margin-bottom: 10px; }
.mb-md { margin-bottom: 18px; }
.mb-lg { margin-bottom: 28px; }
.mt-md { margin-top: 18px; }
.mt-lg { margin-top: 28px; }
.flex-1 { flex: 1; }
.scroll { overflow-y: auto; }

/* =========================================================
   Responsive
   ========================================================= */

@media (max-width: 980px) {
  :root {
    --topbar-h: 56px;
    --bottombar-h: 56px;
  }
  .topbar { padding: 0 14px; gap: 10px; grid-template-columns: auto 1fr auto; }
  .topbar__center { display: none; }
  .brand__divider, .brand__doc { display: none; }
  .slide { padding: 22px 18px; }
  .arrow { display: none; }
  .cover-grid { grid-template-columns: 1fr; gap: 28px; }
  .score-ring { width: 180px; height: 180px; }
  .score-ring__num { font-size: 2.4rem; }
  .sprint-card__body { grid-template-columns: 1fr; }
  .score-row { grid-template-columns: 130px 1fr 44px; }
  .nav-btn { padding: 8px 10px; font-size: 0.78rem; }
  .nav-btn span { display: none; }
}

/* =========================================================
   Animations
   ========================================================= */

.slide.is-active .reveal {
  animation: fadeInUp 700ms var(--ease) both;
}
.slide.is-active .reveal:nth-child(2) { animation-delay: 80ms; }
.slide.is-active .reveal:nth-child(3) { animation-delay: 160ms; }
.slide.is-active .reveal:nth-child(4) { animation-delay: 240ms; }

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: translateY(0); }
}

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

/* =========================================================
   Print — each slide a page
   ========================================================= */

@media print {
  @page { size: A4 landscape; margin: 12mm; }
  html, body { height: auto; overflow: visible; }
  .topbar, .bottombar, .arrow, .progress { display: none !important; }
  .app { display: block; height: auto; }
  .deck {
    display: block;
    overflow: visible;
    height: auto;
  }
  .slide {
    width: 100%;
    height: auto;
    min-height: auto;
    page-break-after: always;
    break-after: page;
    padding: 0;
    overflow: visible;
  }
  .slide:last-child { page-break-after: auto; }
  .slide--cover, .slide--closing {
    background: var(--green-800) !important;
    -webkit-print-color-adjust: exact;
    print-color-adjust: exact;
    color: white !important;
    padding: 32px !important;
  }
  .card, .kpi, .sprint-card { break-inside: avoid; }
}
