/* =========================================================
   PONS Technology · estilos do site institucional
   ========================================================= */

/* ---------- fontes (hospedadas no próprio site, licença SIL OFL 1.1) ---------- */
@font-face {
  font-family: "Inter"; font-style: normal; font-weight: 400 600; font-display: swap;
  src: url("../fonts/inter-latin.woff2") format("woff2");
}
@font-face {
  font-family: "Montserrat"; font-style: normal; font-weight: 500 800; font-display: swap;
  src: url("../fonts/montserrat-latin.woff2") format("woff2");
}
@font-face {
  font-family: "Orbitron"; font-style: normal; font-weight: 700; font-display: swap;
  src: url("../fonts/orbitron-latin-700.woff2") format("woff2");
}

:root {
  --pons: #00b4ff;
  --pons-deep: #0077cc;
  --pons-cyan: #00d4ff;
  --ink: #1a2744;
  --ink-900: #131d35;
  --ink-950: #0f172a;
  --band: #15203a; /* faixa alternada entre seções */
  --ink-deep: #0a1120; /* rodapé */
  --paper: #f8fafc;
  --text: #cbd5e1;
  --muted: #a5b3c7;
  --line: rgb(148 163 184 / 0.12);
  --card: rgb(30 44 76 / 0.55);
  --ok: #34d399;
  --warn: #fbbf24;

  --font-display: "Montserrat", Arial, sans-serif;
  --font-sans: "Inter", Aptos, Arial, sans-serif;

  --radius: 20px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --header-h: 72px;
}

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { overflow-x: hidden; overflow-x: clip; /* animações de entrada não alargam a página no celular */ scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 8px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--ink-950);
  color: var(--text);
  font: 400 1rem/1.6 var(--font-sans);
  -webkit-font-smoothing: antialiased;
  -webkit-tap-highlight-color: transparent;
  overflow-x: hidden;
}
h1, h2, h3, h4 { font-family: var(--font-display); color: var(--paper); margin: 0; line-height: 1.15; }
p { margin: 0; }
a { color: inherit; text-decoration: none; }
ul, ol { margin: 0; padding: 0; list-style: none; }
img, svg { display: block; }
strong { color: var(--paper); font-weight: 600; }
::selection { background: rgb(0 180 255 / 0.4); color: #fff; }
:focus-visible { outline: 2px solid var(--pons-cyan); outline-offset: 3px; border-radius: 6px; }
[hidden] { display: none !important; }

.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.skip {
  position: absolute; left: 16px; top: -60px; z-index: 100;
  background: var(--pons); color: var(--ink-950); padding: 10px 16px; border-radius: 10px; font-weight: 600;
}
.skip:focus { top: 16px; }

.container { width: 100%; max-width: 1240px; margin: 0 auto; padding: 0 20px; }
@media (min-width: 640px) { .container { padding: 0 32px; } }

.text-gradient {
  background: linear-gradient(100deg, var(--pons-cyan), var(--pons) 45%, var(--pons-deep));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font: 700 0.8rem/1.3 var(--font-display); letter-spacing: 0.18em; text-transform: uppercase; color: var(--pons-cyan);
}
.eyebrow::before { content: ""; width: 24px; height: 1px; background: currentColor; }

/* ---------- botões ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  border-radius: 999px; font: 600 0.95rem/1 var(--font-sans); padding: 14px 24px;
  border: 1px solid transparent; cursor: pointer;
  transition: background-color .25s, border-color .25s, color .25s, transform .25s var(--ease), box-shadow .25s;
}
.btn { transform: translate(var(--bx, 0px), var(--by, 0px)); }
.btn:active { transform: translate(var(--bx, 0px), var(--by, 0px)) scale(0.97); }
.btn--sm { padding: 11px 20px; font-size: 0.875rem; }
.btn--lg { padding: 16px 28px; font-size: 1rem; }
.btn--primary { background: var(--pons); color: var(--ink-950); box-shadow: 0 0 32px -6px rgb(0 180 255 / 0.7); }
@media (hover: hover) {
  .btn--primary:hover { background: var(--pons-cyan); box-shadow: 0 0 40px -4px rgb(0 212 255 / 0.8); transform: translate(var(--bx, 0px), calc(var(--by, 0px) - 2px)); }
}
.btn--ghost { border-color: rgb(255 255 255 / 0.16); color: var(--paper); }
.btn--ghost:hover { border-color: rgb(0 180 255 / 0.6); background: rgb(0 180 255 / 0.06); }
.btn__arrow { width: 16px; height: 16px; fill: currentColor; transition: transform .25s var(--ease); }
.btn:hover .btn__arrow { transform: translateX(4px); }

/* ---------- logo ---------- */
/* O P do símbolo completa o "ONS": juntos formam PONS. */
.logo { display: inline-flex; align-items: center; }
.logo__lockup { display: block; width: 165px; height: 50px; overflow: visible; }
.logo__ons { font-family: "Orbitron", var(--font-display); font-weight: 700; font-size: 76px; fill: var(--paper); }
.logo__tech { font-family: var(--font-display); font-weight: 600; font-size: 18px; fill: #a5b4c8; }
.footer .logo__lockup { width: 185px; height: 56px; }

/* ---------- header ---------- */
.header {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  transition: background-color .3s, border-color .3s, backdrop-filter .3s;
  border-bottom: 1px solid transparent;
}
.header.is-scrolled, .header.is-open {
  background: rgb(15 23 42 / 0.86);
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  border-bottom-color: rgb(255 255 255 / 0.06);
}
.header__bar { height: var(--header-h); display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.nav { display: none; gap: 4px; }
.nav a { padding: 8px 16px; border-radius: 999px; font-size: 0.9rem; font-weight: 500; color: var(--text); transition: background-color .2s, color .2s; }
.nav a:hover { background: rgb(255 255 255 / 0.05); color: #fff; }
.header__actions { display: flex; align-items: center; gap: 12px; }
.header__cta { display: none; }

.menu-toggle {
  width: 44px; height: 44px; border-radius: 999px; border: 0; background: transparent; cursor: pointer;
  display: inline-flex; flex-direction: column; align-items: center; justify-content: center; gap: 5px;
}
.menu-toggle:hover { background: rgb(255 255 255 / 0.05); }
.menu-toggle span { width: 20px; height: 2px; border-radius: 2px; background: var(--paper); transition: transform .3s var(--ease), opacity .2s; }
.menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-nav { display: flex; flex-direction: column; gap: 4px; padding: 0 20px 24px; }
.mobile-nav a:not(.btn) { padding: 12px 16px; border-radius: 12px; font-weight: 500; color: var(--paper); }
.mobile-nav a:not(.btn):hover { background: rgb(255 255 255 / 0.05); }
.mobile-nav .btn { margin-top: 8px; }

@media (min-width: 640px) { .header__cta { display: inline-flex; } }
@media (min-width: 900px) {
  .nav { display: flex; }
  .menu-toggle, .mobile-nav { display: none !important; }
}

/* ---------- hero ---------- */
.hero { position: relative; overflow: hidden; padding: calc(var(--header-h) + 32px) 0 56px; }
@media (min-width: 640px) { .hero { padding: calc(var(--header-h) + 48px) 0 80px; } }
.hero__grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(to right, rgb(148 163 184 / 0.07) 1px, transparent 1px),
    linear-gradient(to bottom, rgb(148 163 184 / 0.07) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: radial-gradient(ellipse at 65% 40%, #000 15%, transparent 70%);
  mask-image: radial-gradient(ellipse at 65% 40%, #000 15%, transparent 70%);
}
.hero__glow {
  position: absolute; top: -200px; right: -15%; width: 640px; height: 640px; border-radius: 50%;
  background: rgb(0 119 204 / 0.22); filter: blur(140px);
}
.hero__inner { position: relative; display: grid; gap: 40px; align-items: center; }
.hero__title { margin-top: 24px; font-size: clamp(2.3rem, 6.2vw, 4.2rem); font-weight: 800; line-height: 1.05; letter-spacing: -0.02em; }
.hero__lead { margin-top: 24px; max-width: 36rem; font-size: clamp(1.05rem, 1.6vw, 1.25rem); color: var(--muted); }
.hero__actions { margin-top: 36px; display: flex; flex-wrap: wrap; gap: 12px; }
.hero__actions .btn { flex: 1 1 auto; }
@media (min-width: 480px) { .hero__actions .btn { flex: 0 0 auto; } }
.hero__visual { display: flex; justify-content: center; }

@media (min-width: 640px) { .mono-stage { width: min(100%, 26rem); } }
@media (min-width: 1024px) {
  .mono-stage { width: min(100%, 30rem); }
  .hero { padding: calc(var(--header-h) + 72px) 0 112px; }
  .hero__inner { grid-template-columns: 1.1fr 1fr; gap: 24px; }
  .hero__visual { justify-content: flex-end; }
}

/* monograma 3D */
.mono-stage {
  position: relative; width: min(100%, 20rem); aspect-ratio: 1;
  display: flex; align-items: center; justify-content: center;
  perspective: 1100px;
}
/* DNA binário atrás do P (canvas desenhado pelo main.js) */
.mono-dna {
  position: absolute; left: -30%; top: -20%; width: 160%; height: 140%; pointer-events: none;
  -webkit-mask-image: radial-gradient(closest-side, #000 62%, transparent 100%);
  mask-image: radial-gradient(closest-side, #000 62%, transparent 100%);
}
.hero__copy { position: relative; z-index: 1; }
.mono-glow { position: absolute; inset: 14%; border-radius: 50%; background: rgb(0 180 255 / 0.25); filter: blur(80px); }
.mono-glow::after { content: ""; position: absolute; inset: 25%; border-radius: 50%; background: rgb(0 212 255 / 0.3); filter: blur(50px); }
.mono-float { width: 72%; height: 72%; animation: float 7s ease-in-out infinite; transform-style: preserve-3d; }
.mono3d {
  position: relative; width: 100%; height: 100%; transform-style: preserve-3d;
  transform: rotateX(var(--rx, 8deg)) rotateY(var(--ry, -18deg));
  transition: transform .6s var(--ease);
}
.mono3d svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.mono3d__face { filter: drop-shadow(0 0 28px rgb(0 180 255 / 0.55)); transform: translateZ(1px); }

@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-14px); } }
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- seções ---------- */
.section { position: relative; padding: 72px 0; }
@media (min-width: 640px) { .section { padding: 96px 0; } }
@media (min-width: 1024px) { .section { padding: 128px 0; } }
.section__head { max-width: 42rem; margin-bottom: 40px; }
@media (min-width: 640px) { .section__head { margin-bottom: 56px; } }
.section__head--center { margin-left: auto; margin-right: auto; text-align: center; }
.section__head--center .eyebrow { justify-content: center; }
.section__title { margin-top: 16px; font-size: clamp(1.9rem, 4vw, 2.75rem); font-weight: 700; letter-spacing: -0.01em; }
.section__lead { margin-top: 20px; font-size: 1.1rem; color: var(--muted); }

/* ---------- sobre ---------- */
.projects { background: var(--band); border-block: 1px solid var(--line); }
.about__inner { display: grid; gap: 56px; align-items: center; }
@media (min-width: 1024px) { .about__inner { grid-template-columns: 1.05fr 1fr; gap: 72px; } }

.pillars { margin-top: 40px; display: grid; gap: 4px; }
.pillars li { display: flex; gap: 20px; padding: 20px 0; border-top: 1px solid var(--line); }
.pillars__num { font: 700 0.85rem/1.6 var(--font-display); color: var(--pons); }
.pillars h3 { font-size: 1.05rem; font-weight: 600; }
.pillars p { margin-top: 4px; color: var(--muted); }

.editor {
  border-radius: var(--radius); background: #0a1222; border: 1px solid var(--line);
  box-shadow: 0 40px 80px -30px rgb(0 0 0 / 0.7), 0 0 0 1px rgb(0 180 255 / 0.05), 0 0 80px -40px rgb(0 180 255 / 0.5);
  overflow: hidden;
}
.editor__bar { display: flex; align-items: center; gap: 8px; padding: 14px 18px; border-bottom: 1px solid var(--line); }
.editor__bar i { width: 11px; height: 11px; border-radius: 50%; background: #334155; }
.editor__bar i:nth-child(1) { background: #f87171; }
.editor__bar i:nth-child(2) { background: #fbbf24; }
.editor__bar i:nth-child(3) { background: #34d399; }
.editor__bar span { margin-left: 10px; font-size: 0.8rem; color: var(--muted); }
.editor__code {
  margin: 0; padding: 20px; white-space: pre-wrap; overflow-wrap: anywhere;
  font: 0.78rem/1.7 ui-monospace, "Cascadia Code", Consolas, monospace; color: #e2e8f0;
}
@media (min-width: 640px) { .editor__code { white-space: pre; overflow-x: auto; font-size: 0.92rem; line-height: 1.75; padding: 28px 32px; } }
.editor .c { color: #64748b; } .editor .k { color: #c084fc; } .editor .s { color: #5eead4; }
.editor .f { color: var(--pons); } .editor .n { color: #fbbf24; }
.caret { display: inline-block; width: 8px; height: 1.1em; margin-left: 4px; vertical-align: -3px; background: var(--pons-cyan); animation: blink 1.1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }

/* ---------- soluções (abas) ---------- */
.tabs { display: grid; gap: 24px; }
.tabs__list {
  display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none;
  margin: 0 -20px; padding: 0 20px 4px; scroll-snap-type: x mandatory; scroll-padding: 0 20px;
}
@media (min-width: 640px) { .tabs__list { margin: 0 -32px; padding: 0 32px 4px; scroll-padding: 0 32px; } }
.tabs__list::-webkit-scrollbar { display: none; }
.tab {
  flex: 0 0 auto; scroll-snap-align: start; display: flex; align-items: center; gap: 12px;
  padding: 14px 18px; border-radius: 14px; border: 1px solid var(--line); background: transparent;
  color: var(--muted); font: 600 0.95rem/1.2 var(--font-display); text-align: left; cursor: pointer;
  transition: color .25s, border-color .25s, background-color .25s;
}
.tab:hover { color: var(--paper); border-color: rgb(0 180 255 / 0.3); }
.tab[aria-selected="true"] { color: var(--paper); border-color: rgb(0 180 255 / 0.5); background: rgb(0 180 255 / 0.08); }
.tab__num { font-size: 0.75rem; color: var(--pons); }

.panel {
  display: grid; gap: 32px; align-items: center;
  padding: 22px; border-radius: 22px; border: 1px solid var(--line);
  background: radial-gradient(120% 120% at 100% 0%, rgb(0 119 204 / 0.14), transparent 50%), var(--card);
  animation: panel-in .5s var(--ease);
}
@media (min-width: 640px) { .panel { padding: 32px; } }
@keyframes panel-in { from { opacity: 0; transform: translateY(12px); } }
.panel__text h3 { font-size: clamp(1.35rem, 2.4vw, 1.75rem); font-weight: 700; }
.panel__text > p { margin-top: 14px; color: var(--muted); font-size: 1.05rem; }
.panel__text h4 { margin-top: 28px; font: 600 0.75rem/1 var(--font-display); letter-spacing: 0.18em; text-transform: uppercase; color: var(--pons); }
.checks { margin-top: 14px; display: grid; gap: 10px; }
.checks li { position: relative; padding-left: 30px; }
.checks li::before {
  content: ""; position: absolute; left: 0; top: 3px; width: 18px; height: 18px; border-radius: 6px;
  background: rgb(0 180 255 / 0.15) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='%2300D4FF'%3E%3Cpath d='M8.2 13.6 4.9 10.3l1.2-1.2 2.1 2.1 5.7-5.7 1.2 1.2z'/%3E%3C/svg%3E") center/14px no-repeat;
}
.panel__visual { display: flex; justify-content: center; }

@media (min-width: 1024px) {
  .tabs { grid-template-columns: 300px 1fr; gap: 32px; align-items: start; }
  .tabs__list { flex-direction: column; overflow: visible; margin: 0; padding: 0; }
  .tab { padding: 18px 20px; font-size: 1rem; }
  .panel { grid-template-columns: 1.1fr 1fr; padding: 48px; min-height: 420px; }
}

/* mini interfaces ilustrativas */
.mini {
  width: 100%; max-width: 340px; padding: 20px; border-radius: 18px;
  background: #0a1222; border: 1px solid var(--line);
  box-shadow: 0 30px 60px -30px rgb(0 0 0 / 0.8), 0 0 60px -30px rgb(0 180 255 / 0.5);
  font-size: 0.8rem;
}
.mini__title { font: 600 0.85rem/1 var(--font-display); color: var(--paper); margin-bottom: 18px; }
.pill { font-style: normal; font-size: 0.7rem; font-weight: 600; padding: 4px 10px; border-radius: 999px; white-space: nowrap; }
.pill--ok { color: var(--ok); background: rgb(52 211 153 / 0.12); }
.pill--warn { color: var(--warn); background: rgb(251 191 36 / 0.12); }
.pill--info { color: var(--pons); background: rgb(0 180 255 / 0.12); }

.flow { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; margin-bottom: 20px; }
.flow__step { display: flex; flex-direction: column; gap: 8px; color: var(--muted); font-size: 0.68rem; }
.flow__step b { height: 4px; border-radius: 4px; background: #1e293b; }
.flow__step.is-done b { background: var(--pons); }
.flow__step.is-active { color: var(--paper); }
.flow__step.is-active b { background: linear-gradient(90deg, var(--pons) 50%, #1e293b 50%); background-size: 200% 100%; animation: progress 2s var(--ease) infinite alternate; }
@keyframes progress { from { background-position: 100% 0; } to { background-position: 0 0; } }
.mini__rows { display: grid; gap: 12px; }
.row { display: flex; align-items: center; justify-content: space-between; gap: 12px; color: var(--muted); }
.bar { display: block; height: 8px; border-radius: 8px; background: #1e293b; }
.w60 { width: 60%; } .w40 { width: 40%; }

.mini--browser { padding: 0; overflow: hidden; }
.browser__bar { display: flex; align-items: center; gap: 6px; padding: 10px 14px; border-bottom: 1px solid var(--line); }
.browser__bar i { width: 8px; height: 8px; border-radius: 50%; background: #334155; }
.browser__bar span { flex: 1; height: 14px; margin-left: 8px; border-radius: 6px; background: #111c33; }
.browser__body { display: flex; min-height: 200px; }
.browser__side { width: 56px; padding: 14px 10px; display: grid; align-content: start; gap: 10px; border-right: 1px solid var(--line); }
.browser__side b { height: 8px; border-radius: 4px; background: #1e293b; }
.browser__side b:first-child { background: var(--pons); }
.browser__main { flex: 1; padding: 14px; display: grid; gap: 14px; }
.kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.kpis div { height: 40px; border-radius: 10px; background: #111c33; border: 1px solid var(--line); }
.bars { display: flex; align-items: flex-end; gap: 8px; height: 100px; }
.bars i { flex: 1; border-radius: 4px 4px 0 0; background: linear-gradient(180deg, var(--pons-cyan), var(--pons-deep)); transform-origin: bottom; animation: grow 1s var(--ease) both; }
.bars i:nth-child(1) { height: 40%; } .bars i:nth-child(2) { height: 65%; animation-delay: .05s; }
.bars i:nth-child(3) { height: 50%; animation-delay: .1s; } .bars i:nth-child(4) { height: 80%; animation-delay: .15s; }
.bars i:nth-child(5) { height: 60%; animation-delay: .2s; } .bars i:nth-child(6) { height: 90%; animation-delay: .25s; }
.bars i:nth-child(7) { height: 72%; animation-delay: .3s; }
@keyframes grow { from { transform: scaleY(0); } }

.mini--net { position: relative; height: 240px; padding: 0; }
.net__lines { position: absolute; inset: 0; width: 100%; height: 100%; }
.net__lines path { stroke: rgb(0 180 255 / 0.35); stroke-width: 1.5; stroke-dasharray: 4 5; fill: none; vector-effect: non-scaling-stroke; }
.node {
  position: absolute; z-index: 1; transform: translate(-50%, -50%);
  padding: 8px 14px; border-radius: 10px; background: #111c33; border: 1px solid var(--line);
  font: 600 0.75rem/1 var(--font-display); color: var(--paper);
}
.node--a { left: 20%; top: 25%; } .node--b { left: 80%; top: 25%; } .node--c { left: 50%; top: 85%; }
.node--hub { left: 50%; top: 50%; background: var(--pons); color: var(--ink-950); border-color: transparent; box-shadow: 0 0 30px -4px var(--pons); }
.packet { position: absolute; width: 8px; height: 8px; margin: -4px 0 0 -4px; border-radius: 50%; background: var(--pons-cyan); box-shadow: 0 0 10px var(--pons-cyan); }
.packet--1 { animation: p1 2.4s ease-in-out infinite; }
.packet--2 { animation: p2 2.4s ease-in-out infinite .8s; }
.packet--3 { animation: p3 2.4s ease-in-out infinite 1.6s; }
@keyframes p1 { from { left: 20%; top: 25%; } to { left: 50%; top: 50%; } }
@keyframes p2 { from { left: 50%; top: 50%; } to { left: 80%; top: 25%; } }
@keyframes p3 { from { left: 50%; top: 50%; } to { left: 50%; top: 85%; } }

.task { display: flex; align-items: center; gap: 12px; padding: 11px 0; border-top: 1px solid var(--line); color: var(--muted); }
.task b { position: relative; width: 18px; height: 18px; border-radius: 50%; border: 2px solid #334155; flex: none; }
.task.is-done { color: var(--text); }
.task.is-done b { border-color: var(--ok); background: var(--ok); }
.task.is-done b::after { content: ""; position: absolute; left: 4px; top: 1px; width: 4px; height: 8px; border: solid var(--ink-950); border-width: 0 2px 2px 0; transform: rotate(45deg); }
.task.is-run { color: var(--paper); }
.task.is-run b { border-color: var(--pons); border-right-color: transparent; animation: spin 1s linear infinite; }

.mini--chat { display: grid; gap: 10px; }
.msg { max-width: 85%; padding: 10px 14px; border-radius: 14px; line-height: 1.45; }
.msg--user { justify-self: end; background: var(--pons-deep); color: #fff; border-bottom-right-radius: 4px; }
.msg--bot { background: #111c33; color: var(--text); border-bottom-left-radius: 4px; }
.msg--typing { display: flex; gap: 4px; padding: 14px; }
.msg--typing i { width: 6px; height: 6px; border-radius: 50%; background: var(--muted); animation: typing 1.2s infinite; }
.msg--typing i:nth-child(2) { animation-delay: .15s; } .msg--typing i:nth-child(3) { animation-delay: .3s; }
@keyframes typing { 0%, 60%, 100% { opacity: .3; transform: translateY(0); } 30% { opacity: 1; transform: translateY(-3px); } }

/* ---------- projetos ---------- */
/* .projects: faixa alternada, ver regra junto de .about */
.cases { display: grid; gap: 32px; }
.case {
  display: grid; grid-template-columns: minmax(0, 1fr); gap: 24px; align-items: center; padding: 14px 14px 24px; border-radius: 24px;
  border: 1px solid var(--line); background: var(--card);
  transition: border-color .35s, transform .35s var(--ease), box-shadow .35s;
}
@media (hover: hover) {
  .case:hover { border-color: rgb(0 180 255 / 0.3); transform: translateY(-4px); box-shadow: 0 30px 60px -30px rgb(0 180 255 / 0.25); }
}
.case__visual {
  display: flex; align-items: center; justify-content: center; min-height: 240px; padding: 24px 12px; border-radius: 16px;
  background: radial-gradient(80% 80% at 50% 30%, rgb(0 180 255 / 0.16), transparent 70%), #0a1222;
  overflow: hidden;
}
.case__text { padding: 0 8px; }
.case__text h3 { margin-top: 14px; font-size: clamp(1.4rem, 5vw, 1.6rem); font-weight: 700; }
@media (min-width: 640px) { .case { padding: 24px; } .case__visual { padding: 28px 16px; } .case__text { padding: 0; } }
.case__text dl { margin: 20px 0 0; display: grid; gap: 6px; }
.case__text dt { font: 600 0.72rem/1 var(--font-display); letter-spacing: 0.18em; text-transform: uppercase; color: var(--pons); margin-top: 12px; }
.case__text dd { margin: 0; color: var(--muted); }
.badge {
  display: inline-block; padding: 6px 12px; border-radius: 999px;
  font-size: 0.72rem; font-weight: 600; color: var(--warn); background: rgb(251 191 36 / 0.1); border: 1px solid rgb(251 191 36 / 0.25);
}
@media (min-width: 900px) {
  .case { grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); padding: 32px; gap: 48px; }
  .case--alt .case__visual { order: 2; }
  .case__visual { min-height: 340px; }
}

.laptop { width: 100%; max-width: 420px; min-width: 0; }
.laptop__screen { border: 6px solid #1e293b; border-bottom-width: 12px; border-radius: 12px 12px 0 0; background: #0b1426; padding: 12px; }
@media (min-width: 640px) { .laptop__screen { border-width: 8px 8px 14px; padding: 16px; } }
.laptop__base { height: 10px; margin: 0 -4%; border-radius: 0 0 14px 14px; background: linear-gradient(180deg, #334155, #1e293b); }
.os { display: grid; grid-template-columns: minmax(0, 1fr); gap: 7px; font-size: 0.68rem; }
@media (min-width: 640px) { .os { font-size: 0.72rem; gap: 8px; } }
.os__head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 4px; }
.os__head b { font: 600 0.85rem/1 var(--font-display); color: var(--paper); }
.os__row { display: flex; justify-content: space-between; align-items: center; gap: 8px; padding: 9px 10px; border-radius: 8px; background: #111c33; color: var(--text); }
.os__row span { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.os__row .pill { flex: none; }

.dash { width: 100%; min-width: 0; max-width: 420px; padding: 14px; border-radius: 16px; background: #0b1426; border: 1px solid var(--line); }
.dash__kpis { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; }
.dash__kpis div { min-width: 0; padding: 9px; border-radius: 10px; background: #111c33; }
.dash__kpis small { display: block; font-size: 0.6rem; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
@media (min-width: 640px) { .dash { padding: 18px; } .dash__kpis { gap: 8px; } .dash__kpis div { padding: 10px; } .dash__kpis small { font-size: 0.65rem; } }
.dash__kpis b { font: 700 1.2rem/1.3 var(--font-display); color: var(--paper); }
.dash__chart { width: 100%; height: 130px; margin-top: 16px; }
.dash__chart .area { fill: rgb(0 180 255 / 0.12); }
.dash__chart .line { fill: none; stroke: var(--pons); stroke-width: 2.5; vector-effect: non-scaling-stroke; stroke-dasharray: 600; stroke-dashoffset: 600; }
@keyframes draw { to { stroke-dashoffset: 0; } }

.phone { position: relative; width: min(210px, 100%); padding: 28px 14px 18px; border-radius: 34px; border: 7px solid #1e293b; background: #0b1426; box-shadow: 0 30px 60px -20px rgb(0 0 0 / 0.8); }
.phone__notch { position: absolute; top: 8px; left: 50%; width: 64px; height: 14px; margin-left: -32px; border-radius: 10px; background: #1e293b; }
.quote { display: grid; gap: 8px; font-size: 0.72rem; }
.quote small { color: var(--muted); }
.quote > b { font: 700 1.1rem/1 var(--font-display); color: var(--paper); margin-bottom: 6px; }
.quote__item, .quote__total { display: flex; justify-content: space-between; padding: 8px 0; border-top: 1px solid var(--line); }
.quote__total { font-weight: 700; color: var(--paper); }
.quote__btn { margin-top: 6px; padding: 10px; border-radius: 10px; text-align: center; font-weight: 700; background: var(--pons); color: var(--ink-950); }

/* ---------- processo ---------- */
.steps { position: relative; display: grid; gap: 32px; counter-reset: step; }
.step:not(:last-child)::after {
  content: ""; position: absolute; left: 23px; top: 48px; bottom: -32px; width: 2px;
  background: linear-gradient(180deg, var(--pons), var(--pons-deep));
  transform: scaleY(0); transform-origin: top; transition: transform .8s var(--ease) .3s;
}
.steps.is-visible .step::after { transform: scaleY(1); }
.step { position: relative; padding-left: 72px; }
.step__dot {
  position: absolute; left: 0; top: 0; width: 48px; height: 48px; border-radius: 50%;
  display: grid; place-items: center; font: 700 1rem/1 var(--font-display); color: var(--paper);
  background: var(--ink-950); border: 2px solid var(--pons); box-shadow: 0 0 0 6px var(--ink-950), 0 0 24px -4px var(--pons);
}
.step h3 { font-size: 1.2rem; font-weight: 700; padding-top: 10px; }
.step p { margin-top: 8px; color: var(--muted); }
@media (min-width: 900px) {
  .steps { grid-template-columns: repeat(4, 1fr); gap: 32px; }
  .step::after { display: none; }
  .steps::before {
    content: ""; position: absolute; left: 24px; right: 24px; top: 23px; height: 2px;
    background: linear-gradient(90deg, var(--pons-cyan), var(--pons-deep));
    transform: scaleX(0); transform-origin: left; transition: transform 1.6s var(--ease) .2s;
  }
  .steps.is-visible::before { transform: scaleX(1); }
  .step { padding-left: 0; padding-top: 72px; }
  .step h3 { padding-top: 0; }
}

/* ---------- CTA ---------- */
.cta__box {
  position: relative; overflow: hidden; text-align: center; padding: 48px 20px; border-radius: 24px;
  border: 1px solid rgb(0 180 255 / 0.25);
  background: radial-gradient(70% 90% at 50% 0%, rgb(0 180 255 / 0.22), transparent 70%), var(--ink);
}
.cta__mark { width: 64px; height: 58px; margin: 0 auto 28px; filter: drop-shadow(0 0 20px rgb(0 180 255 / 0.6)); }
.cta__title { max-width: 44rem; margin: 0 auto; font-size: clamp(1.9rem, 4.4vw, 3rem); font-weight: 800; letter-spacing: -0.01em; }
.cta__box .section__lead { max-width: 34rem; margin: 20px auto 0; }
.cta__actions { margin-top: 36px; display: flex; justify-content: center; }
.cta__channels { margin-top: 28px; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 24px; color: var(--muted); font-size: 0.95rem; }
.cta__channels a:hover { color: var(--pons); }
.cta__channels a, .footer__contact li > a { color: var(--pons); font-weight: 600; }
.cta__channels a:hover, .footer__contact li > a:hover { color: var(--pons-cyan); }
.contact-note { color: var(--muted); }
@media (min-width: 640px) { .cta__box { padding: 88px 48px; border-radius: 32px; } }

/* ---------- footer ---------- */
.footer { border-top: 1px solid var(--line); padding: 64px 0 28px; background: var(--ink-deep); }
.footer__inner { display: grid; grid-template-columns: 1fr 1fr; gap: 36px 24px; }
.footer__brand { grid-column: 1 / -1; }
.footer__brand p { margin-top: 16px; color: var(--muted); }
.footer h3 { font: 600 0.75rem/1 var(--font-display); letter-spacing: 0.18em; text-transform: uppercase; color: var(--paper); margin-bottom: 16px; }
.footer__nav { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; }
.footer__nav h3 { margin-bottom: 6px; } /* 6px + gap 10px = mesmo espaço da coluna de contato */
.footer__nav a, .footer__contact a { color: var(--muted); transition: color .2s; }
.footer__nav a:hover, .footer__contact a:hover { color: var(--pons); }
.footer__contact ul { display: grid; gap: 10px; color: var(--muted); }
.footer__bottom {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px;
  margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--line); font-size: 0.85rem; color: #8291a7;
}
.footer__contact { grid-column: 1 / -1; }
@media (min-width: 900px) { .footer__inner { grid-template-columns: 1.2fr 0.8fr 1.2fr 1.4fr; gap: 40px; } .footer__brand, .footer__contact { grid-column: auto; } }
.footer__brand p { max-width: 22rem; }
.footer__top { margin-left: auto; color: var(--muted); transition: color .2s; }
.footer__top:hover { color: var(--pons); }

/* =========================================================
   Projetos · destaque (Gestão de manutenção)
   ========================================================= */
.feature {
  position: relative; display: grid; grid-template-columns: minmax(0, 1fr); gap: 32px;
  padding: 22px 14px 28px; border-radius: 28px;
  border: 1px solid rgb(0 180 255 / 0.25);
  background:
    radial-gradient(60% 80% at 100% 0%, rgb(0 180 255 / 0.18), transparent 60%),
    radial-gradient(50% 60% at 0% 100%, rgb(0 119 204 / 0.14), transparent 60%),
    var(--ink);
  box-shadow: 0 40px 100px -50px rgb(0 180 255 / 0.45);
}
.feature__text { padding: 0 8px; }
.feature__title { margin-top: 14px; font-size: clamp(1.5rem, 3.4vw, 2.1rem); font-weight: 800; letter-spacing: -0.01em; }
.feature__lead { margin-top: 14px; color: var(--muted); font-size: 1.02rem; }

.modules { margin-top: 24px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.module {
  position: relative; overflow: hidden; display: flex; align-items: center; gap: 10px;
  padding: 12px; border-radius: 14px; border: 1px solid var(--line); background: rgb(7 12 24 / 0.4);
  color: var(--muted); font: inherit; text-align: left; cursor: pointer;
  transition: border-color .25s, background-color .25s;
}
.module:hover { border-color: rgb(0 180 255 / 0.35); }
.module[aria-selected="true"] { border-color: rgb(0 180 255 / 0.55); background: rgb(0 180 255 / 0.1); }
.module__icon {
  flex: none; width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center;
  background: rgb(0 180 255 / 0.1); color: var(--pons); transition: background-color .25s, color .25s;
}
.module__icon svg { width: 18px; height: 18px; }
.module[aria-selected="true"] .module__icon { background: var(--pons); color: var(--ink-950); }
.module__text { min-width: 0; }
.module b { display: block; font: 600 0.82rem/1.25 var(--font-display); color: var(--paper); }
.module small { display: none; margin-top: 3px; font-size: 0.84rem; line-height: 1.45; }
.module__progress { position: absolute; left: 0; right: 0; bottom: 0; height: 2px; }
.module__progress i { display: block; height: 100%; background: linear-gradient(90deg, var(--pons-cyan), var(--pons)); transform: scaleX(0); transform-origin: left; }
.is-autoplay .module[aria-selected="true"] .module__progress i { animation: module-fill 6s linear forwards; }
.is-autoplay.is-paused .module__progress i { animation-play-state: paused; }
@media (hover: hover) { .is-autoplay:hover .module__progress i { animation-play-state: paused; } }
@keyframes module-fill { to { transform: scaleX(1); } }

@media (min-width: 640px) {
  .feature { padding: 32px; }
  .feature__text { padding: 0; }
  .modules { grid-template-columns: minmax(0, 1fr); }
  .module { align-items: flex-start; padding: 14px 16px; gap: 14px; }
  .module b { font-size: 0.95rem; }
  .module small { display: block; }
}
@media (min-width: 1024px) {
  .feature { grid-template-columns: minmax(0, 380px) minmax(0, 1fr); gap: 48px; padding: 44px; align-items: center; }
}

/* janela do sistema */
.feature__visual { position: relative; min-width: 0; }
.app {
  border-radius: 16px; background: #0a1222; border: 1px solid var(--line); overflow: hidden;
  box-shadow: 0 40px 80px -30px rgb(0 0 0 / 0.8), 0 0 80px -40px rgb(0 180 255 / 0.6);
}
.app__bar { display: flex; align-items: center; gap: 6px; padding: 10px 14px; border-bottom: 1px solid var(--line); }
.app__bar i { width: 9px; height: 9px; border-radius: 50%; background: #334155; }
.app__bar i:nth-child(1) { background: #f87171; } .app__bar i:nth-child(2) { background: #fbbf24; } .app__bar i:nth-child(3) { background: #34d399; }
.app__bar span { margin-left: 10px; padding: 3px 12px; border-radius: 6px; background: #111c33; font-size: 0.68rem; color: var(--muted); }
.app__body { display: grid; grid-template-columns: 44px minmax(0, 1fr); min-height: 320px; }
.app__side { display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 12px 0; border-right: 1px solid var(--line); }
.app__side i { width: 30px; height: 30px; border-radius: 9px; display: grid; place-items: center; color: #64748b; transition: background-color .25s, color .25s; }
.app__side i.is-active { background: rgb(0 180 255 / 0.15); color: var(--pons); }
.app__side svg { width: 16px; height: 16px; }
.app__main { min-width: 0; padding: 14px; font-size: 0.7rem; }
@media (min-width: 640px) {
  .app__body { grid-template-columns: 54px minmax(0, 1fr); min-height: 360px; }
  .app__side i { width: 34px; height: 34px; }
  .app__side svg { width: 18px; height: 18px; }
  .app__main { padding: 18px; font-size: 0.74rem; }
}
.screen { animation: panel-in .5s var(--ease); }
.screen__head { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 14px; }
.screen__head b { font: 600 0.9rem/1.2 var(--font-display); color: var(--paper); }
.screen__sub { color: var(--muted); font-size: 0.68rem; }
.pill--danger { color: #f87171; background: rgb(248 113 113 / 0.12); }

.avatar {
  flex: none; width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center;
  font: 700 0.55rem/1 var(--font-sans); font-style: normal; color: var(--ink-950); background: var(--pons-cyan);
}
.avatar--b { background: #a78bfa; }
.avatar--c { background: var(--ok); }

/* OS: quadro */
.kanban { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.kcol h5 { display: flex; justify-content: space-between; margin: 0 0 8px; font: 600 0.62rem/1 var(--font-sans); letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); }
.kcol h5 span { color: var(--paper); }
.kcard { margin-bottom: 8px; padding: 10px; border-radius: 10px; background: #111c33; border: 1px solid var(--line); }
.kcard b, .kcard > span { display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.kcard b { color: var(--paper); font-weight: 600; }
.kcard > span { margin-top: 2px; color: var(--muted); }
.kcard__foot { display: flex; align-items: center; justify-content: space-between; gap: 6px; margin-top: 8px; }
.kcard__foot .pill { font-size: 0.6rem; padding: 3px 8px; }
.kcard--active { border-color: rgb(0 180 255 / 0.45); box-shadow: 0 0 24px -10px var(--pons); }
.kcard--done { opacity: 0.65; }
.kbar { height: 4px; margin-top: 8px; border-radius: 4px; background: #1e293b; overflow: hidden; }
.kbar i { display: block; width: 60%; height: 100%; background: var(--pons); }
@media (max-width: 479px) {
  .kanban { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .kcol:nth-child(3) { display: none; }
}

/* estoque */
.stock { display: grid; gap: 6px; }
.stock__row {
  display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr) 40px 56px; align-items: center; gap: 10px;
  padding: 9px 10px; border-radius: 9px; background: #111c33;
}
.stock__row > span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; color: var(--text); }
.stock__row b { color: var(--paper); text-align: right; white-space: nowrap; }
.stock__row .pill { justify-self: end; font-size: 0.6rem; padding: 3px 8px; }
.stock__row--head { padding: 0 10px 2px; background: none; }
.stock__row--head span { color: var(--muted); font-size: 0.6rem; text-transform: uppercase; letter-spacing: 0.08em; }
.lvl { display: block; height: 6px; border-radius: 6px; background: #1e293b; overflow: hidden; }
.lvl i { display: block; height: 100%; background: var(--ok); }
.lvl--low i { background: #f87171; }
.lvl--mid i { background: var(--warn); }
.q10 { width: 10%; } .q15 { width: 15%; } .q40 { width: 40%; } .q70 { width: 70%; } .q85 { width: 85%; }
@media (max-width: 479px) {
  .stock__row { grid-template-columns: minmax(0, 1fr) 40px 52px; }
  .stock__row .lvl, .stock__row .lvl-col { display: none; }
}

/* agenda */
.agenda { display: grid; grid-template-columns: 26px repeat(5, minmax(0, 1fr)); grid-template-rows: 18px repeat(3, 50px); gap: 6px; }
.agenda__day { align-self: center; text-align: center; font-size: 0.62rem; font-weight: 600; color: var(--muted); }
.agenda__day.is-today { color: var(--pons); }
.lane { grid-column: 2 / -1; border-radius: 8px; background: #0e1830; }
.who { grid-column: 1; align-self: center; }
.r2 { grid-row: 2; } .r3 { grid-row: 3; } .r4 { grid-row: 4; }
.c2 { grid-column-start: 2; } .c3 { grid-column-start: 3; } .c4 { grid-column-start: 4; } .c5 { grid-column-start: 5; }
.s1 { grid-column-end: span 1; } .s2 { grid-column-end: span 2; } .s3 { grid-column-end: span 3; }
.ev {
  min-width: 0; padding: 6px 7px; border-radius: 8px; border-left: 3px solid; overflow: hidden;
  font-size: 0.62rem; font-weight: 600; line-height: 1.25; color: var(--paper); white-space: nowrap; text-overflow: ellipsis;
}
.ev small { display: block; font-weight: 400; color: var(--muted); overflow: hidden; text-overflow: ellipsis; }
.ev--a { background: rgb(0 180 255 / 0.16); border-color: var(--pons); }
.ev--b { background: rgb(167 139 250 / 0.16); border-color: #a78bfa; }
.ev--c { background: rgb(52 211 153 / 0.14); border-color: var(--ok); }

/* financeiro */
.fin__kpis { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.fin__kpis div { min-width: 0; padding: 10px; border-radius: 10px; background: #111c33; }
.fin__kpis small { display: block; font-size: 0.6rem; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.fin__kpis b { display: block; font: 700 0.88rem/1.4 var(--font-display); color: var(--paper); white-space: nowrap; }
.fin__chart { display: flex; align-items: flex-end; gap: 12px; height: 140px; margin-top: 16px; padding: 0 6px; border-bottom: 1px solid var(--line); }
.fin__chart div { flex: 1; height: 100%; display: flex; flex-direction: column-reverse; gap: 2px; }
.fin__chart i { display: block; border-radius: 3px; transform-origin: bottom; animation: grow .9s var(--ease) both; }
.fin__chart i.a { background: linear-gradient(180deg, var(--pons-cyan), var(--pons)); border-radius: 3px 3px 0 0; }
.fin__chart i.b { background: var(--pons-deep); border-radius: 0 0 3px 3px; }
.fin__chart div:nth-child(2) i { animation-delay: .05s; } .fin__chart div:nth-child(3) i { animation-delay: .1s; }
.fin__chart div:nth-child(4) i { animation-delay: .15s; } .fin__chart div:nth-child(5) i { animation-delay: .2s; }
.fin__chart div:nth-child(6) i { animation-delay: .25s; }
.h15 { height: 15%; } .h20 { height: 20%; } .h25 { height: 25%; } .h30 { height: 30%; }
.h35 { height: 35%; } .h40 { height: 40%; } .h45 { height: 45%; }
.fin__months { display: flex; gap: 12px; padding: 6px 6px 0; }
.fin__months span { flex: 1; text-align: center; font-size: 0.6rem; color: var(--muted); }
.fin__legend { display: flex; gap: 16px; margin-top: 10px; font-size: 0.62rem; color: var(--muted); }
.fin__legend span::before { content: ""; display: inline-block; width: 8px; height: 8px; margin-right: 6px; border-radius: 2px; }
.fin__legend .a::before { background: var(--pons); }
.fin__legend .b::before { background: var(--pons-deep); }

/* celular do técnico */
.tech-phone { display: none; }
@media (min-width: 900px) {
  .feature__visual { padding: 0 150px 48px 0; }
  .tech-phone, .side-receipt {
    position: absolute; right: -24px; bottom: 0; z-index: 2; width: 164px;
    display: grid; animation: float 7s ease-in-out infinite;
  }
  .tech-phone {
    gap: 7px; padding: 26px 12px 14px; border-radius: 28px; border: 6px solid #1e293b;
    background: #0b1426; font-size: 0.66rem; color: var(--text);
    box-shadow: 0 30px 60px -20px rgb(0 0 0 / 0.9), 0 0 40px -20px var(--pons);
  }
  .tech-phone .phone__notch { top: 6px; width: 50px; margin-left: -25px; height: 11px; }
  .tech-phone small { color: var(--muted); font-size: 0.6rem; }
  .tech-phone > b { font: 700 0.85rem/1.2 var(--font-display); color: var(--paper); margin-bottom: 4px; }
  .tech-check { display: flex; align-items: center; gap: 8px; padding: 6px 0; border-top: 1px solid var(--line); }
  .tech-check i { position: relative; flex: none; width: 14px; height: 14px; border-radius: 4px; border: 1.5px solid #475569; }
  .tech-check.is-done i { background: var(--ok); border-color: var(--ok); }
  .tech-check.is-done i::after { content: ""; position: absolute; left: 3.5px; top: 0.5px; width: 3px; height: 7px; border: solid var(--ink-950); border-width: 0 1.5px 1.5px 0; transform: rotate(45deg); }
  .tech-photo {
    display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; height: 58px; border-radius: 10px;
    background: linear-gradient(135deg, #1e3a5f, #0f2440); color: var(--muted); font-size: 0.58rem;
  }
  .tech-photo svg { width: 18px; height: 18px; fill: none; stroke: var(--pons); stroke-width: 1.8; }
  .tech-btn { padding: 8px; border-radius: 9px; text-align: center; font-weight: 700; background: var(--pons); color: var(--ink-950); }
}

/* caixa da clínica */
.cash {
  width: 100%; max-width: 290px; display: grid; gap: 11px; padding: 16px; border-radius: 16px;
  background: #0b1426; border: 1px solid var(--line); font-size: 0.72rem;
  box-shadow: 0 30px 60px -30px rgb(0 0 0 / 0.8);
}
.cash__head { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.cash small { display: block; font-size: 0.62rem; color: var(--muted); }
.cash__head b { font-weight: 600; color: var(--paper); }
.cash__total b { font: 700 1.35rem/1.2 var(--font-display); color: var(--paper); }
.cash__split { display: flex; gap: 2px; height: 8px; border-radius: 8px; overflow: hidden; }
.cash__split i { transform-origin: left; animation: grow-x 1s var(--ease) both; }
.cash__split i:nth-child(1) { flex: 45; background: var(--pons); }
.cash__split i:nth-child(2) { flex: 35; background: #a78bfa; animation-delay: .1s; }
.cash__split i:nth-child(3) { flex: 20; background: var(--ok); animation-delay: .2s; }
@keyframes grow-x { from { transform: scaleX(0); } }
.cash__legend { display: flex; gap: 12px; font-size: 0.62rem; color: var(--muted); }
.cash__legend span::before { content: ""; display: inline-block; width: 7px; height: 7px; margin-right: 5px; border-radius: 50%; }
.cash__legend .pix::before { background: var(--pons); }
.cash__legend .card::before { background: #a78bfa; }
.cash__legend .money::before { background: var(--ok); }
.cash__list li { display: flex; align-items: center; gap: 8px; padding: 7px 0; border-top: 1px solid var(--line); }
.cash__list span { color: var(--text); }
.cash__list em { margin-left: auto; font-style: normal; font-size: 0.62rem; color: var(--muted); }
.cash__list b { min-width: 76px; text-align: right; font-weight: 600; color: var(--ok); white-space: nowrap; }
.cash__list b.neg { color: #f87171; }

/* =========================================================
   Projetos · destaques adicionais (caixa, indicadores, orçamentos)
   ========================================================= */
.feature + .feature { margin-top: 32px; }
@media (min-width: 1024px) {
  .feature--reverse { grid-template-columns: minmax(0, 1fr) minmax(0, 380px); }
  .feature--reverse .feature__text { order: 2; }
}
@media (min-width: 900px) {
  .feature--reverse .feature__visual { padding: 0 0 48px 150px; }
  .feature--reverse .tech-phone, .feature--reverse .side-receipt { right: auto; left: -24px; }
}

.app__main .muted { color: var(--muted); }
.num { text-align: right; }
.pos { color: var(--ok) !important; }
.neg { color: #f87171 !important; }

/* tabelas genéricas das telas */
.tbl { display: grid; gap: 6px; }
.tbl__row { display: grid; align-items: center; gap: 10px; padding: 9px 10px; border-radius: 9px; background: #111c33; }
.tbl__row > * { min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tbl__row b { color: var(--paper); font-weight: 600; }
.tbl__row .pill { justify-self: end; font-size: 0.6rem; padding: 3px 8px; }
.tbl__row--head { padding: 0 10px 2px; background: none; }
.tbl__row--head span { color: var(--muted); font-size: 0.6rem; text-transform: uppercase; letter-spacing: 0.08em; }
.tbl__row--warn { box-shadow: inset 0 0 0 1px rgb(251 191 36 / 0.35); }
.tbl--mov { margin-top: 12px; }
.tbl--mov .tbl__row { grid-template-columns: minmax(0, 1fr) 64px 90px; }
.tbl--lanc .tbl__row { grid-template-columns: 38px minmax(0, 1.3fr) minmax(0, 1fr) 60px 76px; }
.tbl--conf .tbl__row { grid-template-columns: minmax(0, 1fr) 82px 82px 64px; }
.tbl--hist .tbl__row { grid-template-columns: 42px minmax(0, 1fr) 84px 92px; }
.tbl--rel .tbl__row { grid-template-columns: minmax(0, 1.3fr) minmax(0, 1.1fr) 30px 56px; }
.tbl--acomp { margin-top: 12px; }
.tbl--acomp .tbl__row { grid-template-columns: 40px minmax(0, 1fr) 84px 80px; }
.tbl--items .tbl__row { grid-template-columns: minmax(0, 1fr) 36px 84px; }
.who-chip { display: flex; align-items: center; gap: 7px; }
@media (max-width: 479px) {
  .hide-sm { display: none; }
  .tbl--lanc .tbl__row { grid-template-columns: minmax(0, 1fr) 56px 72px; }
  .tbl--conf .tbl__row { grid-template-columns: minmax(0, 1fr) 80px 60px; }
  .tbl--hist .tbl__row { grid-template-columns: 40px minmax(0, 1fr) 84px; }
  .tbl--rel .tbl__row { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) 52px; }
  .tbl--acomp .tbl__row { grid-template-columns: minmax(0, 1fr) 76px 76px; }
  .tbl--mov .tbl__row { grid-template-columns: minmax(0, 1fr) 56px 84px; }
}

/* saldo do caixa */
.balance { margin-top: 12px; padding: 12px; border-radius: 10px; background: #111c33; display: grid; gap: 8px; }
.balance small { color: var(--muted); font-size: 0.6rem; }
.balance > b { font: 700 1.3rem/1 var(--font-display); color: var(--paper); }

/* botões das telas */
.qactions { display: flex; justify-content: flex-end; gap: 8px; margin-top: 12px; }
.mbtn { flex: none; padding: 7px 12px; border-radius: 8px; border: 1px solid var(--line); font-size: 0.66rem; font-weight: 600; color: var(--paper); white-space: nowrap; }
.mbtn--primary { background: var(--pons); border-color: transparent; color: var(--ink-950); }

/* indicadores: gráfico maior */
.is-visible .dash__chart .line { animation: draw 2s var(--ease) .3s forwards; }
.dash__chart--lg { height: 170px; margin-top: 14px; }
.dash__chart .grid { stroke: rgb(148 163 184 / 0.12); stroke-width: 1; vector-effect: non-scaling-stroke; fill: none; }

/* metas */
.goals { display: grid; gap: 12px; }
.goal__top { display: flex; justify-content: space-between; gap: 8px; margin-bottom: 6px; }
.goal__top span { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--text); }
.goal__top b { color: var(--paper); white-space: nowrap; }
.goal__top small { color: var(--muted); font-weight: 400; }
.goal__bar { position: relative; height: 8px; border-radius: 8px; background: #1e293b; }
.goal__bar i { display: block; height: 100%; border-radius: 8px; background: linear-gradient(90deg, var(--pons-deep), var(--pons)); transform-origin: left; animation: grow-x 1s var(--ease) both; }
.goal--warn .goal__bar i { background: linear-gradient(90deg, #b45309, var(--warn)); }
.goal__bar b { position: absolute; top: -3px; width: 2px; height: 14px; margin-left: -1px; border-radius: 2px; background: var(--paper); }
.q60 { width: 60%; } .q75 { width: 75%; } .q90 { width: 90%; } .q95 { width: 95%; }
.m50 { left: 50%; } .m80 { left: 80%; } .m90 { left: 90%; }

/* alertas */
.alerts { display: grid; gap: 8px; }
.alert {
  display: grid; grid-template-columns: 8px minmax(0, 1fr) auto; gap: 10px; align-items: start;
  padding: 10px 12px; border-radius: 10px; background: #111c33; border: 1px solid var(--line);
}
.alert > i { width: 8px; height: 8px; margin-top: 4px; border-radius: 50%; }
.alert b { display: block; color: var(--paper); font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.alert span { color: var(--muted); }
.alert time { color: var(--muted); font-size: 0.6rem; white-space: nowrap; }
.alert--red { border-color: rgb(248 113 113 / 0.35); }
.alert--red > i { background: #f87171; box-shadow: 0 0 10px #f87171; animation: pulse 1.6s ease-in-out infinite; }
.alert--amber > i { background: var(--warn); }
.alert--blue > i { background: var(--pons); }
.alert--green > i { background: var(--ok); }
@keyframes pulse { 50% { opacity: 0.35; } }

/* orçamento: formulário */
.form-field { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-bottom: 10px; padding: 9px 10px; border-radius: 9px; background: #111c33; border: 1px solid rgb(0 180 255 / 0.3); }
.form-field small { color: var(--muted); }
.form-field b { color: var(--paper); font-weight: 600; }
.qtotals { display: grid; gap: 4px; margin-top: 10px; padding: 10px 10px 0; border-top: 1px solid var(--line); }
.qtotals div { display: flex; justify-content: space-between; color: var(--muted); }
.qtotals .total { color: var(--paper); font: 700 0.95rem/1.4 var(--font-display); }

/* catálogo */
.catalog { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.cat-item { display: grid; gap: 6px; padding: 10px; border-radius: 10px; background: #111c33; border: 1px solid var(--line); }
.cat-item .pill { justify-self: start; font-size: 0.58rem; padding: 2px 7px; }
.cat-item b { color: var(--paper); font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cat-item strong { font: 700 0.85rem/1 var(--font-display); color: var(--pons-cyan); }
@media (max-width: 479px) {
  .catalog { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cat-item:nth-child(n+5) { display: none; }
}
.fin__kpis--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 479px) { .fin__kpis--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* envio */
.share { display: grid; gap: 12px; }
.share__link { display: flex; align-items: center; gap: 8px; padding: 7px 7px 7px 12px; border-radius: 10px; background: #111c33; border: 1px dashed rgb(0 180 255 / 0.45); }
.share__link > span:first-child { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--paper); }
.share__channels { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.channel { display: flex; align-items: center; gap: 8px; padding: 10px; border-radius: 10px; background: #111c33; border: 1px solid var(--line); color: var(--paper); font-weight: 600; }
.channel i { width: 10px; height: 10px; border-radius: 50%; }
.channel .wa { background: #25d366; }
.channel .mail { background: var(--pons); }
.tl { position: relative; display: grid; grid-template-columns: 12px minmax(0, 1fr) auto; gap: 10px; align-items: center; padding: 7px 0; }
.tl i { width: 12px; height: 12px; border-radius: 50%; border: 2px solid var(--pons); background: var(--ink-950); }
.tl.is-done i { background: var(--pons); }
.tl span { color: var(--text); }
.tl:not(.is-done) span { color: var(--muted); }
.tl time { color: var(--muted); font-size: 0.62rem; }
.tl:not(:last-child)::after { content: ""; position: absolute; left: 5px; top: 26px; bottom: -6px; width: 2px; background: rgb(0 180 255 / 0.3); }

/* recibo impresso (ao lado da tela) */
.side-receipt { display: none; }
@media (min-width: 900px) {
  .side-receipt {
    display: grid; gap: 5px; padding: 18px 14px 22px; border-radius: 4px 4px 0 0;
    background: #f1f5f9; color: #1e293b; font: 0.64rem/1.45 ui-monospace, "Cascadia Code", Consolas, monospace;
    box-shadow: 0 30px 60px -20px rgb(0 0 0 / 0.9), 0 0 50px -20px var(--pons);
  }
  .side-receipt::after {
    content: ""; position: absolute; left: 0; right: 0; bottom: -8px; height: 8px;
    background: linear-gradient(135deg, #f1f5f9 50%, transparent 50%) 0 0 / 10px 8px repeat-x,
                linear-gradient(-135deg, #f1f5f9 50%, transparent 50%) 0 0 / 10px 8px repeat-x;
  }
  .side-receipt div { display: flex; justify-content: space-between; gap: 6px; }
  .side-receipt hr { width: 100%; margin: 4px 0; border: 0; border-top: 1px dashed #94a3b8; }
  .receipt__title { text-align: center; font-weight: 700; letter-spacing: 0.06em; color: #0f172a; }
  .receipt__center { text-align: center; color: #64748b; }
  .receipt__total { font-weight: 700; color: #0f172a; }
  .receipt__sign { margin-top: 18px; padding-top: 4px; border-top: 1px solid #94a3b8; text-align: center; color: #94a3b8; font-size: 0.58rem; }

  /* celular com notificações */
  .tech-phone--lock { background: linear-gradient(180deg, #12305a, #0b1426 70%); }
  .lock__time { margin-top: 2px; text-align: center; font: 700 1.7rem/1 var(--font-display); color: var(--paper); }
  .lock__date { margin-bottom: 6px; text-align: center; font-size: 0.58rem; color: var(--muted); }
  .notif { display: grid; gap: 1px; padding: 8px; border-radius: 10px; background: rgb(255 255 255 / 0.07); border: 1px solid var(--line); }
  .notif small { font-size: 0.54rem; }
  .notif b { font-size: 0.66rem; color: var(--paper); }
  .notif span { font-size: 0.58rem; color: var(--muted); }
  .notif--red { border-color: rgb(248 113 113 / 0.45); }

  /* celular do cliente (orçamento) */
  .tech-phone .quote__item, .tech-phone .quote__total { padding: 6px 0; }
  .tech-btn--ghost { background: transparent; border: 1px solid var(--line); color: var(--paper); font-weight: 600; }
}

/* destaques em telas estreitas: mais espaço para o conteúdo das telas */
@media (max-width: 479px) {
  .modules { grid-template-columns: minmax(0, 1fr); gap: 6px; }
  .module { padding: 9px 12px; }
  .module__icon { width: 30px; height: 30px; }
  .module__icon svg { width: 16px; height: 16px; }
  .app__body { grid-template-columns: minmax(0, 1fr); min-height: 0; }
  .app__side { display: none; }
  .app__main { padding: 12px; }
  .screen__sub { display: none; }
  .screen__head b { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .tbl__row { gap: 8px; padding: 8px; }
  .tbl__row--head { padding: 0 8px 2px; }
  .tbl--rel .tbl__row { grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr) 48px; }
}

/* =========================================================
   Produtos · selo, "para quem", funcionalidades e chamadas
   ========================================================= */
.badge--product { color: var(--pons-cyan); background: rgb(0 180 255 / 0.1); border-color: rgb(0 180 255 / 0.35); }

.niches { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin-top: 16px; }
.niches small { margin-right: 4px; font: 600 0.68rem/1 var(--font-display); letter-spacing: 0.16em; text-transform: uppercase; color: var(--pons); }
.niches span {
  padding: 5px 11px; border-radius: 999px; border: 1px solid var(--line); background: rgb(255 255 255 / 0.03);
  font-size: 0.78rem; color: var(--text);
}

.feature__more {
  grid-column: 1 / -1; order: 3; display: grid; gap: 24px; align-items: end;
  margin: 0 8px; padding-top: 28px; border-top: 1px solid var(--line);
}
.feature__more-title { font: 600 0.75rem/1 var(--font-display); letter-spacing: 0.18em; text-transform: uppercase; color: var(--pons); }
.checks--grid { margin-top: 16px; display: grid; grid-template-columns: minmax(0, 1fr); gap: 10px 28px; }
.checks--grid li { font-size: 0.95rem; color: var(--text); }
.feature__actions { display: flex; flex-wrap: wrap; gap: 12px; }
.feature__actions .btn { flex: 1 1 auto; }
.feature__more--compact { align-items: center; }
.feature__more--compact p { color: var(--muted); }
@media (min-width: 640px) {
  .feature__more { margin: 0; }
  .checks--grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .feature__actions .btn { flex: 0 0 auto; }
}
@media (min-width: 1024px) {
  .feature__more { grid-template-columns: minmax(0, 1fr) auto; gap: 40px; }
  .checks--grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .feature__actions { flex-direction: column; }
}

.products-sub { margin: 72px 0 24px; max-width: 42rem; }
.products-sub p { margin-top: 12px; color: var(--muted); font-size: 1.05rem; }

/* contas a pagar e a receber */
.tbl--fin { margin-top: 12px; }
.tbl--fin .tbl__row { grid-template-columns: minmax(0, 1fr) 44px 84px 78px; }
.tag { display: inline-block; margin-right: 6px; padding: 1px 6px; border-radius: 5px; font-style: normal; font-size: 0.58rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.04em; vertical-align: 1px; }
.tag--in { color: var(--ok); background: rgb(52 211 153 / 0.12); }
.tag--out { color: #f87171; background: rgb(248 113 113 / 0.12); }

/* faturas e glosas */
.tbl--fat .tbl__row { grid-template-columns: minmax(0, 1fr) 54px 40px 92px 62px; }
.tbl--glosa { margin-top: 12px; }
.tbl--glosa .tbl__row { grid-template-columns: minmax(0, 1fr) 76px 84px; }
.tbl--glosa .tbl__row > span b { font-weight: 600; }
.tbl--glosa .tbl__row > span:first-child { white-space: normal; line-height: 1.35; }
.screen__label { display: block; margin: 14px 0 8px; font-size: 0.62rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--muted); }
.screen > .screen__label:first-of-type { margin-top: 0; }

/* relatórios: barras por técnico */
.hbars { display: grid; gap: 8px; }
.hbar { display: grid; grid-template-columns: 22px 52px minmax(0, 1fr) 24px; align-items: center; gap: 10px; }
.hbar span { color: var(--text); }
.hbar b { color: var(--paper); text-align: right; }
.hbar__track { height: 8px; border-radius: 8px; background: #1e293b; overflow: hidden; }
.hbar__track i { display: block; height: 100%; border-radius: 8px; background: linear-gradient(90deg, var(--pons-deep), var(--pons-cyan)); transform-origin: left; animation: grow-x 1s var(--ease) both; }
.q55 { width: 55%; }
.reports { display: grid; gap: 6px; margin-top: 16px; }
.report { display: flex; align-items: center; gap: 6px; padding: 9px 10px; border-radius: 9px; background: #111c33; }
.report span { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--text); }
.report .pill { font-size: 0.58rem; padding: 2px 7px; }

/* celular do técnico: rota do dia */
@media (min-width: 900px) {
  .route-map { width: 100%; height: auto; border-radius: 10px; background: #0f1d36; }
  .route-map .streets { stroke: rgb(148 163 184 / 0.18); stroke-width: 5; fill: none; }
  .route-map .route { stroke: var(--pons); stroke-width: 2.5; fill: none; stroke-linejoin: round; stroke-dasharray: 5 4; animation: route-dash 1.2s linear infinite; }
  .route-map .pin { fill: #334155; stroke: #0b1426; stroke-width: 2; }
  .route-map .pin--done { fill: var(--ok); }
  .route-map .pin--next { fill: var(--pons); }
  .route-map text { font: 700 7px/1 var(--font-sans); fill: #fff; text-anchor: middle; }
  .stop { display: flex; align-items: center; gap: 8px; padding: 5px 0; border-top: 1px solid var(--line); }
  .stop i { flex: none; width: 16px; height: 16px; border-radius: 50%; display: grid; place-items: center; font: 700 0.55rem/1 var(--font-sans); font-style: normal; background: #334155; color: #fff; }
  .stop.is-done { color: var(--muted); }
  .stop.is-done i { background: var(--ok); }
  .stop.is-next { color: var(--paper); font-weight: 600; }
  .stop.is-next i { background: var(--pons); }
}
@keyframes route-dash { to { stroke-dashoffset: -18; } }

@media (max-width: 479px) {
  .tbl--fin .tbl__row { grid-template-columns: minmax(0, 1fr) 76px 70px; }
  .tbl--fat .tbl__row { grid-template-columns: minmax(0, 1fr) 88px 58px; }
  .tbl--glosa .tbl__row { grid-template-columns: minmax(0, 1fr) 70px 80px; }
  .hbar { grid-template-columns: 22px 48px minmax(0, 1fr) 22px; gap: 8px; }
}

/* diferenciais comuns a todos os sistemas */
.perks { display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px; margin-bottom: 40px; }
.perks__label { font: 600 0.75rem/1 var(--font-display); letter-spacing: 0.18em; text-transform: uppercase; color: var(--pons); }
.perk {
  display: flex; align-items: flex-start; gap: 16px; padding: 22px; border-radius: 20px;
  border: 1px solid rgb(0 180 255 / 0.25);
  background: radial-gradient(80% 120% at 0% 0%, rgb(0 180 255 / 0.12), transparent 60%), var(--ink);
}
.perk__icon {
  flex: none; width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center;
  background: rgb(0 180 255 / 0.12); color: var(--pons-cyan); box-shadow: 0 0 24px -8px var(--pons);
}
.perk__icon svg { width: 24px; height: 24px; }
.perk h3 { font-size: 1.15rem; font-weight: 700; }
.perk p { margin-top: 6px; color: var(--muted); }
@media (min-width: 768px) {
  .perks { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
  .perks__label { grid-column: 1 / -1; }
  .perk { padding: 26px 28px; }
}

/* ---------- entrada ao rolar ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal--scale { transform: scale(0.94); }
.reveal--right { transform: translateX(32px); }
.reveal.is-visible { opacity: 1; transform: none; }
.reveal[data-delay="1"] { transition-delay: .08s; }
.reveal[data-delay="2"] { transition-delay: .16s; }
.reveal[data-delay="3"] { transition-delay: .24s; }
.reveal[data-delay="4"] { transition-delay: .32s; }

/* ---------- movimento reduzido ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; transition-delay: 0s !important; }
  .reveal { transform: none; }
  .dash__chart .line { stroke-dashoffset: 0; }
}

/* ---------- página 404 ---------- */
.notfound { min-height: 100vh; min-height: 100svh; display: flex; align-items: center; padding: 48px 0; }
.notfound__inner { display: flex; flex-direction: column; align-items: flex-start; }
.notfound__code { margin-top: 56px; }
.notfound__btn { margin-top: 36px; }

/* ---------- seções claras (Quem somos, Como trabalhamos) ----------
   Redefinem as cores-base; tudo que usa var(--paper), var(--text) etc. se adapta. */
.section--light {
  --paper: #0f172a;
  --text: #334155;
  --muted: #4b5a70;
  --line: rgb(15 23 42 / 0.1);
  --pons: #0077cc;
  background: #f1f5f9; color: var(--text);
}
.section--light .eyebrow { color: #0077cc; }
.section--light .text-gradient { background-image: linear-gradient(100deg, #0096e0, #0077cc 50%, #005a9e); }
/* a janela de código continua escura, como um print de editor */
.section--light .editor {
  --line: rgb(148 163 184 / 0.12); --muted: #a5b3c7; --pons: #00b4ff;
  box-shadow: 0 40px 80px -30px rgb(15 23 42 / 0.45), 0 0 0 1px rgb(15 23 42 / 0.06);
}
.section--light .step__dot { background: #fff; box-shadow: 0 0 0 6px #f1f5f9, 0 8px 24px -8px rgb(0 119 204 / 0.45); }

/* ---------- contato do rodapé (ícone + texto) ---------- */
.footer__contact ul { gap: 14px; }
.contact-item__link { display: inline-flex; align-items: center; gap: 10px; color: var(--muted); font-weight: 500; white-space: nowrap; }
.footer__contact li > a.contact-item__link { font-weight: 500; }
a.contact-item__link { transition: color .2s; }
a.contact-item__link:hover { color: var(--pons); }
.contact-item__icon {
  flex: none; width: 32px; height: 32px; padding: 7px; border-radius: 10px;
  color: var(--pons); background: rgb(0 180 255 / 0.1); border: 1px solid rgb(0 180 255 / 0.18);
}
.contact-item__icon--i-whatsapp { color: #25d366; background: rgb(37 211 102 / 0.1); border-color: rgb(37 211 102 / 0.22); }
.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; }

/* =========================================================
   Questionário "Qual sistema é para mim?"
   ========================================================= */
.quiz { background: radial-gradient(60% 50% at 50% 0%, rgb(0 119 204 / 0.16), transparent 70%), var(--ink-950); }
.quiz__card {
  max-width: 760px; margin: 0 auto; padding: 22px 18px; border-radius: 24px;
  border: 1px solid rgb(0 180 255 / 0.25);
  background: radial-gradient(80% 80% at 100% 0%, rgb(0 180 255 / 0.12), transparent 60%), var(--ink);
  box-shadow: 0 40px 100px -50px rgb(0 180 255 / 0.45);
}
@media (min-width: 640px) { .quiz__card { padding: 36px 40px; border-radius: 28px; } }
.quiz__top { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 22px; }
.quiz__progress { display: flex; gap: 6px; flex: 1; max-width: 220px; }
.quiz__progress li { flex: 1; height: 4px; border-radius: 4px; background: #24324f; transition: background-color .3s; }
.quiz__progress li.is-done, .quiz__progress li.is-current { background: var(--pons); }
.quiz__progress li.is-current { background: linear-gradient(90deg, var(--pons-cyan), var(--pons)); }
.quiz__count { font-size: 0.85rem; color: var(--muted); white-space: nowrap; }
.quiz__step { margin: 0; padding: 0; border: 0; min-width: 0; }
.quiz__question { padding: 0; font: 700 clamp(1.2rem, 3.4vw, 1.5rem)/1.25 var(--font-display); color: var(--paper); outline: none; }
.quiz__options { margin-top: 18px; display: grid; gap: 10px; }
@media (min-width: 640px) { .quiz__options { grid-template-columns: 1fr 1fr; } }
.quiz__option { position: relative; display: block; cursor: pointer; }
.quiz__option input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.quiz__option span {
  display: flex; align-items: center; min-height: 56px; height: 100%; padding: 14px 16px; border-radius: 14px;
  border: 1px solid rgb(148 163 184 / 0.2); background: rgb(7 12 24 / 0.35); color: var(--text); font-weight: 500; line-height: 1.35;
  transition: border-color .2s, background-color .2s, color .2s, transform .2s var(--ease);
}
@media (hover: hover) { .quiz__option:hover span { border-color: rgb(0 180 255 / 0.5); background: rgb(0 180 255 / 0.06); color: var(--paper); } }
.quiz__option input:focus-visible + span { outline: 2px solid var(--pons-cyan); outline-offset: 2px; }
.quiz__option input:checked + span { border-color: var(--pons); background: rgb(0 180 255 / 0.14); color: var(--paper); }
.quiz__option:active span { transform: scale(0.98); }
.quiz__step:not([hidden]), .quiz__result:not([hidden]) { animation: quiz-in .45s var(--ease); }
@keyframes quiz-in { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
.quiz__result-label { font: 700 0.75rem/1 var(--font-display); letter-spacing: 0.18em; text-transform: uppercase; color: var(--pons-cyan); }
.quiz__result-title { margin-top: 12px; font-size: clamp(1.5rem, 4vw, 2rem); font-weight: 800; outline: none; }
.quiz__result-text { margin-top: 12px; color: var(--muted); font-size: 1.05rem; }
.quiz__result-note { margin-top: 10px; color: var(--muted); font-size: 0.95rem; }
.quiz__result-note:empty { display: none; }
.quiz__base { margin-top: 18px; padding: 14px 16px; border-radius: 14px; border: 1px dashed rgb(0 180 255 / 0.35); background: rgb(0 180 255 / 0.05); }
.quiz__base-label { font: 700 0.7rem/1 var(--font-display); letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); }
.quiz__base p { margin-top: 8px; font-size: 0.95rem; color: var(--text); }
.quiz__base a { color: var(--pons); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.quiz__base a:hover { color: var(--pons-cyan); }
.quiz__actions { margin-top: 24px; display: flex; flex-wrap: wrap; gap: 10px; }
@media (max-width: 479px) { .quiz__actions .btn { width: 100%; } }
.btn__icon { width: 18px; height: 18px; fill: currentColor; flex: none; }
.quiz__nav { display: flex; justify-content: space-between; margin-top: 18px; }
.quiz__nav:has(> :not([hidden])) { min-height: 24px; }
.quiz__back { padding: 8px 0; border: 0; background: none; color: var(--muted); font: 500 0.92rem var(--font-sans); cursor: pointer; }
.quiz__back:hover { color: var(--pons); }
#quiz-reset { margin-left: auto; }

/* =========================================================
   Botão flutuante do WhatsApp
   ========================================================= */
.wa-float {
  position: fixed; z-index: 40;
  right: max(16px, env(safe-area-inset-right)); bottom: max(16px, env(safe-area-inset-bottom));
  display: inline-flex; align-items: center; gap: 10px; height: 56px; padding: 0 16px;
  border-radius: 999px; background: #25d366; color: #06301a; font: 700 0.95rem/1 var(--font-sans);
  box-shadow: 0 12px 30px -8px rgb(37 211 102 / 0.55), 0 4px 12px rgb(0 0 0 / 0.35);
  opacity: 0; transform: translateY(16px) scale(0.9); pointer-events: none; visibility: hidden;
  transition: opacity .35s var(--ease), transform .35s var(--ease), visibility .35s, box-shadow .25s;
}
.wa-float.is-visible { opacity: 1; transform: none; pointer-events: auto; visibility: visible; }
.wa-float svg { width: 26px; height: 26px; fill: currentColor; flex: none; }
.wa-float:hover { box-shadow: 0 16px 36px -8px rgb(37 211 102 / 0.75), 0 4px 12px rgb(0 0 0 / 0.35); }
.wa-float:focus-visible { outline: 3px solid var(--pons-cyan); outline-offset: 3px; }
/* celular: só o ícone, redondo */
@media (max-width: 639px) {
  .wa-float { width: 56px; padding: 0; justify-content: center; }
  .wa-float__label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
}
.wa-float.is-visible::before {
  content: ""; position: absolute; inset: 0; border-radius: inherit; border: 2px solid #25d366;
  animation: wa-ping 2.8s var(--ease) 1s 3; pointer-events: none;
}
@keyframes wa-ping { 0% { opacity: .8; transform: scale(1); } 70%, 100% { opacity: 0; transform: scale(1.35); } }

/* =========================================================
   Brilho que segue o mouse (cartões) · só em telas com mouse
   ========================================================= */
.spot { position: relative; }
.spot::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
  background: radial-gradient(380px circle at var(--sx, 50%) var(--sy, 50%), rgb(0 180 255 / 0.10), transparent 65%);
  opacity: 0; transition: opacity .35s;
}
.spot:hover::after { opacity: 1; }

@media (prefers-reduced-motion: reduce) {
  .wa-float, .quiz__step, .quiz__result { transition: none; animation: none !important; }
  .wa-float.is-visible::before { display: none; }
  .btn { --bx: 0px; --by: 0px; }
}

/* =========================================================
   Exemplos de sistemas sob medida (grade de ideias)
   ========================================================= */
.ideas { margin: 8px 0 40px; }
.ideas__grid { display: grid; gap: 12px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 250px), 1fr)); }
.idea {
  display: flex; align-items: flex-start; gap: 14px; height: 100%; padding: 18px; border-radius: 18px;
  border: 1px solid var(--line); background: var(--card); color: var(--text);
  transition: border-color .25s, background-color .25s, transform .25s var(--ease);
}
@media (hover: hover) {
  .idea:hover { border-color: rgb(0 180 255 / 0.45); background: rgb(0 180 255 / 0.06); transform: translateY(-3px); }
  .idea:hover .idea__icon { background: var(--pons); color: var(--ink-950); }
}
.idea:focus-visible { outline: 2px solid var(--pons-cyan); outline-offset: 3px; }
.idea__icon {
  flex: none; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px;
  color: var(--pons); background: rgb(0 180 255 / 0.1); border: 1px solid rgb(0 180 255 / 0.2);
  transition: background-color .25s, color .25s;
}
.idea__icon svg { width: 22px; height: 22px; }
.idea__body { display: grid; gap: 4px; min-width: 0; }
.idea__title { font: 700 1rem/1.3 var(--font-display); color: var(--paper); }
.idea__text { font-size: 0.92rem; line-height: 1.5; color: var(--muted); }
.idea--cta { border-style: dashed; border-color: rgb(0 180 255 / 0.4); }
.idea--cta .idea__title { color: var(--pons); }
.ideas__note { margin-top: 14px; font-size: 0.85rem; color: var(--muted); }
.products-sub--demo { margin-top: 0; }
.products-sub--demo p { margin-top: 0; }
/* celular: exemplos em carrossel (deslizar para o lado), sem alongar a página */
@media (max-width: 639px) {
  .ideas__grid {
    grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 80%;
    overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none;
    margin: 0 -20px; padding: 2px 20px 6px; scroll-padding: 0 20px;
  }
  .ideas__grid::-webkit-scrollbar { display: none; }
  .ideas__grid > li { scroll-snap-align: start; }
  .ideas .ideas__hint { display: flex; }
}
.ideas__hint { display: none; align-items: center; gap: 6px; margin-bottom: 10px; font-size: 0.85rem; color: var(--muted); }
