/* ============================================
   DECK — Apresentação UC00248
   Palette: #0D1438 · #1A2564 · #FF6225 · #fff
   ============================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --navy: #0D1438;
  --card: #1A2564;
  --orange: #FF6225;
  --white: #ffffff;
  --muted: rgba(255,255,255,0.55);
  --subtle: rgba(255,255,255,0.08);
}

html, body {
  width: 100%; height: 100%;
  background: var(--navy);
  font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
  color: var(--white);
  overflow: hidden;
  user-select: none;
}

/* PROGRESS BAR */
#progress {
  position: fixed; top: 0; left: 0;
  width: 100%; height: 3px;
  background: rgba(255,255,255,0.1);
  z-index: 100;
}
#progress-bar {
  height: 100%;
  background: var(--orange);
  transition: width 0.3s ease;
}

/* CONTROLS */
#ctrl {
  position: fixed; bottom: 1.25rem; right: 1.5rem;
  display: flex; align-items: center; gap: 0.75rem;
  z-index: 100;
}
#slide-counter {
  font-size: 0.78rem; color: var(--muted); font-weight: 600;
  letter-spacing: 0.05em;
}
.ctrl-btn {
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.15);
  color: var(--white);
  width: 34px; height: 34px;
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; font-size: 0.9rem;
  transition: background 0.15s;
}
.ctrl-btn:hover { background: rgba(255,255,255,0.2); }

/* SESSION TAG */
#session-tag {
  position: fixed; top: 1rem; left: 1.5rem;
  font-size: 0.72rem; font-weight: 700;
  letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--orange);
  z-index: 100;
}

/* SLIDE WRAPPER */
.deck {
  width: 100%; height: 100%;
  position: relative;
}

.slide {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  padding: 4rem 5vw 3.5rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}
.slide.active {
  opacity: 1;
  pointer-events: auto;
}
.slide.exit { opacity: 0; }

/* ---- SLIDE LAYOUTS ---- */

/* COVER */
.slide-cover {
  flex-direction: column;
  text-align: center;
  background: radial-gradient(ellipse at 60% 40%, rgba(255,98,37,0.12) 0%, transparent 60%);
}
.slide-cover .tag {
  display: inline-block;
  background: var(--orange);
  color: #fff;
  font-size: 0.7rem; font-weight: 700;
  letter-spacing: 0.1em; text-transform: uppercase;
  padding: 0.3rem 0.9rem; border-radius: 20px;
  margin-bottom: 1.5rem;
}
.slide-cover h1 {
  font-size: clamp(1.8rem, 4vw, 3rem);
  font-weight: 800; line-height: 1.15;
  margin-bottom: 1rem;
}
.slide-cover h1 span { color: var(--orange); }
.slide-cover p { font-size: 1rem; color: var(--muted); }
.slide-cover .hint {
  position: absolute; bottom: 3.5rem;
  font-size: 0.75rem; color: rgba(255,255,255,0.3);
  letter-spacing: 0.05em;
}

/* TITLE + CONTENT */
.slide-content {
  flex-direction: column;
  align-items: flex-start;
  max-width: 960px; width: 100%;
}
.slide-content h2 {
  font-size: clamp(1.4rem, 3vw, 2.2rem);
  font-weight: 800; margin-bottom: 1.5rem;
  line-height: 1.15;
}
.slide-content h2 .accent { color: var(--orange); }
.slide-content h2 .sub {
  display: block;
  font-size: 0.55em; font-weight: 400;
  color: var(--muted); margin-top: 0.3rem;
}

/* TWO COLUMNS */
.cols { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; width: 100%; }
.cols-3 { display: grid; grid-template-columns: repeat(3,1fr); gap: 1.25rem; width: 100%; }

/* CARD */
.d-card {
  background: var(--card);
  border: 1px solid var(--subtle);
  border-radius: 12px;
  padding: 1.25rem 1.4rem;
}
.d-card.accent-border { border-left: 4px solid var(--orange); }
.d-card h3 {
  font-size: 0.95rem; font-weight: 700;
  color: var(--orange); margin-bottom: 0.6rem;
}
.d-card p, .d-card li {
  font-size: 0.88rem; color: rgba(255,255,255,0.82);
  line-height: 1.65;
}
.d-card ul { padding-left: 1.1rem; }
.d-card ul li { margin-bottom: 0.3rem; }
.d-card .big { font-size: 2rem; font-weight: 800; color: var(--orange); }

/* BIG STATEMENT */
.slide-statement {
  flex-direction: column;
  text-align: center;
  max-width: 820px;
}
.slide-statement .quote {
  font-size: clamp(1.4rem, 3.5vw, 2.4rem);
  font-weight: 700; line-height: 1.3;
  margin-bottom: 1rem;
}
.slide-statement .quote .hl { color: var(--orange); }
.slide-statement .sub { font-size: 1rem; color: var(--muted); }

/* LIST WITH ICONS */
.icon-list { list-style: none; width: 100%; }
.icon-list li {
  display: flex; align-items: flex-start; gap: 0.9rem;
  padding: 0.7rem 0;
  border-bottom: 1px solid var(--subtle);
  font-size: 0.9rem; color: rgba(255,255,255,0.85);
  line-height: 1.5;
}
.icon-list li:last-child { border-bottom: none; }
.icon-list li .ico { font-size: 1.2rem; flex-shrink: 0; margin-top: 0.05rem; }
.icon-list li strong { color: var(--orange); }

/* TABLE */
.d-table { width: 100%; border-collapse: collapse; font-size: 0.83rem; }
.d-table th {
  background: var(--orange); color: #fff;
  padding: 0.55rem 0.75rem; text-align: left;
  font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.04em;
}
.d-table td {
  padding: 0.5rem 0.75rem;
  border-bottom: 1px solid var(--subtle);
  color: rgba(255,255,255,0.82); vertical-align: top;
}
.d-table tr:nth-child(even) td { background: rgba(255,255,255,0.03); }

/* NIVEL CARDS (maturidade) */
.nivel-row {
  display: flex; gap: 0.6rem; width: 100%;
  align-items: stretch;
}
.nivel-box {
  flex: 1; border-radius: 8px; padding: 0.9rem 0.75rem;
  background: var(--card);
  border-top: 4px solid;
  text-align: center;
}
.nivel-box .nb { font-size: 1.4rem; font-weight: 800; margin-bottom: 0.2rem; }
.nivel-box .nt { font-size: 0.75rem; font-weight: 700; color: var(--muted); margin-bottom: 0.4rem; }
.nivel-box .nd { font-size: 0.72rem; color: rgba(255,255,255,0.55); line-height: 1.4; }

/* HIGHLIGHT BOX */
.d-highlight {
  background: rgba(255,98,37,0.12);
  border: 1px solid rgba(255,98,37,0.3);
  border-radius: 10px; padding: 1.1rem 1.4rem;
  width: 100%;
}
.d-highlight p { font-size: 0.92rem; color: rgba(255,255,255,0.9); line-height: 1.65; }
.d-highlight strong { color: var(--orange); }

/* FORMULA */
.formula {
  background: #080d26;
  border: 1px solid rgba(255,98,37,0.25);
  border-radius: 8px;
  padding: 1.25rem 1.5rem;
  font-family: 'Fira Code','Consolas',monospace;
  font-size: 0.85rem; line-height: 1.9;
  color: rgba(255,255,255,0.85);
  width: 100%;
}
.formula .lbl { color: var(--orange); font-weight: 700; }

/* EXERCISE SLIDE */
.slide-exercise { flex-direction: column; align-items: flex-start; max-width: 840px; width: 100%; }
.ex-badge {
  display: inline-block; background: var(--orange);
  color: #fff; font-size: 0.7rem; font-weight: 700;
  letter-spacing: 0.08em; text-transform: uppercase;
  padding: 0.25rem 0.8rem; border-radius: 20px; margin-bottom: 1rem;
}
.slide-exercise h2 { font-size: clamp(1.2rem,2.5vw,1.8rem); font-weight: 800; margin-bottom: 1rem; }
.ex-steps { list-style: none; width: 100%; }
.ex-steps li {
  display: flex; gap: 0.8rem; align-items: flex-start;
  padding: 0.65rem 0; border-bottom: 1px solid var(--subtle);
  font-size: 0.88rem; color: rgba(255,255,255,0.85); line-height: 1.55;
}
.ex-steps li:last-child { border-bottom: none; }
.ex-steps li .sn {
  background: var(--orange); color: #fff;
  width: 22px; height: 22px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.72rem; font-weight: 800; flex-shrink: 0; margin-top: 0.1rem;
}

/* SECTION DIVIDER */
.slide-divider {
  flex-direction: column; text-align: center;
  background: radial-gradient(ellipse at 50% 50%, rgba(255,98,37,0.1) 0%, transparent 65%);
}
.slide-divider .num {
  font-size: 5rem; font-weight: 900; color: rgba(255,98,37,0.2);
  line-height: 1; margin-bottom: 0.5rem;
}
.slide-divider h2 { font-size: clamp(1.5rem,3.5vw,2.5rem); font-weight: 800; }
.slide-divider p { font-size: 1rem; color: var(--muted); margin-top: 0.5rem; }

/* SUMMARY */
.slide-summary { flex-direction: column; max-width: 860px; width: 100%; }
.summary-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 1rem; width: 100%; margin-top: 1rem; }
.sum-item {
  background: var(--card); border-radius: 10px;
  padding: 1rem; border-top: 3px solid var(--orange);
}
.sum-item .si { font-size: 1.5rem; margin-bottom: 0.4rem; }
.sum-item p { font-size: 0.82rem; color: rgba(255,255,255,0.8); line-height: 1.5; }

/* FLOW */
.flow-list { list-style: none; width: 100%; }
.flow-list li {
  display: flex; gap: 1rem; align-items: flex-start;
  padding: 0.6rem 0; font-size: 0.88rem; color: rgba(255,255,255,0.85); line-height: 1.5;
}
.flow-dot {
  width: 28px; height: 28px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.7rem; font-weight: 800; flex-shrink: 0; margin-top: 0.1rem;
}
.fd-auto { background: rgba(255,255,255,0.15); }
.fd-ai { background: var(--orange); }
.fd-human { background: #1d6fb8; }
.flow-list li .ft { font-size: 0.68rem; text-transform: uppercase; letter-spacing: 0.06em; font-weight: 700; }
.ft-auto { color: rgba(255,255,255,0.4); }
.ft-ai { color: var(--orange); }
.ft-human { color: #5badff; }

@media (max-width: 700px) {
  .cols, .cols-3, .nivel-row, .summary-grid { grid-template-columns: 1fr; }
  .slide { padding: 3.5rem 1.25rem 3rem; }
}
