/* ================================================================
   Modo Frontend: versão visual do site.
   Header e hero são próprios. O resto segue o design system de
   referencia/ (NURA_OS): grade HUD, verde-fósforo (#33FF33) + âmbar
   (#FFB000) sobre quase-preto, VT323 + Fira Code, cantos retos,
   bordas verdes a 20%, seções com py-32, container de 7xl.
   Escopado dentro de .site, com seus próprios tokens.
   Valores em rem seguem a escala do Tailwind usada na referência.
   ================================================================ */
#site { display: none; }
html[data-mode="frontend"] #crt { display: none; }
html[data-mode="frontend"] #site { display: block; }

/* Neste modo a rolagem é suave (Lenis), a barra nativa some (a barra âmbar à direita faz o papel dela) e o cursor é o anel. */
html[data-mode="frontend"], html[data-mode="frontend"] * { scrollbar-width: none; }
html[data-mode="frontend"]::-webkit-scrollbar, html[data-mode="frontend"] *::-webkit-scrollbar { display: none; }
html[data-mode="frontend"] body { overflow-x: hidden; background: #0d0d0d; }
@media (hover: hover) { html[data-mode="frontend"] #site { cursor: none; } }

.site {
  --s-bg: #0d0d0d;
  --s-bg2: #0a1a0a;
  --s-green: #33ff33;
  --s-amber: #ffb000;
  --s-ease: cubic-bezier(0.16, 1, 0.3, 1);
  background: var(--s-bg);
  color: var(--s-green);
  font-family: 'Fira Code', ui-monospace, Menlo, monospace;
  font-size: 16px;
  line-height: 1.5;
  text-shadow: none; /* o body do terminal tem brilho; aqui não */
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}
.site *, .site *::before, .site *::after { box-sizing: border-box; }
.site ::selection { background: var(--s-green); color: var(--s-bg); }
.site h1, .site h2, .site h3 { font-family: 'VT323', ui-monospace, monospace; color: var(--s-green); text-transform: uppercase; font-weight: 500; }
/* :where() zera as margens sem ganhar das classes dos componentes (que definem o espaçamento) */
.site :where(h1, h2, h3, h4, p, ul) { margin: 0; }
.site a { color: inherit; text-decoration: none; }
.site button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
.site :focus-visible { outline: 2px solid var(--s-amber); outline-offset: 3px; }
.site [hidden] { display: none !important; }

/* link para pular direto ao conteúdo: só aparece com o foco do teclado */
.s-skip { position: fixed; left: 1rem; top: -4rem; z-index: 10001; padding: 0.75rem 1rem; font-size: 0.75rem; color: var(--s-bg); background: var(--s-green); transition: top 0.15s; }
.s-skip:focus { top: 1rem; }

/* ---------- efeitos globais do design system ---------- */
.s-noise { position: fixed; inset: 0; z-index: 9998; pointer-events: none; opacity: 0.03; mix-blend-mode: screen; background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); }
.s-progress { position: fixed; top: 0; right: 0; width: 2px; height: 100%; background: rgba(51, 255, 51, 0.1); z-index: 9999; }
.s-progress > div { width: 100%; height: 100%; background: var(--s-amber); transform-origin: top; transform: scaleY(0); }
#custom-cursor { position: fixed; top: 0; left: 0; width: 1.25rem; height: 1.25rem; border: 1px solid #33ff33; border-radius: 50%; pointer-events: none; z-index: 10000; opacity: 0; mix-blend-mode: difference; will-change: transform, width, height; transition: width 0.3s var(--s-ease), height 0.3s var(--s-ease), background-color 0.3s ease, opacity 0.3s ease; }
.site.has-cursor #custom-cursor { opacity: 1; }
.site.hover-active #custom-cursor { width: 3rem; height: 3rem; background: rgba(51, 255, 51, 0.1); backdrop-filter: blur(2px); }
@media (hover: none) { #custom-cursor { display: none; } }

/* grades de fundo */
.s-grid-40 { background-image: linear-gradient(rgba(51, 255, 51, 0.05) 1px, transparent 1px), linear-gradient(90deg, rgba(51, 255, 51, 0.05) 1px, transparent 1px); background-size: 40px 40px; }
.s-grid-100 { position: absolute; inset: 0; pointer-events: none; z-index: 0; background-image: linear-gradient(rgba(51, 255, 51, 0.02) 1px, transparent 1px), linear-gradient(90deg, rgba(51, 255, 51, 0.02) 1px, transparent 1px); background-size: 100px 100px; }

/* pré-carga */
.s-preloader { position: fixed; inset: 0; z-index: 500; background: var(--s-bg); display: flex; flex-direction: column; align-items: center; justify-content: center; cursor: pointer; }
.s-pre-brand { overflow: hidden; margin-bottom: 1.5rem; }
.s-pre-brand .s-pre-title { font-family: 'VT323', ui-monospace, monospace; font-weight: 500; text-transform: uppercase; color: var(--s-green); font-size: 2.25rem; line-height: 2.5rem; letter-spacing: -0.05em; }
.s-pre-track { position: relative; width: 16rem; height: 1px; background: rgba(51, 255, 51, 0.2); }
.s-pre-bar { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: var(--s-green); transform-origin: left; transform: scaleX(0); box-shadow: 0 0 10px #33ff33; }
.s-pre-row { margin-top: 1.5rem; display: flex; justify-content: space-between; width: 16rem; font-size: 0.75rem; line-height: 1rem; color: rgba(51, 255, 51, 0.5); letter-spacing: 0.1em; text-transform: uppercase; }
#s-pre-pct { color: var(--s-amber); }

/* ================================================================
   Header (próprio)
   ================================================================ */
.s-bar { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 30; display: flex; flex-wrap: wrap; row-gap: 10px; align-items: center; justify-content: space-between; gap: 20px; padding: 18px clamp(20px, 5vw, 48px); background: rgba(13, 13, 13, 0.9); backdrop-filter: blur(6px); border-bottom: 1px solid rgba(51, 255, 51, 0.2); }
.s-brand { display: flex; align-items: center; gap: 10px; min-width: 0; }
.s-wm { display: flex; align-items: baseline; gap: 9px; white-space: nowrap; }
.s-wm-a { font-family: 'Space Grotesk', system-ui, sans-serif; font-weight: 700; font-size: 24px; letter-spacing: -0.03em; line-height: 1; color: var(--s-green); }
.s-wm-d { font-family: 'JetBrains Mono', ui-monospace, Menlo, monospace; font-weight: 500; font-size: 16px; letter-spacing: 0.26em; line-height: 1; color: rgba(51, 255, 51, 0.55); }
@media (max-width: 420px) { .s-wm-d { display: none; } }
.s-nav { display: flex; gap: 28px; }
.s-nav a { position: relative; font-size: 12.5px; letter-spacing: 0.04em; color: rgba(51, 255, 51, 0.6); padding-bottom: 2px; }
.s-nav a::after { content: ""; position: absolute; left: 0; bottom: 0; width: 100%; height: 1px; background: var(--s-green); transform: scaleX(0); transform-origin: left; transition: transform 0.4s var(--s-ease); }
.s-nav a:hover { color: var(--s-green); }
.s-nav a:hover::after { transform: scaleX(1); }
@media (max-width: 1200px) { .s-nav { gap: 14px; } }
@media (max-width: 860px) { .s-nav { display: none; } }

/* ================================================================
   Hero (próprio, com a grade do design system no lado direito)
   ================================================================ */
/* Primeira dobra em tela cheia: cabeçalho + hero (+1px de borda) = 1 viewport. --bar-h é medido pelo frontend.js. */
.s-hero { --hero-h: calc(100dvh - var(--bar-h, 70px) - 1px); position: relative; display: flex; flex-direction: column; min-height: var(--hero-h); border-bottom: 1px solid rgba(51, 255, 51, 0.2); overflow: hidden; }
@media (min-width: 861px) { .s-hero { flex-direction: row; } }
.s-hero-visual { position: relative; width: 100%; min-height: calc(var(--hero-h) * 0.44); background: var(--s-bg2); border-bottom: 1px solid rgba(51, 255, 51, 0.2); display: flex; flex-direction: column; align-items: center; justify-content: center; overflow: hidden; }
@media (min-width: 861px) { .s-hero-visual { width: 55%; min-height: var(--hero-h); border-bottom: 0; border-right: 1px solid rgba(51, 255, 51, 0.2); } }
.s-hero-stage { position: relative; width: 100%; display: flex; flex-direction: column; align-items: center; perspective: 900px; }
.s-hero-visual svg { width: min(70%, 340px); opacity: 0.95; filter: drop-shadow(0 0 40px rgba(51, 255, 51, 0.25)); }
.s-hero-3d { transform-style: preserve-3d; transform: rotateY(-14deg) rotateX(6deg); transition: transform 0.4s ease-out; }
.s-hero-3d.is-tracking { transition: transform 0.12s ease-out; }
.s-mark-eye { fill: none; stroke: var(--s-bg); stroke-width: 7; stroke-linecap: round; stroke-linejoin: round; }
.s-mark-cut { fill: var(--s-bg); }
.s-facets polygon { stroke-width: 0.5; }
.s-facets polygon:nth-child(1) { fill: #6dffa0; stroke: #6dffa0; }
.s-facets polygon:nth-child(2) { fill: #6dffa0; stroke: #6dffa0; }
.s-facets polygon:nth-child(3) { fill: #52f88d; stroke: #52f88d; }
.s-facets polygon:nth-child(4) { fill: #3dff7a; stroke: #3dff7a; }
.s-facets polygon:nth-child(5) { fill: #3dff7a; stroke: #3dff7a; }
.s-facets polygon:nth-child(6) { fill: #2fe066; stroke: #2fe066; }
.s-facets polygon:nth-child(7) { fill: #22b850; stroke: #22b850; }
.s-facets polygon:nth-child(8) { fill: #17903d; stroke: #17903d; }
.s-facets polygon:nth-child(9) { fill: #17903d; stroke: #17903d; }
.s-facets polygon:nth-child(10) { fill: #22b850; stroke: #22b850; }
.s-facets polygon:nth-child(11) { fill: #2fe066; stroke: #2fe066; }
.s-facets polygon:nth-child(12) { fill: #52f88d; stroke: #52f88d; }
.s-ear-l { fill: #0d5a2c; opacity: 0.85; }
.s-ear-r { fill: #1f9c4b; opacity: 0.85; }
.s-hero-shadow { width: min(52%, 240px); height: 26px; margin-top: -6px; background: radial-gradient(ellipse at center, rgba(0, 0, 0, 0.55) 0%, rgba(0, 0, 0, 0) 72%); filter: blur(2px); }
@media (prefers-reduced-motion: no-preference) {
  .s-hero-3d:not(.is-tracking) { animation: s-tilt 7s ease-in-out infinite alternate; }
}
@keyframes s-tilt {
  from { transform: rotateY(-16deg) rotateX(7deg) translateY(0); }
  to { transform: rotateY(8deg) rotateX(2deg) translateY(-8px); }
}
.s-scan { position: absolute; left: 0; right: 0; height: 45%; background: linear-gradient(rgba(51, 255, 51, 0) 0%, rgba(51, 255, 51, 0.06) 50%, rgba(51, 255, 51, 0) 100%); animation: s-scan 5s linear infinite; pointer-events: none; }
@keyframes s-scan { 0% { transform: translateY(-100%); } 100% { transform: translateY(320%); } }
/* lado direito: mesma estrutura e medidas da referência (py-24, text-6xl/7xl/8xl, max-w-md, mb-8/12). Os tamanhos grandes (8xl, px-24) só entram a partir de 1440px, para o título caber na coluna de 45%. */
.s-hero-content { position: relative; z-index: 10; width: 100%; display: flex; flex-direction: column; justify-content: center; padding: 3rem 2rem; min-height: calc(var(--hero-h) * 0.56); background: var(--s-bg); }
@media (min-width: 768px) { .s-hero-content { padding: 6rem 3rem; } }
@media (min-width: 861px) { .s-hero-content { width: 45%; min-height: var(--hero-h); } }
@media (min-width: 1024px) { .s-hero-content { padding: 6rem 4rem; } }
@media (min-width: 1440px) { .s-hero-content { padding: 6rem 6rem; } }
.s-hero-copy { position: relative; z-index: 10; }
/* grade do design system: 40px, verde a 3% */
.s-hero-grid { position: absolute; inset: 0; z-index: 0; pointer-events: none; background-image: linear-gradient(rgba(51, 255, 51, 0.03) 1px, transparent 1px), linear-gradient(90deg, rgba(51, 255, 51, 0.03) 1px, transparent 1px); background-size: 40px 40px; }
.s-status { display: flex; align-items: center; gap: 0.75rem; margin-bottom: 2rem; font-size: 0.75rem; line-height: 1rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--s-amber); }
.s-status-dot { width: 0.375rem; height: 0.375rem; border-radius: 50%; background: var(--s-amber); box-shadow: 0 0 8px var(--s-amber); animation: s-pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite; }
@keyframes s-pulse { 50% { opacity: 0.5; } }
.s-hero h1 { margin-bottom: 2rem; font-size: 3.75rem; line-height: 0.85; letter-spacing: -0.025em; }
@media (min-width: 768px) { .s-hero h1 { font-size: 4.5rem; } }
@media (min-width: 1440px) { .s-hero h1 { font-size: 6rem; } }
.s-hero-sub { display: block; margin-top: 0.5rem; font-family: 'Fira Code', ui-monospace, monospace; font-size: 2.25rem; line-height: 2.5rem; letter-spacing: -0.025em; color: rgba(51, 255, 51, 0.5); }
@media (min-width: 768px) { .s-hero-sub { font-size: 3rem; line-height: 1; } }
@media (min-width: 1440px) { .s-hero-sub { font-size: 3.75rem; } }
.s-lead { max-width: 28rem; margin-bottom: 3rem; padding-left: 1rem; font-size: 0.875rem; line-height: 1.625; color: rgba(51, 255, 51, 0.6); text-transform: uppercase; text-wrap: balance; border-left: 1px solid rgba(51, 255, 51, 0.2); }
.s-scroll-cue { display: flex; align-items: center; gap: 1.5rem; width: max-content; }
.s-scroll-cue .s-line { width: 3rem; height: 1px; background: rgba(51, 255, 51, 0.4); transition: width 0.5s var(--s-ease), background-color 0.5s var(--s-ease); }
.s-scroll-cue span:last-child { font-size: 0.75rem; line-height: 1rem; letter-spacing: 0.1em; text-transform: uppercase; color: rgba(51, 255, 51, 0.5); transition: color 0.15s; }
.s-scroll-cue:hover .s-line { width: 6rem; background: var(--s-green); }
.s-scroll-cue:hover span:last-child { color: var(--s-green); }

/* ================================================================
   Seções (design system)
   ================================================================ */
.s-section { position: relative; padding: 8rem 1.5rem; background: var(--s-bg); border-bottom: 1px solid rgba(51, 255, 51, 0.2); }
.s-features { min-height: 100dvh; }
.s-wrap { position: relative; z-index: 10; max-width: 80rem; margin: 0 auto; }
.s-narrow { position: relative; z-index: 10; max-width: 56rem; margin: 0 auto; }

/* cabeçalho de seção */
.s-head { display: flex; flex-direction: column; align-items: flex-start; justify-content: space-between; margin-bottom: 6rem; }
@media (min-width: 768px) { .s-head { flex-direction: row; align-items: flex-end; } }
.s-eyebrow { font-size: 0.75rem; line-height: 1rem; color: var(--s-amber); margin-bottom: 1rem; text-transform: uppercase; letter-spacing: 0.1em; }
.s-head h2 { font-size: 3rem; line-height: 1; letter-spacing: -0.025em; }
@media (min-width: 768px) { .s-head h2 { font-size: 3.75rem; } }
.s-head-desc { max-width: 20rem; margin-top: 1.5rem; font-size: 0.75rem; line-height: 1.625; color: rgba(51, 255, 51, 0.5); text-transform: uppercase; letter-spacing: 0.1em; }
@media (min-width: 768px) { .s-head-desc { margin-top: 0; } }

/* cards */
.s-cards { display: grid; grid-template-columns: 1fr; gap: 1.5rem; }
@media (min-width: 768px) { .s-cards { grid-template-columns: repeat(3, minmax(0, 1fr)); } .s-cards-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.s-card { position: relative; display: flex; flex-direction: column; justify-content: space-between; min-height: 28rem; padding: 2rem; background: rgba(10, 26, 10, 0.5); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); border: 1px solid rgba(51, 255, 51, 0.2); overflow: hidden; transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1); }
.s-card:hover { background: var(--s-bg2); }
/* borda brilhante ao passar o mouse (glow-border) */
.s-card::before { content: ""; position: absolute; inset: -1px; z-index: -1; background: linear-gradient(90deg, transparent, rgba(51, 255, 51, 0.5), transparent); opacity: 0; transition: opacity 0.5s ease; }
.s-card:hover::before { opacity: 1; }
.s-card-corner { position: absolute; top: 0; right: 0; width: 4rem; height: 4rem; border-left: 1px solid rgba(51, 255, 51, 0.1); border-bottom: 1px solid rgba(51, 255, 51, 0.1); transition: border-color 0.15s; }
.s-card-corner-top { z-index: 20; }
.s-card:hover .s-card-corner { border-color: rgba(51, 255, 51, 0.3); }
.s-card-main { position: relative; z-index: 10; }
.s-card-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 3rem; }
.s-card-num { font-size: 0.75rem; line-height: 1rem; color: rgba(51, 255, 51, 0.4); transition: color 0.15s; }
.s-card:hover .s-card-num { color: var(--s-amber); }
.s-card-top svg { width: 1.25rem; height: 1.25rem; color: rgba(51, 255, 51, 0.4); transition: color 0.15s; }
.s-card:hover .s-card-top svg { color: var(--s-green); }
.s-card h3 { font-size: 1.875rem; line-height: 2.25rem; margin-bottom: 1rem; }
.s-card-main p { max-width: 90%; font-size: 0.75rem; line-height: 1.625; color: rgba(51, 255, 51, 0.6); text-transform: uppercase; }
.s-card-main p + p { margin-top: 0.75rem; }
.s-list { list-style: none; padding: 0; margin-top: 1.25rem; display: flex; flex-direction: column; gap: 0.375rem; }
.s-list li { position: relative; padding-left: 0.875rem; font-size: 0.75rem; line-height: 1.4; color: rgba(51, 255, 51, 0.6); text-transform: uppercase; }
.s-list li::before { content: ""; position: absolute; left: 0; top: 0.45em; width: 5px; height: 5px; background: var(--s-amber); }
/* link simples dentro de um texto: sem sublinhado, e sublinha ao passar o mouse */
.site .s-text-link { color: var(--s-green); }
.site .s-text-link:hover { text-decoration: underline; text-underline-offset: 3px; }
/* link com linha que expande (hover link do design system) */
.s-link { position: relative; display: inline-block; overflow: hidden; margin-top: 1.5rem; font-size: 0.75rem; line-height: 1rem; font-weight: 500; color: rgba(51, 255, 51, 0.6); transition: color 0.15s; }
.s-link::before { content: "> "; }
.s-link::after { content: ""; position: absolute; left: 0; bottom: 0; width: 100%; height: 1px; background: var(--s-green); transform-origin: left; transform: scaleX(0); transition: transform 0.5s var(--s-ease); }
.s-link:hover { color: var(--s-green); }
.s-link:hover::after { transform: scaleX(1); }
/* contador */
.s-card-foot { position: relative; z-index: 10; margin-top: auto; padding-top: 1.5rem; border-top: 1px solid rgba(51, 255, 51, 0.2); transition: border-color 0.15s; }
.s-card:hover .s-card-foot { border-color: rgba(51, 255, 51, 0.5); }
.s-counter-pre { margin-bottom: 0.4rem; font-size: 10px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--s-amber); }
.s-counter-row { display: flex; align-items: baseline; gap: 0.5rem; }
.s-counter-val { font-family: 'VT323', ui-monospace, monospace; font-size: 3.75rem; line-height: 1; letter-spacing: -0.05em; color: var(--s-green); }
.s-counter-unit { font-size: 0.75rem; line-height: 1rem; color: var(--s-amber); }
.s-counter-label { margin-top: 0.5rem; font-size: 10px; color: rgba(51, 255, 51, 0.4); text-transform: uppercase; letter-spacing: 0.1em; }
.s-counter-label::before { content: "> "; }
/* waveform */
.s-wave { position: absolute; left: 0; bottom: 0; width: 100%; height: 8rem; opacity: 0.3; transition: opacity 0.7s; pointer-events: none; }
.s-wave svg { width: 100%; height: 100%; }
.s-card:hover .s-wave { opacity: 1; }
/* imagem + scan ao passar o mouse */
.s-card-img { position: absolute; inset: 0; z-index: 0; opacity: 0; mix-blend-mode: screen; color: var(--s-green); transition: opacity 0.7s; pointer-events: none; }
.s-card-img svg { width: 100%; height: 100%; transform: scale(1.05); transition: transform 1s; }
.s-card:hover .s-card-img { opacity: 0.2; }
.s-card:hover .s-card-img svg { transform: scale(1); }
.s-card-scan { position: absolute; top: 0; left: 0; width: 100%; height: 6rem; z-index: 10; opacity: 0; transform: translateY(-100%); background: linear-gradient(to bottom, transparent, rgba(51, 255, 51, 0.1), transparent); pointer-events: none; }
.s-card:hover .s-card-scan { opacity: 1; animation: s-cardscan 2s linear infinite; }
@keyframes s-cardscan { 0% { transform: translateY(-100%); } 100% { transform: translateY(400%); } }

/* modo terminal: janela com dados e saída */
.s-terminal { overflow: hidden; }
.s-center-head { text-align: center; margin-bottom: 4rem; }
.s-center-head h2 { font-size: 2.25rem; line-height: 2.5rem; letter-spacing: -0.025em; margin-bottom: 1rem; }
@media (min-width: 768px) { .s-center-head h2 { font-size: 3rem; line-height: 1; } }
.s-center-head p { font-size: 0.75rem; line-height: 1rem; color: rgba(51, 255, 51, 0.5); text-transform: uppercase; letter-spacing: 0.1em; }
.s-dash { border: 1px solid rgba(51, 255, 51, 0.2); background: rgba(10, 26, 10, 0.3); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); overflow: hidden; }
.s-dash-bar { display: flex; align-items: center; justify-content: space-between; padding: 0.75rem 1rem; border-bottom: 1px solid rgba(51, 255, 51, 0.2); background: rgba(51, 255, 51, 0.05); }
.s-dash-dots { display: flex; gap: 0.5rem; }
.s-dash-dots span { width: 0.5rem; height: 0.5rem; border-radius: 50%; background: rgba(51, 255, 51, 0.3); }
.s-dash-dots span:last-child { background: rgba(255, 176, 0, 0.5); }
.s-dash-title { font-size: 10px; color: rgba(51, 255, 51, 0.4); text-transform: uppercase; letter-spacing: 0.1em; }
.s-dash-body { display: grid; grid-template-columns: 1fr; gap: 2rem; padding: 1.5rem; }
@media (min-width: 768px) { .s-dash-body { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 4rem; padding: 3rem; } }
.s-dash-left > * + * { margin-top: 1.5rem; }
.s-label { margin-bottom: 0.5rem; font-size: 10px; color: var(--s-amber); text-transform: uppercase; letter-spacing: 0.1em; }
.s-value { font-family: 'VT323', ui-monospace, monospace; font-size: 2.25rem; line-height: 2.5rem; color: var(--s-green); }
.s-value span { font-size: 1.125rem; line-height: 1.75rem; color: rgba(51, 255, 51, 0.4); }
.s-hr { width: 100%; height: 1px; background: rgba(51, 255, 51, 0.1); }
.s-typewrap { padding-top: 1rem; }
.s-typewriter { height: 4rem; font-size: 0.75rem; line-height: 1.625; color: rgba(51, 255, 51, 0.6); text-transform: uppercase; }
.s-dash-panel { position: relative; display: flex; align-items: flex-end; height: 16rem; padding: 1rem; border: 1px solid rgba(51, 255, 51, 0.1); background: rgba(51, 255, 51, 0.02); transition: border-color 0.15s; }
@media (min-width: 768px) { .s-dash-panel { grid-column: span 2; height: auto; min-height: 16rem; } }
.s-dash:hover .s-dash-panel { border-color: rgba(51, 255, 51, 0.3); }
.s-dash-panel-label { position: absolute; top: 1rem; left: 1rem; font-size: 10px; color: rgba(51, 255, 51, 0.4); text-transform: uppercase; }
.s-term-lines { font-family: 'VT323', ui-monospace, monospace; font-size: 1.25rem; line-height: 1.6; min-width: 0; overflow-wrap: anywhere; }
.s-t-dim { color: rgba(51, 255, 51, 0.45); }
.s-t-ok { color: var(--s-amber); }
.s-center-action { display: flex; justify-content: center; margin-top: 3rem; }
/* botão ghost do design system (o "INIT_ACCESS" da referência); também é o botão Backend do header */
.site .s-ghost { position: relative; overflow: hidden; padding: 0.5rem 1.5rem; font-size: 0.75rem; line-height: 1rem; font-weight: 500; color: var(--s-green); border: 1px solid rgba(51, 255, 51, 0.3); background: rgba(51, 255, 51, 0.05); transition: all 0.15s cubic-bezier(0.4, 0, 0.2, 1); }
.site .s-ghost:hover { border-color: var(--s-green); box-shadow: 0 0 15px rgba(51, 255, 51, 0.2); }

/* perguntas (accordion) */
.s-logs-head { display: flex; flex-direction: column; align-items: flex-start; justify-content: space-between; margin-bottom: 4rem; padding-bottom: 2rem; border-bottom: 1px solid rgba(51, 255, 51, 0.2); }
@media (min-width: 768px) { .s-logs-head { flex-direction: row; align-items: flex-end; } }
.s-logs-head h2 { font-size: 2.25rem; line-height: 2.5rem; letter-spacing: -0.025em; }
@media (min-width: 768px) { .s-logs-head h2 { font-size: 3rem; line-height: 1; } }
.s-logs-head span { margin-top: 1rem; font-size: 0.75rem; line-height: 1rem; color: rgba(51, 255, 51, 0.4); text-transform: uppercase; letter-spacing: 0.1em; }
@media (min-width: 768px) { .s-logs-head span { margin-top: 0; } }
.s-faq { counter-reset: faq; }
.faq-item { counter-increment: faq; border-bottom: 1px solid rgba(51, 255, 51, 0.1); }
.site .faq-btn { width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: 1.5rem 0; text-align: left; }
.faq-q { font-size: 0.875rem; line-height: 1.25rem; color: rgba(51, 255, 51, 0.8); text-transform: uppercase; transition: color 0.15s; }
.faq-q::before { content: counter(faq, decimal-leading-zero) " // "; }
.faq-item:hover .faq-q { color: var(--s-green); }
.faq-icon { flex: none; width: 1.25rem; height: 1.25rem; color: rgba(51, 255, 51, 0.4); transition: color 0.15s; }
.faq-item:hover .faq-icon { color: var(--s-green); }
.faq-content { height: 0; overflow: hidden; }
.faq-content p { max-width: 42rem; padding-bottom: 1.5rem; font-size: 0.75rem; line-height: 1.625; color: rgba(51, 255, 51, 0.5); text-transform: uppercase; }

/* produtos: a marca de cada MCP no cartão, o preço no formato da loja (valor por mês em destaque) e a nota do pacote */
/* a marca fica dentro do quadrado do canto superior direito do cartão (4rem, o mesmo de .s-card-corner), que o cartão tem a 2rem da borda */
#s-produtos .s-card-top { min-height: 2.5rem; margin-bottom: 2rem; }
#s-produtos .s-card-top .s-card-mark { position: absolute; top: -2rem; right: -2rem; box-sizing: border-box; width: 4rem; height: 4rem; padding: 0.8rem; z-index: 21; }
.s-price-val { font-family: 'VT323', ui-monospace, monospace; font-size: 3.75rem; line-height: 1; letter-spacing: -0.04em; white-space: nowrap; color: var(--s-green); }
.s-mcp-nota { display: flex; flex-wrap: wrap; align-items: baseline; gap: 0.5rem 2rem; margin-top: 2.5rem; padding: 1.25rem 1.5rem; border: 1px dashed var(--s-amber); background: rgba(255, 176, 0, 0.05); }
.s-mcp-nota p { flex: 1 1 24rem; font-size: 0.75rem; line-height: 1.625; color: rgba(51, 255, 51, 0.7); text-transform: uppercase; }
.s-mcp-nota .s-link { margin-top: 0; }

/* processo (4 passos) e "em todo site" (6 cartões): cartões menores que os de serviços e produtos */
.s-card-sm { min-height: 16rem; }
.s-card-sm .s-card-top { margin-bottom: 2rem; }
@media (min-width: 768px) { .s-cards-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .s-cards-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); } }

/* páginas legais (termos e privacidade): texto longo, com sumário, tabelas e as pendências marcadas em âmbar */
.legal { max-width: 52rem; margin: 0 auto; padding: 4rem 1.5rem 7rem; }
.legal h1 { margin-bottom: 1.25rem; font-size: clamp(2.5rem, 6vw, 3.75rem); line-height: 0.95; letter-spacing: -0.02em; }
.legal-lead { margin-bottom: 1rem; font-size: 0.95rem; line-height: 1.7; color: rgba(51, 255, 51, 0.78); }
.legal-versao { margin-bottom: 2rem; font-size: 0.75rem; color: rgba(51, 255, 51, 0.5); text-transform: uppercase; letter-spacing: 0.1em; }
.legal-sumario { margin-bottom: 2rem; padding: 1.25rem 1.5rem; border: 1px solid rgba(51, 255, 51, 0.2); background: rgba(10, 26, 10, 0.5); font-size: 0.85rem; line-height: 1.9; }
.legal-sumario ol { margin: 0; padding-left: 1.25rem; }
.legal section { padding-top: 2.5rem; margin-top: 2.5rem; border-top: 1px solid rgba(51, 255, 51, 0.2); scroll-margin-top: 6rem; }
.legal h2 { margin-bottom: 1rem; font-size: 1.875rem; line-height: 2.25rem; }
.legal p, .legal li { font-size: 0.9rem; line-height: 1.75; color: rgba(51, 255, 51, 0.78); }
.legal p + p { margin-top: 0.75rem; }
.legal ul { padding-left: 1.25rem; display: flex; flex-direction: column; gap: 0.5rem; }
.legal b { color: var(--s-green); font-weight: 500; }
.legal-tabela { overflow-x: auto; margin: 0.5rem 0 1rem; }
.legal-tabela table { width: 100%; border-collapse: collapse; font-size: 0.8rem; line-height: 1.55; }
.legal-tabela th, .legal-tabela td { padding: 0.6rem 0.75rem; border: 1px solid rgba(51, 255, 51, 0.2); text-align: left; vertical-align: top; color: rgba(51, 255, 51, 0.78); }
.legal-tabela th { color: var(--s-amber); font-weight: 500; text-transform: uppercase; font-size: 0.7rem; letter-spacing: 0.08em; }
.legal mark.pendente { padding: 0 0.25rem; color: var(--s-bg); background: var(--s-amber); }
html[data-mode="frontend"] .legal-tabela { scrollbar-width: thin; scrollbar-color: var(--s-amber) rgba(51, 255, 51, 0.1); }

/* mapa do site (sitemap.html): grupos de links, cada um com a descrição da página */
.s-nav a[aria-current="page"] { color: var(--s-green); }
.s-nav a[aria-current="page"]::after { transform: scaleX(1); }
.mapa { max-width: 80rem; margin: 0 auto; padding: 4rem 1.5rem 7rem; }
.mapa h1 { margin-bottom: 1.25rem; font-size: clamp(2.5rem, 6vw, 3.75rem); line-height: 0.95; letter-spacing: -0.02em; }
.mapa-lead { max-width: 46rem; margin-bottom: 3rem; font-size: 0.95rem; line-height: 1.7; color: rgba(51, 255, 51, 0.75); }
.mapa-grupos { display: grid; gap: 1.5rem; align-items: start; }
@media (min-width: 900px) { .mapa-grupos { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.mapa-grupo { padding: 1.75rem; border: 1px solid rgba(51, 255, 51, 0.2); background: rgba(10, 26, 10, 0.5); }
.mapa-grupo h2 { margin-bottom: 1rem; font-size: 1.875rem; line-height: 2.25rem; }
.mapa-grupo ul { list-style: none; padding: 0; margin: 0; }
.mapa-grupo li { padding: 0.75rem 0; border-top: 1px solid rgba(51, 255, 51, 0.1); font-size: 0.875rem; font-weight: 500; }
.mapa-grupo li p { margin-top: 0.25rem; font-size: 0.75rem; line-height: 1.6; font-weight: 400; color: rgba(51, 255, 51, 0.6); }
.mapa-grupo li ul { margin-top: 0.5rem; padding-left: 1rem; border-left: 1px solid rgba(51, 255, 51, 0.2); }
.mapa-grupo li li:first-child { border-top: 0; }

/* Google e SEO local e GEO: texto + dado, o caminho da pesquisa até o contato e os três cartões */
.s-local { display: grid; gap: 2rem; margin-bottom: 3rem; }
@media (min-width: 900px) { .s-local { grid-template-columns: minmax(0, 3fr) minmax(0, 2fr); align-items: start; gap: 4rem; } }
.s-local-text { max-width: 42rem; font-size: 0.875rem; line-height: 1.75; color: rgba(51, 255, 51, 0.6); text-transform: uppercase; }
.s-stat { padding: 2rem; border: 1px solid rgba(51, 255, 51, 0.2); border-left: 2px solid var(--s-amber); background: rgba(10, 26, 10, 0.5); transition: background 0.5s; }
.s-stat:hover { background: var(--s-bg2); }
.s-stat-val { font-family: 'VT323', ui-monospace, monospace; font-size: clamp(2.75rem, 12vw, 4.5rem); white-space: nowrap; line-height: 1; letter-spacing: -0.04em; color: var(--s-green); }
.s-stat-label { margin: 0.5rem 0 1.25rem; font-size: 0.75rem; line-height: 1.4; font-weight: 500; color: var(--s-amber); text-transform: uppercase; letter-spacing: 0.1em; }
.s-stat p { font-size: 0.75rem; line-height: 1.625; color: rgba(51, 255, 51, 0.6); text-transform: uppercase; }
.s-stat .s-stat-src { margin-top: 1rem; font-size: 10px; letter-spacing: 0.1em; color: rgba(51, 255, 51, 0.4); }
.s-flow-label { margin-bottom: 1rem; font-size: 10px; letter-spacing: 0.1em; text-transform: uppercase; color: rgba(51, 255, 51, 0.4); }
.s-flow { list-style: none; padding: 0; margin: 0 0 3rem; display: grid; gap: 0.75rem; counter-reset: flow; }
@media (min-width: 768px) { .s-flow { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 1.25rem; } }
.s-flow li { position: relative; counter-increment: flow; padding: 1rem; border: 1px solid rgba(51, 255, 51, 0.2); background: rgba(10, 26, 10, 0.3); font-size: 0.75rem; line-height: 1.4; text-transform: uppercase; color: rgba(51, 255, 51, 0.8); }
.s-flow li::before { content: counter(flow, decimal-leading-zero); display: block; margin-bottom: 0.5rem; font-size: 10px; color: var(--s-amber); }
@media (min-width: 768px) { .s-flow li:not(:last-child)::after { content: ">"; position: absolute; top: 50%; right: -1.05rem; transform: translateY(-50%); color: rgba(51, 255, 51, 0.4); } }

/* manifesto (citação em destaque) */
.s-quote { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; min-height: 50dvh; padding: 8rem 1.5rem; background: var(--s-bg2); border-bottom: 1px solid rgba(51, 255, 51, 0.2); overflow: hidden; }
.s-quote-bg { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 100%; height: 100%; max-width: 48rem; opacity: 0.05; color: var(--s-green); pointer-events: none; }
.s-quote-bg svg { width: 100%; height: 100%; }
.s-quote-inner { position: relative; z-index: 10; display: flex; flex-direction: column; align-items: center; text-align: center; }
.s-asterisk { display: block; width: 1.5rem; height: 1.5rem; margin-bottom: 2rem; color: var(--s-amber); animation: s-spin 10s linear infinite; }
@keyframes s-spin { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }
.s-stagger-mask { overflow: hidden; }
.s-quote-text { max-width: 48rem; font-size: 1.875rem; line-height: 1.1; letter-spacing: -0.025em; text-align: center; }
@media (min-width: 768px) { .s-quote-text { font-size: 3rem; } }
.s-quote-text span { display: block; }
.s-quote-text span::before { content: "> "; }
.s-quote-text .dim { margin-top: 0.5rem; color: rgba(51, 255, 51, 0.4); }
.s-pill { margin-top: 3rem; padding: 0.5rem 1rem; font-size: 10px; color: rgba(51, 255, 51, 0.4); text-transform: uppercase; letter-spacing: 0.1em; border: 1px solid rgba(51, 255, 51, 0.2); border-radius: 9999px; }

/* contato (CTA) */
.s-cta { display: flex; flex-direction: column; align-items: center; justify-content: center; min-height: 60dvh; overflow: hidden; }
.s-cta-glow { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 80vw; height: 80vw; background: var(--s-green); opacity: 0.03; border-radius: 50%; filter: blur(100px); pointer-events: none; }
@media (min-width: 768px) { .s-cta-glow { width: 40vw; height: 40vw; } }
.s-cta-inner { position: relative; z-index: 10; display: flex; flex-direction: column; align-items: center; width: 100%; max-width: 42rem; padding: 0 1.5rem; text-align: center; }
.s-cta-eyebrow { margin-bottom: 1.5rem; font-size: 0.75rem; line-height: 1rem; color: var(--s-amber); text-transform: uppercase; letter-spacing: 0.1em; }
.s-cta-title { margin-bottom: 3rem; font-size: 3rem; line-height: 0.9; letter-spacing: -0.025em; }
@media (min-width: 768px) { .s-cta-title { font-size: 4.5rem; } }
.s-cta-title span { color: rgba(51, 255, 51, 0.3); }
.magnetic-wrap { display: inline-block; width: 100%; }
@media (min-width: 768px) { .magnetic-wrap { width: auto; } }
.s-cta-btn { position: relative; display: flex; align-items: center; justify-content: center; gap: 0.5rem; width: 100%; padding: 1.25rem 1rem; font-size: 0.75rem; line-height: 1.25rem; font-weight: 500; text-transform: uppercase; letter-spacing: 0.05em; color: var(--s-green); background: transparent; border: 1px solid rgba(51, 255, 51, 0.3); overflow: hidden; transition: all 0.5s var(--s-ease); }
@media (min-width: 768px) { .s-cta-btn { width: auto; gap: 1rem; padding: 1.25rem 3rem; font-size: 0.875rem; } }
.s-cta-btn:hover { border-color: var(--s-green); box-shadow: 0 0 30px rgba(51, 255, 51, 0.15); }
.s-cta-fill { position: absolute; inset: 0; z-index: 0; background: var(--s-green); transform: translateY(101%); transition: transform 0.5s var(--s-ease); }
.s-cta-btn:hover .s-cta-fill { transform: translateY(0); }
.s-cta-label { position: relative; z-index: 10; transition: color 0.3s; }
.s-cta-btn svg { position: relative; z-index: 10; flex: none; width: 1.125rem; height: 1.125rem; transition: all 0.3s; }
.s-cta-btn:hover .s-cta-label, .s-cta-btn:hover svg { color: var(--s-bg); }
.s-cta-btn:hover svg { transform: translateX(0.5rem); }
/* os dois canais (WhatsApp e e-mail) um embaixo do outro, com a mesma largura */
.s-cta-actions { display: flex; flex-direction: column; align-items: center; gap: 1rem; width: 100%; }
.s-cta-actions .magnetic-wrap { width: min(100%, 26rem); }
.s-cta-actions .s-cta-btn { width: 100%; padding-inline: 1rem; }
.s-cta-status { display: flex; align-items: center; justify-content: center; gap: 1rem; width: 100%; margin-top: 2rem; padding-top: 2rem; border-top: 1px solid rgba(51, 255, 51, 0.1); }
.s-cta-status p { font-size: 10px; color: rgba(51, 255, 51, 0.4); text-transform: uppercase; letter-spacing: 0.1em; }
.s-cta-status p span { color: rgba(51, 255, 51, 0.7); }
.s-dot-amber { width: 0.5rem; height: 0.5rem; border-radius: 50%; background: rgba(255, 176, 0, 0.5); animation: s-pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite; }

/* rodapé: fundo e grade em largura total; o conteúdo fica na largura do site (mesmo container das seções) */
.s-foot-wrap { position: relative; display: flex; flex-direction: column; justify-content: flex-end; min-height: 80dvh; padding: 6rem 1.5rem 2rem; background: var(--s-bg2); overflow: hidden; }
.s-foot { position: relative; z-index: 1; width: 100%; max-width: 80rem; margin: 0 auto; }
.s-foot-top { position: relative; z-index: 10; display: flex; flex-direction: column; align-items: flex-start; justify-content: space-between; width: 100%; margin-bottom: 6rem; }
@media (min-width: 768px) { .s-foot-top { flex-direction: row; align-items: flex-end; } }
.s-foot-cols { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2.5rem 1.5rem; width: 100%; margin-bottom: 4rem; font-size: 0.75rem; line-height: 1rem; color: rgba(51, 255, 51, 0.6); }
@media (min-width: 768px) { .s-foot-cols { grid-template-columns: repeat(4, auto); gap: 4rem; width: auto; margin-bottom: 0; } .s-foot-col a, .s-foot-col button, .s-foot-col > span { width: max-content; } }
.s-foot-col { display: flex; flex-direction: column; gap: 1rem; }
.s-foot-col h4 { margin-bottom: 0.5rem; padding-bottom: 0.5rem; font-size: 10px; font-weight: 400; color: var(--s-amber); text-transform: uppercase; letter-spacing: 0.1em; border-bottom: 1px solid rgba(51, 255, 51, 0.2); }
.s-foot-col a, .s-foot-col button, .s-foot-col > span { text-align: left; overflow-wrap: anywhere; transition: color 0.15s; }
.s-foot-col a:hover, .s-foot-col button:hover { color: var(--s-green); }
.s-foot-icons { display: flex; gap: 1rem; margin-top: 1rem; font-size: 1.25rem; }
.s-foot-icons svg { display: block; width: 1.25rem; height: 1.25rem; }
.s-foot-status { font-size: 10px; color: rgba(51, 255, 51, 0.4); text-transform: uppercase; letter-spacing: 0.1em; text-align: left; }
@media (min-width: 768px) { .s-foot-status { text-align: right; } }
.s-foot-status p { display: flex; align-items: center; gap: 0.5rem; }
@media (min-width: 768px) { .s-foot-status p { justify-content: flex-end; } }
.s-foot-status p + p { margin-top: 0.5rem; }
.s-dot-sm { width: 0.375rem; height: 0.375rem; background: var(--s-amber); animation: none; }
.s-foot-brand { position: relative; z-index: 0; display: flex; justify-content: center; align-items: flex-end; width: 100%; padding-top: 2rem; border-top: 1px solid rgba(51, 255, 51, 0.1); }
.s-foot-brand h2 { font-size: min(20vw, 22rem); line-height: 0.75; letter-spacing: -0.05em; color: rgba(51, 255, 51, 0.03); user-select: none; transition: color 1s; }
.s-foot-brand h2:hover { color: rgba(51, 255, 51, 0.05); }

@media (prefers-reduced-motion: reduce) {
  .s-scan, .s-status-dot, .s-dot-amber, .s-asterisk, .s-card:hover .s-card-scan { animation: none; }
}

/* Áreas com rolagem própria (tabelas largas, blocos de código): a barra nativa some no site todo, então nelas ela volta, fina e no mesmo par de cores da barra de
   progresso da página (âmbar sobre o verde apagado), para quem rola de lado saber que há mais. */
html[data-mode="frontend"] .doc-tabela, html[data-mode="frontend"] .tabela-rolavel, html[data-mode="frontend"] pre { scrollbar-width: thin; scrollbar-color: var(--s-amber) rgba(51, 255, 51, 0.1); }
html[data-mode="frontend"] .doc-tabela::-webkit-scrollbar, html[data-mode="frontend"] .tabela-rolavel::-webkit-scrollbar, html[data-mode="frontend"] pre::-webkit-scrollbar { display: block; width: 4px; height: 4px; }
html[data-mode="frontend"] .doc-tabela::-webkit-scrollbar-track, html[data-mode="frontend"] .tabela-rolavel::-webkit-scrollbar-track, html[data-mode="frontend"] pre::-webkit-scrollbar-track { background: rgba(51, 255, 51, 0.1); }
html[data-mode="frontend"] .doc-tabela::-webkit-scrollbar-thumb, html[data-mode="frontend"] .tabela-rolavel::-webkit-scrollbar-thumb, html[data-mode="frontend"] pre::-webkit-scrollbar-thumb { background: var(--s-amber); }
