/* ==========================================================================
   ATENA · UI kit (components/bundle.css)
   Carregue DEPOIS de tokens.css. Prefixo de classe: at-
   Tudo usa os tokens (var(--...)); nenhuma cor literal aqui.
   Seções: 0 base · 1 keyframes · 2 utilitários de movimento · 3 layout do app
   4 sidebar · 5 page header · 6 botões · 7 badges · 8 avatar · 9 cards e KPI
   10 tabela · 11 formulário · 12 search e segmented · 13 funil (board)
   14 drawer · 15 toast · 16 progress · 17 empty state · 18 feed · 19 skeleton
   20 menu e tooltip · 21 login · 22 "em breve" · 23 emblema (a coruja) · 24 hero do Início
   25 mini gráficos, celebração, reveal, tema · 26 reduced motion
   ========================================================================== */

/* 0 · base ------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; min-height: 100vh;
  font-family: var(--font-sans); font-size: 14px; line-height: 20px; font-weight: 500;
  color: var(--ink); background: var(--surface);
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
  font-feature-settings: "ss01", "cv11";
}
h1, h2, h3, h4, p { margin: 0; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
a { color: var(--brand-text); text-decoration: none; font-weight: 700; transition: color var(--duration-instant) var(--ease-standard); }
a:hover { color: var(--brand-hover); text-decoration: underline; text-underline-offset: 3px; }
:focus-visible { outline: 2px solid var(--focus-ring); outline-offset: 2px; box-shadow: var(--shadow-focus); border-radius: var(--radius-sm); }
.at-on-dark :focus-visible, .at-sidebar :focus-visible, .at-toast :focus-visible { outline-color: var(--focus-ring-on-dark); box-shadow: var(--shadow-gold); }
::selection { background: var(--brand-soft); color: var(--brand-text); }
.at-tabular { font-variant-numeric: tabular-nums; }
.at-truncate { overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.at-sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.at-icon { width: 20px; height: 20px; flex: none; stroke-width: 1.75; }
.at-icon--sm { width: 16px; height: 16px; }
.at-divider { height: 1px; background: var(--line); border: 0; margin: 0; }
.at-only-dark { display: none; }
[data-theme="dark"] .at-only-dark { display: initial; }
[data-theme="dark"] .at-only-light { display: none; }

/* 1 · keyframes --------------------------------------------------------- */
@keyframes at-rise      { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
@keyframes at-fade      { from { opacity: 0; } to { opacity: 1; } }
@keyframes at-fade-out  { from { opacity: 1; } to { opacity: 0; } }
@keyframes at-scale-in  { from { opacity: 0; transform: scale(0.96); } to { opacity: 1; transform: none; } }
@keyframes at-pop       { 0% { opacity: 0; transform: scale(0.6); } 100% { opacity: 1; transform: scale(1); } }
@keyframes at-slide-in-right  { from { transform: translateX(32px); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes at-slide-out-right { from { transform: none; opacity: 1; } to { transform: translateX(32px); opacity: 0; } }
@keyframes at-drawer-in  { from { transform: translateX(100%); } to { transform: none; } }
@keyframes at-drawer-out { from { transform: none; } to { transform: translateX(100%); } }
@keyframes at-toast-in   { from { opacity: 0; transform: translateY(16px) scale(0.96); } to { opacity: 1; transform: none; } }
@keyframes at-toast-out  { from { opacity: 1; transform: none; } to { opacity: 0; transform: translateX(24px); } }
@keyframes at-toast-progress { from { transform: scaleX(1); } to { transform: scaleX(0); } }
@keyframes at-grow      { from { width: 0; } }
@keyframes at-shimmer   { from { background-position: 200% 0; } to { background-position: -200% 0; } }
@keyframes at-spin      { to { transform: rotate(360deg); } }
@keyframes at-pulse-ring { 0% { box-shadow: 0 0 0 0 var(--at-pulse-color, var(--brand-soft)); } 70% { box-shadow: 0 0 0 8px transparent; } 100% { box-shadow: 0 0 0 0 transparent; } }
@keyframes at-twinkle   { 0%, 100% { opacity: 0.35; transform: scale(0.9); } 50% { opacity: 1; transform: scale(1.08); } }
@keyframes at-float     { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-6px); } }
@keyframes at-highlight { from { background-color: var(--brand-soft); } to { background-color: transparent; } }
@keyframes at-shake     { 10%, 90% { transform: translateX(-1px); } 20%, 80% { transform: translateX(2px); } 30%, 50%, 70% { transform: translateX(-3px); } 40%, 60% { transform: translateX(3px); } }
@keyframes at-check-draw { to { stroke-dashoffset: 0; } }
@keyframes at-breathe   { 0%, 100% { opacity: 0.55; } 50% { opacity: 0.9; } }

/* 2 · utilitários de movimento ----------------------------------------- */
.at-anim-rise  { animation: at-rise var(--duration-base) var(--ease-out) both; }
.at-anim-fade  { animation: at-fade var(--duration-base) var(--ease-standard) both; }
.at-anim-scale { animation: at-scale-in var(--duration-base) var(--ease-out) both; }
.at-anim-pop   { animation: at-pop var(--duration-slow) var(--ease-spring) both; }
.at-anim-float { animation: at-float var(--duration-ambient) ease-in-out infinite; }
.at-anim-twinkle { animation: at-twinkle var(--duration-ambient) ease-in-out infinite; transform-origin: center; }
/* .at-stagger: filhos entram em cascata (40ms entre cada, até 8) */
.at-stagger > * { animation: at-rise var(--duration-slow) var(--ease-out) both; }
.at-stagger > :nth-child(1) { animation-delay: 0ms; }
.at-stagger > :nth-child(2) { animation-delay: 40ms; }
.at-stagger > :nth-child(3) { animation-delay: 80ms; }
.at-stagger > :nth-child(4) { animation-delay: 120ms; }
.at-stagger > :nth-child(5) { animation-delay: 160ms; }
.at-stagger > :nth-child(6) { animation-delay: 200ms; }
.at-stagger > :nth-child(7) { animation-delay: 240ms; }
.at-stagger > :nth-child(n+8) { animation-delay: 280ms; }
.at-hover-lift { transition: transform var(--duration-fast) var(--ease-standard), box-shadow var(--duration-fast) var(--ease-standard); }
.at-hover-lift:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.at-live { position: relative; display: inline-block; width: 8px; height: 8px; border-radius: var(--radius-pill); background: var(--success); --at-pulse-color: var(--success-soft); animation: at-pulse-ring 2s var(--ease-out) infinite; }

/* 3 · layout do app ----------------------------------------------------- */
.at-app { display: grid; grid-template-columns: var(--sidebar-width) 1fr; min-height: 100vh; transition: grid-template-columns var(--duration-base) var(--ease-standard); }
.at-app.is-collapsed { grid-template-columns: var(--sidebar-width-collapsed) 1fr; }
.at-main { position: relative; isolation: isolate; min-width: 0; padding: var(--space-8); max-width: var(--content-max); }
.at-main::before { content: ""; position: absolute; left: 0; top: 0; width: 60%; height: 360px; background: radial-gradient(ellipse at top left, var(--brand-soft) 0%, transparent 70%); opacity: 0.55; pointer-events: none; z-index: -1; }
.at-grid { display: grid; gap: var(--space-4); }
.at-grid--kpi { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.at-grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (max-width: 1100px) { .at-grid--kpi { grid-template-columns: repeat(2, minmax(0, 1fr)); } .at-grid--2 { grid-template-columns: 1fr; } }
@media (max-width: 720px) { .at-grid--kpi { grid-template-columns: 1fr; } .at-main { padding: var(--space-4); } }

/* 4 · sidebar ----------------------------------------------------------- */
.at-sidebar {
  position: sticky; top: 0; height: 100vh; z-index: var(--z-sidebar);
  display: flex; flex-direction: column; padding: var(--space-5) var(--space-3);
  background: linear-gradient(180deg, var(--sidebar-bg) 0%, var(--sidebar-bg-deep) 100%); color: var(--sidebar-ink); overflow: hidden;
}
.at-sidebar__brand { display: flex; align-items: center; gap: var(--space-3); padding: 0 var(--space-2) var(--space-5); }
.at-sidebar__brand img { display: block; height: 40px; }
.at-sidebar__brand-mark { width: 40px; height: 40px; border-radius: var(--radius-md); flex: none; transition: transform var(--duration-slow) var(--ease-spring), box-shadow var(--duration-base) var(--ease-standard); }
.at-sidebar__brand:hover .at-sidebar__brand-mark { transform: rotate(-8deg) scale(1.04); box-shadow: var(--shadow-gold); }
.at-sidebar__wordmark { font-family: var(--font-display); font-size: 18px; line-height: 20px; font-weight: 800; letter-spacing: 0.16em; text-transform: uppercase; }
.at-sidebar__sub { font-size: 10px; line-height: 12px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--sidebar-ink-muted); margin-top: 3px; }
.at-nav { display: flex; flex-direction: column; gap: var(--space-1); flex: 1; }
.at-nav__section { font-size: 11px; line-height: 16px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--sidebar-ink-muted); padding: var(--space-4) var(--space-3) var(--space-2); }
.at-nav__item {
  position: relative; display: flex; align-items: center; gap: var(--space-3);
  height: var(--control-height); padding: 0 var(--space-3); border-radius: var(--radius-md);
  color: var(--sidebar-ink); font-size: 14px; line-height: 20px; font-weight: 600; text-decoration: none; border: 0; background: transparent; width: 100%; text-align: left;
  transition: background-color var(--duration-fast) var(--ease-standard), color var(--duration-fast) var(--ease-standard), transform var(--duration-fast) var(--ease-standard);
}
.at-nav__item:hover { background: var(--sidebar-bg-hover); text-decoration: none; color: var(--sidebar-ink); }
.at-nav__item:hover .at-icon { transform: translateX(2px); }
.at-nav__item .at-icon { color: var(--sidebar-ink-muted); transition: transform var(--duration-fast) var(--ease-standard), color var(--duration-fast) var(--ease-standard); }
.at-nav__item.is-active { background: var(--sidebar-bg-active); font-weight: 700; }
.at-nav__item.is-active .at-icon { color: var(--gold); }
.at-nav__item.is-active::before {
  content: ""; position: absolute; left: calc(-1 * var(--space-3)); top: 10px; bottom: 10px; width: 3px;
  border-radius: 0 var(--radius-xs) var(--radius-xs) 0; background: var(--sidebar-indicator);
  animation: at-scale-in var(--duration-base) var(--ease-out) both;
}
.at-nav__item.is-soon { color: var(--sidebar-ink-muted); }
.at-nav__item.is-soon .at-icon { color: var(--sidebar-ink-muted); opacity: 0.8; }
.at-nav__label { flex: 1; min-width: 0; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.at-nav__badge { font-size: 10px; line-height: 14px; font-weight: 700; letter-spacing: 0.02em; padding: 1px 6px; border-radius: var(--radius-pill); color: var(--sidebar-ink-muted); border: 1px solid var(--line-inverse); background: transparent; }
.at-nav__count { min-width: 20px; height: 20px; padding: 0 6px; display: inline-grid; place-items: center; border-radius: var(--radius-pill); background: var(--gold); color: var(--on-gold); font-size: 11px; font-weight: 800; }
.at-sidebar__footer { border-top: 1px solid var(--line-inverse); padding-top: var(--space-4); margin-top: var(--space-4); display: flex; flex-direction: column; gap: var(--space-2); }
.at-sidebar__user { display: flex; align-items: center; gap: var(--space-3); padding: var(--space-2) var(--space-3); border-radius: var(--radius-md); }
.at-sidebar__user-name { font-size: 14px; line-height: 20px; font-weight: 700; }
.at-sidebar__user-role { font-size: 12px; line-height: 16px; color: var(--sidebar-ink-muted); }
.at-app.is-collapsed .at-nav__label, .at-app.is-collapsed .at-nav__badge, .at-app.is-collapsed .at-nav__section, .at-app.is-collapsed .at-sidebar__wordmark, .at-app.is-collapsed .at-sidebar__sub, .at-app.is-collapsed .at-sidebar__user-name, .at-app.is-collapsed .at-sidebar__user-role { display: none; }
.at-app.is-collapsed .at-nav__item { justify-content: center; padding: 0; }

/* 5 · page header -------------------------------------------------------- */
.at-page-header { display: flex; align-items: flex-start; justify-content: space-between; gap: var(--space-6); margin-bottom: var(--space-6); animation: at-rise var(--duration-slow) var(--ease-out) both; }
.at-page-header__title { font-family: var(--font-display); font-size: 26px; line-height: 32px; font-weight: 700; letter-spacing: -0.01em; color: var(--ink); }
.at-page-header__title--greeting { font-size: 32px; line-height: 38px; letter-spacing: -0.015em; }
.at-page-header__subtitle { margin-top: var(--space-1); font-size: 14px; line-height: 20px; font-weight: 500; color: var(--ink-muted); }
.at-page-header__actions { display: flex; align-items: center; gap: var(--space-2); flex: none; }
.at-page-header--sticky { position: sticky; top: 0; z-index: var(--z-sticky); padding: var(--space-4) 0; margin: calc(-1 * var(--space-4)) 0 var(--space-4); background: color-mix(in srgb, var(--surface) 86%, transparent); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); }

/* 6 · botões ------------------------------------------------------------ */
.at-btn {
  --at-btn-bg: var(--surface-raised); --at-btn-ink: var(--ink); --at-btn-border: var(--line-strong);
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: var(--space-2);
  height: var(--control-height); padding: 0 var(--space-4); border-radius: var(--radius-md);
  border: 1px solid var(--at-btn-border); background: var(--at-btn-bg); color: var(--at-btn-ink);
  font-size: 14px; line-height: 20px; font-weight: 700; white-space: nowrap; text-decoration: none; user-select: none;
  box-shadow: var(--shadow-xs);
  transition: background-color var(--duration-fast) var(--ease-standard), border-color var(--duration-fast) var(--ease-standard), color var(--duration-fast) var(--ease-standard), transform var(--duration-fast) var(--ease-standard), box-shadow var(--duration-fast) var(--ease-standard);
}
.at-btn:hover { text-decoration: none; transform: translateY(-1px); box-shadow: var(--shadow-md); background: var(--brand-soft-hover); border-color: var(--brand-200); color: var(--ink); }
.at-btn:active { transform: translateY(0) scale(0.98); box-shadow: var(--shadow-xs); transition-duration: var(--duration-instant); }
.at-btn:disabled, .at-btn[aria-disabled="true"] { opacity: 0.5; pointer-events: none; box-shadow: none; }
.at-btn .at-icon { width: 18px; height: 18px; }
.at-btn--primary { --at-btn-bg: var(--brand); --at-btn-ink: var(--on-brand); --at-btn-border: var(--brand); }
.at-btn--primary:hover { background: var(--brand-hover); border-color: var(--brand-hover); color: var(--on-brand); box-shadow: var(--shadow-brand); }
.at-btn--primary:active { background: var(--brand-pressed); border-color: var(--brand-pressed); }
.at-btn--accent { --at-btn-bg: var(--gold); --at-btn-ink: var(--on-gold); --at-btn-border: var(--gold); }
.at-btn--accent:hover { background: var(--gold-400); border-color: var(--gold-400); color: var(--on-gold); box-shadow: var(--shadow-gold); }
.at-btn--accent:active { background: var(--gold-600); border-color: var(--gold-600); }
.at-btn--ghost { --at-btn-bg: transparent; --at-btn-ink: var(--ink-secondary); --at-btn-border: transparent; box-shadow: none; }
.at-btn--ghost:hover { background: var(--surface-sunken); border-color: transparent; color: var(--ink); box-shadow: none; transform: none; }
.at-btn--danger { --at-btn-bg: var(--danger-fill); --at-btn-ink: var(--on-status); --at-btn-border: var(--danger-fill); }
.at-btn--danger:hover { background: var(--danger-fill); border-color: var(--danger-fill); color: var(--on-status); filter: brightness(1.08); }
.at-btn--link { --at-btn-bg: transparent; --at-btn-ink: var(--brand-text); --at-btn-border: transparent; box-shadow: none; padding: 0; height: auto; }
.at-btn--link:hover { background: transparent; color: var(--brand-hover); transform: none; box-shadow: none; text-decoration: underline; text-underline-offset: 3px; }
.at-btn--sm { height: var(--control-height-sm); padding: 0 var(--space-3); font-size: 13px; line-height: 18px; border-radius: var(--radius-sm); gap: 6px; }
.at-btn--sm .at-icon { width: 16px; height: 16px; }
.at-btn--lg { height: var(--control-height-lg); padding: 0 var(--space-6); font-size: 15px; }
.at-btn--icon { width: var(--control-height); padding: 0; }
.at-btn--icon.at-btn--sm { width: var(--control-height-sm); }
.at-btn--block { width: 100%; }
.at-btn.is-loading { color: transparent !important; pointer-events: none; }
.at-btn.is-loading::after {
  content: ""; position: absolute; width: 18px; height: 18px; border-radius: 50%;
  border: 2px solid var(--at-btn-ink); border-right-color: transparent; opacity: 0.9;
  animation: at-spin 0.8s var(--ease-linear) infinite;
}
.at-btn.is-success { --at-btn-bg: var(--success-fill); --at-btn-ink: var(--on-status); --at-btn-border: var(--success-fill); animation: at-pop var(--duration-slow) var(--ease-spring); }
.at-btn-group { display: inline-flex; gap: var(--space-2); flex-wrap: wrap; align-items: center; }

/* 7 · badges ------------------------------------------------------------ */
.at-badge {
  --at-badge-bg: var(--slate-soft); --at-badge-ink: var(--slate);
  display: inline-flex; align-items: center; gap: var(--space-1); height: 22px; padding: 0 10px;
  border-radius: var(--radius-pill); background: var(--at-badge-bg); color: var(--at-badge-ink);
  font-size: 12px; line-height: 16px; font-weight: 600; white-space: nowrap; letter-spacing: 0.01em;
}
.at-badge .at-icon { width: 13px; height: 13px; stroke-width: 2; }
.at-badge--brand   { --at-badge-bg: var(--brand-soft);   --at-badge-ink: var(--brand-text); }
.at-badge--gold    { --at-badge-bg: var(--gold-soft);    --at-badge-ink: var(--gold-text); }
.at-badge--success { --at-badge-bg: var(--success-soft); --at-badge-ink: var(--success); }
.at-badge--warning { --at-badge-bg: var(--warning-soft); --at-badge-ink: var(--warning); }
.at-badge--danger  { --at-badge-bg: var(--danger-soft);  --at-badge-ink: var(--danger); }
.at-badge--info    { --at-badge-bg: var(--info-soft);    --at-badge-ink: var(--info); }
.at-badge--violet  { --at-badge-bg: var(--violet-soft);  --at-badge-ink: var(--violet); }
.at-badge--orange  { --at-badge-bg: var(--orange-soft);  --at-badge-ink: var(--orange); }
.at-badge--soon    { --at-badge-bg: transparent; --at-badge-ink: var(--ink-muted); border: 1px solid var(--line-strong); font-weight: 600; }
.at-badge--solid   { --at-badge-bg: var(--brand); --at-badge-ink: var(--on-brand); }
.at-badge--dot::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; margin-right: 2px; }
.at-badge--pulse::before { animation: at-pulse-ring 2s var(--ease-out) infinite; --at-pulse-color: var(--at-badge-bg); }
.at-badge--lg { height: 26px; padding: 0 12px; font-size: 13px; }
.at-badge.at-anim-pop { animation: at-pop var(--duration-slow) var(--ease-spring) both; }
/* mapa de etapas e origens (classes semânticas que resolvem para um tom) */
.at-badge[data-stage="novo"]        { --at-badge-bg: var(--slate-soft);   --at-badge-ink: var(--stage-novo); }
.at-badge[data-stage="contato"]     { --at-badge-bg: var(--info-soft);    --at-badge-ink: var(--stage-contato); }
.at-badge[data-stage="qualificado"] { --at-badge-bg: var(--violet-soft);  --at-badge-ink: var(--stage-qualificado); }
.at-badge[data-stage="reuniao"]     { --at-badge-bg: var(--orange-soft);  --at-badge-ink: var(--stage-reuniao); }
.at-badge[data-stage="proposta"]    { --at-badge-bg: var(--brand-soft);   --at-badge-ink: var(--brand-text); }
.at-badge[data-stage="matricula"]   { --at-badge-bg: var(--success-soft); --at-badge-ink: var(--stage-matricula); }
.at-badge[data-stage="perdido"]     { --at-badge-bg: var(--danger-soft);  --at-badge-ink: var(--stage-perdido); }
.at-badge[data-source="instagram"]  { --at-badge-bg: var(--brand-soft);   --at-badge-ink: var(--brand-text); }
.at-badge[data-source="meta"]       { --at-badge-bg: var(--info-soft);    --at-badge-ink: var(--info); }
.at-badge[data-source="google"]     { --at-badge-bg: var(--orange-soft);  --at-badge-ink: var(--orange); }
.at-badge[data-source="site"]       { --at-badge-bg: var(--violet-soft);  --at-badge-ink: var(--violet); }
.at-badge[data-source="indicacao"]  { --at-badge-bg: var(--success-soft); --at-badge-ink: var(--success); }
.at-badge[data-source="whatsapp"]   { --at-badge-bg: var(--success-soft); --at-badge-ink: var(--success); }
.at-badge[data-source="outro"]      { --at-badge-bg: var(--slate-soft);   --at-badge-ink: var(--slate); }

/* 8 · avatar ------------------------------------------------------------ */
.at-avatar {
  --at-avatar-size: 32px; --at-avatar-bg: var(--avatar-3);
  width: var(--at-avatar-size); height: var(--at-avatar-size); border-radius: var(--radius-pill); flex: none;
  display: inline-grid; place-items: center; background: var(--at-avatar-bg); color: var(--on-avatar);
  font-size: calc(var(--at-avatar-size) * 0.36); font-weight: 800; letter-spacing: 0.02em; text-transform: uppercase; overflow: hidden;
}
.at-avatar img { width: 100%; height: 100%; object-fit: cover; }
.at-avatar--sm { --at-avatar-size: 24px; }
.at-avatar--md { --at-avatar-size: 32px; }
.at-avatar--lg { --at-avatar-size: 40px; }
.at-avatar--xl { --at-avatar-size: 56px; }
.at-avatar[data-seed="1"] { --at-avatar-bg: var(--avatar-1); }
.at-avatar[data-seed="2"] { --at-avatar-bg: var(--avatar-2); }
.at-avatar[data-seed="3"] { --at-avatar-bg: var(--avatar-3); }
.at-avatar[data-seed="4"] { --at-avatar-bg: var(--avatar-4); }
.at-avatar[data-seed="5"] { --at-avatar-bg: var(--avatar-5); }
.at-avatar[data-seed="6"] { --at-avatar-bg: var(--avatar-6); }
.at-avatar--ring { box-shadow: 0 0 0 2px var(--surface-raised), 0 0 0 4px var(--gold); }
.at-avatar-group { display: inline-flex; }
.at-avatar-group .at-avatar { box-shadow: 0 0 0 2px var(--surface-raised); }
.at-avatar-group .at-avatar + .at-avatar { margin-left: -8px; }
.at-person { display: inline-flex; align-items: center; gap: var(--space-2); min-width: 0; }
.at-person__name { font-size: 14px; line-height: 20px; font-weight: 700; }
.at-person__meta { font-size: 13px; line-height: 18px; color: var(--ink-muted); }

/* 9 · cards e KPI --------------------------------------------------------- */
.at-card { background: var(--surface-raised); border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow-sm); padding: var(--space-5); }
.at-card--flush { padding: 0; overflow: hidden; }
.at-card--clickable { cursor: pointer; transition: transform var(--duration-fast) var(--ease-standard), box-shadow var(--duration-fast) var(--ease-standard), border-color var(--duration-fast) var(--ease-standard); }
.at-card--clickable:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); border-color: var(--brand-200); }
.at-card__header { display: flex; align-items: center; justify-content: space-between; gap: var(--space-4); margin-bottom: var(--space-4); }
.at-card__title { font-size: 18px; line-height: 26px; font-weight: 700; letter-spacing: -0.01em; }
.at-card__link { font-size: 14px; font-weight: 700; color: var(--brand-text); display: inline-flex; align-items: center; gap: 4px; }
.at-card__link .at-icon { width: 16px; height: 16px; transition: transform var(--duration-fast) var(--ease-standard); }
.at-card__link:hover .at-icon { transform: translateX(3px); }
.at-kpi { position: relative; overflow: hidden; display: flex; flex-direction: column; gap: var(--space-2); min-height: 112px; }
.at-kpi__label { font-size: 13px; line-height: 18px; font-weight: 600; color: var(--ink-secondary); display: flex; align-items: center; justify-content: space-between; gap: var(--space-2); }
.at-kpi__value { font-family: var(--font-display); font-size: 30px; line-height: 34px; font-weight: 700; letter-spacing: -0.01em; font-variant-numeric: tabular-nums; color: var(--ink); }
.at-kpi__hint { font-size: 13px; line-height: 18px; color: var(--ink-muted); display: flex; align-items: center; gap: var(--space-2); }
.at-kpi__hint a { font-size: 13px; }
.at-kpi__trend { display: inline-flex; align-items: center; gap: 2px; font-size: 12px; font-weight: 700; padding: 0 6px; height: 20px; border-radius: var(--radius-pill); }
.at-kpi__trend--up { color: var(--success); background: var(--success-soft); }
.at-kpi__trend--down { color: var(--danger); background: var(--danger-soft); }
.at-kpi__trend .at-icon { width: 12px; height: 12px; stroke-width: 2.5; }
.at-kpi--featured { border-color: transparent; color: var(--ink-inverse); background: linear-gradient(160deg, var(--gradient-brand-start) 0%, var(--gradient-brand-end) 100%); box-shadow: var(--shadow-brand); }
.at-kpi--featured .at-kpi__label { color: var(--ink-inverse); opacity: 0.9; }
.at-kpi--featured .at-kpi__value { color: var(--gold); }
.at-kpi--featured .at-kpi__hint { color: var(--ink-inverse); opacity: 0.85; }
.at-kpi--featured::after { content: ""; position: absolute; right: -28px; top: -28px; width: 120px; height: 120px; border-radius: 50%; background: var(--on-brand); opacity: 0.06; pointer-events: none; }
.at-kpi__spark { position: absolute; right: var(--space-4); bottom: var(--space-4); width: 88px; height: 32px; opacity: 0.9; }
.at-kpi__spark path { fill: none; stroke: var(--brand-text); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 300; stroke-dashoffset: 300; animation: at-check-draw var(--duration-slower) var(--ease-out) 200ms forwards; }
.at-kpi--featured .at-kpi__spark path { stroke: var(--gold); }

/* 10 · tabela ------------------------------------------------------------- */
.at-table-wrap { overflow: auto; border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--surface-raised); box-shadow: var(--shadow-sm); }
.at-table { width: 100%; border-collapse: separate; border-spacing: 0; font-size: 14px; line-height: 20px; }
.at-table th { position: sticky; top: 0; z-index: 1; text-align: left; padding: var(--space-3) var(--space-4); font-size: 11px; line-height: 16px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-muted); background: var(--surface-sunken); border-bottom: 1px solid var(--line); white-space: nowrap; }
.at-table td { padding: var(--space-3) var(--space-4); border-bottom: 1px solid var(--line); vertical-align: middle; height: 60px; }
.at-table tbody tr:last-child td { border-bottom: 0; }
.at-table tbody tr { transition: background-color var(--duration-fast) var(--ease-standard); }
.at-table tbody tr:hover { background: var(--brand-soft-hover); }
.at-table tbody tr.is-selected { background: var(--brand-soft-hover); box-shadow: inset 3px 0 0 var(--brand); }
.at-table tbody tr.is-new td { animation: at-highlight 1.6s var(--ease-out) both; }
.at-table .is-num { text-align: right; font-variant-numeric: tabular-nums; }
.at-table .is-actions { text-align: right; width: 1%; white-space: nowrap; }
.at-table--compact td { height: 44px; padding: var(--space-2) var(--space-4); }
.at-table--embedded { border: 0; border-radius: var(--radius-md); box-shadow: none; border: 1px solid var(--line); }
.at-table__row-actions { display: inline-flex; gap: var(--space-2); transition: opacity var(--duration-fast) var(--ease-standard), transform var(--duration-fast) var(--ease-standard); }
.at-table--quiet-actions .at-table__row-actions { opacity: 0; transform: translateX(4px); }
.at-table--quiet-actions tbody tr:hover .at-table__row-actions, .at-table--quiet-actions tbody tr:focus-within .at-table__row-actions { opacity: 1; transform: none; }

/* 11 · formulário --------------------------------------------------------- */
.at-field { display: flex; flex-direction: column; gap: 6px; }
.at-label { font-size: 13px; line-height: 18px; font-weight: 700; color: var(--ink-secondary); }
.at-label__optional { font-weight: 500; color: var(--ink-muted); margin-left: 4px; }
.at-input, .at-select, .at-textarea {
  width: 100%; height: var(--control-height); padding: 0 var(--space-3); border-radius: var(--radius-md);
  border: 1px solid var(--line-strong); background: var(--surface-raised); color: var(--ink);
  font-size: 14px; line-height: 20px; font-weight: 500; box-shadow: var(--shadow-xs); outline: none;
  transition: border-color var(--duration-fast) var(--ease-standard), box-shadow var(--duration-fast) var(--ease-standard), background-color var(--duration-fast) var(--ease-standard);
}
.at-input::placeholder, .at-textarea::placeholder { color: var(--ink-muted); font-weight: 500; }
.at-input:hover, .at-select:hover, .at-textarea:hover { border-color: var(--brand-300); }
.at-input:focus, .at-select:focus, .at-textarea:focus, .at-input:focus-visible, .at-select:focus-visible, .at-textarea:focus-visible { border-color: var(--brand); box-shadow: var(--shadow-focus); outline: none; }
.at-input:disabled, .at-select:disabled, .at-textarea:disabled { background: var(--surface-sunken); color: var(--ink-muted); cursor: not-allowed; box-shadow: none; }
.at-input--lg { height: var(--control-height-lg); font-size: 15px; padding: 0 var(--space-4); }
.at-textarea { min-height: 96px; padding: var(--space-3); resize: vertical; line-height: 22px; }
.at-select { appearance: none; -webkit-appearance: none; padding-right: 40px; background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%2373677a' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><path d='m6 9 6 6 6-6'/></svg>"); background-repeat: no-repeat; background-position: right 12px center; cursor: pointer; }
.at-select--inline { width: auto; height: var(--control-height-sm); font-size: 13px; font-weight: 700; border-radius: var(--radius-sm); padding: 0 32px 0 var(--space-3); background-position: right 10px center; }
.at-input-group { position: relative; display: flex; align-items: center; }
.at-input-group .at-icon { position: absolute; left: var(--space-3); color: var(--ink-muted); pointer-events: none; width: 18px; height: 18px; transition: color var(--duration-fast) var(--ease-standard); }
.at-input-group .at-input { padding-left: 40px; }
.at-input-group:focus-within .at-icon { color: var(--brand-text); }
.at-input-group__suffix { position: absolute; right: var(--space-2); display: inline-flex; }
.at-field.is-error .at-input, .at-field.is-error .at-select, .at-field.is-error .at-textarea { border-color: var(--danger); animation: at-shake var(--duration-slow) var(--ease-standard); }
.at-field.is-error .at-input:focus { box-shadow: 0 0 0 4px var(--danger-soft); }
.at-help { font-size: 13px; line-height: 18px; color: var(--ink-muted); }
.at-field.is-error .at-help { color: var(--danger); display: flex; align-items: center; gap: 4px; animation: at-rise var(--duration-base) var(--ease-out) both; }
.at-help .at-icon { width: 14px; height: 14px; }
.at-chip-group { display: flex; flex-wrap: wrap; gap: var(--space-2); align-items: center; }
.at-chip {
  height: var(--control-height-sm); padding: 0 var(--space-3); border-radius: var(--radius-sm);
  border: 1px solid var(--line-strong); background: var(--surface-raised); color: var(--ink-secondary);
  font-size: 13px; line-height: 18px; font-weight: 700; display: inline-flex; align-items: center; gap: 6px; box-shadow: var(--shadow-xs);
  transition: background-color var(--duration-fast) var(--ease-standard), border-color var(--duration-fast) var(--ease-standard), color var(--duration-fast) var(--ease-standard), transform var(--duration-fast) var(--ease-standard);
}
.at-chip:hover { border-color: var(--brand-300); color: var(--ink); transform: translateY(-1px); }
.at-chip:active { transform: scale(0.97); }
.at-chip.is-selected, .at-chip[aria-pressed="true"] { background: var(--brand-soft); border-color: var(--brand-300); color: var(--brand-text); }
.at-chip--pill { border-radius: var(--radius-pill); }
.at-form-row { display: grid; gap: var(--space-4); grid-template-columns: repeat(2, minmax(0, 1fr)); }
.at-form-actions { display: flex; align-items: center; gap: var(--space-2); margin-top: var(--space-2); }
.at-checkbox { display: inline-flex; align-items: center; gap: var(--space-2); font-size: 14px; font-weight: 500; cursor: pointer; }
.at-checkbox input { appearance: none; width: 18px; height: 18px; border-radius: 5px; border: 1.5px solid var(--line-strong); background: var(--surface-raised); display: grid; place-items: center; transition: background-color var(--duration-fast) var(--ease-standard), border-color var(--duration-fast) var(--ease-standard); margin: 0; }
.at-checkbox input:checked { background: var(--brand); border-color: var(--brand); }
.at-checkbox input:checked::after { content: ""; width: 10px; height: 10px; background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'><path d='M20 6 9 17l-5-5'/></svg>") center / contain no-repeat; animation: at-pop var(--duration-base) var(--ease-spring); }
.at-switch { position: relative; width: 40px; height: 24px; border-radius: var(--radius-pill); background: var(--line-strong); border: 0; padding: 0; transition: background-color var(--duration-base) var(--ease-standard); }
.at-switch::after { content: ""; position: absolute; top: 3px; left: 3px; width: 18px; height: 18px; border-radius: 50%; background: var(--surface-raised); box-shadow: var(--shadow-xs); transition: transform var(--duration-base) var(--ease-spring); }
.at-switch[aria-checked="true"] { background: var(--brand); }
.at-switch[aria-checked="true"]::after { transform: translateX(16px); }

/* 12 · search e segmented -------------------------------------------------- */
.at-toolbar { display: flex; align-items: center; gap: var(--space-3); flex-wrap: wrap; margin-bottom: var(--space-5); }
.at-toolbar .at-input-group { flex: 1 1 320px; max-width: 420px; }
.at-toolbar__spacer { flex: 1; }
.at-segmented { position: relative; display: inline-flex; padding: 3px; gap: 2px; border-radius: var(--radius-md); background: var(--surface-sunken); border: 1px solid var(--line); }
.at-segmented__item { position: relative; z-index: 1; display: inline-flex; align-items: center; gap: 6px; height: 32px; padding: 0 var(--space-3); border-radius: var(--radius-sm); border: 0; background: transparent; color: var(--ink-muted); font-size: 13px; font-weight: 700; transition: color var(--duration-fast) var(--ease-standard); }
.at-segmented__item:hover { color: var(--ink); }
.at-segmented__item.is-active { color: var(--brand-text); }
.at-segmented__item .at-icon { width: 16px; height: 16px; }
.at-segmented__thumb { position: absolute; z-index: 0; top: 3px; bottom: 3px; left: 3px; width: 0; border-radius: var(--radius-sm); background: var(--surface-raised); box-shadow: var(--shadow-xs); border: 1px solid var(--line); transition: transform var(--duration-base) var(--ease-standard), width var(--duration-base) var(--ease-standard); }

/* 13 · funil (board) -------------------------------------------------------- */
.at-board { display: flex; gap: var(--space-4); overflow-x: auto; padding-bottom: var(--space-3); scroll-snap-type: x proximity; }
.at-column {
  --stage: var(--stage-novo);
  flex: none; width: var(--column-width); display: flex; flex-direction: column; scroll-snap-align: start;
  background: var(--surface-sunken); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; min-height: 320px;
  transition: background-color var(--duration-base) var(--ease-standard), border-color var(--duration-base) var(--ease-standard), box-shadow var(--duration-base) var(--ease-standard);
}
.at-column::before { content: ""; height: 4px; background: var(--stage); }
.at-column[data-stage="novo"]        { --stage: var(--stage-novo); }
.at-column[data-stage="contato"]     { --stage: var(--stage-contato); }
.at-column[data-stage="qualificado"] { --stage: var(--stage-qualificado); }
.at-column[data-stage="reuniao"]     { --stage: var(--stage-reuniao); }
.at-column[data-stage="proposta"]    { --stage: var(--stage-proposta); }
.at-column[data-stage="matricula"]   { --stage: var(--stage-matricula); }
.at-column[data-stage="perdido"]     { --stage: var(--stage-perdido); }
.at-column__header { display: flex; align-items: center; justify-content: space-between; gap: var(--space-2); padding: var(--space-3) var(--space-4); }
.at-column__title { font-size: 14px; line-height: 20px; font-weight: 700; display: flex; align-items: center; gap: var(--space-2); }
.at-column__title::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--stage); }
.at-column__count { font-size: 12px; font-weight: 700; color: var(--ink-muted); min-width: 22px; height: 22px; padding: 0 6px; display: inline-grid; place-items: center; border-radius: var(--radius-pill); background: var(--surface-raised); border: 1px solid var(--line); font-variant-numeric: tabular-nums; }
.at-column__body { display: flex; flex-direction: column; gap: var(--space-2); padding: 0 var(--space-2) var(--space-2); flex: 1; }
.at-column.is-drop-target { background: var(--brand-soft-hover); border-color: var(--brand-300); box-shadow: inset 0 0 0 1px var(--brand-300); }
.at-column__empty { margin: auto; padding: var(--space-6) var(--space-4); text-align: center; color: var(--ink-faint); font-size: 13px; font-weight: 600; border: 1px dashed var(--line-strong); border-radius: var(--radius-md); }
.at-lead-card {
  background: var(--surface-raised); border: 1px solid var(--line); border-radius: var(--radius-md); box-shadow: var(--shadow-xs);
  padding: var(--space-3) var(--space-3) var(--space-3); display: flex; flex-direction: column; gap: var(--space-2); cursor: grab;
  transition: transform var(--duration-fast) var(--ease-standard), box-shadow var(--duration-fast) var(--ease-standard), border-color var(--duration-fast) var(--ease-standard);
}
.at-lead-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); border-color: var(--brand-200); }
.at-lead-card.is-dragging { cursor: grabbing; transform: rotate(1.5deg) scale(1.02); box-shadow: var(--shadow-lg); border-color: var(--brand-300); z-index: 2; }
.at-lead-card.is-ghost { opacity: 0.35; border-style: dashed; box-shadow: none; transform: none; }
.at-lead-card.is-entering { animation: at-rise var(--duration-slow) var(--ease-out) both; }
.at-lead-card__name { font-size: 16px; line-height: 24px; font-weight: 700; letter-spacing: -0.005em; }
.at-lead-card__course { font-size: 13px; line-height: 18px; color: var(--ink-muted); margin-top: -4px; }
.at-lead-card__tags { display: flex; flex-wrap: wrap; gap: var(--space-1) var(--space-2); }
.at-lead-card__footer { display: flex; align-items: center; justify-content: space-between; gap: var(--space-2); margin-top: var(--space-1); }
.at-lead-card__owner { display: inline-flex; align-items: center; gap: var(--space-2); min-width: 0; font-size: 13px; color: var(--ink-secondary); font-weight: 600; }
.at-lead-card__owner .at-avatar { --at-avatar-size: 24px; }
.at-lead-card__time { font-size: 12px; color: var(--ink-muted); white-space: nowrap; }
.at-lead-card__value { font-size: 13px; font-weight: 700; font-variant-numeric: tabular-nums; }
.at-lead-card.is-overdue { border-color: var(--danger-soft); }
.at-lead-card.is-overdue .at-badge[data-due] { --at-badge-bg: var(--danger-soft); --at-badge-ink: var(--danger); }
.at-badge[data-due="hoje"]   { --at-badge-bg: var(--warning-soft); --at-badge-ink: var(--warning); }
.at-badge[data-due="amanha"] { --at-badge-bg: var(--info-soft);    --at-badge-ink: var(--info); }
.at-badge[data-due="atrasado"] { --at-badge-bg: var(--danger-soft); --at-badge-ink: var(--danger); }
.at-badge[data-due="sem-data"] { --at-badge-bg: var(--slate-soft); --at-badge-ink: var(--slate); }

/* 14 · drawer --------------------------------------------------------------- */
.at-drawer-overlay { position: fixed; inset: 0; z-index: var(--z-overlay); background: var(--surface-overlay); backdrop-filter: blur(2px); -webkit-backdrop-filter: blur(2px); animation: at-fade var(--duration-base) var(--ease-standard) both; }
.at-drawer-overlay.is-closing { animation: at-fade-out var(--duration-base) var(--ease-in) both; }
.at-drawer {
  position: fixed; top: 0; right: 0; bottom: 0; z-index: var(--z-drawer); width: min(var(--drawer-width), 100vw);
  display: flex; flex-direction: column; background: var(--surface); box-shadow: var(--shadow-lg);
  border-radius: var(--radius-xl) 0 0 var(--radius-xl); overflow: hidden;
  animation: at-drawer-in var(--duration-slow) var(--ease-out) both;
}
.at-drawer.is-closing { animation: at-drawer-out var(--duration-base) var(--ease-in) both; }
.at-drawer__header { background: var(--surface-raised); border-bottom: 1px solid var(--line); padding: var(--space-5) var(--space-6); display: flex; flex-direction: column; gap: var(--space-3); }
.at-drawer__title-row { display: flex; align-items: flex-start; justify-content: space-between; gap: var(--space-4); }
.at-drawer__title { font-family: var(--font-display); font-size: 20px; line-height: 26px; font-weight: 600; letter-spacing: -0.005em; }
.at-drawer__controls { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-2); }
.at-drawer__contacts { display: flex; flex-wrap: wrap; gap: var(--space-2); }
.at-drawer__body { flex: 1; overflow: auto; padding: var(--space-5) var(--space-6) var(--space-8); display: flex; flex-direction: column; gap: var(--space-4); }
.at-drawer__body > * { animation: at-rise var(--duration-slow) var(--ease-out) both; }
.at-drawer__body > :nth-child(2) { animation-delay: 60ms; }
.at-drawer__body > :nth-child(3) { animation-delay: 120ms; }
.at-drawer__footer { background: var(--surface-raised); border-top: 1px solid var(--line); padding: var(--space-4) var(--space-6); display: flex; justify-content: flex-end; gap: var(--space-2); }
.at-dl { display: grid; grid-template-columns: 140px 1fr; row-gap: var(--space-3); column-gap: var(--space-4); font-size: 14px; line-height: 20px; }
.at-dl dt { color: var(--ink-muted); font-weight: 500; }
.at-dl dd { margin: 0; color: var(--ink); font-weight: 600; min-width: 0; overflow-wrap: anywhere; }
.at-dl dd.is-mono { font-family: var(--font-mono); font-size: 13px; font-weight: 500; }
.at-modal { position: fixed; inset: 0; z-index: var(--z-drawer); display: grid; place-items: center; padding: var(--space-6); }
.at-modal__panel { width: min(560px, 100%); background: var(--surface-raised); border-radius: var(--radius-xl); box-shadow: var(--shadow-xl); padding: var(--space-6); animation: at-scale-in var(--duration-slow) var(--ease-out) both; }

/* 15 · toast ---------------------------------------------------------------- */
.at-toast-stack { position: fixed; right: var(--space-5); bottom: var(--space-5); z-index: var(--z-toast); display: flex; flex-direction: column-reverse; gap: var(--space-2); width: min(380px, calc(100vw - 2 * var(--space-5))); pointer-events: none; }
.at-toast {
  --at-toast-accent: var(--gold);
  position: relative; overflow: hidden; pointer-events: auto;
  display: flex; align-items: center; gap: var(--space-3); padding: var(--space-3) var(--space-4);
  background: var(--surface-inverse); color: var(--ink-inverse); border-radius: var(--radius-lg); box-shadow: var(--shadow-lg);
  animation: at-toast-in var(--duration-slow) var(--ease-spring) both;
}
.at-toast.is-leaving { animation: at-toast-out var(--duration-base) var(--ease-in) both; }
.at-toast__icon { width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; flex: none; background: var(--success-fill); color: var(--on-status); }
.at-toast__icon .at-icon { width: 16px; height: 16px; stroke-width: 2.5; }
.at-toast__icon svg path { stroke-dasharray: 30; stroke-dashoffset: 30; animation: at-check-draw var(--duration-slow) var(--ease-out) 120ms forwards; }
.at-toast--info .at-toast__icon { background: var(--info-fill); }
.at-toast--warning .at-toast__icon { background: var(--warning-fill); }
.at-toast--danger .at-toast__icon { background: var(--danger-fill); }
.at-toast--brand .at-toast__icon { background: var(--brand); }
.at-toast__body { flex: 1; min-width: 0; }
.at-toast__title { font-size: 14px; line-height: 20px; font-weight: 700; }
.at-toast__text { font-size: 13px; line-height: 18px; color: var(--ink-inverse-muted); }
.at-toast__action { flex: none; background: transparent; border: 0; padding: 4px 8px; margin-right: -8px; border-radius: var(--radius-sm); color: var(--gold); font-size: 14px; font-weight: 800; transition: background-color var(--duration-fast) var(--ease-standard), transform var(--duration-fast) var(--ease-standard); }
.at-toast__action:hover { background: var(--line-inverse); transform: translateX(2px); }
.at-toast__close { flex: none; background: transparent; border: 0; color: var(--ink-inverse-muted); width: 28px; height: 28px; border-radius: var(--radius-sm); display: grid; place-items: center; transition: color var(--duration-fast) var(--ease-standard), background-color var(--duration-fast) var(--ease-standard); }
.at-toast__close:hover { color: var(--ink-inverse); background: var(--line-inverse); }
.at-toast__progress { position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--at-toast-accent); transform-origin: left; animation: at-toast-progress var(--at-toast-duration, 5000ms) var(--ease-linear) forwards; opacity: 0.9; }
.at-toast:hover .at-toast__progress { animation-play-state: paused; }

/* 16 · progress ------------------------------------------------------------- */
.at-progress-list { display: flex; flex-direction: column; gap: var(--space-3); }
.at-progress-row { display: grid; grid-template-columns: minmax(120px, 160px) 1fr auto; align-items: center; gap: var(--space-3); font-size: 14px; line-height: 20px; }
.at-progress-row__label { color: var(--ink); font-weight: 600; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.at-progress-row__value { color: var(--ink-secondary); font-weight: 700; font-variant-numeric: tabular-nums; white-space: nowrap; font-size: 13px; }
.at-progress { --fill: var(--brand); position: relative; height: 8px; border-radius: var(--radius-xs); background: var(--chart-track); overflow: hidden; }
.at-progress__bar { position: relative; overflow: hidden; height: 100%; border-radius: inherit; background: var(--fill); width: var(--value, 0%); transition: width var(--duration-slower) var(--ease-out); }
.at-progress.is-animated .at-progress__bar::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, transparent 0%, var(--overlay-light-strong) 50%, transparent 100%); transform: translateX(-120%); animation: at-shine 900ms var(--ease-out) var(--duration-slower) forwards; }
.at-progress.is-animated .at-progress__bar { animation: at-grow var(--duration-slower) var(--ease-out) both; }
.at-progress--lg { height: 12px; }
.at-progress--sm { height: 4px; }
.at-progress[data-stage="novo"] { --fill: var(--stage-novo); }
.at-progress[data-stage="contato"] { --fill: var(--stage-contato); }
.at-progress[data-stage="qualificado"] { --fill: var(--stage-qualificado); }
.at-progress[data-stage="reuniao"] { --fill: var(--stage-reuniao); }
.at-progress[data-stage="proposta"] { --fill: var(--stage-proposta); }
.at-progress[data-stage="matricula"] { --fill: var(--stage-matricula); }
.at-progress--striped .at-progress__bar { background-image: linear-gradient(135deg, rgba(255,255,255,0.18) 25%, transparent 25%, transparent 50%, rgba(255,255,255,0.18) 50%, rgba(255,255,255,0.18) 75%, transparent 75%); background-size: 16px 16px; }
.at-ring { --size: 56px; --value: 0; --fill: var(--brand); width: var(--size); height: var(--size); border-radius: 50%; display: grid; place-items: center; background: conic-gradient(var(--fill) calc(var(--value) * 1%), var(--chart-track) 0); position: relative; font-size: 13px; font-weight: 800; font-variant-numeric: tabular-nums; transition: background var(--duration-slower) var(--ease-out); }
.at-ring::before { content: ""; position: absolute; inset: 6px; border-radius: 50%; background: var(--surface-raised); }
.at-ring span { position: relative; }

/* 17 · empty state ------------------------------------------------------------ */
.at-empty { display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; gap: var(--space-2); padding: var(--space-10) var(--space-6); color: var(--ink-muted); }
.at-empty__art { width: 120px; height: auto; margin-bottom: var(--space-2); animation: at-float var(--duration-ambient) ease-in-out infinite; }
.at-empty__icon { width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; background: var(--success-soft); color: var(--success); margin-bottom: var(--space-2); animation: at-pop var(--duration-slow) var(--ease-spring) both; }
.at-empty__icon .at-icon { width: 24px; height: 24px; }
.at-empty__title { font-size: 16px; line-height: 24px; font-weight: 700; color: var(--ink); }
.at-empty__text { font-size: 14px; line-height: 20px; max-width: 360px; }
.at-empty__text b { color: var(--ink); }
.at-empty .at-btn { margin-top: var(--space-3); }

/* 18 · feed de atividade ------------------------------------------------------ */
.at-feed { display: flex; flex-direction: column; }
.at-feed__item { position: relative; display: grid; grid-template-columns: 28px 1fr; gap: var(--space-3); padding: var(--space-3) var(--space-2); border-radius: var(--radius-md); }
.at-feed__item:not(:last-child)::after { content: ""; position: absolute; left: 15px; top: 40px; bottom: -4px; width: 2px; background: var(--line); border-radius: 1px; }
.at-feed__icon { width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; background: var(--surface-sunken); color: var(--ink-muted); border: 1px solid var(--line); position: relative; z-index: 1; }
.at-feed__icon .at-icon { width: 14px; height: 14px; }
.at-feed__icon--brand { background: var(--brand-soft); color: var(--brand-text); border-color: transparent; }
.at-feed__icon--success { background: var(--success-soft); color: var(--success); border-color: transparent; }
.at-feed__time { font-size: 12px; line-height: 16px; color: var(--ink-muted); font-variant-numeric: tabular-nums; }
.at-feed__text { font-size: 14px; line-height: 20px; color: var(--ink); }
.at-feed__text b { font-weight: 700; }
.at-feed__item.is-new { animation: at-rise var(--duration-slow) var(--ease-out) both, at-highlight 1.6s var(--ease-out) var(--duration-slow) both; }

/* 19 · skeleton ---------------------------------------------------------------- */
.at-skeleton { position: relative; overflow: hidden; border-radius: var(--radius-sm); background: var(--skeleton-base); color: transparent !important; pointer-events: none; }
.at-skeleton::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, transparent 0%, var(--skeleton-shine) 50%, transparent 100%); background-size: 200% 100%; opacity: 0.7; animation: at-shimmer 1.4s var(--ease-linear) infinite; }
.at-skeleton--text { height: 14px; width: 100%; }
.at-skeleton--text.is-short { width: 55%; }
.at-skeleton--title { height: 22px; width: 40%; }
.at-skeleton--kpi { height: 34px; width: 50%; border-radius: var(--radius-sm); }
.at-skeleton--avatar { width: 32px; height: 32px; border-radius: 50%; }
.at-skeleton--badge { width: 72px; height: 22px; border-radius: var(--radius-pill); }
.at-skeleton--button { width: 120px; height: 40px; border-radius: var(--radius-md); }
.at-skeleton--block { height: 120px; border-radius: var(--radius-lg); }
.at-skeleton-stack { display: flex; flex-direction: column; gap: var(--space-2); }

/* 20 · menu e tooltip ------------------------------------------------------------ */
.at-menu { min-width: 220px; padding: var(--space-2); background: var(--surface-raised); border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); animation: at-scale-in var(--duration-fast) var(--ease-out) both; transform-origin: top left; z-index: var(--z-dropdown); }
.at-menu__label { padding: var(--space-2) var(--space-3) var(--space-1); font-size: 11px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-muted); }
.at-menu__item { display: flex; align-items: center; gap: var(--space-3); width: 100%; height: 36px; padding: 0 var(--space-3); border: 0; border-radius: var(--radius-sm); background: transparent; color: var(--ink); font-size: 14px; font-weight: 600; text-align: left; transition: background-color var(--duration-fast) var(--ease-standard); }
.at-menu__item:hover, .at-menu__item:focus-visible { background: var(--brand-soft-hover); }
.at-menu__item.is-active { background: var(--brand-soft); color: var(--brand-text); }
.at-menu__item--danger { color: var(--danger); }
.at-menu__item--danger:hover { background: var(--danger-soft); }
.at-menu__item .at-icon { width: 16px; height: 16px; color: var(--ink-muted); }
.at-menu__item.is-active .at-icon { color: var(--brand-text); }
.at-menu__sep { height: 1px; background: var(--line); margin: var(--space-2) 0; }
.at-tooltip { position: relative; display: inline-flex; }
.at-tooltip__bubble { position: absolute; left: 50%; bottom: calc(100% + 8px); transform: translate(-50%, 4px) scale(0.96); opacity: 0; pointer-events: none; white-space: nowrap; padding: 6px 10px; border-radius: var(--radius-sm); background: var(--surface-inverse); color: var(--ink-inverse); font-size: 12px; line-height: 16px; font-weight: 600; box-shadow: var(--shadow-md); z-index: var(--z-tooltip); transition: opacity var(--duration-fast) var(--ease-standard), transform var(--duration-fast) var(--ease-out); }
.at-tooltip__bubble::after { content: ""; position: absolute; left: 50%; top: 100%; transform: translateX(-50%); border: 5px solid transparent; border-top-color: var(--surface-inverse); }
.at-tooltip:hover .at-tooltip__bubble, .at-tooltip:focus-within .at-tooltip__bubble { opacity: 1; transform: translate(-50%, 0) scale(1); }

/* 21 · login (folha de caderno) ----------------------------------------------------- */
.at-login {
  --pitch: 48px; --margin-x: 30%;
  position: relative; min-height: 100vh; color: var(--ink);
  background-color: var(--surface-raised);
  background-image:
    linear-gradient(90deg, transparent calc(var(--margin-x) - 1px), var(--brand-300) calc(var(--margin-x) - 1px), var(--brand-300) calc(var(--margin-x) + 1px), transparent calc(var(--margin-x) + 1px)),
    linear-gradient(var(--line) 1px, transparent 1px);
  background-size: 100% 100%, 100% var(--pitch);
  background-position: 0 0, 0 calc(var(--pitch) - 1px);
}
.at-login__holes { position: absolute; left: 36px; top: 0; bottom: 0; width: 20px; display: flex; flex-direction: column; justify-content: space-evenly; pointer-events: none; }
.at-login__holes span { width: 18px; height: 18px; border-radius: 50%; background: var(--surface); box-shadow: var(--shadow-xs), 0 0 0 1px var(--line); }
.at-login__brand { position: absolute; left: calc(var(--margin-x) + 32px); top: var(--pitch); height: var(--pitch); display: flex; align-items: center; animation: at-rise var(--duration-slow) var(--ease-out) both; }
.at-login__brand img { height: 40px; display: block; }
.at-login__date { position: absolute; right: 64px; top: 0; line-height: var(--pitch); font-size: 14px; color: var(--ink-muted); }
.at-login__sheet { position: absolute; left: 0; right: 0; top: calc(var(--pitch) * 5); display: grid; grid-template-columns: var(--margin-x) 1fr; }
.at-login__margin { text-align: right; padding-right: 20px; }
.at-login__main { padding-left: 32px; max-width: 680px; }
.at-login__line { height: var(--pitch); display: flex; align-items: flex-end; }
.at-login__margin .at-login__line { justify-content: flex-end; font-size: 13px; font-weight: 700; color: var(--ink-secondary); padding-bottom: 14px; }
.at-login__title { font-family: var(--font-display); font-size: 36px; line-height: var(--pitch); font-weight: 700; letter-spacing: -0.015em; margin: 0; height: var(--pitch); display: flex; align-items: flex-end; padding-bottom: 4px; }
.at-login__text { font-size: 15px; line-height: var(--pitch); color: var(--ink-muted); margin: 0; }
.at-login .at-input { height: var(--pitch); border: 0; border-radius: 0; background: transparent; box-shadow: none; padding: 0; font-size: 18px; font-weight: 600; color: var(--ink); }
.at-login .at-input::placeholder { color: var(--ink-faint); font-weight: 500; }
.at-login .at-input:hover { box-shadow: inset 0 -2px 0 var(--brand-200); }
.at-login .at-input:focus, .at-login .at-input:focus-visible { box-shadow: inset 0 -2px 0 var(--brand); outline: none; }
.at-login .at-input-group .at-input { padding-left: 0 !important; }
.at-login .at-input-group__suffix { right: 0; }
.at-login .is-error .at-input { box-shadow: inset 0 -2px 0 var(--danger); animation: at-shake var(--duration-slow) var(--ease-standard); }
.at-login__line .at-help { line-height: var(--pitch); padding: 0; }
.at-login__actions { height: var(--pitch); display: flex; align-items: center; gap: var(--space-4); margin-top: var(--pitch); }
.at-login__footnote { font-size: 13px; line-height: var(--pitch); color: var(--ink-muted); margin: 0; white-space: nowrap; }
.at-login__footnote b { color: var(--ink-secondary); font-weight: 700; }
.at-login__main > * { animation: at-rise var(--duration-slow) var(--ease-out) both; }
.at-login__main > :nth-child(2) { animation-delay: 60ms; } .at-login__main > :nth-child(3) { animation-delay: 120ms; } .at-login__main > :nth-child(4) { animation-delay: 180ms; } .at-login__main > :nth-child(5) { animation-delay: 240ms; } .at-login__main > :nth-child(6) { animation-delay: 300ms; }
.at-login .at-login__owl.at-emblem { position: absolute; right: 56px; bottom: 40px; --size: 220px; }
.at-login__owl .at-owl__eye { filter: drop-shadow(0 0 5px var(--gold-400)); }
.at-login.is-typing-password .at-login__owl .at-owl__lid { transform: scaleY(1); animation: none; }
.at-login.is-typing-password .at-login__owl .at-owl__closed { display: block; }
.at-login.is-typing-password .at-login__owl .at-owl__eye { filter: none; }
.at-login.is-looking .at-login__owl .at-owl__pupil { animation: none; transform: translate(-2.2px, -0.8px); }
@media (max-width: 900px) { .at-login { --margin-x: 96px; } .at-login__date { display: none; } .at-login__brand { left: calc(var(--margin-x) + 16px); } .at-login__main { padding-left: 16px; padding-right: 24px; } .at-login__footnote { white-space: normal; line-height: 20px; padding-top: 14px; } .at-login .at-login__owl.at-emblem { --size: 120px; right: 16px; bottom: 16px; } .at-login__holes { display: none; } }

/* 22 · "em breve" ----------------------------------------------------------------- */
.at-soon-section { margin-top: var(--space-8); }
.at-soon-section__title { font-family: var(--font-display); font-size: 20px; line-height: 26px; font-weight: 700; letter-spacing: -0.005em; margin-bottom: var(--space-4); }
.at-soon-card { display: flex; flex-direction: column; gap: var(--space-2); padding: var(--space-5); border-radius: var(--radius-lg); border: 1px dashed var(--line-strong); background: var(--surface-raised); transition: border-color var(--duration-fast) var(--ease-standard), transform var(--duration-fast) var(--ease-standard); }
.at-soon-card:hover { border-color: var(--brand-300); transform: translateY(-2px); }
.at-soon-card__head { display: flex; align-items: center; justify-content: space-between; gap: var(--space-2); }
.at-soon-card__title { display: inline-flex; align-items: center; gap: var(--space-2); font-size: 16px; line-height: 24px; font-weight: 700; }
.at-soon-card__title .at-icon { color: var(--brand-text); }
.at-soon-card__text { font-size: 14px; line-height: 20px; color: var(--ink-muted); }
.at-soon-page { display: grid; place-items: center; min-height: 60vh; text-align: center; }
.at-soon-page__inner { max-width: 440px; display: flex; flex-direction: column; align-items: center; gap: var(--space-3); animation: at-rise var(--duration-slow) var(--ease-out) both; }
.at-soon-page__owl { width: 160px; height: auto; animation: at-float var(--duration-ambient) ease-in-out infinite; }

/* 23 · emblema (a coruja de Atena) ------------------------------------------------- */
.at-emblem { --size: 120px; position: relative; display: inline-grid; place-items: center; width: var(--size); height: var(--size); color: var(--gold); flex: none; }
.at-emblem__svg { width: 100%; height: 100%; overflow: visible; transition: transform var(--duration-slow) var(--ease-spring); }
.at-emblem:hover .at-emblem__svg { transform: rotate(-6deg) scale(1.03); }
.at-emblem__wreath { transform-origin: 100px 100px; transform-box: view-box; opacity: 0.6; animation: at-rotate 90s linear infinite; }
.at-owl__eye { filter: drop-shadow(0 0 6px var(--gold)); animation: at-eyes-on 1.6s var(--ease-out) both; }
.at-owl__pupil { animation: at-glance 9s ease-in-out 2s infinite; }
.at-owl__lid { transform-box: fill-box; transform-origin: center; transform: scaleY(0); animation: at-blink 6s ease-in-out 3s infinite; }
.at-emblem--still .at-emblem__wreath, .at-emblem--still .at-owl__pupil, .at-emblem--still .at-owl__lid { animation: none; }
.at-emblem--no-wreath .at-emblem__wreath { display: none; }
.at-emblem--on-light { color: var(--brand-300); }
.at-emblem--on-light .at-owl__eye { filter: none; animation: none; }
.at-owl__closed { display: none; }
.at-emblem--sleep .at-owl__lid { transform: scaleY(1); animation: none; }
.at-emblem--sleep .at-owl__eye { filter: none; animation: none; }
.at-emblem--sleep .at-owl__closed { display: block; }
.at-emblem--on-brand .at-emblem__tile { fill: var(--plum-900); }
@keyframes at-rotate   { to { transform: rotate(360deg); } }
@keyframes at-blink    { 0%, 90%, 100% { transform: scaleY(0); } 94%, 96% { transform: scaleY(1); } }
@keyframes at-glance   { 0%, 18%, 100% { transform: translate(0, 0); } 26%, 44% { transform: translate(1.8px, 0.5px); } 54%, 76% { transform: translate(-1.6px, 0.4px); } }
@keyframes at-eyes-on  { from { opacity: 0.2; filter: drop-shadow(0 0 0 transparent); } 55% { opacity: 1; filter: drop-shadow(0 0 16px var(--gold)); } to { opacity: 1; filter: drop-shadow(0 0 6px var(--gold)); } }
@keyframes at-drift    { from { transform: translate(0, 0) rotate(0deg); } to { transform: translate(-24px, 16px) rotate(-3deg); } }
@keyframes at-shine    { to { transform: translateX(120%); } }
@keyframes at-grow-y   { from { transform: scaleY(0); } }
@keyframes at-burst-fly { from { transform: translate(0, 0) scale(1); opacity: 1; } to { transform: translate(var(--dx), var(--dy)) scale(0.2); opacity: 0; } }
@keyframes at-tick     { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }

/* 24 · hero do Início ------------------------------------------------------------------ */
.at-hero {
  position: relative; overflow: hidden; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: var(--space-6);
  padding: var(--space-6) var(--space-8); margin-bottom: var(--space-6); border-radius: var(--radius-xl); color: var(--ink-inverse);
  background: linear-gradient(135deg, var(--gradient-night-start) 0%, var(--gradient-night-end) 100%); box-shadow: var(--shadow-lg);
  animation: at-rise var(--duration-slow) var(--ease-out) both;
}
.at-hero__pattern { position: absolute; right: -60px; top: -80px; width: 560px; opacity: 0.4; pointer-events: none; animation: at-drift 40s ease-in-out infinite alternate; }
.at-hero__emblem { --size: 128px; }
.at-hero__body { position: relative; min-width: 0; display: flex; flex-direction: column; gap: var(--space-2); }
.at-hero__greeting { font-family: var(--font-display); font-size: 32px; line-height: 38px; font-weight: 700; letter-spacing: -0.015em; animation: at-rise var(--duration-slower) var(--ease-out) 80ms both; }
.at-hero__meta { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-2); font-size: 14px; line-height: 20px; color: var(--ink-inverse-muted); animation: at-rise var(--duration-slower) var(--ease-out) 160ms both; }
.at-hero__meta .at-dot { width: 3px; height: 3px; border-radius: 50%; background: var(--ink-inverse-muted); opacity: 0.7; }
.at-hero__time { font-family: var(--font-mono); font-size: 14px; font-weight: 500; color: var(--gold); font-variant-numeric: tabular-nums; }
.at-hero__time.is-ticking { animation: at-tick var(--duration-base) var(--ease-out); }
.at-hero__summary { display: flex; flex-wrap: wrap; gap: var(--space-2); margin-top: var(--space-2); animation: at-rise var(--duration-slower) var(--ease-out) 240ms both; }
.at-hero__chip { display: inline-flex; align-items: center; gap: 6px; height: 30px; padding: 0 var(--space-3); border-radius: var(--radius-pill); border: 1px solid var(--overlay-light-line); background: var(--overlay-light-weak); font-size: 13px; font-weight: 600; color: var(--ink-inverse); text-decoration: none; transition: background-color var(--duration-fast) var(--ease-standard), transform var(--duration-fast) var(--ease-standard), border-color var(--duration-fast) var(--ease-standard); }
.at-hero__chip:hover { background: var(--overlay-light-mid); border-color: var(--gold); transform: translateY(-1px); text-decoration: none; color: var(--ink-inverse); }
.at-hero__chip b { color: var(--gold); font-weight: 800; }
.at-hero__chip .at-icon { width: 14px; height: 14px; color: var(--gold); }
.at-hero__actions { position: relative; display: flex; align-items: center; gap: var(--space-2); animation: at-rise var(--duration-slower) var(--ease-out) 200ms both; }
.at-hero .at-btn--ghost { --at-btn-ink: var(--ink-inverse); }
.at-hero .at-btn--ghost:hover { background: var(--overlay-light-weak); color: var(--ink-inverse); }
.at-hero .at-btn--primary { box-shadow: var(--shadow-brand); }
@media (max-width: 900px) { .at-hero { grid-template-columns: auto 1fr; } .at-hero__actions { grid-column: 1 / -1; } .at-hero__emblem { --size: 88px; } .at-hero__pattern { display: none; } }

/* 25 · mini gráficos, celebração, reveal, tema ------------------------------------------------ */
.at-minibars { position: absolute; right: var(--space-5); bottom: var(--space-5); display: flex; align-items: flex-end; gap: 4px; height: 36px; }
.at-minibars span { display: block; width: 8px; height: var(--v, 40%); border-radius: 2px 2px 0 0; background: var(--brand-300); transform-origin: bottom; animation: at-grow-y var(--duration-slower) var(--ease-out) both; }
.at-minibars span.is-now { background: var(--brand); }
.at-kpi--featured .at-minibars span { background: var(--overlay-light-mid); }
.at-kpi--featured .at-minibars span.is-now { background: var(--gold); }
.at-minibars span:nth-child(2) { animation-delay: 50ms; } .at-minibars span:nth-child(3) { animation-delay: 100ms; } .at-minibars span:nth-child(4) { animation-delay: 150ms; }
.at-minibars span:nth-child(5) { animation-delay: 200ms; } .at-minibars span:nth-child(6) { animation-delay: 250ms; } .at-minibars span:nth-child(7) { animation-delay: 300ms; } .at-minibars span:nth-child(8) { animation-delay: 350ms; }
.at-kpi__icon { width: 36px; height: 36px; border-radius: var(--radius-md); display: grid; place-items: center; background: var(--brand-soft); color: var(--brand-text); flex: none; }
.at-kpi__icon .at-icon { width: 18px; height: 18px; }
.at-kpi--featured .at-kpi__icon { background: var(--overlay-light-weak); color: var(--gold); }
.at-burst { position: absolute; left: 50%; top: 50%; width: 0; height: 0; pointer-events: none; z-index: 2; }
.at-burst i { position: absolute; left: -4px; top: -4px; width: 8px; height: 8px; border-radius: 50%; background: var(--gold); animation: at-burst-fly 760ms var(--ease-out) forwards; }
.at-burst i:nth-child(even) { background: var(--brand-300); width: 6px; height: 6px; }
.at-burst i:nth-child(3n) { border-radius: 2px; }
.at-reveal { opacity: 0; transform: translateY(14px); transition: opacity var(--duration-slow) var(--ease-out), transform var(--duration-slow) var(--ease-out); }
.at-reveal.is-visible { opacity: 1; transform: none; }
.at-table--cascade tbody tr { animation: at-rise var(--duration-slow) var(--ease-out) both; }
.at-table--cascade tbody tr:nth-child(2) { animation-delay: 40ms; } .at-table--cascade tbody tr:nth-child(3) { animation-delay: 80ms; } .at-table--cascade tbody tr:nth-child(4) { animation-delay: 120ms; }
.at-table--cascade tbody tr:nth-child(5) { animation-delay: 160ms; } .at-table--cascade tbody tr:nth-child(6) { animation-delay: 200ms; } .at-table--cascade tbody tr:nth-child(n+7) { animation-delay: 240ms; }
.at-theme-toggle { position: relative; }
.at-theme-toggle .at-icon { transition: transform var(--duration-slow) var(--ease-spring), opacity var(--duration-base) var(--ease-standard); }
.at-theme-toggle .at-icon--sun { position: absolute; transform: rotate(-90deg) scale(0.4); opacity: 0; }
[data-theme="dark"] .at-theme-toggle .at-icon--moon { transform: rotate(90deg) scale(0.4); opacity: 0; }
[data-theme="dark"] .at-theme-toggle .at-icon--sun { transform: none; opacity: 1; }
.at-theme-transition, .at-theme-transition *, .at-theme-transition *::before, .at-theme-transition *::after { transition: background-color var(--duration-base) var(--ease-standard), color var(--duration-base) var(--ease-standard), border-color var(--duration-base) var(--ease-standard), fill var(--duration-base) var(--ease-standard) !important; }
.at-splash { position: fixed; inset: 0; z-index: var(--z-toast); display: grid; place-items: center; background: linear-gradient(135deg, var(--gradient-night-start) 0%, var(--gradient-night-end) 100%); color: var(--ink-inverse); }
.at-splash.is-leaving { animation: at-fade-out var(--duration-slow) var(--ease-in) forwards; }
.at-splash__inner { display: flex; flex-direction: column; align-items: center; gap: var(--space-5); animation: at-scale-in var(--duration-slower) var(--ease-out) both; }
.at-splash__emblem { --size: 168px; }
.at-splash img { height: 32px; display: block; }

/* 26 · reduced motion ---------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; scroll-behavior: auto !important; }
  .at-hover-lift:hover, .at-btn:hover, .at-card--clickable:hover, .at-lead-card:hover, .at-chip:hover { transform: none; }
  .at-empty__art, .at-soon-page__owl, .at-live, .at-anim-float, .at-anim-twinkle, .at-emblem__wreath, .at-owl__pupil, .at-owl__lid, .at-hero__pattern { animation: none; }
}
