/* Application screens — extends home.css */

.app-screen { font-family: var(--font-sans); color: var(--fg); background: var(--bg); }
.app-tabs {
  display: flex;
  gap: 0;
  border-bottom: 1px solid var(--rule);
  background: var(--bg-elev);
  padding: 0 64px;
  position: sticky; top: 0; z-index: 4;
  overflow-x: auto;
}
.app-tab {
  padding: 18px 24px;
  font-size: var(--fs-eyebrow);
  letter-spacing: var(--tr-eyebrow);
  text-transform: uppercase;
  color: var(--fg-muted);
  background: none;
  border: 0;
  border-bottom: 2px solid transparent;
  cursor: pointer;
  font-family: inherit;
  font-weight: 600;
  white-space: nowrap;
  transition: color var(--dur-fast) var(--ease-out), border-color var(--dur-fast) var(--ease-out);
}
.app-tab:hover { color: var(--fg); }
.app-tab.is-active { color: var(--primary); border-bottom-color: var(--primary); }

/* Hero variants */
.ap-hero { padding: 80px 64px 64px; border-bottom: 1px solid var(--rule); }
.ap-hero__eyebrow { font-size: var(--fs-eyebrow); letter-spacing: var(--tr-eyebrow); text-transform: uppercase; color: var(--accent); font-weight: 600; margin-bottom: 24px; }
.ap-hero__title { font-size: var(--fs-display-lg); font-weight: 700; letter-spacing: var(--tr-tight); line-height: var(--lh-display); margin: 0 0 24px; max-width: 22ch; }
.ap-hero__lead { font-size: var(--fs-body-lg); font-weight: 300; line-height: var(--lh-relaxed); color: var(--fg-muted); max-width: 60ch; margin: 0; }
.ap-section { padding: 80px 64px; }
.ap-section--paper { background: var(--bg-subtle); }
.ap-section--ink { background: var(--idpe-cobalt-950); color: #fff; }
.ap-section--ink .ap-section__title { color: #fff; }
.ap-section__head { display: grid; grid-template-columns: 1fr 1.5fr; gap: 64px; margin-bottom: 56px; padding-bottom: 32px; border-bottom: 1px solid var(--rule); align-items: end; }
.ap-section--ink .ap-section__head { border-bottom-color: rgba(255,255,255,0.15); }
.ap-section__eyebrow { font-size: var(--fs-eyebrow); letter-spacing: var(--tr-eyebrow); text-transform: uppercase; color: var(--accent); font-weight: 600; }
.ap-section__title { font-size: var(--fs-h1); font-weight: 600; letter-spacing: var(--tr-tight); line-height: var(--lh-tight); margin: 12px 0 0; }
.ap-section__intro { font-size: var(--fs-body-lg); font-weight: 300; line-height: var(--lh-relaxed); color: var(--fg-muted); margin: 0; }
.ap-section--ink .ap-section__intro { color: var(--idpe-cobalt-200); }

/* INSTITUCIONAL — values grid */
.values { display: grid; grid-template-columns: repeat(3,1fr); gap: 1px; background: var(--rule); border: 1px solid var(--rule); }
.value { background: var(--bg); padding: 40px 32px; min-height: 280px; display: flex; flex-direction: column; gap: 16px; }
.value__num { font-family: var(--font-mono); font-size: var(--fs-eyebrow); letter-spacing: var(--tr-wide); color: var(--accent); font-weight: 600; }
.value__title { font-size: var(--fs-h3); font-weight: 600; letter-spacing: var(--tr-snug); margin: 8px 0; }
.value__desc { color: var(--fg-muted); font-size: var(--fs-body-sm); line-height: var(--lh-relaxed); margin: 0; }

/* Timeline */
.timeline { position: relative; padding-left: 32px; border-left: 1px solid var(--rule); }
.timeline-item { padding: 0 0 48px 32px; position: relative; }
.timeline-item::before { content: ""; position: absolute; left: -38px; top: 6px; width: 12px; height: 12px; background: var(--bg); border: 2px solid var(--accent); border-radius: 50%; }
.timeline-item__year { font-family: var(--font-mono); font-size: var(--fs-eyebrow); letter-spacing: var(--tr-wide); color: var(--accent); font-weight: 600; }
.timeline-item__title { font-size: var(--fs-h4); font-weight: 600; margin: 8px 0; letter-spacing: var(--tr-snug); }
.timeline-item__desc { color: var(--fg-muted); line-height: var(--lh-relaxed); font-size: var(--fs-body-sm); margin: 0; max-width: 60ch; }

/* SOLUÇÕES — solution detail blocks */
.solution { display: grid; grid-template-columns: 1fr 1.4fr; gap: 64px; padding: 64px 0; border-top: 1px solid var(--rule); align-items: start; }
.solution:last-child { border-bottom: 1px solid var(--rule); }
.solution__num { font-size: 96px; font-weight: 200; color: var(--idpe-cobalt-300); line-height: 0.9; letter-spacing: var(--tr-tight); }
.solution__title { font-size: var(--fs-h2); font-weight: 600; letter-spacing: var(--tr-tight); line-height: var(--lh-tight); margin: 16px 0 24px; }
.solution__desc { font-size: var(--fs-body-lg); font-weight: 300; line-height: var(--lh-relaxed); color: var(--fg-muted); margin: 0 0 32px; }
.solution__list { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 12px 24px; border-top: 1px solid var(--rule); padding-top: 24px; }
.solution__list li { font-size: var(--fs-body-sm); display: flex; gap: 10px; align-items: baseline; }
.solution__list li::before { content: "→"; color: var(--accent); font-weight: 700; }

/* IDPE EM NÚMEROS — animated counters + map */
.numbers-hero { display: grid; grid-template-columns: repeat(3,1fr); gap: 0; border: 1px solid var(--rule); background: var(--bg); }
.num-cell { padding: 48px 40px; border-right: 1px solid var(--rule); }
.num-cell:last-child { border-right: 0; }
.num-cell__label { font-size: var(--fs-eyebrow); letter-spacing: var(--tr-eyebrow); text-transform: uppercase; color: var(--fg-muted); font-weight: 600; }
.num-cell__big { font-size: 96px; font-weight: 700; letter-spacing: var(--tr-tight); line-height: 1; color: var(--primary); margin: 16px 0 8px; font-variant-numeric: tabular-nums; }
.num-cell__big span { color: var(--accent); font-size: 56px; }
.num-cell__sub { color: var(--fg-muted); font-size: var(--fs-body-sm); }

/* ────────────────────────────────────────────────────────────────────
   Mapa de atuação — Brasil interativo
   ──────────────────────────────────────────────────────────────────── */
.map-wrap {
  display: grid;
  grid-template-columns: 1.55fr 1fr;
  gap: 48px;
  align-items: stretch;
  position: relative;
}

/* Caixa do mapa */
.map-svg {
  background: var(--bg);
  border: 1px solid var(--rule);
  padding: 32px 28px 24px;
  position: relative;
  display: flex;
  flex-direction: column;
  width: 100%;
  overflow: hidden;
  color: var(--idpe-ink-300); /* usado pelo pattern de hachura via currentColor */
}
[data-theme="dark"] .map-svg { color: var(--idpe-ink-700); }
.map-svg::before {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(to right, var(--rule) 1px, transparent 1px) 0 0 / 80px 80px,
    linear-gradient(to bottom, var(--rule) 1px, transparent 1px) 0 0 / 80px 80px;
  opacity: 0.25;
  mask-image: radial-gradient(circle at 60% 50%, #000 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(circle at 60% 50%, #000 30%, transparent 75%);
}
.map-svg__svg {
  width: 100%;
  height: auto;
  flex: 1;
  display: block;
  position: relative;
  z-index: 1;
}

/* Métricas no topo do card */
.map-meta {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--rule);
  border: 1px solid var(--rule);
  margin-bottom: 20px;
  position: relative;
  z-index: 2;
}
.map-meta__cell {
  background: var(--bg);
  padding: 14px 18px;
}
.map-meta__label {
  font-size: var(--fs-eyebrow);
  letter-spacing: var(--tr-eyebrow);
  text-transform: uppercase;
  color: var(--fg-muted);
  font-weight: 600;
  margin-bottom: 6px;
}
.map-meta__value {
  font-family: var(--font-sans);
  font-size: 26px;
  font-weight: 700;
  color: var(--primary);
  letter-spacing: var(--tr-tight);
  font-variant-numeric: tabular-nums;
  line-height: 1;
}
.map-meta__value span {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  color: var(--fg-muted);
  margin-left: 4px;
  letter-spacing: 0;
}
.map-meta__value--small { font-size: 18px; color: var(--fg); }

/* Estados */
.map-state-path {
  fill: var(--idpe-paper-200);
  stroke: var(--bg);
  stroke-width: 0.9;
  transition: fill var(--dur-base) var(--ease-out),
              transform var(--dur-base) var(--ease-out),
              filter var(--dur-base) var(--ease-out);
  transform-origin: center;
  transform-box: fill-box;
}
[data-theme="dark"] .map-state-path { fill: var(--idpe-ink-800); stroke: var(--idpe-ink-950); }

.map-state-path.is-active {
  fill: var(--idpe-cobalt-300);
  cursor: pointer;
}
[data-theme="dark"] .map-state-path.is-active { fill: var(--idpe-cobalt-600); }

.map-state-path.is-hovered.is-active,
.map-state-path.is-active:hover {
  fill: var(--primary);
  filter: drop-shadow(0 6px 16px rgba(0, 64, 143, 0.35));
}
.map-state-path.is-hovered:not(.is-active),
.map-state-path:not(.is-active):hover {
  fill: var(--idpe-paper-300);
}
[data-theme="dark"] .map-state-path:not(.is-active):hover,
[data-theme="dark"] .map-state-path.is-hovered:not(.is-active) { fill: var(--idpe-ink-700); }

/* Quando o usuário foca um estado, desbota os demais sutilmente */
.map-svg.is-focused .map-state-path:not(.is-hovered) { opacity: 0.55; }
.map-state-path:focus-visible { outline: none; stroke: var(--accent); stroke-width: 2; }

/* Pulsos animados sob os pins */
.map-pulse { pointer-events: none; }
.map-pulse__ring {
  fill: var(--accent);
  opacity: 0;
  transform-origin: center;
  transform-box: fill-box;
  animation: map-pulse 2.4s ease-out infinite;
}
.map-pulse--hq .map-pulse__ring { fill: var(--primary); }
@keyframes map-pulse {
  0%   { transform: scale(0.5); opacity: 0.55; }
  80%  { transform: scale(5.5); opacity: 0; }
  100% { transform: scale(5.5); opacity: 0; }
}

/* Pins */
.map-pin { cursor: pointer; transition: transform 200ms var(--ease-out); }
.map-pin__halo {
  fill: var(--idpe-cobalt-800);
  opacity: 0.15;
  transform-origin: center;
  transform-box: fill-box;
  animation: map-halo 3s ease-in-out infinite;
}
@keyframes map-halo {
  0%, 100% { transform: scale(1);   opacity: 0.10; }
  50%      { transform: scale(1.5); opacity: 0.30; }
}
.map-pin__core {
  fill: var(--accent);
  stroke: var(--bg);
  stroke-width: 1.8;
  transition: r 200ms var(--ease-out), fill 200ms var(--ease-out);
}
.map-pin--hq .map-pin__core { fill: var(--primary); stroke-width: 2.4; }
.map-pin__dot { fill: var(--bg); pointer-events: none; }
.map-pin--hq .map-pin__dot { fill: var(--accent); }
.map-pin.is-hovered .map-pin__core { fill: var(--primary); r: 7; }
.map-pin.is-hovered { transform: translate(var(--tx, 0), var(--ty, 0)); }
.map-pin:focus-visible { outline: none; }
.map-pin:focus-visible .map-pin__core { stroke: var(--accent); stroke-width: 3; }

/* Legenda de leitura do mapa (chips embaixo) */
.map-key {
  display: flex;
  flex-wrap: wrap;
  gap: 18px 24px;
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid var(--rule);
  font-size: var(--fs-body-sm);
  color: var(--fg-muted);
  position: relative;
  z-index: 2;
}
.map-key__item { display: inline-flex; align-items: center; gap: 8px; }
.map-key__swatch {
  width: 14px; height: 14px;
  display: inline-block;
  flex-shrink: 0;
}
.map-key__swatch--active { background: var(--idpe-cobalt-300); }
[data-theme="dark"] .map-key__swatch--active { background: var(--idpe-cobalt-600); }
.map-key__swatch--idle   { background: var(--idpe-paper-200); border: 1px solid var(--rule); }
[data-theme="dark"] .map-key__swatch--idle { background: var(--idpe-ink-800); }
.map-key__swatch--pin    { background: var(--accent); border-radius: 50%; }
.map-key__swatch--hq     { background: var(--primary); border-radius: 50%; box-shadow: 0 0 0 3px rgba(0,64,143,0.18); }

/* Tooltip flutuante */
.map-tooltip {
  position: absolute;
  transform: translate(12px, -100%);
  background: var(--idpe-ink-950);
  color: #fff;
  padding: 10px 14px;
  border: 1px solid var(--idpe-cobalt-800);
  font-family: var(--font-sans);
  pointer-events: none;
  z-index: 10;
  min-width: 180px;
  max-width: 240px;
  box-shadow: 0 12px 28px rgba(0,0,0,0.25);
  animation: map-tip-in 160ms var(--ease-out);
}
.map-tooltip::after {
  content: '';
  position: absolute;
  bottom: -6px; left: 18px;
  width: 10px; height: 10px;
  background: var(--idpe-ink-950);
  border-right: 1px solid var(--idpe-cobalt-800);
  border-bottom: 1px solid var(--idpe-cobalt-800);
  transform: rotate(45deg);
}
.map-tooltip__title {
  font-weight: 700;
  font-size: var(--fs-body-sm);
  letter-spacing: var(--tr-tight);
  color: #fff;
  margin-bottom: 2px;
}
.map-tooltip__sub {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--idpe-cobalt-200);
  letter-spacing: 0.02em;
}
.map-tooltip--hq { border-color: var(--accent); }
.map-tooltip--hq::after { border-color: var(--accent); }
@keyframes map-tip-in {
  from { opacity: 0; transform: translate(12px, calc(-100% + 6px)); }
  to   { opacity: 1; transform: translate(12px, -100%); }
}

/* Legenda lateral — barras */
.map-legend { display: flex; flex-direction: column; gap: 0; align-self: start; }
.map-legend__title {
  font-size: var(--fs-eyebrow);
  letter-spacing: var(--tr-eyebrow);
  text-transform: uppercase;
  color: var(--fg-muted);
  font-weight: 600;
  margin-bottom: 12px;
}
.map-state {
  padding: 14px 12px 14px 0;
  border-bottom: 1px solid var(--rule);
  font-size: var(--fs-body-sm);
  cursor: pointer;
  transition: padding 200ms var(--ease-out),
              background var(--dur-base) var(--ease-out),
              border-color 200ms var(--ease-out);
}
.map-state__row { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.map-state__name { font-weight: 600; color: var(--fg); }
.map-state__uf {
  font-family: var(--font-mono);
  color: var(--fg-faint);
  margin-left: 8px;
  font-size: 11px;
  letter-spacing: 0.04em;
}
.map-state__count {
  font-family: var(--font-mono);
  color: var(--accent);
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}
.map-state__count span { font-weight: 400; color: var(--fg-muted); margin-left: 4px; }
.map-state__bar {
  margin-top: 10px;
  height: 4px;
  background: var(--idpe-paper-200);
  position: relative;
  overflow: hidden;
}
[data-theme="dark"] .map-state__bar { background: var(--idpe-ink-800); }
.map-state__bar span {
  display: block;
  height: 100%;
  background: linear-gradient(to right, var(--idpe-cobalt-700), var(--idpe-cobalt-400));
  transition: width 600ms var(--ease-out), background var(--dur-base) var(--ease-out);
}
.map-state.is-on,
.map-state:hover {
  padding-left: 8px;
  background: var(--idpe-paper-100);
  border-bottom-color: var(--primary);
}
[data-theme="dark"] .map-state.is-on,
[data-theme="dark"] .map-state:hover { background: var(--idpe-ink-900); }
.map-state.is-on .map-state__bar span,
.map-state:hover .map-state__bar span {
  background: linear-gradient(to right, var(--primary), var(--accent));
}

/* Reduzir motion */
@media (prefers-reduced-motion: reduce) {
  .map-pulse__ring,
  .map-pin__halo { animation: none; opacity: 0; }
  .map-tooltip   { animation: none; }
}

/* TRANSPARÊNCIA — document table */
.docs-table { width: 100%; border-collapse: collapse; }
.docs-table th { text-align: left; padding: 14px 16px; font-size: var(--fs-eyebrow); letter-spacing: var(--tr-eyebrow); text-transform: uppercase; color: var(--fg-muted); font-weight: 600; border-bottom: 1px solid var(--rule-strong); }
.docs-table td { padding: 18px 16px; border-bottom: 1px solid var(--rule); font-size: var(--fs-body-sm); }
.docs-table tr:hover td { background: var(--idpe-cobalt-50); }
.docs-table .doc-name { font-weight: 600; }
.docs-table .doc-link { color: var(--primary); text-decoration: none; font-weight: 600; font-size: var(--fs-eyebrow); letter-spacing: var(--tr-eyebrow); text-transform: uppercase; }
.docs-table .doc-link:hover { color: var(--accent); }

/* Governance grid */
.gov-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 24px; }
.gov-person { background: var(--bg); border: 1px solid var(--rule); padding: 24px; }
.gov-person__avatar { width: 56px; height: 56px; background: var(--idpe-cobalt-200); display: flex; align-items: center; justify-content: center; font-weight: 700; color: var(--primary); margin-bottom: 16px; clip-path: polygon(25% 0%, 75% 0%, 100% 50%, 75% 100%, 25% 100%, 0% 50%); }
.gov-person__role { font-size: var(--fs-eyebrow); letter-spacing: var(--tr-eyebrow); text-transform: uppercase; color: var(--accent); font-weight: 600; }
.gov-person__name { font-size: var(--fs-body); font-weight: 600; margin: 6px 0 4px; }
.gov-person__bio { font-size: var(--fs-caption); color: var(--fg-muted); line-height: var(--lh-relaxed); margin: 0; }

/* PUBLICAÇÕES — blog cards */
.pub-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; grid-template-rows: auto auto; gap: 24px; }
.pub-card { background: var(--bg); border: 1px solid var(--rule); display: flex; flex-direction: column; transition: border-color var(--dur-base) var(--ease-out), transform var(--dur-base) var(--ease-out); }
.pub-card:hover { border-color: var(--primary); transform: translateY(-2px); }
.pub-card--feature { grid-row: span 2; }
.pub-card__cover { aspect-ratio: 16/9; background: var(--idpe-cobalt-800); position: relative; overflow: hidden; display: flex; align-items: flex-end; padding: 24px; color: #fff; }
.pub-card--feature .pub-card__cover { aspect-ratio: 16/10; padding: 32px; }
.pub-card__cover::before { content: ""; position: absolute; top: -60px; right: -60px; width: 240px; height: 240px; clip-path: polygon(25% 0%, 75% 0%, 100% 50%, 75% 100%, 25% 100%, 0% 50%); background: var(--idpe-cobalt-900); }
.pub-card__cover-cat { position: relative; z-index: 1; font-size: var(--fs-eyebrow); letter-spacing: var(--tr-eyebrow); text-transform: uppercase; color: var(--accent); font-weight: 600; }
.pub-card__body { padding: 24px; flex: 1; display: flex; flex-direction: column; gap: 12px; }
.pub-card__meta { font-size: var(--fs-eyebrow); letter-spacing: var(--tr-eyebrow); text-transform: uppercase; color: var(--fg-muted); }
.pub-card__title { font-size: var(--fs-h4); font-weight: 600; letter-spacing: var(--tr-snug); margin: 0; line-height: var(--lh-snug); }
.pub-card--feature .pub-card__title { font-size: var(--fs-h2); letter-spacing: var(--tr-tight); }
.pub-card__excerpt { color: var(--fg-muted); font-size: var(--fs-body-sm); line-height: var(--lh-relaxed); margin: 0; }
.pub-card__more { margin-top: auto; font-size: var(--fs-eyebrow); letter-spacing: var(--tr-eyebrow); text-transform: uppercase; color: var(--primary); font-weight: 600; }

/* Newsletter inline */
.newsletter { background: var(--idpe-cobalt-950); color: #fff; padding: 64px; display: grid; grid-template-columns: 1.5fr 1fr; gap: 48px; align-items: center; }
.newsletter h3 { font-size: var(--fs-h2); font-weight: 700; letter-spacing: var(--tr-tight); margin: 0 0 16px; color: #fff; }
.newsletter p { color: var(--idpe-cobalt-200); font-weight: 300; line-height: var(--lh-relaxed); margin: 0; max-width: 50ch; }
.newsletter__form { display: flex; gap: 8px; }
.newsletter__form input { flex: 1; background: transparent; border: 0; border-bottom: 1px solid rgba(255,255,255,0.3); color: #fff; padding: 12px 0; font-size: var(--fs-body); font-family: inherit; }
.newsletter__form input::placeholder { color: rgba(255,255,255,0.5); }
.newsletter__form input:focus { outline: none; border-bottom-color: var(--accent); }

/* ============================================================
   MODERN / DYNAMIC — scroll reveal helper
   Adds .is-revealed to sections as they enter the viewport.
============================================================ */

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 700ms cubic-bezier(0.2,0.7,0.2,1), transform 700ms cubic-bezier(0.2,0.7,0.2,1);
  will-change: opacity, transform;
}
.reveal.is-revealed { opacity: 1; transform: none; }
.reveal--delay-1 { transition-delay: 100ms; }
.reveal--delay-2 { transition-delay: 200ms; }
.reveal--delay-3 { transition-delay: 300ms; }
.reveal--delay-4 { transition-delay: 400ms; }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* Sticky hero indicator on Home */
.h-hero { position: relative; }
.h-hero__indicator {
  position: absolute;
  bottom: 24px;
  left: 64px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  font-size: var(--fs-eyebrow);
  letter-spacing: var(--tr-eyebrow);
  text-transform: uppercase;
  color: var(--fg-muted);
}
.h-hero__indicator-line {
  width: 1px;
  height: 56px;
  background: linear-gradient(to bottom, transparent, var(--fg-muted));
  animation: scroll-pulse 2.4s var(--ease-out) infinite;
}
@keyframes scroll-pulse {
  0%   { transform: scaleY(0.2); transform-origin: top; opacity: 0.3; }
  50%  { transform: scaleY(1);   transform-origin: top; opacity: 1; }
  51%  { transform: scaleY(1);   transform-origin: bottom; }
  100% { transform: scaleY(0.2); transform-origin: bottom; opacity: 0.3; }
}

@media (max-width: 980px) {
  .ap-hero, .ap-section, .newsletter { padding-left: 24px; padding-right: 24px; }
  .app-tabs { padding-left: 24px; padding-right: 24px; }
  .ap-section__head, .map-wrap, .pub-grid, .values, .gov-grid, .numbers-hero, .solution, .newsletter { grid-template-columns: 1fr; }
  .pub-card--feature { grid-row: auto; }
  .map-meta { grid-template-columns: 1fr; }
  .map-meta__cell { padding: 12px 16px; }
}
.h-service {
  position: relative;
  overflow: hidden;
}
.h-service::before {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 2px;
  background: var(--primary);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 500ms var(--ease-out);
}
.h-service:hover::before { transform: scaleX(1); }
.h-service__icon { transition: transform 400ms var(--ease-out); }
.h-service:hover .h-service__icon { transform: translateX(4px) translateY(-2px); }

/* Number cells — modern accent */
.h-numbers__cell { position: relative; overflow: hidden; transition: background 500ms var(--ease-out); }
.h-numbers__cell:hover { background: var(--idpe-cobalt-900); }
.h-numbers__cell::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 32px;
  height: 2px;
  background: var(--accent);
}

/* Pub card cover — dynamic hover */
.pub-card__cover { transition: transform 500ms var(--ease-out); }
.pub-card:hover .pub-card__cover { transform: scale(1.02); }

/* Solution step — animated num scale on hover */
.solution { transition: transform 500ms var(--ease-out); }
.solution:hover .solution__num { color: var(--primary); transition: color 400ms var(--ease-out); }
.solution__num { transition: color 400ms var(--ease-out); }

