/* Shared deck engine — LRI / IRD company profiles. 16:9, 1280×720 logical px. */
@import url('../vendor/fonts/fonts.css');

:root {
  --bg: #0b1017;
  --bg-2: #111927;
  --panel: #161f2e;
  --line: #263245;
  --ink: #f2f5f9;
  --ink-2: #b8c2d1;
  --muted: #7d8899;
  --accent: #19c37d;          /* LRI green (overridden per deck) */
  --accent-2: #0ea5e9;
  --accent-ink: #062a1c;
  --warn: #f59e0b;
  --font: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --mono: 'JetBrains Mono', ui-monospace, Consolas, monospace;
  --fs: 1;   /* fator do texto de apoio (A− / A+ do apresentador, deck.js); títulos, kickers e números grandes não entram */
}
.deck-ird { --accent: #e8702a; --accent-2: #f5a623; --accent-ink: #2a1206; }

* { box-sizing: border-box; }
html, body { margin: 0; height: 100%; background: var(--bg); color: var(--ink); font-family: var(--font); }
body { overflow: hidden; }

.deck { position: fixed; inset: 0; display: grid; place-items: center; }
.slide {
  position: absolute; width: 1280px; height: 720px; padding: 64px 80px;
  background: var(--bg); color: var(--ink);
  display: none; flex-direction: column; overflow: hidden;
  transform-origin: center center;
}
.slide.active { display: flex; }
.slide h1 { font-size: 64px; line-height: 1.05; font-weight: 800; letter-spacing: -0.02em; margin: 0 0 20px; }
.slide h2 { font-size: 40px; line-height: 1.1; font-weight: 700; letter-spacing: -0.015em; margin: 0 0 28px; }
.slide h3 { font-size: 22px; font-weight: 600; margin: 0 0 10px; }
/* texto de apoio ~20 % menor (Leandro, 2026-11-14); h1/h2/h3 e .stat .v ficam */
.slide p { font-size: calc(17px * var(--fs)); line-height: 1.45; color: var(--ink-2); margin: 0 0 14px; max-width: 980px; }
.slide .lead { font-size: calc(21px * var(--fs)); color: var(--ink); }
.slide strong { color: var(--ink); }
.slide em.acc { color: var(--accent); font-style: normal; }
.kicker { font-family: var(--mono); font-size: 14px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--accent); margin-bottom: 18px; }
.kicker::before { content: '●  '; }

.slide .foot { position: absolute; left: 80px; right: 80px; bottom: 30px; display: flex; justify-content: space-between; font-family: var(--mono); font-size: 12px; color: var(--muted); letter-spacing: 0.06em; }
.slide .foot img { height: 18px; opacity: .85; }

/* layouts */
.cols { display: grid; gap: 32px; }
.cols-2 { grid-template-columns: 1fr 1fr; }
.cols-3 { grid-template-columns: repeat(3, 1fr); }
.cols-4 { grid-template-columns: repeat(4, 1fr); }
.grow { flex: 1; min-height: 0; }

.card { background: var(--panel); border: 1px solid var(--line); border-radius: 14px; padding: 22px 24px; }
.card h3 { display: flex; align-items: center; gap: 10px; }
.card p { font-size: calc(14px * var(--fs)); line-height: 1.4; margin: 0; }
.card .n { font-family: var(--mono); font-size: 13px; color: var(--accent); }
.card.hi { border-color: var(--accent); background: linear-gradient(180deg, color-mix(in srgb, var(--accent) 12%, var(--panel)), var(--panel)); }

ul.list { list-style: none; padding: 0; margin: 0; }
ul.list li { position: relative; padding-left: 30px; font-size: calc(16px * var(--fs)); line-height: 1.4; color: var(--ink-2); margin-bottom: 12px; }
ul.list li::before { content: ''; position: absolute; left: 0; top: 10px; width: 14px; height: 14px; border-radius: 4px; background: var(--accent); }
ul.list li strong { color: var(--ink); }
ul.list.x li::before { background: #ef4444; clip-path: polygon(20% 0, 50% 30%, 80% 0, 100% 20%, 70% 50%, 100% 80%, 80% 100%, 50% 70%, 20% 100%, 0 80%, 30% 50%, 0 20%); }
ul.list.check li::before { background: var(--accent); clip-path: polygon(14% 44%, 0 62%, 40% 100%, 100% 22%, 84% 8%, 40% 66%); border-radius: 0; }

.stat { display: flex; flex-direction: column; gap: 6px; }
.stat .v { font-size: 56px; font-weight: 800; letter-spacing: -0.03em; color: var(--ink); line-height: 1; }
.stat .v small { font-size: 22px; color: var(--accent); font-weight: 700; margin-left: 6px; }
.stat .l { font-size: calc(13px * var(--fs)); color: var(--muted); }

.tag { display: inline-block; font-family: var(--mono); font-size: 13px; padding: 5px 10px; border-radius: 999px; border: 1px solid var(--line); color: var(--ink-2); margin: 0 8px 8px 0; background: var(--bg-2); }
.tag.acc { border-color: var(--accent); color: var(--accent); }

.timeline { display: flex; gap: 0; margin-top: 30px; }
.timeline .step { flex: 1; position: relative; padding: 18px 18px 0 0; border-top: 3px solid var(--line); }
.timeline .step::before { content: ''; position: absolute; top: -9px; left: 0; width: 15px; height: 15px; border-radius: 50%; background: var(--accent); }
.timeline .step .n { font-family: var(--mono); font-size: 13px; color: var(--accent); }
.timeline .step h3 { font-size: 20px; margin: 6px 0 6px; }
.timeline .step p { font-size: 15px; margin: 0; }

.logo-row { display: flex; align-items: center; gap: 28px; flex-wrap: wrap; }
.logo-row .lg { height: 46px; padding: 8px 18px; border: 1px solid var(--line); border-radius: 10px; background: var(--bg-2); display: flex; align-items: center; font-weight: 700; font-size: 18px; color: var(--ink); letter-spacing: .02em; }
.logo-row .lg img { height: 30px; }
.logo-row .lg small { font-family: var(--mono); font-size: 12px; color: var(--accent); margin-left: 12px; font-weight: 500; }

/* foto de produto maior que a descrição (Leandro, 2026-11-14): a coluna da foto cresce quando o layout inline a deixa estreita */
.hero-img { border-radius: 14px; border: 1px solid var(--line); overflow: hidden; }
.cols[style*="grid-template-columns:.8fr 1.6fr"] { grid-template-columns: 1.15fr 1.25fr !important; }
.hero-img img { display: block; width: 100%; height: 100%; object-fit: cover; }

.shot { border-radius: 12px; border: 1px solid var(--line); overflow: hidden; background: #fff; box-shadow: 0 20px 60px rgba(0,0,0,.45); }
.shot img { display: block; width: 100%; }

/* charts */
.chart { width: 100%; height: 100%; }
.chart .grid { stroke: var(--line); stroke-width: 1; }
.chart .axis { fill: var(--muted); font-family: var(--mono); font-size: 12px; }
.chart .line { fill: none; stroke: var(--accent); stroke-width: 2.5; stroke-linejoin: round; stroke-linecap: round; }
.chart .line.s2 { stroke: var(--accent-2); }
.chart .line.s3 { stroke: #c084fc; }
.chart .area { fill: var(--accent); opacity: .12; }
.chart .dot { fill: var(--accent); stroke: var(--bg); stroke-width: 2; }
.chart .dot.s2 { fill: var(--accent-2); }
.chart .dot.s3 { fill: #c084fc; }
.chart .lbl { fill: var(--ink); font-family: var(--mono); font-size: 13px; font-weight: 500; }
.chart .lbl.acc { fill: var(--accent); }
.chart .base { stroke: var(--muted); stroke-dasharray: 4 4; }
.legend { display: flex; gap: 22px; font-size: 14px; color: var(--ink-2); margin-top: 6px; }
.legend i { display: inline-block; width: 14px; height: 3px; border-radius: 2px; background: var(--accent); vertical-align: middle; margin-right: 8px; }
.legend i.s2 { background: var(--accent-2); } .legend i.s3 { background: #c084fc; }
.src { font-family: var(--mono); font-size: 11px; color: var(--muted); margin-top: 8px; }

/* cover */
.slide.cover { justify-content: flex-end; background: radial-gradient(1200px 600px at 85% 10%, color-mix(in srgb, var(--accent) 22%, transparent), transparent 60%), var(--bg); }
.slide.cover .brand { position: absolute; top: 64px; left: 80px; display: flex; align-items: center; gap: 18px; }
.slide.cover .brand img { height: 56px; }
.slide.cover h1 { font-size: 72px; max-width: 900px; }
.slide.cover .sub { font-size: calc(19px * var(--fs)); color: var(--ink-2); max-width: 760px; }
.slide.cover .date { position: absolute; right: 80px; bottom: 64px; font-family: var(--mono); font-size: 14px; color: var(--muted); text-align: right; line-height: 1.7; }

/* section divider */
.slide.section { justify-content: center; }
.slide.section h1 { font-size: 80px; }

/* chrome */
.progress { position: fixed; left: 0; bottom: 0; height: 3px; background: var(--accent); width: 0; transition: width .25s; z-index: 10; }
.nav { position: fixed; right: 14px; bottom: 12px; font-family: var(--mono); font-size: 12px; color: var(--muted); z-index: 10; user-select: none; }
.nav button { background: transparent; border: 1px solid var(--line); color: var(--ink-2); border-radius: 6px; padding: 2px 8px; margin-left: 6px; cursor: pointer; font: inherit; }
.nav button:hover { border-color: var(--accent); color: var(--ink); }

@media print {
  @page { size: 1280px 720px; margin: 0; }
  html, body { background: var(--bg); overflow: visible; height: auto; }
  .deck { position: static; display: block; }
  .slide { position: relative; display: flex !important; transform: none !important; page-break-after: always; break-after: page; margin: 0; }
  .progress, .nav, .fsctl { display: none !important; }
  html { --fs: 1 !important; }   /* o PDF sai sempre no tamanho padrão */
}

/* compact variants for slides that carry more than one screen of content */
ul.list.sm li { font-size: calc(14px * var(--fs)); line-height: 1.35; margin-bottom: 8px; padding-left: 26px; }
ul.list.sm li::before { top: 7px; width: 12px; height: 12px; }
.logo-row.sm { gap: 12px; }
.logo-row.sm .lg { height: 38px; padding: 6px 14px; font-size: 16px; }
.logo-row.sm .lg small { font-size: 11px; margin-left: 9px; }
.slide.dense h2 { font-size: 34px; margin-bottom: 16px; }
.slide.dense .lead { font-size: calc(16px * var(--fs)); margin-bottom: 10px; }
.slide.dense .card { padding: 16px 20px; }
.slide.dense .card h3 { font-size: 20px; margin-bottom: 6px; }
.slide .callout { border: 1px solid var(--accent); border-radius: 14px; padding: 22px 28px; background: linear-gradient(180deg, color-mix(in srgb, var(--accent) 12%, var(--panel)), var(--panel)); }
.slide .callout p { font-size: 28px; line-height: 1.3; color: var(--ink); font-weight: 600; margin: 0; max-width: none; }

/* A− / A+ do apresentador (deck.js): flutuante, discreto, canto superior direito; escala só o texto de apoio (--fs) */
.fsctl { position: fixed; right: 14px; top: 10px; z-index: 10;   /* canto superior direito: embaixo ficaria sobre o rodapé do slide e a navegação */ display: flex; align-items: center; gap: 4px; padding: 3px 6px; border-radius: 999px; background: var(--panel); border: 1px solid var(--line); opacity: .6; transition: opacity .25s; }
.fsctl:hover, .fsctl:focus-within { opacity: 1; }
.fsctl button { font: 700 13px var(--font); color: var(--ink); background: var(--bg-2); border: 1px solid var(--line); border-radius: 999px; min-width: 36px; height: 26px; padding: 0 9px; cursor: pointer; line-height: 1; }
.fsctl button:hover { border-color: var(--accent); } .fsctl button:focus-visible { outline: 2px solid var(--accent); outline-offset: 1px; }
.fsctl button[disabled] { opacity: .4; cursor: not-allowed; }
.fsctl .lvl { font: 500 11px var(--mono); color: var(--muted); min-width: 38px; text-align: center; }
html.pdf .fsctl, .snap .fsctl { display: none !important; }
