/* ==========================================================================
   AGVINFO — visual 2026 (camada por cima do app.css e do moderno.css)
   Ideia: o mundo de quem cuida de rede — rack, patch panel, LED de "ligado".
   - Onest no texto e na interface; Unbounded só nos títulos grandes do site.
   - Fundo do topo e do rodapé em azul-rack; o LED verde aparece só onde
     significa "funcionando / disponível".
   - Bordas finas no lugar de sombras; cantos maiores nos blocos grandes e
     menores nos itens de dentro.
   Desligar: Configurações → Empresa → "Visual 2026".
   ========================================================================== */
@font-face { font-family: Onest; font-style: normal; font-weight: 100 900; font-display: swap; src: url(fonts/onest.woff2) format("woff2"); }
@font-face { font-family: Unbounded; font-style: normal; font-weight: 200 900; font-display: swap; src: url(fonts/unbounded.woff2) format("woff2"); }

:root {
  --f: Onest, "Segoe UI", system-ui, -apple-system, Roboto, Arial, sans-serif;
  --fh: Onest, "Segoe UI", system-ui, Arial, sans-serif;
  --fd: Unbounded, Onest, "Segoe UI", system-ui, sans-serif;
  --rack: #0c1524; --rack-2: #121e31; --rack-linha: rgba(255, 255, 255, .08);
  --led: #2bd47d; --led-amb: #f2a51a;
  --bg: #f5f7fa; --bg2: #f8fafc; --line: #dde3ec; --line2: #ebeff5;
  --r: 12px; --r-g: 20px;
}
html[data-tema="escuro"] { --rack: #070d18; --rack-2: #0e1828; --line: #243149; --line2: #1b263a; }
body { font-family: var(--f); font-feature-settings: "ss01"; -webkit-font-smoothing: antialiased; }
h1, h2, h3 { font-family: var(--fh); letter-spacing: -.015em; }
.btn { border-radius: 10px; font-family: var(--f); font-weight: 600; }
input, select, textarea, button { font-family: var(--f); }
:where(input, select, textarea):focus-visible { outline: none; border-color: var(--pri) !important; box-shadow: 0 0 0 3px color-mix(in srgb, var(--pri) 22%, transparent) !important; }
:where(a, button, .btn, summary):focus-visible { outline: 2px solid var(--pri); outline-offset: 2px; }
.cards b, .card b, .money, td.r, .valor, .nums-in b, .hcard em { font-variant-numeric: tabular-nums; }

/* ================= site público ================= */
body.site { background: var(--card); }
.snav { background: color-mix(in srgb, var(--card) 92%, transparent); backdrop-filter: saturate(1.4) blur(12px); -webkit-backdrop-filter: saturate(1.4) blur(12px); border-bottom: 1px solid var(--line2); box-shadow: none; }
.snav nav > a, .snav-prod-bt { border-radius: 8px; font-weight: 500; }
.snav-area { border-radius: 10px !important; }
.snav-prod-g small { text-transform: none; letter-spacing: 0; font: 600 .82rem var(--f); }
.snav-prod-cta { background: var(--rack); border: 1px solid var(--rack-linha); }

/* topo: fundo de rack (trilhos de 1U) */
.hero { background: var(--rack); padding: 88px 0 96px; }
.hero::before { content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(640px 380px at 95% 0%, color-mix(in srgb, var(--pri) 38%, transparent), transparent 72%),
    repeating-linear-gradient(180deg, rgba(255, 255, 255, .035) 0 1px, transparent 1px 44px); }
.hero::after { display: none; }
.hero-in { grid-template-columns: 1.1fr 1fr; gap: 56px; }
.hero h1 { font-family: var(--fd); font-weight: 500; font-size: clamp(2.1rem, 4.2vw, 3.3rem); line-height: 1.1; letter-spacing: -.02em; max-width: 13ch; }
.hero-txt > p:first-child, .hero-txt > small:first-child, .hero .sec-k { text-transform: none; letter-spacing: 0; font: 500 .95rem var(--f); color: #9fb3cf; }
.hero .lead { color: #c3d0e2; font-size: 1.1rem; line-height: 1.6; max-width: 52ch; }
.hero .btn { border-radius: 10px; padding: 13px 22px; }
.hero .btn.pri, html[data-tema="escuro"] .hero .btn.pri { background: #fff; color: var(--rack); border-color: #fff; }
.hero .btn.pri:hover { background: #e8eef7; }
.hero-rd .btn { background: transparent; border-color: rgba(255, 255, 255, .28); }
.hero-rd small { color: #9fb3cf; }
.hero-pts { color: #c3d0e2; gap: 10px 22px; }
.hero-pts .ic { color: var(--led); }

/* os serviços do topo viram um patch panel: uma porta por serviço, com LED */
.hero-cards { gap: 0; background: var(--rack-2); border: 1px solid var(--rack-linha); border-radius: var(--r-g); padding: 6px; box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .6); }
.hcard { background: transparent !important; border: 0; border-radius: 14px; padding: 16px 16px; position: relative; transform: none !important; }
.hcard + .hcard::before { content: ""; position: absolute; left: 16px; right: 16px; top: 0; height: 1px; background: var(--rack-linha); }
.hcard:hover { background: rgba(255, 255, 255, .045) !important; }
.hc-ic { width: 48px; height: 48px; border-radius: 10px; background: #0a1220; border: 1px solid rgba(255, 255, 255, .12); color: #cfe0ff; position: relative; }
.hc-ic .ic { width: 22px; height: 22px; }
.hc-ic::after { content: ""; position: absolute; top: 5px; right: 5px; width: 6px; height: 6px; border-radius: 50%; background: #2a3a52; }
.hcard b { font: 600 1.02rem var(--f); color: #fff; }
.hcard small { color: #9fb3cf; }
.hcard em { font: 700 1.12rem var(--f); color: #fff; }
.hcard em small { color: #8ea3c2; }
.hcard em.sob { background: transparent; border: 1px solid color-mix(in srgb, var(--led) 45%, transparent); color: var(--led); font: 600 .8rem var(--f); padding: 5px 11px; }
/* o único movimento da página: as luzes acendem uma depois da outra ao abrir */
@keyframes agv-led { from { background: #2a3a52; box-shadow: none; } to { background: var(--led); box-shadow: 0 0 0 3px rgba(43, 212, 125, .16), 0 0 10px rgba(43, 212, 125, .7); } }
.hcard .hc-ic::after { animation: agv-led .35s ease-out forwards; }
.hcard:nth-child(1) .hc-ic::after { animation-delay: .35s; } .hcard:nth-child(2) .hc-ic::after { animation-delay: .6s; }
.hcard:nth-child(3) .hc-ic::after { animation-delay: .85s; } .hcard:nth-child(4) .hc-ic::after { animation-delay: 1.1s; } .hcard:nth-child(n+5) .hc-ic::after { animation-delay: 1.35s; }
@media (prefers-reduced-motion: reduce) { .hcard .hc-ic::after { animation: none; background: var(--led); box-shadow: 0 0 8px rgba(43, 212, 125, .6); } }

/* seções: títulos grandes alinhados à esquerda, sem rótulo em cima */
.sec { padding: 88px 0; }
.sec-k { display: none; }
.sec-t { font-family: var(--fd); font-weight: 500; font-size: clamp(1.6rem, 3vw, 2.35rem); line-height: 1.12; letter-spacing: -.02em; text-align: left; max-width: 22ch; }
.sec-s { text-align: left; margin: 0 0 40px; max-width: 60ch; color: var(--ink2); }
.sec.alt, .contato { background: var(--bg); }

.sol-grid, .svc-grid { gap: 14px; }
.sol { border-radius: var(--r-g); padding: 24px; transition: border-color .15s; }
.sol:hover { transform: none; box-shadow: none; border-color: var(--pri); }
.sol > i { width: 44px; height: 44px; border-radius: 10px; background: transparent; border: 1px solid var(--line); }
.sol:hover > i { background: transparent; color: var(--pri); border-color: var(--pri); }
.sol small { text-transform: none; letter-spacing: 0; font: 500 .84rem var(--f); }
.sol b { font: 650 1.12rem var(--f); }
.sol-rod em { font-weight: 600; }
.serv { border-radius: 16px; } .serv:hover { box-shadow: none; border-color: var(--pri); }
.svc-cat { border-radius: var(--r-g); }
.svc-cat header { background: var(--card); }
.svc-cat header i { border-radius: 10px; }

/* "Como funciona" é uma sequência de verdade: números grandes, sem bolinha */
.passos { gap: 14px; }
.passos li { border-radius: 16px; padding: 22px 22px 24px; }
.passos li::before { width: auto; height: auto; background: none; color: var(--pri); font: 600 1.7rem var(--fd); justify-content: start; margin-bottom: 4px; place-items: start; }
.passos b { font: 650 1.04rem var(--f); }

.sobre-pts li { border-radius: 14px; }
.faq details { border-radius: 14px; }
.faq summary { font-weight: 600; }
.contato-box { border-radius: var(--r-g); box-shadow: none; }
.contato-in .lead-form { box-shadow: none; }
.nums-in b { font: 600 2rem var(--fd); }

/* rodapé no mesmo azul do rack */
.sfoot { background: var(--rack); color: #9fb3cf; }
.sfoot-col b { text-transform: none; letter-spacing: 0; font: 600 .95rem var(--f); }
.sfoot-contato svg { color: var(--led); }
.sfoot-onde summary::after { color: var(--led); }

/* site no modo escuro */
html[data-tema="escuro"] body.site { background: #0a1220; }
html[data-tema="escuro"] .sec.alt, html[data-tema="escuro"] .contato { background: #0d1626; }
html[data-tema="escuro"] .sol > i { border-color: var(--line); }

@media (max-width: 900px) {
  .hero { padding: 56px 0 64px; }
  .hero-in { grid-template-columns: 1fr; gap: 36px; }
  .hero h1 { max-width: none; }
  .sec { padding: 64px 0; }
}

/* ================= painel e área do cliente ================= */
body.painel h1 { letter-spacing: -.025em; font-weight: 750; }
body.painel .box, body.painel .card { border-radius: 16px; }
body.painel .cards .card b { font-weight: 700; letter-spacing: -.02em; }
body.painel .badge { font-weight: 600; }
body.painel table th { text-transform: none; letter-spacing: 0; font-weight: 600; }
body.painel .pside a { font-weight: 500; }
body.painel .pside a.on { font-weight: 600; }
.auth .auth-box { border-radius: var(--r-g); }
.svc-preco em { text-transform: none; letter-spacing: 0; font-size: .74rem; }
.svc-preco { font-family: var(--f); }
/* faixa do contrato: no azul do rack, com borda, sem degradê */
.contrato-cta { background: var(--rack) !important; border: 1px solid var(--rack-linha); border-radius: var(--r-g) !important; }
.contrato-cta h3 { font-family: var(--f); }
html[data-tema="escuro"] .hero { background: var(--rack); }
html[data-tema="escuro"] .hero-rd .btn { background: transparent; border-color: rgba(255, 255, 255, .28); color: #fff; }
