/* Deck "Projetos com IA · TI" — Design System Amigos do Bem (rev. 25/09/2026)
   Canvas fixo de 1920×1080: o JS só escala o palco para caber na tela.
   Tokens: seção 12.4 do ADB_DESIGN_SYSTEM_SPEC.md. */

:root {
  --adb-orange: #FF6B00;
  --adb-orange-dark: #E65300;
  --adb-orange-soft: #FFF1E7;
  --adb-orange-text: #B84600;   /* laranja para texto pequeno sobre claro (regra 3.4.2) */
  --adb-yellow: #FFD900;
  --adb-blue: #0047BA;
  --adb-sand: #FAF5EE;
  --adb-sand-dark: #F3E6D4;
  --adb-line: #ECE7DF;
  --adb-night: #0A0F1A;
  --adb-text-strong: rgba(0,0,0,0.9);
  --adb-text: #2B2B2B;
  --adb-muted: #6B6B6B;

  --adb-radius-card-lg: 44px;
  --adb-radius-card: 28px;
  --adb-radius-md: 16px;

  --adb-shadow-card: 0 6px 24px rgba(0,0,0,0.07);
  --adb-shadow-soft: 0 14px 40px rgba(0,0,0,0.10);
  --adb-shadow-strong: 0 24px 60px rgba(0,0,0,0.16);
  --adb-shadow-orange-sm: 0 14px 30px rgba(255,107,0,0.28);

  --pad-x: 120px;
}

* { box-sizing: border-box; }
html, body { margin: 0; height: 100%; }
body {
  background: var(--adb-night);
  color: var(--adb-text-strong);
  font-family: 'Inter', Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow: hidden;
}

/* ---------- palco ---------- */
.palco {
  position: absolute; top: 0; left: 0;
  width: 1920px; height: 1080px;
  transform-origin: 0 0;
  transform: translate(var(--tx, 0px), var(--ty, 0px)) scale(var(--s, 1));
}
.slide {
  position: absolute; inset: 0;
  overflow: hidden;
  display: none;
  background: #fff;
}
.slide.ativo { display: block; }

/* ---------- tipografia ---------- */
.eyebrow {
  margin: 0 0 20px;
  font-size: 20px; line-height: 1.2; font-weight: 900;
  letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--adb-orange-text);
}
.titulo {
  margin: 0;
  font-size: 76px; line-height: 1; font-weight: 900; letter-spacing: -0.05em;
  color: var(--adb-text);
}
.titulo em, .display em { font-style: italic; color: var(--adb-orange); }
.lead {
  margin: 24px 0 0; max-width: 1180px;
  font-size: 28px; line-height: 1.45; color: var(--adb-muted);
}

/* ---------- fundos claros ---------- */
.s-claro { background: #fff; }
.s-areia { background: linear-gradient(180deg, var(--adb-sand-dark) 0%, var(--adb-sand) 100%); }
.s-areia::before { /* linha laranja fina no topo */
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(to right, transparent, var(--adb-orange), transparent);
}
.s-areia::after { /* textura de pontos */
  content: ''; position: absolute; inset: 0; pointer-events: none; opacity: .03;
  background-image: radial-gradient(circle at 1px 1px, rgba(0,0,0,.6) 1px, transparent 0);
  background-size: 32px 32px;
}
.miolo { position: relative; z-index: 2; height: 100%; padding: 88px var(--pad-x) 0; }

/* rodapé de todo slide claro */
.rodape {
  position: absolute; z-index: 3; left: var(--pad-x); right: var(--pad-x); bottom: 34px;
  display: flex; align-items: center; justify-content: space-between;
  font-size: 17px; color: var(--adb-muted);
}
.rodape .marca { display: flex; align-items: center; gap: 14px; font-weight: 700; }
.rodape img { width: 40px; height: 40px; border-radius: 50%; box-shadow: var(--adb-shadow-card); }
.rodape .pag { font-weight: 900; letter-spacing: .08em; }

/* ---------- hero escuro com foto (capa, divisórias, encerramento) ---------- */
.s-hero { background: var(--adb-night); color: #fff; }
.s-hero .foto { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.s-hero .veu { position: absolute; inset: 0; z-index: 1;
  background:
    radial-gradient(ellipse at center, transparent 45%, rgba(0,0,0,.40) 100%),
    linear-gradient(to bottom, rgba(0,0,0,.30), transparent 40%),
    linear-gradient(to top, rgba(0,0,0,.60), transparent 55%),
    linear-gradient(to right, rgba(0,0,0,.80), rgba(0,0,0,.55) 50%, rgba(0,0,0,.20));
}
.s-hero .brilho { position: absolute; z-index: 1; border-radius: 50%; pointer-events: none; }
.s-hero .brilho-l { width: 900px; height: 900px; right: -450px; bottom: -450px; opacity: .15;
  background: radial-gradient(circle, var(--adb-orange) 0%, transparent 65%); }
.s-hero .brilho-a { width: 600px; height: 600px; right: -120px; top: -260px; opacity: .10;
  background: radial-gradient(circle, var(--adb-yellow) 0%, transparent 65%); }
.s-hero .conteudo { position: absolute; z-index: 2; left: var(--pad-x); bottom: 150px; max-width: 1180px; }
.s-hero .eyebrow { color: var(--adb-orange); margin-bottom: 30px; }
.display {
  margin: 0; font-size: 132px; line-height: .91; font-weight: 900; letter-spacing: -0.075em;
  text-shadow: 0 2px 24px rgba(0,0,0,.45);
}
.s-hero .lead { color: rgba(255,255,255,.8); max-width: 980px; margin-top: 34px; font-size: 30px; line-height: 1.5;
  text-shadow: 0 1px 10px rgba(0,0,0,.35); }
.s-hero .pilulas { display: flex; gap: 16px; margin-top: 44px; }
.pilula {
  display: inline-flex; align-items: center; gap: 12px;
  padding: 16px 30px; border-radius: 999px;
  font-size: 20px; font-weight: 900; letter-spacing: .02em;
}
.pilula--laranja { background: var(--adb-orange); color: #fff; box-shadow: var(--adb-shadow-orange-sm); }
.pilula--contorno { border: 1px solid rgba(255,255,255,.4); color: #fff; }
.s-hero .logo-hero {
  position: absolute; z-index: 2; top: 64px; left: var(--pad-x);
  width: 96px; height: 96px; border-radius: 50%; background: #fff; padding: 6px;
  box-shadow: var(--adb-shadow-soft);
}
.s-hero .pag-hero { position: absolute; z-index: 2; right: var(--pad-x); bottom: 40px;
  font-size: 17px; font-weight: 900; letter-spacing: .08em; color: rgba(255,255,255,.6); }

/* ---------- ícone em quadrado laranja suave ---------- */
.ico {
  flex: none; display: inline-grid; place-items: center;
  width: 56px; height: 56px; border-radius: var(--adb-radius-md);
  background: var(--adb-orange-soft); color: var(--adb-orange); font-size: 24px;
  box-shadow: 0 4px 14px rgba(255,107,0,.15);
}

/* ---------- status ---------- */
.status {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 8px 18px; border-radius: 999px;
  font-size: 16px; font-weight: 900; letter-spacing: .1em; text-transform: uppercase;
  background: #fff; border: 1px solid var(--adb-line); color: var(--adb-text);
}
.status::before { content: ''; width: 10px; height: 10px; border-radius: 50%; background: var(--adb-muted); }
.status--producao::before { background: var(--adb-orange); }
.status--implantacao::before { background: linear-gradient(90deg, var(--adb-orange) 50%, var(--adb-orange-soft) 50%); box-shadow: 0 0 0 1px var(--adb-orange); }
.status--teste::before { background: var(--adb-yellow); box-shadow: 0 0 0 1px #d9b800; }
.status--desenvolvimento::before { background: transparent; box-shadow: inset 0 0 0 2px var(--adb-muted); }

/* ---------- slide de projeto ---------- */
.p-topo { display: flex; align-items: center; gap: 18px; }
.p-topo .eyebrow { margin: 0; }
.p-corpo { display: grid; grid-template-columns: 760px 1fr; gap: 64px; margin-top: 26px; height: 590px; }
.p-texto { display: flex; flex-direction: column; min-width: 0; }
.p-nome { margin: 0; font-size: 84px; line-height: .98; font-weight: 900; letter-spacing: -0.055em; color: var(--adb-text); }
.p-nome em { font-style: italic; color: var(--adb-orange); }
.p-autoria { margin: 14px 0 0; font-size: 21px; font-weight: 700; color: var(--adb-orange-text); }
.p-oque { margin: 22px 0 0; font-size: 27px; line-height: 1.45; color: var(--adb-text); }
.p-numeros { margin-top: auto; display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.num { border-left: 4px solid var(--adb-orange); padding-left: 18px; }
.num b { display: block; font-size: 54px; line-height: 1; font-weight: 900; letter-spacing: -0.04em; color: var(--adb-text); }
.num b.txt { font-size: 34px; line-height: 1.05; letter-spacing: -0.03em; }
.num span { display: block; margin-top: 10px; font-size: 18px; line-height: 1.35; color: var(--adb-muted); }

.p-tela { position: relative; min-width: 0; display: flex; flex-direction: column; justify-content: center; }
.janela {
  border-radius: var(--adb-radius-card); overflow: hidden; background: #fff;
  border: 1px solid var(--adb-line); box-shadow: var(--adb-shadow-strong);
}
.janela-barra {
  height: 44px; display: flex; align-items: center; gap: 10px; padding: 0 20px;
  background: var(--adb-sand); border-bottom: 1px solid var(--adb-line);
  font-size: 16px; font-weight: 700; color: var(--adb-muted);
}
.janela-barra i { width: 12px; height: 12px; border-radius: 50%; background: var(--adb-line); }
.janela-barra .dominio { margin-left: 14px; display: inline-flex; align-items: center; gap: 8px; }
.janela img { display: block; width: 100%; height: 500px; object-fit: cover; object-position: top center; cursor: zoom-in; }
.tela-nota { margin: 14px 4px 0; font-size: 16px; color: var(--adb-muted); }
.tela-vazia {
  height: 544px; border-radius: var(--adb-radius-card);
  background: var(--adb-sand); border: 2px dashed var(--adb-sand-dark);
  display: grid; place-items: center; align-content: center; gap: 18px; text-align: center;
  color: var(--adb-muted); font-size: 24px; font-weight: 700;
}
.tela-vazia .fa-solid { font-size: 56px; color: var(--adb-orange); }

/* painel visual no lugar da tela (ex.: régua da moderação) */
.painel {
  height: 544px; border-radius: var(--adb-radius-card); padding: 40px 44px;
  background: #fff; border: 1px solid var(--adb-line); box-shadow: var(--adb-shadow-strong);
  display: grid; grid-template-columns: 1fr 1fr; gap: 36px;
}
.painel h4 { margin: 0 0 18px; display: flex; align-items: center; gap: 14px; font-size: 26px; font-weight: 900; color: var(--adb-text); }
.painel ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 12px; }
.painel li { font-size: 21px; line-height: 1.3; color: var(--adb-text); padding-left: 22px; position: relative; }
.painel li::before { content: ''; position: absolute; left: 0; top: 11px; width: 8px; height: 8px; border-radius: 50%; background: var(--adb-orange); }
.painel .fica li::before { background: var(--adb-muted); }
.painel .rodape-painel { grid-column: 1 / -1; align-self: end; padding-top: 18px; border-top: 1px solid var(--adb-line);
  font-size: 19px; color: var(--adb-muted); }

/* ficha técnica */
.ficha {
  position: absolute; z-index: 2; left: var(--pad-x); right: var(--pad-x); bottom: 100px;
  display: grid; grid-template-columns: repeat(5, 1fr);
  background: var(--adb-sand); border: 1px solid var(--adb-line); border-radius: var(--adb-radius-card);
}
.s-areia .ficha { background: #fff; }
.ficha > div { padding: 22px 24px; display: flex; gap: 16px; min-width: 0; }
.ficha > div + div { border-left: 1px solid var(--adb-line); }
.ficha .ico { width: 44px; height: 44px; font-size: 19px; border-radius: 12px; }
.ficha h5 { margin: 0 0 6px; font-size: 14px; font-weight: 900; letter-spacing: .14em; text-transform: uppercase; color: var(--adb-orange-text); }
.ficha p { margin: 0; font-size: 17px; line-height: 1.38; color: var(--adb-text); }

/* ---------- mapa dos sistemas ---------- */
.mapa { display: grid; grid-template-columns: 1fr 520px; gap: 40px; margin-top: 48px; }
.mapa h3 { margin: 0 0 18px; display: flex; align-items: baseline; gap: 14px; font-size: 26px; font-weight: 900; color: var(--adb-text); }
.mapa h3 span { font-size: 18px; font-weight: 700; color: var(--adb-muted); }
.mapa-grade { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.mapa-col .mapa-grade { grid-template-columns: 1fr; }
.sis {
  display: flex; align-items: center; gap: 18px; padding: 18px 22px;
  background: #fff; border: 1px solid var(--adb-line); border-radius: 24px; box-shadow: var(--adb-shadow-card);
  cursor: pointer; text-align: left; font: inherit; color: inherit;
  transition: transform .3s ease-out, box-shadow .3s ease-out, border-color .3s ease-out;
}
.sis:hover { transform: translateY(-4px); box-shadow: var(--adb-shadow-strong); border-color: rgba(255,107,0,.3); }
.sis .ico { width: 52px; height: 52px; font-size: 22px; }
.sis b { display: block; font-size: 22px; font-weight: 900; color: var(--adb-text); letter-spacing: -0.01em; }
.sis small { display: block; margin-top: 3px; font-size: 16px; color: var(--adb-muted); }
.sis .status { margin-left: auto; font-size: 12px; padding: 6px 12px; flex: none; }
.legenda { display: flex; gap: 14px; margin-top: 26px; }

/* ---------- onde tudo roda ---------- */
.ambientes { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; margin-top: 46px; }
.amb {
  background: #fff; border: 1px solid var(--adb-line); border-radius: var(--adb-radius-card);
  box-shadow: var(--adb-shadow-card); padding: 30px 28px; display: flex; flex-direction: column;
}
.amb h4 { margin: 18px 0 6px; font-size: 26px; font-weight: 900; color: var(--adb-text); letter-spacing: -0.02em; }
.amb .traco { width: 32px; height: 3px; background: var(--adb-orange); margin: 4px 0 14px; }
.amb p { margin: 0; font-size: 18px; line-height: 1.45; color: var(--adb-muted); }
.amb ul { margin: 18px 0 0; padding: 0; list-style: none; display: flex; flex-wrap: wrap; gap: 8px; }
.amb li { padding: 7px 14px; border-radius: 999px; background: var(--adb-orange-soft); color: var(--adb-text); font-size: 16px; font-weight: 700; }
.dados-faixa {
  margin-top: 28px; display: flex; align-items: center; gap: 28px;
  padding: 28px 36px; border-radius: var(--adb-radius-card);
  background: var(--adb-night); color: #fff;
}
.dados-faixa .ico { background: rgba(255,107,0,.18); color: var(--adb-orange); box-shadow: none; }
.dados-faixa b { font-size: 26px; font-weight: 900; letter-spacing: -0.02em; }
.dados-faixa p { margin: 6px 0 0; font-size: 19px; line-height: 1.45; color: rgba(255,255,255,.8); }

/* ---------- cards de regras (segurança / próximos passos) ---------- */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 50px; }
.card {
  background: #fff; border: 1px solid var(--adb-line); border-radius: var(--adb-radius-card);
  box-shadow: var(--adb-shadow-card); padding: 30px 30px 32px;
}
.card h4 { margin: 20px 0 0; font-size: 25px; line-height: 1.15; font-weight: 900; color: var(--adb-text); letter-spacing: -0.02em; }
.card .traco { width: 32px; height: 3px; background: var(--adb-orange); margin: 14px 0 14px; }
.card p { margin: 0; font-size: 19px; line-height: 1.45; color: var(--adb-muted); }
.card .quem { margin-top: 14px; font-size: 15px; font-weight: 900; letter-spacing: .12em; text-transform: uppercase; color: var(--adb-orange-text); }

/* skills AMB */
.ambientes + .fluxo-faixa { margin-top: 24px; }
.fluxo { margin: 12px 0 0; padding: 0; list-style: none; display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.fluxo li { display: inline-flex; align-items: center; gap: 12px; font-size: 19px; font-weight: 700; color: #fff; }
.fluxo li + li::before { content: '\f061'; font-family: 'Font Awesome 7 Free'; font-weight: 900; font-size: 15px; color: var(--adb-orange); }
.cards--compactas { gap: 22px; margin-top: 48px; }
.cards--compactas .card { display: flex; gap: 20px; align-items: flex-start; padding: 32px 30px; }
.cards--compactas .ico { width: 56px; height: 56px; font-size: 24px; }
.cards--compactas h4 { margin: 2px 0 8px; font-size: 24px; }
.cards--compactas p { font-size: 19px; line-height: 1.42; }
.junto { margin: 30px 0 0; font-size: 19px; color: var(--adb-muted); }
.junto b { color: var(--adb-text); }

/* ---------- outros projetos ---------- */
.outros { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-top: 40px; }
.outro {
  display: flex; align-items: center; gap: 16px; padding: 21px 20px;
  background: #fff; border: 1px solid var(--adb-line); border-radius: var(--adb-radius-md); box-shadow: var(--adb-shadow-card);
}
.outro .ico { width: 52px; height: 52px; font-size: 22px; border-radius: 12px; }
.outro b { display: block; font-size: 21px; font-weight: 900; color: var(--adb-text); letter-spacing: -0.01em; line-height: 1.15; }
.outro small { display: block; margin-top: 5px; font-size: 16px; line-height: 1.3; color: var(--adb-muted); }
.outros-grupo { margin: 34px 0 0; font-size: 24px; font-weight: 900; color: var(--adb-text); letter-spacing: -0.01em; }
.outros-grupo + .outros { margin-top: 16px; }

/* ---------- navegação ---------- */
.progresso { position: fixed; left: 0; bottom: 0; height: 4px; background: var(--adb-orange); z-index: 50; transition: width .2s ease-out; }
.zoom {
  position: fixed; inset: 0; z-index: 60; display: none; place-items: center;
  background: rgba(10,15,26,.92); cursor: zoom-out; padding: 3vh 3vw;
}
.zoom.aberto { display: grid; }
.zoom img { max-width: 100%; max-height: 100%; border-radius: 16px; box-shadow: var(--adb-shadow-strong); }

@media (prefers-reduced-motion: reduce) { * { transition: none !important; } }

/* ---------- impressão / PDF: um slide por página ---------- */
@page { size: 1920px 1080px; margin: 0; }
@media print {
  body { overflow: visible; background: #fff; }
  .palco { position: static; transform: none; width: auto; height: auto; }
  .slide { display: block; position: relative; width: 1920px; height: 1080px; break-after: page; }
  .progresso, .zoom { display: none !important; }
  * { -webkit-print-color-adjust: exact; print-color-adjust: exact; }
}
