/* =========================================================================
   Linkalink — sistema visual
   -------------------------------------------------------------------------
   Direção: telemetria. O produto lê o percurso de um clique, então a
   interface se comporta como um painel de instrumentos: fundo de tinta
   profunda, uma cor para tráfego (azul) e uma para conversão (âmbar),
   e todo número em fonte monoespaçada com algarismos tabulares — métrica
   que muda não pode fazer o layout dançar.
   ========================================================================= */

:root {
  /* Tinta e superfícies */
  --ink:            #090B11;
  --surface:        #10141E;
  --surface-raised: #161B28;
  --surface-hover:  #1C2231;
  --line:           #232A3B;
  --line-strong:    #333D54;

  /* Texto */
  --text:           #E9ECF5;
  --text-muted:     #8A93A9;
  --text-faint:     #5C6479;

  /* Sinal: azul = tráfego, âmbar = conversão */
  --signal:         #4C7DFF;
  --signal-soft:    rgba(76, 125, 255, .14);
  --signal-line:    rgba(76, 125, 255, .38);
  --convert:        #FFB020;
  --convert-soft:   rgba(255, 176, 32, .14);

  --positive:       #38D39F;
  --danger:         #FF5A6E;
  --warning:        #FFB020;

  /* Tipografia */
  --font-display: "Bricolage Grotesque", "Segoe UI", system-ui, sans-serif;
  --font-body:    "IBM Plex Sans", system-ui, -apple-system, sans-serif;
  --font-mono:    "IBM Plex Mono", ui-monospace, "SF Mono", monospace;

  --radius:    14px;
  --radius-sm: 9px;
  --shadow:    0 18px 48px rgba(0, 0, 0, .45);

  --sidebar-width: 244px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--ink);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* Trilha luminosa no topo: o rastro do clique atravessando a página. */
body::before {
  content: "";
  position: fixed;
  inset: 0 0 auto 0;
  height: 380px;
  background:
    radial-gradient(720px 300px at 18% -8%, rgba(76, 125, 255, .16), transparent 70%),
    radial-gradient(560px 260px at 82% -12%, rgba(255, 176, 32, .09), transparent 70%);
  pointer-events: none;
  z-index: 0;
}

h1, h2, h3, h4, .display {
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: -.022em;
  line-height: 1.12;
  margin: 0 0 .5rem;
}

h1 { font-size: clamp(2.1rem, 4.6vw, 3.55rem); }
h2 { font-size: clamp(1.55rem, 3vw, 2.3rem); }
h3 { font-size: 1.16rem; }

p { margin: 0 0 1rem; color: var(--text-muted); }

a { color: var(--signal); text-decoration: none; }
a:hover { color: #7CA0FF; }

/* Todo dado numérico é monoespaçado e tabular. */
.metric, .num, td.num, .stat-value {
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
  letter-spacing: -.02em;
}

.eyebrow {
  font-family: var(--font-mono);
  font-size: .72rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--signal);
  margin-bottom: .85rem;
}
.eyebrow.convert { color: var(--convert); }

.muted  { color: var(--text-muted); }
.faint  { color: var(--text-faint); }
.shell  { max-width: 1180px; margin: 0 auto; padding: 0 1.25rem; position: relative; z-index: 1; }

/* ---------------------------------------------------------------- botões */
.btn {
  --bs-btn-focus-box-shadow: 0 0 0 3px var(--signal-soft);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: .93rem;
  border-radius: var(--radius-sm);
  padding: .66rem 1.15rem;
  border: 1px solid transparent;
  transition: transform .12s ease, background .15s ease, border-color .15s ease;
}
.btn:active { transform: translateY(1px); }

.btn-signal { background: var(--signal); color: #fff; }
.btn-signal:hover { background: #3D6BEE; color: #fff; }

.btn-convert { background: var(--convert); color: #1A1204; }
.btn-convert:hover { background: #FFC04D; color: #1A1204; }

.btn-outline {
  background: transparent;
  color: var(--text);
  border-color: var(--line-strong);
}
.btn-outline:hover { background: var(--surface-hover); color: var(--text); border-color: var(--signal); }

.btn-quiet { background: var(--surface-raised); color: var(--text); border-color: var(--line); }
.btn-quiet:hover { background: var(--surface-hover); color: var(--text); }

.btn-danger-soft { background: rgba(255, 90, 110, .12); color: var(--danger); border-color: rgba(255, 90, 110, .3); }
.btn-danger-soft:hover { background: rgba(255, 90, 110, .2); color: var(--danger); }

.btn-sm { padding: .38rem .7rem; font-size: .82rem; }

/* ---------------------------------------------------------------- cartões */
.card-lk {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.35rem;
}
.card-lk.raised { background: var(--surface-raised); }

.panel {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.35rem;
  margin-bottom: 1.15rem;
}
.panel-head {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1rem; margin-bottom: 1.1rem;
}
.panel-head h2, .panel-head h3 { margin: 0; }

/* --------------------------------------------------------------- métricas */
.stat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(168px, 1fr));
  gap: .85rem;
  margin-bottom: 1.15rem;
}
.stat {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.05rem 1.15rem;
  position: relative;
  overflow: hidden;
}
/* Marcador lateral: azul para volume, âmbar para conversão. */
.stat::after {
  content: "";
  position: absolute; left: 0; top: 0; bottom: 0; width: 2px;
  background: var(--signal); opacity: .55;
}
.stat.convert::after { background: var(--convert); }
.stat-label {
  font-size: .74rem; letter-spacing: .1em; text-transform: uppercase;
  color: var(--text-faint); margin-bottom: .4rem;
}
.stat-value {
  font-size: 1.85rem; font-weight: 600; color: var(--text); line-height: 1.1;
}
.stat-hint { font-size: .8rem; color: var(--text-muted); margin-top: .25rem; }

/* --------------------------------------------------- encurtador na home */
.shorten-box { margin: 1.6rem 0 0; }
.shorten-row { display: flex; gap: .6rem; }
.shorten-row .input { flex: 1; padding: .85rem 1rem; font-size: .95rem; }
.shorten-row .btn { padding: .85rem 1.6rem; white-space: nowrap; }

/* O campo-armadilha precisa ficar fora da tela sem usar display:none —
   robôs de spam costumam ignorar campos ocultos por display. */
.honeypot { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.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; }

.shorten-error {
  color: #FF9AA7; font-size: .87rem; margin: .7rem 0 0;
  padding: .6rem .8rem; border-radius: var(--radius-sm);
  background: rgba(255, 90, 110, .1); border: 1px solid rgba(255, 90, 110, .3);
}

.shorten-result {
  margin: 1.6rem 0 0; padding: 1.4rem;
  background: var(--surface); border: 1px solid var(--convert);
  border-radius: var(--radius);
}
.shorten-url { margin-bottom: .5rem; }
.copy-btn.big {
  font-size: 1.12rem; padding: .7rem 1rem; width: 100%; text-align: left;
  color: var(--convert); border-color: rgba(255, 176, 32, .35);
}
.copy-btn.big:hover { border-color: var(--convert); }
.shorten-dest { font-size: .84rem; color: var(--text-faint); margin: 0 0 1rem; word-break: break-all; }
.shorten-cta { display: flex; gap: .6rem; flex-wrap: wrap; }

@media (max-width: 560px) {
  .shorten-row { flex-direction: column; }
  .shorten-row .btn { width: 100%; }
}

/* ------------------------------------------------------------------ hero */
.hero { padding: 4.5rem 0 3.5rem; position: relative; z-index: 1; }
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 3rem; align-items: center; }
.hero p.lead { font-size: 1.1rem; max-width: 34rem; }
.hero-actions { display: flex; gap: .7rem; flex-wrap: wrap; margin: 1.6rem 0 1rem; }
.hero-trust { font-size: .85rem; color: var(--text-faint); }

/* Elemento-assinatura: o percurso do clique. */
.trace {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.4rem;
  box-shadow: var(--shadow);
}
.trace-head {
  display: flex; justify-content: space-between; align-items: center;
  font-family: var(--font-mono); font-size: .74rem;
  letter-spacing: .1em; text-transform: uppercase; color: var(--text-faint);
  padding-bottom: .9rem; margin-bottom: 1.1rem; border-bottom: 1px solid var(--line);
}
.trace-live { display: flex; align-items: center; gap: .4rem; color: var(--positive); }
.trace-live i {
  width: 6px; height: 6px; border-radius: 50%; background: var(--positive);
  animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: .3; } }

.trace-path { display: flex; align-items: center; gap: .55rem; margin-bottom: 1.25rem; }
.trace-node {
  flex: 1; text-align: center; padding: .6rem .4rem;
  background: var(--surface-raised); border: 1px solid var(--line);
  border-radius: var(--radius-sm); font-size: .78rem;
}
.trace-node b { display: block; font-family: var(--font-mono); font-size: .82rem; color: var(--text); }
.trace-node span { color: var(--text-faint); font-size: .7rem; }
.trace-node.origin  { border-color: var(--signal-line); }
.trace-node.convert { border-color: rgba(255, 176, 32, .34); }
.trace-arrow { color: var(--text-faint); font-family: var(--font-mono); flex-shrink: 0; }

.trace-metrics { display: grid; grid-template-columns: repeat(2, 1fr); gap: .7rem; margin-bottom: 1.2rem; }
.trace-metric { background: var(--surface-raised); border-radius: var(--radius-sm); padding: .75rem .9rem; }
.trace-metric b {
  display: block; font-family: var(--font-mono); font-variant-numeric: tabular-nums;
  font-size: 1.3rem; color: var(--text);
}
.trace-metric span { font-size: .72rem; color: var(--text-faint); letter-spacing: .06em; text-transform: uppercase; }

.spark { display: flex; align-items: flex-end; gap: 3px; height: 62px; }
.spark i {
  flex: 1; background: var(--signal); opacity: .55; border-radius: 2px 2px 0 0;
  animation: rise .9s cubic-bezier(.22, 1, .36, 1) backwards;
}
.spark i.peak { background: var(--convert); opacity: .95; }
@keyframes rise { from { height: 0 !important; opacity: 0; } }

/* ---------------------------------------------------------------- seções */
.section { padding: 4rem 0; position: relative; z-index: 1; }
.section-head { max-width: 42rem; margin-bottom: 2.5rem; }
.grid-3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(268px, 1fr)); gap: 1rem; }
.grid-2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 1rem; }

.feature {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 1.4rem;
  transition: border-color .18s ease, transform .18s ease;
}
.feature:hover { border-color: var(--line-strong); transform: translateY(-2px); }
.feature h3 { font-size: 1.02rem; margin-bottom: .45rem; }
.feature p { font-size: .9rem; margin-bottom: .5rem; }
.feature .detail {
  font-size: .82rem; color: var(--text-faint);
  border-left: 2px solid var(--signal-line); padding-left: .7rem;
}

/* ---------------------------------------------------------------- planos */
.price-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(238px, 1fr)); gap: 1rem; align-items: start; }
/* Com apenas dois planos, a grade larga deixa os cartões esticados e ocos.
   O par fica centralizado e em largura de leitura. */
.price-grid.duo { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 760px; margin: 0 auto; }
@media (max-width: 620px) { .price-grid.duo { grid-template-columns: 1fr; } }
.price-card {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 1.5rem; display: flex; flex-direction: column; height: 100%;
}
.price-card.featured { border-color: var(--signal); background: var(--surface-raised); }
.price-badge {
  font-family: var(--font-mono); font-size: .68rem; letter-spacing: .14em; text-transform: uppercase;
  color: var(--signal); margin-bottom: .6rem;
}
.price-value {
  font-family: var(--font-mono); font-variant-numeric: tabular-nums;
  font-size: 2.1rem; font-weight: 600; color: var(--text); margin: .35rem 0 .15rem;
}
.price-value small { font-size: .82rem; color: var(--text-faint); font-family: var(--font-body); }
.price-card ul { list-style: none; padding: 0; margin: 1.1rem 0; flex: 1; }
.price-card li {
  font-size: .87rem; color: var(--text-muted); padding: .32rem 0 .32rem 1.35rem; position: relative;
}
.price-card li::before {
  content: "→"; position: absolute; left: 0; color: var(--signal); font-family: var(--font-mono); font-size: .8rem;
}

/* ----------------------------------------------------------------- listas */
.rank-row {
  display: flex; align-items: center; justify-content: space-between;
  gap: .8rem; padding: .5rem 0; border-bottom: 1px solid var(--line);
  font-size: .88rem;
}
.rank-row:last-child { border-bottom: none; }
.rank-row b { font-family: var(--font-mono); font-variant-numeric: tabular-nums; color: var(--text); }
.rank-bar { flex: 1; height: 3px; background: var(--line); border-radius: 2px; overflow: hidden; }
.rank-bar i { display: block; height: 100%; background: var(--signal); }

/* ---------------------------------------------------------------- tabelas */
.table-lk { width: 100%; border-collapse: collapse; font-size: .88rem; }
.table-lk th {
  text-align: left; font-size: .72rem; letter-spacing: .1em; text-transform: uppercase;
  color: var(--text-faint); font-weight: 600; padding: .6rem .7rem; border-bottom: 1px solid var(--line);
  white-space: nowrap;
}
.table-lk td { padding: .8rem .7rem; border-bottom: 1px solid var(--line); vertical-align: middle; }
.table-lk tr:last-child td { border-bottom: none; }
.table-lk tbody tr:hover { background: var(--surface-raised); }
.table-wrap { overflow-x: auto; margin: 0 -.35rem; }

.badge-lk {
  display: inline-block; font-family: var(--font-mono); font-size: .7rem;
  letter-spacing: .06em; text-transform: uppercase;
  padding: .2rem .5rem; border-radius: 5px; border: 1px solid;
}
.badge-active   { color: var(--positive); border-color: rgba(56, 211, 159, .35); background: rgba(56, 211, 159, .1); }
.badge-paused   { color: var(--text-muted); border-color: var(--line-strong); background: var(--surface-raised); }
.badge-expired  { color: var(--danger); border-color: rgba(255, 90, 110, .35); background: rgba(255, 90, 110, .1); }
.badge-plan     { color: var(--convert); border-color: rgba(255, 176, 32, .35); background: var(--convert-soft); }

/* ------------------------------------------------------------ formulários */
.field { margin-bottom: 1.05rem; }
.field label { display: block; font-size: .84rem; font-weight: 600; margin-bottom: .35rem; color: var(--text); }
.field .help { font-size: .78rem; color: var(--text-faint); margin-top: .3rem; }

.input, .form-control, .form-select, textarea, select {
  width: 100%;
  background: var(--ink) !important;
  border: 1px solid var(--line) !important;
  border-radius: var(--radius-sm);
  color: var(--text) !important;
  padding: .62rem .8rem;
  font-family: var(--font-body);
  font-size: .92rem;
  transition: border-color .15s ease, box-shadow .15s ease;
}
.input:focus, .form-control:focus, .form-select:focus, textarea:focus {
  outline: none;
  border-color: var(--signal) !important;
  box-shadow: 0 0 0 3px var(--signal-soft) !important;
}
.input::placeholder, .form-control::placeholder { color: var(--text-faint); }
.input.mono { font-family: var(--font-mono); }

.input-prefix { display: flex; align-items: stretch; }
.input-prefix .prefix {
  display: flex; align-items: center; padding: 0 .75rem;
  background: var(--surface-raised); border: 1px solid var(--line); border-right: none;
  border-radius: var(--radius-sm) 0 0 var(--radius-sm);
  font-family: var(--font-mono); font-size: .84rem; color: var(--text-muted); white-space: nowrap;
}
.input-prefix .input { border-radius: 0 var(--radius-sm) var(--radius-sm) 0; }

/* ------------------------------------------------------------------ chrome */
.topbar {
  position: sticky; top: 0; z-index: 40;
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: .85rem 1.25rem;
  background: rgba(9, 11, 17, .82);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.topbar-inner { max-width: 1180px; margin: 0 auto; width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.brand { display: flex; align-items: baseline; gap: .45rem; font-family: var(--font-display); font-size: 1.22rem; font-weight: 700; color: var(--text); letter-spacing: -.03em; }
.brand:hover { color: var(--text); }
.brand em { font-style: normal; color: var(--signal); }
.brand .dot { width: 5px; height: 5px; border-radius: 50%; background: var(--convert); align-self: center; }

.topnav { display: flex; align-items: center; gap: 1.4rem; }
.topnav a { color: var(--text-muted); font-size: .9rem; font-weight: 500; }
.topnav a:hover, .topnav a.active { color: var(--text); }

/* ------------------------------------------------------------- app layout */
.app-shell { display: grid; grid-template-columns: var(--sidebar-width) 1fr; min-height: 100vh; }
.app-side {
  background: var(--surface); border-right: 1px solid var(--line);
  padding: 1.1rem .8rem; position: sticky; top: 0; height: 100vh; overflow-y: auto;
}
.side-brand { padding: .3rem .6rem 1.2rem; }
.side-user {
  background: var(--surface-raised); border: 1px solid var(--line);
  border-radius: var(--radius-sm); padding: .7rem .8rem; margin-bottom: 1.1rem;
}
.side-user b { display: block; font-size: .88rem; color: var(--text); }
.side-user span { font-size: .76rem; color: var(--text-faint); }

.side-group { font-size: .68rem; letter-spacing: .14em; text-transform: uppercase; color: var(--text-faint); padding: .9rem .6rem .35rem; }
.side-link {
  display: flex; align-items: center; gap: .6rem;
  padding: .5rem .6rem; border-radius: var(--radius-sm);
  color: var(--text-muted); font-size: .88rem; font-weight: 500;
}
.side-link:hover { background: var(--surface-hover); color: var(--text); }
.side-link.active { background: var(--signal-soft); color: var(--text); box-shadow: inset 2px 0 0 var(--signal); }
.side-link .k { font-family: var(--font-mono); font-size: .74rem; color: var(--text-faint); width: 1.1rem; }

.app-main { padding: 1.6rem 1.9rem 3.5rem; max-width: 1320px; }
.app-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 1.2rem; margin-bottom: 1.5rem; flex-wrap: wrap; }
.app-head h1 { font-size: 1.72rem; margin: 0; }
.app-head .sub { color: var(--text-muted); font-size: .92rem; margin-top: .2rem; }

/* ------------------------------------------------------------- utilidades */
.quota { margin-top: .6rem; }
.quota-track { height: 4px; background: var(--line); border-radius: 3px; overflow: hidden; }
.quota-fill { height: 100%; background: var(--signal); border-radius: 3px; transition: width .4s ease; }
.quota-fill.warn { background: var(--convert); }
.quota-fill.over { background: var(--danger); }

.copy-btn {
  font-family: var(--font-mono); font-size: .82rem;
  background: var(--surface-raised); border: 1px solid var(--line);
  color: var(--signal); padding: .3rem .6rem; border-radius: var(--radius-sm); cursor: pointer;
}
.copy-btn:hover { border-color: var(--signal); }
.copy-btn.done { color: var(--positive); border-color: rgba(56, 211, 159, .4); }

.flash {
  border-radius: var(--radius-sm); padding: .75rem 1rem; margin-bottom: .75rem;
  font-size: .89rem; border: 1px solid;
}
.flash.success { background: rgba(56, 211, 159, .1); border-color: rgba(56, 211, 159, .3); color: #7DE8C4; }
.flash.danger  { background: rgba(255, 90, 110, .1); border-color: rgba(255, 90, 110, .3); color: #FF9AA7; }
.flash.warning { background: var(--convert-soft); border-color: rgba(255, 176, 32, .3); color: #FFD180; }
.flash.info    { background: var(--signal-soft); border-color: var(--signal-line); color: #A9C1FF; }

.empty { text-align: center; padding: 3rem 1.5rem; }
.empty h3 { margin-bottom: .4rem; }
.empty p { max-width: 26rem; margin: 0 auto 1.2rem; }

.intel {
  background: var(--surface-raised);
  border: 1px solid var(--line);
  border-left: 2px solid var(--convert);
  border-radius: var(--radius);
  padding: 1.3rem 1.5rem;
}
.intel-line {
  font-size: .95rem; color: var(--text); padding: .34rem 0 .34rem 1.3rem; position: relative;
}
.intel-line::before {
  content: "▸"; position: absolute; left: 0; color: var(--convert); font-size: .78rem;
}

.chart-box { position: relative; height: 260px; }
.chart-box.short { height: 190px; }
#mapa { height: 380px; border-radius: var(--radius); border: 1px solid var(--line); }
.leaflet-container { background: var(--surface) !important; }

.code-block {
  background: var(--ink); border: 1px solid var(--line); border-radius: var(--radius-sm);
  padding: 1rem; overflow-x: auto; font-family: var(--font-mono); font-size: .82rem;
  color: #C8D3EE; line-height: 1.65; white-space: pre;
}

footer.site {
  border-top: 1px solid var(--line); margin-top: 3rem; padding: 2.5rem 0 2rem;
  position: relative; z-index: 1;
}
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 2rem; }
.footer-grid h4 { font-size: .76rem; letter-spacing: .12em; text-transform: uppercase; color: var(--text-faint); margin-bottom: .7rem; }
.footer-grid a { display: block; color: var(--text-muted); font-size: .88rem; padding: .16rem 0; }
.footer-grid a:hover { color: var(--text); }
.footer-base { border-top: 1px solid var(--line); margin-top: 2rem; padding-top: 1.2rem; font-size: .82rem; color: var(--text-faint); display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }

/* ---------------------------------------------------------- responsividade */
@media (max-width: 980px) {
  .hero-grid { grid-template-columns: 1fr; gap: 2.2rem; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 820px) {
  .app-shell { grid-template-columns: 1fr; }
  .app-side {
    position: static; height: auto; border-right: none; border-bottom: 1px solid var(--line);
    display: flex; gap: .4rem; overflow-x: auto; padding: .7rem;
  }
  .side-brand, .side-user, .side-group { display: none; }
  .side-link { white-space: nowrap; }
  .app-main { padding: 1.2rem 1rem 3rem; }
  .topnav { gap: .9rem; font-size: .84rem; }
  .topnav .hide-sm { display: none; }
}
@media (max-width: 560px) {
  .footer-grid { grid-template-columns: 1fr; }
  .trace-path { flex-direction: column; align-items: stretch; }
  .trace-arrow { transform: rotate(90deg); text-align: center; }
  .hero { padding: 2.5rem 0 2rem; }
}

/* Acessibilidade: foco visível e respeito a movimento reduzido. */
:focus-visible { outline: 2px solid var(--signal); outline-offset: 2px; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
    scroll-behavior: auto !important;
  }
}
