/* ============================================================
   Deck — Coronel Lenise / AGIR
   Consome tokens do design system. Slides estáticos.
   ============================================================ */

:root {
  --type-scale: 1;
  --type-mega:     calc(120px * var(--type-scale));
  --type-display:  calc(80px  * var(--type-scale));
  --type-title:    calc(56px  * var(--type-scale));
  --type-quote:    calc(48px  * var(--type-scale));
  --type-subtitle: calc(33px  * var(--type-scale));
  --type-body:     calc(25px  * var(--type-scale));
  --type-small:    calc(22px  * var(--type-scale));
  --type-label:    calc(22px  * var(--type-scale));

  --pad-x: 120px;
  --pad-y: 92px;
  --gap:   40px;

  --dk-accent:        var(--gold-500);
  --dk-accent-bright: var(--gold-400);
  --grad-br: linear-gradient(155deg, var(--br-yellow) 0%, #f2c200 32%, var(--br-green) 100%);
}

* { box-sizing: border-box; }

deck-stage:not(:defined) { visibility: hidden; }

/* Ícones Lucide finos por padrão — acabamento elegante em todo o deck.
   (O Lucide vira <svg>; o stroke-width via CSS vence o atributo.) */
deck-stage svg { stroke-width: 1.2; }

body {
  margin: 0;
  background: #03070f;
  font-family: var(--font-body);
}

/* ---------- slide shell ---------- */
.slide {
  display: flex;
  padding: var(--pad-y) var(--pad-x);
  overflow: hidden;
  font-family: var(--font-body);
  -webkit-font-smoothing: antialiased;
}

.surf-navy {
  background:
    radial-gradient(120% 95% at 82% -12%, var(--navy-700) 0%, transparent 55%),
    var(--navy-800);
  color: #fff;
}
.surf-deep {
  background:
    radial-gradient(135% 105% at 50% -25%, var(--navy-800) 0%, transparent 62%),
    var(--navy-950);
  color: #fff;
}
.surf-paper {
  position: relative;
  background: var(--paper);
  color: var(--text-body);
}
/* degradê claro e discreto: um halo suave (a "cor mais clara") que respira e
   gira de leve — vive num ::before atrás do conteúdo. A animação fica gated por
   prefers-reduced-motion (bloco ken burns); o halo base aparece sempre. */
.surf-paper::before {
  content: ""; position: absolute; inset: -15%; z-index: 0; pointer-events: none;
  background: radial-gradient(48% 52% at 36% 28%,
    #ffffff 0%, rgba(255, 255, 255, 0.55) 30%, rgba(255, 255, 255, 0) 64%);
  transform-origin: 50% 50%;
}
.surf-paper > * { position: relative; z-index: 1; }

/* ---------- brand atoms ---------- */
.eyebrow {
  font-family: var(--font-label);
  font-weight: 700;
  font-size: var(--type-label);
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--dk-accent);
  margin: 0;
}
.eyebrow.on-light { color: var(--gold-600); }

.rule {
  display: block;
  height: 5px;
  width: 104px;
  flex-shrink: 0;
  border-radius: 3px;
  background: linear-gradient(90deg, var(--dk-accent), var(--gold-300));
}

.stars {
  display: flex;
  gap: 10px;
  color: var(--dk-accent);
  font-size: 26px;
  letter-spacing: 0.1em;
}

.capsule {
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  padding: 0.5em 1.3em;
  border-radius: var(--r-pill);
  background: var(--dk-accent);
  color: var(--navy-950);
  font-family: var(--font-label);
  font-weight: 700;
  font-size: var(--type-label);
  letter-spacing: 0.26em;
  text-transform: uppercase;
  line-height: 1;
}

.plate {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}
.plate .vote {
  font-family: var(--font-display);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  color: var(--dk-accent-bright);
}
.plate .box {
  background:
    linear-gradient(var(--navy-950), var(--navy-950)) padding-box,
    var(--grad-br) border-box;
  border: 3px solid transparent;
  border-radius: var(--r-xl);
  box-shadow: var(--shadow-lg);
  line-height: 1;
}
.plate .num {
  display: block;
  font-family: var(--font-display);
  font-weight: 900;
  background: var(--grad-br);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  letter-spacing: 0.04em;
  line-height: 1;
}

/* display name lockup */
.name-lockup {
  font-family: var(--font-display);
  font-weight: 900;
  text-transform: uppercase;
  line-height: 0.82;
  letter-spacing: -0.02em;
  color: #fff;
}
.name-lockup .first {
  display: block;
  font-weight: 600;
  letter-spacing: 0.05em;
}

.slogan {
  font-family: var(--font-display);
  font-weight: 700;
  font-style: italic;
  text-transform: uppercase;
  line-height: 0.98;
  letter-spacing: -0.01em;
}
.slogan .hi { color: var(--dk-accent); font-weight: 900; }
/* 2ª linha do slogan: dourado em degradê que culmina em claro (sem brilho externo) */
.slogan-shine {
  font-weight: 900;
  background: linear-gradient(96deg,
    var(--gold-600) 0%, var(--gold-500) 28%, var(--gold-300) 62%, #fff4cc 100%);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}

/* número em alusão às cores do Brasil — padrão `--grad-br` (ver .plate .num/.box) */

/* círculos de bandeira ao lado da cápsula RIO DE JANEIRO */
.flag-circle {
  display: inline-flex;
  align-self: center;
  width: calc(48px * var(--type-scale));
  height: calc(48px * var(--type-scale));
  border-radius: 50%;
  overflow: hidden;
  border: 2px solid var(--gold-500);
  box-shadow: var(--shadow-sm);
  flex: 0 0 auto;
}
.flag-circle svg { display: block; width: 100%; height: 100%; }
.flag-circle img { display: block; width: 100%; height: 100%; object-fit: cover; }

/* ---------- COVER (slide 1) ---------- */
.cover {
  padding: 0; position: relative; background: var(--navy-950);
}
/* fundo (degradê + foto) num ::before para o ken burns animar os dois juntos */
.cover::before {
  content: ""; position: absolute; inset: -3%; z-index: 0;
  background:
    linear-gradient(104deg,
      var(--navy-950) 0%,
      rgba(3,19,46,0.82) 25%,
      rgba(3,19,46,0.30) 45%,
      rgba(6,31,69,0.32) 100%),
    url('assets/bg-capa.webp') center/cover no-repeat;
}
.cover .col-photo { z-index: 1; }
.cover .col-text {
  flex: 1 1 54%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 28px;
  padding: var(--pad-y) 70px var(--pad-y) var(--pad-x);
  z-index: 2;
}
.cover .col-photo {
  flex: 1 1 46%;
  position: relative;
  align-self: stretch;
}
.cover .col-photo img {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  height: 100%;
  width: auto;
  max-width: 118%;
  object-fit: contain;
  object-position: bottom center;
  z-index: 1;
  filter: drop-shadow(0 14px 44px rgba(3,19,46,0.5));
}
.cover .diagonal {
  position: absolute;
  top: -10%;
  left: -6%;
  width: 58%;
  height: 16px;
  background: linear-gradient(90deg, var(--dk-accent), var(--gold-300));
  transform: rotate(-7deg);
  opacity: 0.9;
  z-index: 3;
}
.cover-foot {
  display: flex;
  align-items: center;
  gap: 22px;
  color: var(--navy-200);
  font-size: var(--type-small);
}
.cover-foot img { height: 30px; }

/* ---------- generic two-column ---------- */
.split { gap: 72px; align-items: stretch; }
.split .left  { display: flex; flex-direction: column; }
.split .right { display: flex; flex-direction: column; }

.head-block { display: flex; flex-direction: column; gap: 22px; }
.kicker-row { display: flex; align-items: center; gap: 20px; }
.title {
  font-family: var(--font-display);
  font-weight: 900;
  text-transform: uppercase;
  line-height: 0.92;
  letter-spacing: -0.02em;
  margin: 0;
  font-size: var(--type-title);
}
.title.on-light { color: var(--navy-950); }
.lede {
  font-size: var(--type-body);
  line-height: 1.5;
  max-width: 22em;
  color: inherit;
}
.muted { color: var(--text-muted); }
.dim { color: var(--navy-200); }

/* ---------- ROTEIRO (slide 2) ---------- */
.roadmap { display: flex; flex-direction: column; gap: 10px; justify-content: flex-end; }
.rm-item {
  display: grid;
  grid-template-columns: 92px 1fr;
  align-items: center;
  gap: 28px;
  padding: 18px 0;
  border-top: 1px solid var(--line);
}
.rm-item:last-child { border-bottom: 1px solid var(--line); }
/* Índice clicável — cada item leva ao slide correspondente. */
.rm-item[data-goto] {
  cursor: pointer;
  padding-left: 10px; margin-left: -10px; border-radius: 8px;
  transition: background var(--dur-fast, 140ms) var(--ease-out, ease),
              transform var(--dur-fast, 140ms) var(--ease-out, ease);
}
.rm-item[data-goto]:hover { background: var(--paper-2); transform: translateX(4px); }
.rm-item[data-goto]:hover .rm-num { color: var(--gold-500); }
.rm-item[data-goto]:hover .rm-label { color: var(--navy-700); }
.rm-item[data-goto]:focus-visible {
  outline: 3px solid var(--gold-400); outline-offset: 3px; background: var(--paper-2);
}
.rm-num {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 46px;
  color: var(--gold-600);
  line-height: 1;
}
.rm-label {
  font-family: var(--font-display);
  font-weight: 800;
  text-transform: uppercase;
  font-size: var(--type-subtitle);
  letter-spacing: -0.01em;
  color: var(--navy-950);
}
.rm-sub { font-size: var(--type-small); color: var(--text-muted); margin-top: 2px; }

/* ---------- PERFIL (slide 3) ---------- */
.perfil {
  background:
    radial-gradient(85% 120% at 100% 0%, var(--navy-100) 0%, transparent 55%),
    linear-gradient(115deg, #ffffff 0%, var(--paper) 55%, var(--paper-2) 100%);
  /* full-bleed à esquerda: as fotos vão até a borda da tela */
  padding-left: 0;
}
.perfil .photo-col {
  flex: 0 0 60%;
  position: relative;
  overflow: hidden;            /* sangria contida — nunca invade a coluna de texto */
  /* estende a coluna por toda a altura do slide (vence o padding top/bottom):
     palco maior ⇒ as 3 figuras crescem juntas e ficam coladas no bottom. */
  margin-top: calc(-1 * var(--pad-y));
  margin-bottom: calc(-1 * var(--pad-y));
}
/* composição: 1 recorte em primeiro plano + 2 ao fundo (esq/dir), deslocados
   para a esquerda; os de trás ficam só ~25% atrás do primeiro plano. */
.perfil-stack { position: absolute; inset: 0; }
.perfil-stack img {
  position: absolute; bottom: 0; left: 45%;
  /* altura <100% + object-fit:contain ⇒ a figura inteira sempre cabe (sem corte) */
  width: auto; object-fit: contain; object-position: bottom center;
}
.ps-front {
  height: 96%; z-index: 3;
  transform: translateX(-50%);
  filter: drop-shadow(0 18px 46px rgba(3, 19, 46, 0.34));
}
.ps-bg {
  /* quase a mesma altura do front (cabeças no mesmo nível) e offset lateral só o
     bastante p/ o rosto escapar da silhueta — corpo bem atrás, rosto inteiro à mostra */
  height: 78%; z-index: 2; opacity: 0.9;
  filter: drop-shadow(0 14px 30px rgba(3, 19, 46, 0.26)) saturate(0.92) brightness(0.96);
}
.ps-left  { transform: translateX(-100%); }   /* recuada, bem mais à esquerda (perto da margem) */
.ps-right { transform: translateX(0%); }       /* recuada, bem mais à direita */
/* Entrada: o primeiro plano surge primeiro; os dois de trás deslizam para os
   lados saindo de trás dele (começam centralizados e ocultos). Base sem motion
   já mostra o estado final. */
@media (prefers-reduced-motion: no-preference) {
  @keyframes psFrontIn { from { opacity: 0; transform: translateX(-50%) translateY(26px); }
                         to   { opacity: 1; transform: translateX(-50%) translateY(0); } }
  @keyframes psLeftIn  { from { opacity: 0; transform: translateX(-50%); }
                         to   { opacity: .9; transform: translateX(-100%); } }
  @keyframes psRightIn { from { opacity: 0; transform: translateX(-50%); }
                         to   { opacity: .9; transform: translateX(0%); } }
  .perfil[data-deck-active] .ps-front { animation: psFrontIn 0.7s var(--ease-out, ease) 0.15s both; }
  .perfil[data-deck-active] .ps-left  { animation: psLeftIn  0.9s var(--ease-out, ease) 0.62s both; }
  .perfil[data-deck-active] .ps-right { animation: psRightIn 0.9s var(--ease-out, ease) 0.78s both; }
}
.perfil .info-col { flex: 1 1 40%; display: flex; flex-direction: column; justify-content: center; gap: 26px; }

/* chips de identidade (sob o título) */
.perfil .id-chips { display: flex; gap: 12px; flex-wrap: wrap; }
.perfil .id-chip {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 9px 30px; border-radius: var(--r-pill);
  font-family: var(--font-label); font-weight: 500; font-size: var(--type-small);
  text-transform: uppercase; letter-spacing: 0.06em;
}
.perfil .id-chip i { width: 18px; height: 18px; stroke-width: 2.4; }
.perfil .id-chip.navy { background: var(--navy-800); color: #fff; }
.perfil .id-chip.gold { background: linear-gradient(135deg, var(--gold-500), var(--gold-400)); color: var(--navy-950); }

.id-cards { display: flex; flex-direction: column; gap: 18px; }
.id-card {
  display: grid;
  grid-template-columns: 108px 1fr;
  gap: 28px;
  align-items: center;
  background: #fff;
  border: 1px solid var(--line);
  border-left: 6px solid var(--navy-700);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-md);
  padding: 24px 30px;
  position: relative;
  overflow: hidden;
}
.id-card:nth-child(2) { border-left-color: var(--gold-500); }
/* lavagem de cor suave ao fundo, partindo do ícone */
.id-card::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(90deg, rgba(10, 42, 94, 0.07), transparent 32%);
}
.id-card:nth-child(2)::after {
  background: linear-gradient(90deg, rgba(232, 163, 23, 0.12), transparent 32%);
}
.id-ico {
  width: 108px; height: 108px; border-radius: var(--r-lg);
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, var(--navy-700), var(--navy-900));
  border: none; box-shadow: var(--shadow-md);
  position: relative; z-index: 1;
}
.id-card:nth-child(2) .id-ico {
  background: linear-gradient(135deg, var(--gold-600), var(--gold-500));
}
/* Ícones grandes e brancos nos dois cards. O Lucide troca o <i> por <svg>,
   então miramos o svg (e o i, no instante anterior à troca). Traço fino para
   um acabamento elegante, não "bruto". */
.id-ico svg, .id-ico i { width: 66px; height: 66px; color: #fff; }
.id-ico svg { stroke-width: 1.2; }
.id-card h3 {
  margin: 0 0 6px; font-family: var(--font-display); font-weight: 800;
  text-transform: uppercase; font-size: var(--type-subtitle); color: var(--navy-950); letter-spacing: -0.01em;
  position: relative; z-index: 1;
}
.id-card p {
  margin: 0; font-size: var(--type-small); line-height: 1.5; color: var(--text-body);
  position: relative; z-index: 1;
}

/* ---------- TRAJETÓRIA (slide 4) ---------- */
.trajetoria {
  padding: 0; position: relative; color: #fff; background: var(--navy-950);
}
.trajetoria::before {
  content: ""; position: absolute; inset: -3%; z-index: 0;
  background:
    linear-gradient(100deg,
      rgba(3,19,46,0.88) 0%,
      rgba(3,19,46,0.58) 42%,
      rgba(3,19,46,0.12) 62%,
      transparent 80%),
    url('assets/bg-trajetoria.webp') center / cover no-repeat;
}
.traj-inner { position: relative; z-index: 1; }
.traj-inner {
  display: flex; flex-direction: column; justify-content: center; gap: 20px;
  padding: 54px var(--pad-x);
  max-width: 60%;
}
.traj-sub {
  margin: 0; font-family: var(--font-body); font-weight: 500;
  font-size: var(--type-body); color: var(--navy-200); line-height: 1.3;
}
.traj-lead {
  margin: 0; font-family: var(--font-body); font-weight: 500;
  font-size: calc(33px * var(--type-scale)); line-height: 1.52; color: #fff;
  max-width: 28em;
}
.traj-lead .hi { color: var(--dk-accent-bright); font-weight: 700; }
/* multicolumn com column-fill:balance ⇒ as duas colunas ficam com o mesmo nº de
   linhas (alturas equalizadas). column-rule é o fio dourado, centrado no vão. */
.traj-body {
  column-count: 2;
  column-gap: 76px;
  column-rule: 2px solid rgba(232, 163, 23, 0.35);
  column-fill: balance;
  orphans: 2; widows: 2;
}
.traj-body p {
  margin: 0; font-size: calc(25px * var(--type-scale)); line-height: 1.55; color: var(--navy-100);
  text-align: justify; hyphens: auto; -webkit-hyphens: auto;
}
.traj-body p + p { margin-top: 0.9em; }

/* ---------- VISÃO / JORNADA (slide 14) ---------- */
.vision {
  padding: 0; position: relative; color: #fff; background: var(--navy-950);
}
.vision::before {
  content: ""; position: absolute; inset: -3%; z-index: 0;
  background:
    linear-gradient(100deg,
      rgba(3,19,46,0.93) 0%,
      rgba(3,19,46,0.72) 40%,
      rgba(3,19,46,0.28) 62%,
      rgba(3,19,46,0.06) 80%,
      transparent 100%),
    url('assets/lenise-vision.webp') center / cover no-repeat;
}
.vision-inner { position: relative; z-index: 1; }
.vision-inner {
  display: flex; flex-direction: column; justify-content: center; gap: 28px;
  padding: var(--pad-y) var(--pad-x);
  max-width: 60%;
}
.vision-quote {
  margin: 0;
  font-family: var(--font-display); font-weight: 700; font-style: italic;
  text-transform: uppercase; font-size: calc(56px * var(--type-scale));
  line-height: 1.06; letter-spacing: -0.01em; color: #fff; text-wrap: balance;
}
.vision-quote .hi { color: var(--gold-400); font-weight: 900; }
.vision-sub { margin: 0; font-size: var(--type-body); color: var(--navy-100); line-height: 1.5; max-width: 26em; }

/* ---------- DIVISOR DE SEÇÃO (transição) ---------- */
.section-divider {
  justify-content: center; align-items: center; text-align: center;
  padding: var(--pad-y) var(--pad-x);
  position: relative; overflow: hidden;
}
/* brilho dourado suave ao centro */
.section-divider::after {
  content: ""; position: absolute; inset: 0; pointer-events: none; z-index: 0;
  background: radial-gradient(58% 62% at 50% 42%, rgba(232, 163, 23, 0.13), transparent 70%);
}
/* índice gigante e quase invisível da seção, ao fundo */
.divider-index {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -56%);
  font-family: var(--font-display); font-weight: 900; font-size: 540px; line-height: 1;
  letter-spacing: -0.04em; color: rgba(255, 255, 255, 0.04); z-index: 0; pointer-events: none;
  user-select: none;
}
.divider-inner {
  display: flex; flex-direction: column; align-items: center; gap: 30px;
  max-width: 80%; position: relative; z-index: 1;
}
/* eyebrow com fios laterais (kicker) */
.section-divider .eyebrow { display: inline-flex; align-items: center; gap: 18px; }
.section-divider .eyebrow::before,
.section-divider .eyebrow::after {
  content: ""; width: 56px; height: 2px; border-radius: 2px; background: var(--dk-accent);
}
.divider-statement {
  margin: 0;
  font-family: var(--font-display); font-weight: 700; font-style: italic;
  text-transform: uppercase; font-size: calc(74px * var(--type-scale));
  line-height: 1.04; letter-spacing: -0.01em; color: #fff; text-wrap: balance;
}
.divider-statement .hi { color: var(--dk-accent); font-weight: 900; }
.divider-chevron {
  width: 38px; height: 38px; color: var(--dk-accent); stroke-width: 1.4;
  padding: 16px; border: 2px solid rgba(232, 163, 23, 0.40); border-radius: 50%;
  box-sizing: content-box; margin-top: 4px;
}
@media (prefers-reduced-motion: no-preference) {
  [data-deck-active] .divider-chevron { animation: divBounce 1.9s ease-in-out infinite; }
  @keyframes divBounce { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(7px); } }
}

/* ---------- DIAGNÓSTICO (slide 6) ---------- */
.diag { flex-direction: column; gap: 46px; }
.diag-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; flex: 1; }
.stat-card {
  display: flex; flex-direction: column; gap: 14px;
  padding: 44px 46px;
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: var(--r-lg);
  background: rgba(255,255,255,0.04);
}
.stat-head { display: flex; align-items: center; gap: 16px; }
.stat-head i { width: 30px; height: 30px; color: var(--dk-accent); stroke-width: 2.2; }
.stat-head span {
  font-family: var(--font-label); font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.16em; font-size: var(--type-label); color: var(--dk-accent);
}
.stat-num {
  font-family: var(--font-display); font-weight: 900; line-height: 0.92;
  font-size: var(--type-display); color: #fff; letter-spacing: -0.02em;
}
.stat-desc { font-size: var(--type-body); line-height: 1.45; color: var(--navy-100); max-width: 18em; }
.stat-src { margin-top: auto; font-size: var(--type-small); color: var(--navy-300); font-family: var(--font-label); letter-spacing: 0.02em; }
.diag-foot {
  font-family: var(--font-display); font-weight: 700; font-style: italic; text-transform: uppercase;
  font-size: var(--type-subtitle); line-height: 1.1; color: #fff; letter-spacing: -0.01em;
}
.diag-foot .hi { color: var(--dk-accent); font-weight: 900; }

/* ---------- DIAGNÓSTICO FOCO (Segurança / Saúde, slides 6-7) ---------- */
.diag-focus {
  padding: 0; position: relative;
  background: linear-gradient(95deg, var(--navy-950) 0%, var(--navy-950) 38%, var(--navy-900) 66%, var(--navy-800) 100%);
}
/* brilho azul atrás da foto (direita); o lado do texto (esquerda) permanece
   escuro. Pulsa via ::before — animação dfGlow no bloco de movimento. */
.diag-focus::before {
  content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background: radial-gradient(42% 56% at 76% 50%,
    rgba(33, 92, 184, 0.55) 0%, rgba(20, 64, 140, 0.22) 40%, transparent 68%);
  transform-origin: 76% 50%;
}
.diag-focus .pagemark { left: var(--pad-x); right: auto; text-align: left; }
.df-text {
  flex: 1 1 58%;
  display: flex; flex-direction: column; justify-content: center; gap: 10px;
  padding: var(--pad-y) 60px var(--pad-y) var(--pad-x);
  z-index: 2;
}
/* Diagnóstico (6/7) padronizado — eyebrow/número/ênfase em vermelho de alerta. */
.diag-focus .eyebrow {
  color: #f72335;
  display: inline-flex; align-items: center; gap: 12px;
  font-size: calc(27px * var(--type-scale)); letter-spacing: 0.3em;
}
.diag-focus .eyebrow svg { width: 30px; height: 30px; color: #f72335; flex: 0 0 auto; }
/* título-seção menor, acima do eyebrow: "O Problema" */
.df-over {
  margin: 0; font-family: var(--font-label); font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.28em;
  font-size: calc(18px * var(--type-scale)); color: var(--navy-300);
}
.df-text { gap: 14px; }
.df-big {
  font-family: var(--font-display); font-weight: 900; font-size: calc(248px * var(--type-scale));
  line-height: 0.8; color: #f72335; letter-spacing: -0.03em;
}
.df-cap { margin: 8px 0 0; font-size: calc(40px * var(--type-scale)); font-weight: 500; color: #fff; line-height: 1.18; max-width: 15em; }
.df-cap strong { color: #f72335; font-weight: 800; }
.df-desc { margin: 14px 0 0; font-size: calc(28px * var(--type-scale)); color: var(--navy-100); line-height: 1.45; max-width: 22em; }
/* fonte ancorada no rodapé do slide: mesma margem (56px) que o selo @ + nº tem
   do topo — equilíbrio vertical. left = pad-x p/ alinhar com o selo e o texto. */
.df-src {
  position: absolute; left: var(--pad-x); bottom: 56px; margin: 0; z-index: 2;
  font-size: calc(19px * var(--type-scale)); color: var(--navy-300);
  font-family: var(--font-label); letter-spacing: 0.02em;
}
.df-photo { flex: 1 1 44%; position: relative; align-self: stretch; }
.df-photo::before {
  content: ""; position: absolute; left: 50%; top: 38%; transform: translate(-50%, -50%);
  width: 104%; height: 104%;
  background: radial-gradient(50% 44% at 50% 42%, rgba(120, 160, 225, 0.22) 0%, rgba(79, 134, 214, 0.08) 46%, transparent 72%);
  filter: blur(16px); mix-blend-mode: screen;
}
.df-photo img {
  position: absolute; bottom: -4%; left: 50%; transform: translateX(-50%);
  height: 106%; width: auto; max-width: 120%;
  object-fit: contain; object-position: bottom center;
  filter: drop-shadow(0 14px 42px rgba(3,19,46,0.5));
  z-index: 1;
}
/* SEIS anéis azuis concêntricos, sangrando pela borda direita atrás da figura.
   Hierarquia: externos finos e transparentes; para dentro engrossam. Sobre cada
   aro corre um TRECHO macio (cometa via conic + máscara anular) que varre o
   círculo sem completá-lo — arco (--arc), brilho (--ca), velocidade e sentido
   variam por anel. SEM mix-blend (composição cara): cor direta sobre o navy. */
.df-orbit {
  position: absolute; z-index: 0; pointer-events: none;
  right: -4%; top: 64%; width: 0; height: 0;
}
.df-orbit .ring {
  position: absolute; left: 0; top: 0; border-radius: 50%;
  border-style: solid; border-color: rgba(160, 192, 240, 0.14);
  /* TRECHO macio: transparente → brilho no meio → transparente (feather nas duas
     pontas); a máscara dá o feather nas bordas interna/externa. */
  background: conic-gradient(from 0deg,
    transparent 0deg,
    rgba(196, 218, 252, var(--ca, 0.42)) calc(var(--arc, 90deg) / 2),
    transparent var(--arc, 90deg));
  -webkit-mask: radial-gradient(closest-side, transparent 92%, #000 96%, #000 98%, transparent 100%);
          mask: radial-gradient(closest-side, transparent 92%, #000 96%, #000 98%, transparent 100%);
}
.df-orbit .ring:nth-child(1) { width: 1620px; height: 1620px; margin: -810px 0 0 -810px; border-width: 1px;  border-color: rgba(160, 192, 240, 0.14); --arc: 55deg; --ca: 0.42; }
.df-orbit .ring:nth-child(2) { width: 1320px; height: 1320px; margin: -660px 0 0 -660px; border-width: 2px;  border-color: rgba(160, 192, 240, 0.17); --arc: 30deg; --ca: 0.50; }
.df-orbit .ring:nth-child(3) { width: 1060px; height: 1060px; margin: -530px 0 0 -530px; border-width: 3px;  border-color: rgba(160, 192, 240, 0.19); --arc: 90deg; --ca: 0.54; }
.df-orbit .ring:nth-child(4) { width: 820px;  height: 820px;  margin: -410px 0 0 -410px; border-width: 5px;  border-color: rgba(160, 192, 240, 0.17); --arc: 40deg; --ca: 0.48; }
.df-orbit .ring:nth-child(5) { width: 600px;  height: 600px;  margin: -300px 0 0 -300px; border-width: 9px;  border-color: rgba(160, 192, 240, 0.14); --arc: 70deg; --ca: 0.40; }
.df-orbit .ring:nth-child(6) { width: 420px;  height: 420px;  margin: -210px 0 0 -210px; border-width: 16px; border-color: rgba(160, 192, 240, 0.10); --arc: 45deg; --ca: 0.30; }
/* cada anel: o trecho gira (varredura) E o anel INTEIRO faz fade-in/out — some da
   tela e volta, em durações/sentidos/fases próprios. Nunca todos juntos; os menores
   também desaparecem (não ficam parados). reduced-motion: arco estático e sutil. */
@media (prefers-reduced-motion: no-preference) {
  @keyframes dfSpin    { to { transform: rotate(360deg); } }
  @keyframes dfSpinRev { to { transform: rotate(-360deg); } }
  @keyframes dfFade {
    0%, 100% { opacity: 0; }
    18%      { opacity: 1; }
    40%      { opacity: 1; }
    58%      { opacity: 0; }
  }
  [data-deck-active] .df-orbit .ring:nth-child(1) { animation: dfSpin    96s linear infinite, dfFade 22s ease-in-out -3s  infinite; }
  [data-deck-active] .df-orbit .ring:nth-child(2) { animation: dfSpinRev 60s linear infinite, dfFade 19s ease-in-out -11s infinite; }
  [data-deck-active] .df-orbit .ring:nth-child(3) { animation: dfSpin    44s linear infinite, dfFade 25s ease-in-out -7s  infinite; }
  [data-deck-active] .df-orbit .ring:nth-child(4) { animation: dfSpinRev 72s linear infinite, dfFade 17s ease-in-out -14s infinite; }
  [data-deck-active] .df-orbit .ring:nth-child(5) { animation: dfSpin    36s linear infinite, dfFade 28s ease-in-out -5s  infinite; }
  [data-deck-active] .df-orbit .ring:nth-child(6) { animation: dfSpinRev 54s linear infinite, dfFade 15s ease-in-out -9s  infinite; }
}

/* ---------- DIAGNÓSTICO INTERATIVO (slide 8) ---------- */
.infographic { flex-direction: column; gap: 26px; }
.info-tabs { display: flex; gap: 14px; flex-wrap: wrap; }
.info-tab {
  display: flex; align-items: center; gap: 12px;
  padding: 15px 26px; border-radius: var(--r-md);
  background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.14);
  color: var(--navy-100); font-family: var(--font-display); font-weight: 800;
  text-transform: uppercase; font-size: var(--type-small); letter-spacing: 0.01em;
  cursor: pointer; transition: background var(--dur-fast, 140ms) ease, color var(--dur-fast, 140ms) ease, border-color var(--dur-fast, 140ms) ease;
}
.info-tab i { width: 26px; height: 26px; color: var(--navy-300); stroke-width: 2.2; }
.info-tab:hover { background: rgba(255,255,255,0.1); }
.info-tab.active { background: var(--gold-500); border-color: var(--gold-500); color: var(--navy-950); }
.info-tab.active i { color: var(--navy-950); }

.info-stage { position: relative; flex: 1; min-height: 0; }
.info-panel {
  position: absolute; inset: 0;
  display: grid; grid-template-columns: 1fr 1fr; gap: 64px;
  align-items: center; align-content: center;
  opacity: 0; visibility: hidden; transition: opacity 0.35s ease;
}
.info-panel.active { opacity: 1; visibility: visible; }
.info-figure { display: flex; flex-direction: column; gap: 18px; }
.info-big {
  font-family: var(--font-display); font-weight: 900; font-size: 142px;
  line-height: 0.86; color: var(--gold-400); letter-spacing: -0.02em;
}
.info-big-unit { font-size: 64px; color: var(--navy-200); }
.info-cap { margin: 0; font-size: calc(29px * var(--type-scale)); color: #fff; line-height: 1.28; max-width: 17em; }
.info-cap strong { color: var(--gold-300); font-weight: 700; }
.info-desc { margin: 0; font-size: calc(23px * var(--type-scale)); color: var(--navy-100); line-height: 1.45; max-width: 24em; }
.info-src { margin: 8px 0 0; font-size: var(--type-small); color: var(--navy-300); font-family: var(--font-label); letter-spacing: 0.02em; }

.info-chart { display: flex; flex-direction: column; gap: 24px; }
.chart-label { margin: 0 0 2px; font-family: var(--font-label); font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; font-size: var(--type-small); color: var(--navy-300); }
.hbar-row { display: grid; grid-template-columns: 120px 1fr auto; align-items: center; gap: 18px; }
.hbar-lbl {
  font-family: var(--font-label); font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.08em; font-size: var(--type-small); color: var(--navy-200);
}
.hbar-track { height: 32px; background: rgba(255,255,255,0.07); border-radius: var(--r-pill); overflow: hidden; }
.hbar-fill { display: block; height: 100%; width: 0; border-radius: var(--r-pill); background: var(--navy-400); transition: width 0.85s var(--ease-out, ease); }
.hbar-fill.gold { background: linear-gradient(90deg, var(--gold-500), var(--gold-300)); }
.infographic[data-deck-active] .info-panel.active .hbar-fill { width: var(--w); }
.hbar-val { font-family: var(--font-display); font-weight: 800; font-size: var(--type-body); color: #fff; min-width: 96px; text-align: right; }

/* ---------- EIXOS (slides 5-8) ---------- */
.eixo { padding: 0; }
.eixo .rail {
  flex: 0 0 36%;
  background:
    radial-gradient(120% 80% at 30% 10%, var(--navy-800) 0%, transparent 60%),
    var(--navy-950);
  display: flex; flex-direction: column; justify-content: flex-end; gap: 34px;
  padding: var(--pad-y) 60px var(--pad-y) var(--pad-x);
  position: relative;
}
.eixo-index { margin-bottom: auto; }
.eixo .rail::after {
  content: ""; position: absolute; top: 0; right: 0; width: 6px; height: 100%;
  background: linear-gradient(180deg, var(--dk-accent), var(--gold-700));
}
.eixo-index {
  font-family: var(--font-display); font-weight: 900; font-size: 150px; line-height: 0.8;
  color: transparent; -webkit-text-stroke: 2px rgba(232,163,23,0.55); letter-spacing: -0.03em;
}
.eixo-ico {
  width: 156px; height: 156px; border-radius: var(--r-xl);
  display: flex; align-items: center; justify-content: center;
  background: rgba(232,163,23,0.1); border: 1px solid rgba(232,163,23,0.4);
}
/* Lucide troca <i> por <svg>: miramos o svg. Ícone bem maior, traço elegante. */
.eixo-ico svg, .eixo-ico i { width: 90px; height: 90px; color: var(--dk-accent); }
.eixo-ico svg { stroke-width: 1.2; }
.eixo-name {
  font-family: var(--font-display); font-weight: 900; text-transform: uppercase;
  font-size: var(--type-title); line-height: 0.9; color: #fff; letter-spacing: -0.02em; margin: 0;
}
.eixo-name .sub {
  display: block; font-size: var(--type-label); font-weight: 700; font-family: var(--font-label);
  letter-spacing: 0.1em; color: var(--navy-200); margin-top: 14px;
}
.eixo .body {
  flex: 1 1 64%;
  display: flex; flex-direction: column; justify-content: center; gap: 0;
  padding: var(--pad-y) var(--pad-x) var(--pad-y) 76px;
}
/* Rótulo pequeno acima de cada bloco do eixo (Frase de Impacto / Conceitual / Apoio). */
.eixo-tag {
  display: block; font-family: var(--font-label); font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.18em; font-size: 16px;
  color: var(--dk-accent); margin: 0 0 14px;
}
.eixo-tag.muted { color: var(--navy-300); }
/* TEXTO DE IMPACTO — frase chamativa/contundente, o gancho do eixo. */
.eixo-impact {
  margin: 0 0 38px; position: relative; padding-left: 28px;
  font-family: var(--font-display); font-weight: 800;
  font-size: calc(50px * var(--type-scale)); line-height: 1.05; letter-spacing: -0.01em;
  color: #fff;
}
.eixo-impact::before {
  content: ""; position: absolute; left: 0; top: 4px; bottom: 4px; width: 8px;
  border-radius: 4px; background: linear-gradient(180deg, var(--dk-accent), var(--gold-300));
}
.eixo-impact .hi { color: var(--dk-accent); }
/* TEXTO CONCEITO — a frase-conceito (secundária ao impacto). */
.eixo-quote { display: flex; flex-direction: column; gap: 16px; margin: 0 0 38px; }
.eixo-quote .q {
  font-family: var(--font-display); font-weight: 700; font-style: italic; text-transform: uppercase;
  font-size: calc(30px * var(--type-scale)); line-height: 1.12; letter-spacing: -0.01em;
  color: var(--navy-200); margin: 0;
}
.eixo-quote .q .hi { color: var(--dk-accent); font-weight: 900; }
.comp-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.comp {
  display: grid; grid-template-columns: 30px 1fr; gap: 18px; align-items: start;
  padding: 22px 26px;
  background: rgba(255,255,255,0.045);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--r-md);
}
.comp svg, .comp i { width: 26px; height: 26px; color: var(--dk-accent); stroke-width: 1.2; margin-top: 2px; }
.comp p { margin: 0; font-size: var(--type-small); line-height: 1.4; color: var(--navy-100); }

/* ---------- CTA (slide 9) ---------- */
.cta {
  flex-direction: column; align-items: center; justify-content: center;
  text-align: center; gap: 36px; position: relative; overflow: hidden;
}
/* brilho dourado no topo + base marinho — tira a dureza do fundo chapado */
.cta::before {
  content: ""; position: absolute; inset: 0; pointer-events: none; z-index: 0;
  background:
    radial-gradient(64% 46% at 50% 18%, rgba(232, 163, 23, 0.15), transparent 62%),
    radial-gradient(110% 80% at 50% 130%, rgba(15, 58, 130, 0.55), transparent 60%);
}
.cta > * { position: relative; z-index: 1; }
.cta .plate .num { font-size: 150px; }
.cta .plate .box { padding: 18px 56px; }
.cta .plate .vote { font-size: calc(48px * var(--type-scale)); letter-spacing: 0.28em; }
.cta-instr {
  font-family: var(--font-display); font-weight: 900; font-style: italic; text-transform: uppercase;
  font-size: var(--type-title); line-height: 1.0; color: #fff; letter-spacing: -0.01em; margin: 0;
}
.cta-instr .hi { color: var(--dk-accent); }
.cta-steps { display: flex; gap: 28px; margin-top: 8px; counter-reset: step; }
.cta-step {
  counter-increment: step;
  display: flex; flex-direction: column; align-items: center; gap: 16px;
  width: 332px; padding: 38px 30px 32px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.02));
  border: 1px solid rgba(232, 163, 23, 0.20);
  border-radius: var(--r-lg); position: relative;
}
/* número do passo, no canto */
.cta-step::before {
  content: "0" counter(step);
  position: absolute; top: 14px; right: 18px;
  font-family: var(--font-display); font-weight: 900; font-size: 30px; line-height: 1;
  color: rgba(232, 163, 23, 0.24);
}
.cta-step .ico {
  width: 74px; height: 74px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, var(--gold-500), var(--gold-400));
  border: none; box-shadow: var(--shadow-gold);
}
.cta-step .ico svg, .cta-step .ico i { width: 36px; height: 36px; color: var(--navy-950); }
.cta-step h4 {
  margin: 0; font-family: var(--font-display); font-weight: 800; text-transform: uppercase;
  font-size: var(--type-body); color: #fff; letter-spacing: -0.01em;
}
.cta-step p { margin: 0; font-size: var(--type-small); line-height: 1.45; color: var(--navy-100); }
.cta-foot { display: flex; align-items: center; gap: 22px; color: var(--navy-200); font-size: var(--type-small); margin-top: 12px; }
.cta-foot img { height: 32px; }
.cta-foot .dot { width: 5px; height: 5px; border-radius: 50%; background: var(--navy-300); }

/* ---------- shared page furniture ---------- */
.pagemark {
  position: absolute; top: 56px; right: var(--pad-x);
  font-family: var(--font-label); font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase;
  font-size: var(--type-small);
}
.pagemark.on-dark { color: var(--navy-300); }
.pagemark.on-light { color: var(--ink-500); }
.wordmark-top { position: absolute; top: 50px; left: var(--pad-x); height: 26px; opacity: 0.92; }

/* ---------- entrance ----------
   Base state is fully visible. Animation moves transform ONLY (never opacity),
   so content is always visible even if the animation is frozen/never runs. */
.anim, .anim-2, .anim-3 { opacity: 1; }

@media (prefers-reduced-motion: no-preference) {
  /* Entrada escalonada: cada nível entra com um delay maior, criando a sensação
     de transição entre páginas. Fade só dentro do no-preference (fora dele o
     conteúdo fica sempre visível — base .anim opacity:1). */
  [data-deck-active] .anim   { animation: rise 0.66s var(--ease-out, ease) 0.06s both; }
  [data-deck-active] .anim-2 { animation: rise 0.66s var(--ease-out, ease) 0.20s both; }
  [data-deck-active] .anim-3 { animation: rise 0.66s var(--ease-out, ease) 0.34s both; }
  /* A "page furniture" (selo 36555 · @coronellenise) era o único bloco estático;
     entra por último, fechando o escalonamento. */
  [data-deck-active] .pagemark { animation: rise 0.66s var(--ease-out, ease) 0.46s both; }
  @keyframes rise {
    from { opacity: 0; transform: translateY(28px); }
    to   { opacity: 1; transform: none; }
  }
}

/* ============================================================
   AVISO "GIRE O CELULAR" — a apresentação é 16:9 e fica melhor na horizontal.
   Some no desktop e em qualquer tela em paisagem; aparece só em retrato estreito.
   ============================================================ */
.rotate-hint { display: none; }
@media (orientation: portrait) and (max-width: 820px) {
  .rotate-hint {
    display: flex; flex-direction: column; align-items: center; justify-content: center;
    gap: 24px; text-align: center;
    position: fixed; inset: 0; z-index: 2147483647;
    padding: 40px;
    background: radial-gradient(120% 90% at 50% 5%, var(--navy-800) 0%, var(--navy-950) 70%);
    color: #fff;
  }
  .rotate-hint .rh-icon {
    width: 86px; height: 86px; color: var(--gold-400);
    transform-origin: 50% 50%; animation: rhRotate 2.6s ease-in-out infinite;
  }
  .rotate-hint .rh-title {
    margin: 0; font-family: var(--font-display); font-weight: 900;
    text-transform: uppercase; font-size: 30px; letter-spacing: -0.01em;
  }
  .rotate-hint .rh-sub {
    margin: 0; font-family: var(--font-body); color: var(--navy-200);
    font-size: 17px; line-height: 1.5; max-width: 20em;
  }
  @keyframes rhRotate {
    0%, 100% { transform: rotate(-12deg); }
    50% { transform: rotate(78deg); }
  }
}

/* ============================================================
   KEN BURNS — micro-movimento contínuo nos fundos e fotos.
   Fundos com imagem (capa/trajetória/jornada) vivem num ::before que faz
   pan+zoom (degradê e foto juntos). Fotos/recortes fazem zoom suave (scale
   individual, compõe com o transform de posição). Superfícies escuras ganham
   uma leve deriva do degradê. Tudo gated por prefers-reduced-motion.
   ============================================================ */
@media (prefers-reduced-motion: no-preference) {
  /* Todas as animações AMBIENTES (contínuas) rodam só no slide ATIVO. Slides
     inativos ficam visibility:hidden (não display:none), então sem o gate em
     [data-deck-active] elas rodariam nos ~15 slides ao mesmo tempo — desperdício
     que pesa. (Padrão recomendado pela própria doc do deck-stage.) */
  /* (ken burns dos fundos — kbPan — removido por pesar; os backgrounds ficam estáticos.) */

  @keyframes kbZoom { from { scale: 1; } to { scale: 1.06; } }
  [data-deck-active] .col-photo img,
  [data-deck-active] .df-photo img,
  [data-deck-active] .photo-col img {
    animation: kbZoom 24s ease-in-out infinite alternate;
  }

  /* (kbDrift removido: animar background-position repinta a tela inteira a cada
     frame em quase todos os slides — caro. Os degradês escuros ficam estáticos.) */

  /* superfícies claras: o halo cresce/encolhe (raio) e gira de leve */
  @keyframes paperBreath {
    0%, 100% { transform: scale(0.92) rotate(-2.5deg); }
    50%      { transform: scale(1.12) rotate(2.5deg); }
  }
  .surf-paper[data-deck-active]::before {
    animation: paperBreath 22s ease-in-out infinite;
  }

  /* Diagnóstico (6/7): degradê base estático; o movimento vem do brilho atrás da foto. */
  @keyframes dfGlow {
    0%, 100% { transform: scale(0.9);  opacity: 0.6; }
    50%      { transform: scale(1.18); opacity: 1; }
  }
  .diag-focus[data-deck-active]::before { animation: dfGlow 14s ease-in-out infinite; }
}
