@font-face { font-family: "Aileron"; font-weight: 400; font-display: swap; src: url("/fonts/aileron-400.woff2") format("woff2"); }
@font-face { font-family: "Aileron"; font-weight: 600; font-display: swap; src: url("/fonts/aileron-600.woff2") format("woff2"); }
@font-face { font-family: "Aileron"; font-weight: 700; font-display: swap; src: url("/fonts/aileron-700.woff2") format("woff2"); }
@font-face { font-family: "Aileron"; font-weight: 800; font-display: swap; src: url("/fonts/aileron-800.woff2") format("woff2"); }

:root {
  --preto: #000000;
  --painel: #0b0a09;
  --coral: #ff9758;
  --coral-fundo: #e5733b;
  --coral-suave: rgba(255, 151, 88, 0.12);
  --vidro: rgba(255, 255, 255, 0.045);
  --vidro-forte: rgba(255, 255, 255, 0.08);
  --linha: rgba(255, 255, 255, 0.10);
  --linha-forte: rgba(255, 255, 255, 0.16);
  --texto: #f6efe8;
  --suave: #9c9189;
  --apagado: #5e5752;
  --erro: #ff6b5e;
  --erro-suave: rgba(255, 107, 94, 0.10);
  --raio-g: 20px;
  --raio-m: 14px;
  --raio-p: 10px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html, body { height: 100%; }
body {
  font-family: "Aileron", "Segoe UI", system-ui, sans-serif;
  background: var(--preto);
  color: var(--texto);
  font-size: 14px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}
button, input { font-family: inherit; }
:focus-visible { outline: 2px solid var(--coral); outline-offset: 3px; }

.vidro {
  background: var(--vidro);
  border: 1px solid var(--linha);
  border-radius: var(--raio-g);
  backdrop-filter: blur(24px) saturate(140%);
  -webkit-backdrop-filter: blur(24px) saturate(140%);
}

.marca { display: flex; align-items: center; gap: 10px; }
.marca-ponto { width: 10px; height: 10px; border-radius: 50%; background: var(--coral); box-shadow: 0 0 14px rgba(255, 151, 88, 0.8); flex-shrink: 0; }
.marca-nome { font-weight: 800; font-size: 15px; letter-spacing: -0.01em; }
.marca-por { color: var(--suave); font-size: 11.5px; }

.botao-principal {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 46px; padding: 0 22px; border: 0; border-radius: var(--raio-m); cursor: pointer;
  background: linear-gradient(180deg, var(--coral), var(--coral-fundo));
  color: var(--preto); font-weight: 700; font-size: 14.5px;
  text-decoration: none;
  box-shadow: 0 10px 26px rgba(255, 151, 88, 0.25);
  transition: filter .15s, transform .08s;
}
.botao-principal:hover { filter: brightness(1.06); }
.botao-principal:active { transform: translateY(1px); }
.botao-principal:disabled { opacity: .45; cursor: not-allowed; filter: none; }

.link {
  background: none; border: 0; color: var(--suave); font-size: 13px; cursor: pointer;
  text-decoration: underline; text-underline-offset: 3px;
}
.link:hover { color: var(--texto); }
.link:disabled { opacity: .5; cursor: not-allowed; text-decoration: none; }

/* logos */
.logo-pepita { display: block; height: 44px; width: auto; align-self: flex-start; object-fit: contain; }
.feito-pela { display: inline-flex; align-items: center; gap: 8px; color: var(--suave); font-size: 11.5px; }
.feito-pela img { height: 26px; width: auto; display: block; }

/* círculos concêntricos, a marca visual do site da C2Leads */
.circulos { position: absolute; inset: 0; display: grid; place-items: center; pointer-events: none; }
.circulos i { position: absolute; border-radius: 50%; border: 1px solid; }

/* Windows com "efeitos de animação" desligados: a pulsação vira só um brilho suave, sem movimento */
@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; }
  .circulos i, .nucleo, .placa-icone { animation-name: brilho !important; }
}
@keyframes brilho { 0%, 100% { opacity: .55; } 50% { opacity: 1; } }

/* ---------- casca dos sistemas (menu lateral + barra do topo) */
  body:has(> .app) { overflow: hidden; }
  .app { display: grid; grid-template-columns: 248px minmax(0, 1fr); height: 100vh; }

  /* ---------- menu lateral */
  .lateral {
    display: flex; flex-direction: column;
    background: var(--painel); border-right: 1px solid var(--linha);
    padding: 22px 14px 18px;
  }
  .lateral .marca { padding: 0 10px 26px; align-items: flex-end; gap: 10px; }
  .lateral .marca .marca-por { padding-bottom: 4px; }
  .grupo-menu { color: var(--apagado); font-size: 12px; font-weight: 600; padding: 0 10px 8px; }
  .item {
    display: flex; align-items: center; gap: 11px; width: 100%;
    height: 40px; padding: 0 10px; border-radius: var(--raio-p);
    color: var(--suave); font-size: 13.5px; font-weight: 600; text-decoration: none;
  }
  .item svg { flex-shrink: 0; }
  .item.ativo { background: var(--coral-suave); color: var(--texto); }
  .item.ativo svg { color: var(--coral); }
  a.item:not(.ativo):hover { background: var(--vidro); color: var(--texto); }
  .item.breve { color: var(--apagado); cursor: default; }
  .item .selo { margin-left: auto; font-size: 10.5px; font-weight: 600; color: var(--apagado); border: 1px solid var(--linha); border-radius: 999px; padding: 1px 7px; }
  .lateral .rodape { margin-top: auto; padding: 0 10px; color: var(--apagado); }

  /* ---------- área principal */
  .principal { display: flex; flex-direction: column; min-width: 0; overflow: hidden;
    background: radial-gradient(60% 50% at 85% 0%, rgba(255, 151, 88, 0.10), transparent 70%), var(--preto); }
  .barra {
    display: flex; align-items: center; justify-content: space-between; gap: 20px;
    height: 68px; flex-shrink: 0; padding: 0 32px; border-bottom: 1px solid var(--linha);
  }
  .barra h1 { font-size: 19px; font-weight: 800; letter-spacing: -0.01em; }
  .barra .descricao { color: var(--suave); font-size: 12.5px; }
  .conta { display: flex; align-items: center; gap: 14px; }
  .conta .quem { display: flex; align-items: center; gap: 10px; color: var(--suave); font-size: 13px; }
  .avatar { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: var(--coral-suave); color: var(--coral); font-weight: 700; font-size: 13px; text-transform: uppercase; }
  .conta form { display: contents; }
  .bt-sair { height: 32px; padding: 0 12px; border-radius: var(--raio-p); border: 1px solid var(--linha); background: none; color: var(--suave); font-size: 12.5px; cursor: pointer; }
  .bt-sair:hover { color: var(--texto); border-color: var(--linha-forte); }

  /* ---------- celular: o sistema é para computador */
  .so-pc { display: none; }
  .so-pc .logo-pepita { height: 48px; }
  @media (max-width: 1023px) {
    .app { display: none; }
    body { overflow: auto; }
    .so-pc { display: flex; flex-direction: column; justify-content: center; min-height: 100vh; padding: 32px 24px; gap: 14px; }
    .so-pc h1 { font-size: 22px; font-weight: 800; }
    .so-pc p { color: var(--suave); }
    .so-pc form { margin-top: 10px; }
  }
  [hidden] { display: none !important; }

/* confirmação "arquivo salvo" */
.toast { position: fixed; right: 24px; bottom: 24px; z-index: 50; display: flex; gap: 12px; align-items: flex-start;
  min-width: 320px; max-width: 440px; padding: 14px 16px; border-radius: var(--raio-m);
  background: #151311; border: 1px solid rgba(95, 211, 141, .45); box-shadow: 0 16px 40px rgba(0, 0, 0, .55);
  transform: translateY(20px); opacity: 0; pointer-events: none; transition: opacity .2s, transform .2s; }
.toast.visivel { transform: none; opacity: 1; pointer-events: auto; }
.toast-ok { width: 28px; height: 28px; border-radius: 50%; flex-shrink: 0; display: grid; place-items: center;
  background: rgba(95, 211, 141, .18); color: #7fe0a6; font-weight: 800; }
.toast div { flex: 1; min-width: 0; }
.toast b { display: block; font-size: 14px; }
.toast span { display: block; font-size: 13px; overflow-wrap: anywhere; }
.toast small { display: block; color: var(--suave); font-size: 12px; margin-top: 2px; }
.toast button { background: none; border: 0; color: var(--suave); font-size: 18px; cursor: pointer; line-height: 1; }
