/* ==========================================================================
   Oneby Solutions Systems · Design system do site público
   Glassmorphism claro: fundo lavanda acetinado, moldura de vidro única,
   painéis de vidro empilhados, tipografia Inter, gradiente lilás-azul.
   Usado por TODAS as páginas do site (e pela página pública de proposta).
   CSS específico de página: assets/css/pages/<nome>.css (carregado sozinho).
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Tokens
   -------------------------------------------------------------------------- */
:root {
  /* cores */
  --bg: #F3F2FA;
  --ink: #0B1020;
  --text: #1F2437;
  --muted: #5B6275;
  --subtle: #8A91A6;          /* só decorativo / textos grandes */
  --subtle-text: #5E6578;     /* textos pequenos (AA também sobre os tons lilás #E8E0FF/#EEE8FF) */
  --violet: #7C5CFF;
  --violet-strong: #5B3BE8;   /* sobretítulos e links pequenos: AA sobre branco (6,5:1) e sobre lilás #E8E0FF (5,1:1) */
  --lilac: #A78BFA;
  --blue: #1D52E5;
  --green: #10B981;
  --danger: #DC2626;
  --grad: linear-gradient(95deg, #8B5CF6 0%, #7C6CFF 45%, #5B8CFF 100%);
  --grad-text: linear-gradient(95deg, #8B5CF6 0%, #7466FF 45%, #4F7BF7 100%); /* fim mais escuro: contraste do texto em gradiente */
  --grad-soft: linear-gradient(120deg, rgba(238,232,255,.92), rgba(227,236,255,.88) 58%, rgba(246,232,255,.9));
  --line: rgba(31, 36, 55, .08);
  --line-strong: rgba(31, 36, 55, .14);

  /* tons pastel (fundo / ícone) */
  --amber-bg: #FFF1D6;  --amber: #B7791F;
  --violet-bg: #EEE8FF; --violet-fg: #6D4AFF;
  --blue-bg: #E3ECFF;   --blue-fg: #1D52E5;
  --teal-bg: #DDF7F2;   --teal: #0F9F8E;
  --rose-bg: #FFE6F2;   --rose: #DB2777;

  /* vidro */
  --glass: rgba(255, 255, 255, .55);
  --glass-panel: linear-gradient(150deg, rgba(255,255,255,.66), rgba(255,255,255,.44) 55%, rgba(240,236,255,.5)); /* mesmo vidro, com brilho direcional */
  --glass-card: rgba(255, 255, 255, .8);     /* cartões internos: mais claros que o painel (diferença tonal da referência) */
  --glass-strong: rgba(255, 255, 255, .8);
  --glass-border: rgba(255, 255, 255, .75);
  --glass-border-strong: rgba(255, 255, 255, .92);
  --blur: blur(24px) saturate(140%);
  --blur-sm: blur(16px) saturate(150%);
  --inset: inset 0 1px 0 rgba(255, 255, 255, .9);
  --shadow: 0 30px 80px -40px rgba(76, 62, 170, .28);
  --shadow-card: 0 18px 44px -30px rgba(76, 62, 170, .38), 0 2px 6px -3px rgba(76, 62, 170, .10);
  --shadow-hover: 0 30px 60px -32px rgba(76, 62, 170, .5), 0 4px 10px -5px rgba(76, 62, 170, .14);
  --shadow-float: 0 24px 50px -28px rgba(76, 62, 170, .5);
  --ring: 0 0 0 4px rgba(124, 92, 255, .14);

  /* forma e ritmo */
  --r-frame: 38px;
  --r-panel: 28px;
  --r-card: 20px;
  --r-sm: 14px;
  --r-xs: 10px;
  --pad-x: 56px;
  --pad-y: 56px;
  --gap: 14px;
  --frame-w: 1296px;
  --ease: cubic-bezier(.22, .8, .24, 1);
  --font: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;

  /* título principal (h1 do topo de cada página): uma escala só para o site inteiro.
     --fs-hero nas páginas de conteúdo, --fs-hero-home na inicial, --fs-hero-util nas páginas de formulário
     (contato, orçamento, obrigado), na busca, nos documentos e nos artigos. Os breakpoints (seção 37) reduzem os três na mesma proporção. */
  --fs-hero: 56px;
  --fs-hero-home: 62px;
  --fs-hero-util: 48px;
  --lh-hero: 1.06;
  --ls-hero: -0.035em;

  /* aliases legados (views antigas) */
  --text-2: var(--muted);
  --text-3: var(--subtle-text);
  --accent: var(--blue);
  --shadow-panel: var(--inset), var(--shadow);
  --w: var(--frame-w);
}

/* --------------------------------------------------------------------------
   2. Base
   -------------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 110px; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background:
    radial-gradient(60vw 60vw at 0% 0%, #E6E0FF 0%, transparent 60%),
    radial-gradient(50vw 50vw at 100% 20%, #DCE7FF 0%, transparent 60%),
    var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
  font-feature-settings: "cv11", "ss01";
}
img, svg, video { max-width: 100%; height: auto; }
img { display: block; }
a { color: inherit; text-decoration: none; }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }
h1, h2, h3, h4 { margin: 0 0 .45em; color: var(--ink); font-weight: 700; letter-spacing: -0.03em; line-height: 1.08; }
h1, h2, h3 { text-wrap: balance; }
h1 { font-size: 46px; }
h2 { font-size: 32px; }
h3 { font-size: 18px; letter-spacing: -0.02em; line-height: 1.25; }
h4 { font-size: 16px; letter-spacing: -0.015em; line-height: 1.3; }
strong, b { font-weight: 600; }
ul, ol { margin: 0; padding: 0; }
ul[class], ol[class] { list-style: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
hr { border: 0; height: 1px; background: var(--line); margin: 32px 0; }
:focus-visible { outline: 2px solid var(--violet); outline-offset: 3px; border-radius: 10px; }
::selection { background: rgba(124, 92, 255, .2); }
.icon { flex: none; display: inline-block; vertical-align: -0.18em; }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.skip-link { position: absolute; left: 12px; top: -80px; z-index: 1000; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 999px; font-weight: 600; font-size: 14px; }
.skip-link:focus { top: 12px; }
.svg-defs { position: absolute; width: 0; height: 0; overflow: hidden; }
.container { width: 100%; }

/* --------------------------------------------------------------------------
   3. Fundo acetinado (luzes desfocadas + véu)
   -------------------------------------------------------------------------- */
.site-bg { position: fixed; inset: 0; z-index: -1; overflow: hidden; pointer-events: none; background: var(--bg); }
.site-bg i { position: absolute; border-radius: 50%; filter: blur(90px); }
.site-bg .b1 { width: 62vw; height: 62vw; left: -18vw; top: -22vw; background: #E6E0FF; opacity: .95; }
.site-bg .b2 { width: 52vw; height: 52vw; right: -16vw; top: 4vw; background: #DCE7FF; opacity: .9; }
.site-bg .b3 { width: 46vw; height: 46vw; right: 8vw; bottom: -20vw; background: #F6E8FF; opacity: .9; }
.site-bg .b4 { width: 40vw; height: 40vw; left: 4vw; bottom: -10vw; background: #E6E0FF; opacity: .7; }
.site-bg .satin {
  inset: -20%; border-radius: 0; filter: blur(19px); opacity: 1;
  background:
    linear-gradient(118deg, transparent 16%, rgba(220,214,245,.8) 22%, #fff 27%, transparent 35%),
    linear-gradient(118deg, transparent 44%, rgba(220,214,245,.8) 50%, #fff 55.5%, transparent 63%),
    linear-gradient(62deg, transparent 56%, rgba(220,214,245,.7) 63%, rgba(255,255,255,.95) 68%, transparent 77%),
    linear-gradient(140deg, transparent 68%, rgba(220,214,245,.8) 74%, #fff 79.5%, transparent 87%);
}

/* --------------------------------------------------------------------------
   4. Moldura única e painéis de vidro
   .frame envolve cabeçalho + seções + rodapé (como a moldura da referência).
   Cada seção é um .panel (alias legado: .section, .page-header, .cta-band).
   -------------------------------------------------------------------------- */
.frame {
  position: relative;
  max-width: var(--frame-w);
  margin: 18px auto;
  padding: 14px;
  border-radius: var(--r-frame);
  background: rgba(232, 228, 250, .25); /* véu lavanda translúcido: as dobras do cetim aparecem por trás; o branco fica nos painéis */
  border: 1px solid rgba(255, 255, 255, .7);
  box-shadow: 0 40px 120px -60px rgba(76, 62, 170, .35), var(--inset);
}
.panel, .section, .page-header, .error-page {
  position: relative;
  background: var(--glass-panel);
  -webkit-backdrop-filter: var(--blur);
  backdrop-filter: var(--blur);
  border: 1px solid var(--glass-border);
  border-radius: var(--r-panel);
  box-shadow: var(--inset), var(--shadow);
  padding: var(--pad-y) var(--pad-x);
}
main > * + *, main + .site-footer, .flash-wrap + main > :first-child { margin-top: var(--gap); }
main > :first-child { margin-top: var(--gap); }
.panel-tight { padding-top: 40px; padding-bottom: 40px; }
.panel-clip { overflow: hidden; }
.panel-soft, .section-soft { background: linear-gradient(135deg, rgba(255,255,255,.66), rgba(240,237,255,.5)); }
.section-dark { background: var(--grad-soft); } /* legado: nunca escuro */
.section-sm { padding: 0; background: transparent; border: 0; box-shadow: none; -webkit-backdrop-filter: none; backdrop-filter: none; }
:where(.panel, .section, .page-header) > :where(:not(.deco, .float-card, .bubble, script, style)) { position: relative; z-index: 1; }
/* painéis lado a lado dentro da moldura */
.panel-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--gap); }
.panel-row.r-7-5 { grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); }
.panel-row > .panel { margin: 0; }

/* cartão de vidro genérico (dentro de painéis) */
.glass-card {
  background: var(--glass-card);
  border: 1px solid #fff;
  border-radius: var(--r-card);
  box-shadow: var(--inset), var(--shadow-card);
}
.glass-card.blur { -webkit-backdrop-filter: var(--blur-sm); backdrop-filter: var(--blur-sm); }

/* --------------------------------------------------------------------------
   5. Tipografia de seção
   -------------------------------------------------------------------------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 12px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase;
  color: var(--violet-strong); margin: 0 0 12px;
}
.eyebrow .icon { width: 15px; height: 15px; }
.lead { font-size: 17px; line-height: 1.65; color: var(--muted); text-wrap: pretty; }
.sub { margin-top: 12px; font-size: 16px; line-height: 1.6; color: var(--muted); max-width: 580px; text-wrap: pretty; }
/* sobretítulo dentro de um bloco (ex.: .client-area): vira caixa flex de largura justa, sem a linha extra do inline-flex,
   e fica alinhado ao do painel vizinho */
.client-area > .eyebrow { display: flex; width: fit-content; }
.grad, .grad-text {
  background: var(--grad-text);
  -webkit-background-clip: text; background-clip: text;
  color: transparent;
  -webkit-box-decoration-break: clone; box-decoration-break: clone;
}
.grad-block { display: block; }
.text-muted { color: var(--muted); }
.text-subtle { color: var(--subtle-text); }
.text-ink { color: var(--ink); }
.small { font-size: 14px; }
.xsmall { font-size: 13px; }

/* cabeçalho de seção: título à esquerda, ação à direita */
.section-head, .sec-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 32px; }
.section-head > div:first-child, .sec-head > div:first-child { max-width: 720px; }
.section-head h2, .sec-head h2 { margin: 0; }
.section-head > .btn, .sec-head > .btn, .section-head > .actions { flex: none; }
/* ação ancorada na linha do título (como "View All Projects" da referência), igual em todas as seções */
.section-head:where(:has(> div)) { align-items: flex-start; }
.section-head:where(:has(> div)) > :where(:not(:first-child)) { margin-top: -6px; }
.section-head:where(:has(> div > .eyebrow:first-child)) > :where(:not(:first-child)) { margin-top: 24px; }
.section-head.center > :where(:not(:first-child)) { margin-top: 0; }
.section-head .lead { font-size: 16px; margin: 12px 0 0; }
.section-head.center { flex-direction: column; align-items: center; text-align: center; margin-inline: auto; }
.section-head.center .sub, .section-head.center .lead { margin-inline: auto; }
/* legado: .section-head sem flex (blocos só de texto) */
.section-head:not(:has(> div)) { display: block; max-width: 720px; }
.section-head.center:not(:has(> div)) { text-align: center; margin-inline: auto; }

/* título principal de cada página (h1 do hero): tamanho, entrelinha e espaçamento vêm só dos tokens --fs-hero*.
   O #conteudo dá a esta regra prioridade sobre as regras .xx-hero h1 dos CSS de página, para o título não "pular"
   de tamanho ao navegar. Para mudar a escala, mude os tokens (seção 1 e breakpoints da seção 37). */
.page-home { --fs-hero: var(--fs-hero-home); }
.page-contact, .page-quote, .page-thanks, .page-search, .page-doc, .page-article { --fs-hero: var(--fs-hero-util); }
#conteudo h1:not(:is(.prose, .cn-prose) *) { font-size: var(--fs-hero); line-height: var(--lh-hero); letter-spacing: var(--ls-hero); }

/* títulos dos painéis lado a lado (.panel-row): mesmo tamanho em todas as páginas (28 px; 24 px no celular) */
#conteudo .panel-row > .panel h2:not(.sr-only) { font-size: 28px; }

/* --------------------------------------------------------------------------
   6. Ícones em quadradinhos pastel
   <span class="ico tone-violet"><svg…></span>  ·  tamanhos: .ico-sm .ico-lg
   -------------------------------------------------------------------------- */
.ico {
  width: 44px; height: 44px; border-radius: 13px; flex: none;
  display: inline-grid; place-items: center;
  background: var(--violet-bg); color: var(--violet-fg);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.85), 0 6px 14px -10px currentColor;
}
.ico .icon { width: 20px; height: 20px; }
.ico-sm { width: 36px; height: 36px; border-radius: 11px; }
.ico-sm .icon { width: 17px; height: 17px; }
.ico-lg { width: 52px; height: 52px; border-radius: 15px; }
.ico-lg .icon { width: 24px; height: 24px; }
.ico-xs { width: 28px; height: 28px; border-radius: 9px; }
.ico-xs .icon { width: 14px; height: 14px; }
.tone-amber, .t-amber { background: var(--amber-bg); color: var(--amber); }
.tone-violet, .t-violet { background: var(--violet-bg); color: var(--violet-fg); }
.tone-blue, .t-blue { background: var(--blue-bg); color: var(--blue-fg); }
.tone-teal, .t-teal { background: var(--teal-bg); color: var(--teal); }
.tone-rose, .t-rose { background: var(--rose-bg); color: var(--rose); }
.ico img { width: 22px; height: 22px; }

/* --------------------------------------------------------------------------
   7. Botões
   .btn + .btn-dark (primário preto) | .btn-glass (secundário vidro) | .btn-ghost
   tamanhos .btn-sm .btn-lg · .btn-block · ícone de seta: icon('arrow-up-right','icon arr')
   -------------------------------------------------------------------------- */
.btn {
  --h: 46px;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: var(--h); padding: 0 22px; border-radius: 999px;
  font-size: 15px; font-weight: 600; letter-spacing: -0.01em; line-height: 1.2; white-space: nowrap;
  border: 1px solid transparent; cursor: pointer; text-decoration: none;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background-color .25s, border-color .25s, color .2s;
}
.btn .icon { width: 17px; height: 17px; }
.btn .arr { transition: transform .3s var(--ease); }
.btn:hover .arr { transform: translate(2px, -2px); }
.btn img { width: 18px; height: 18px; flex: none; }
.btn:disabled, .btn[aria-disabled="true"] { opacity: .55; cursor: not-allowed; transform: none; }
.btn-sm { --h: 42px; padding: 0 18px; font-size: 14px; }
.btn-lg { --h: 54px; padding: 0 28px; font-size: 15.5px; }
.btn-block { width: 100%; min-width: 0; white-space: normal; text-align: center; }
.btn-dark, .btn-primary, .btn-grad {
  background: var(--ink); color: #fff;
  box-shadow: 0 14px 30px -14px rgba(11, 16, 32, .55), inset 0 1px 0 rgba(255,255,255,.14);
}
.btn-dark:hover, .btn-primary:hover, .btn-grad:hover { transform: translateY(-2px); background: #161c33; color: #fff; box-shadow: 0 20px 38px -16px rgba(60, 40, 170, .55), inset 0 1px 0 rgba(255,255,255,.18); }
.btn-dark:active, .btn-primary:active { transform: translateY(0); }
.btn-glass, .btn-outline, .btn-light, .btn-secondary, .btn-whatsapp {
  background: rgba(255,255,255,.66); color: var(--ink);
  border-color: rgba(255,255,255,.95);
  box-shadow: var(--inset), 0 10px 26px -18px rgba(76, 62, 170, .45), 0 0 0 1px rgba(31,36,55,.06);
}
.btn-glass:hover, .btn-outline:hover, .btn-light:hover, .btn-secondary:hover, .btn-whatsapp:hover {
  transform: translateY(-2px); background: rgba(255,255,255,.94); color: var(--ink);
  box-shadow: var(--inset), 0 18px 34px -18px rgba(76, 62, 170, .5), 0 0 0 1px rgba(124,92,255,.2);
}
.btn-whatsapp .icon { color: #1FA855; }
.btn-ghost { background: transparent; color: var(--ink); }
.btn-ghost:hover { background: rgba(255,255,255,.7); }
.btn-row, .hero-actions, .page-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-actions, .page-actions { margin-top: 28px; }

/* botão redondo com seta (cartões) */
.icon-btn {
  width: 44px; height: 44px; flex: none; border-radius: 999px;
  display: inline-grid; place-items: center;
  background: rgba(255,255,255,.85); color: var(--ink);
  border: 1px solid rgba(255,255,255,.95);
  box-shadow: var(--inset), 0 6px 16px -10px rgba(76,62,170,.45), 0 0 0 1px rgba(31,36,55,.06);
  transition: background-color .25s, color .25s, transform .3s var(--ease);
}
.icon-btn .icon { width: 17px; height: 17px; }
.icon-btn:hover, a:hover > .icon-btn, .card:hover .icon-btn { background: var(--ink); color: #fff; }
.icon-btn:hover .icon, a:hover > .icon-btn .icon { transform: rotate(45deg); transition: transform .3s var(--ease); }
.icon-btn-sm { width: 36px; height: 36px; }

/* link com seta */
.link-arrow { display: inline-flex; align-items: center; gap: 6px; min-height: 32px; font-weight: 600; font-size: 14.5px; color: var(--ink); } /* alvo de toque ≥ 24 px (WCAG 2.5.8) */
.link-arrow .icon { width: 16px; height: 16px; transition: transform .25s var(--ease); }
.link-arrow:hover { color: var(--violet-strong); }
.link-arrow:hover .icon { transform: translateX(3px); }
.link { color: var(--violet-strong); font-weight: 500; text-decoration: underline; text-underline-offset: 3px; text-decoration-color: rgba(109,74,255,.3); }
.link:hover { text-decoration-color: currentColor; }

/* --------------------------------------------------------------------------
   8. Cabeçalho em pílula de vidro (sticky)
   -------------------------------------------------------------------------- */
.site-header {
  position: sticky; top: 12px; z-index: 50;
  display: flex; align-items: center; gap: 20px;
  height: 72px; padding: 0 14px 0 26px;
  border-radius: 22px;
  background: rgba(255,255,255,.62);
  -webkit-backdrop-filter: blur(13px) saturate(140%); backdrop-filter: blur(13px) saturate(140%); /* 12–14 px: desfoque garantido */
  border: 1px solid rgba(255,255,255,.85);
  box-shadow: var(--inset), 0 20px 50px -30px rgba(76, 62, 170, .32);
  transition: background-color .3s, box-shadow .3s;
}
.site-header.is-scrolled { background: rgba(255,255,255,.9); box-shadow: var(--inset), 0 24px 50px -28px rgba(76, 62, 170, .42); }
.site-header.is-scrolled::before { content: ""; position: absolute; left: -1px; right: -1px; bottom: 100%; height: 14px; background: #F3F2FA; pointer-events: none; }
.brand { display: inline-flex; align-items: center; color: var(--ink); flex: none; }
.logo { display: block; height: 30px; width: auto; aspect-ratio: 813 / 200; color: var(--ink); }
.mark { display: block; width: 24px; height: 24px; }
.main-nav { display: flex; align-items: center; gap: 2px; margin: 0 auto; }
.main-nav a {
  position: relative; padding: 9px 15px; border-radius: 999px;
  font-size: 14px; font-weight: 500; color: var(--text);
  transition: background-color .2s, color .2s;
}
.main-nav a:hover { background: rgba(255,255,255,.8); color: var(--ink); }
.main-nav a.active { background: #fff; color: var(--ink); font-weight: 600; box-shadow: 0 6px 16px -10px rgba(76,62,170,.4), 0 0 0 1px rgba(31,36,55,.04); }
.main-nav a.active::after { content: ""; position: absolute; left: 50%; bottom: 3px; width: 4px; height: 4px; margin-left: -2px; border-radius: 50%; background: var(--violet); }
.nav-actions { display: flex; align-items: center; gap: 8px; flex: none; }
.nav-login {
  display: inline-flex; align-items: center; gap: 8px; height: 42px; padding: 0 14px; border-radius: 999px;
  font-size: 14px; font-weight: 500; color: var(--text); transition: background-color .2s, color .2s;
}
.nav-login .icon { width: 18px; height: 18px; }
.nav-login:hover { background: rgba(255,255,255,.8); color: var(--ink); }
.show-xs { display: none; }
.menu-toggle {
  display: none; width: 44px; height: 44px; border-radius: 14px; padding: 0;
  background: rgba(255,255,255,.85); border: 1px solid rgba(255,255,255,.95);
  box-shadow: var(--inset), 0 0 0 1px rgba(31,36,55,.06);
  flex-direction: column; align-items: center; justify-content: center; gap: 4px;
}
.menu-toggle span { display: block; width: 18px; height: 2px; border-radius: 2px; background: var(--ink); transition: transform .3s var(--ease), opacity .2s; }
.menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }
.mobile-menu {
  display: none;
  position: absolute; left: 0; right: 0; top: calc(100% + 8px);
  max-height: calc(100vh - 100px); max-height: calc(100dvh - 100px); overflow-y: auto; overscroll-behavior: contain;
  padding: 10px; border-radius: 22px;
  background: linear-gradient(180deg, #FFFFFF, #FAF9FF);
  border: 1px solid rgba(255,255,255,.95);
  box-shadow: var(--inset), 0 30px 60px -30px rgba(76,62,170,.45);
}
.mobile-menu.open { display: block; animation: drop .3s var(--ease); }
.mobile-menu nav { display: grid; }
.mobile-menu nav a { display: flex; align-items: center; justify-content: space-between; min-height: 48px; padding: 0 14px; border-radius: 14px; font-size: 16px; font-weight: 500; color: var(--ink); }
.mobile-menu nav a .icon { color: var(--subtle); width: 16px; height: 16px; }
.mobile-menu nav a:hover, .mobile-menu nav a.active { background: rgba(124,92,255,.08); }
.mobile-menu nav a.active { font-weight: 600; }
.mobile-menu-foot { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; padding: 10px 4px 4px; border-top: 1px solid var(--line); margin-top: 6px; position: sticky; bottom: -10px; background: #FAF9FF; z-index: 1; }
.mobile-menu-foot .btn { padding: 0 12px; font-size: 14px; }
@keyframes drop { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }

/* --------------------------------------------------------------------------
   9. Mensagens (flash)
   -------------------------------------------------------------------------- */
.flash-wrap { margin-top: var(--gap); }
.flash {
  display: flex; align-items: center; gap: 12px; padding: 14px 18px; border-radius: var(--r-sm);
  font-weight: 500; font-size: 15px; color: var(--ink);
  background: var(--glass-strong); border: 1px solid var(--glass-border-strong); box-shadow: var(--inset), var(--shadow-card);
}
.flash > span { flex: 1; }
.flash .icon { width: 18px; height: 18px; }
.flash-success { color: #065F46; box-shadow: var(--inset), 0 0 0 1px #A7F3D0; }
.flash-error { color: #991B1B; box-shadow: var(--inset), 0 0 0 1px #FECACA; }
.flash-warning { color: #92400E; box-shadow: var(--inset), 0 0 0 1px #FDE68A; }
.flash-info { color: #1E3A8A; box-shadow: var(--inset), 0 0 0 1px #BFDBFE; }
.flash-close { background: none; border: 0; font-size: 22px; line-height: 1; color: inherit; width: 32px; height: 32px; border-radius: 50%; }
.flash-close:hover { background: rgba(31,36,55,.06); }

/* --------------------------------------------------------------------------
   10. Cartões
   .card (vidro) + .card-icon (quadradinho pastel) + h3 + p + .card-arrow
   tom do ícone: .tint-amber|violet|blue|teal|rose no .card
   -------------------------------------------------------------------------- */
.card {
  position: relative; display: flex; flex-direction: column;
  padding: 24px; border-radius: var(--r-card); color: inherit;
  background: var(--glass-card); border: 1px solid #fff;
  box-shadow: var(--inset), var(--shadow-card);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), background-color .3s;
}
a.card:hover, .card.hover:hover, .card.is-link:hover { transform: translateY(-4px); box-shadow: var(--inset), var(--shadow-hover); background: rgba(255,255,255,.94); }
.card h3 { font-size: 17px; margin: 0 0 6px; }
.card p { color: var(--muted); font-size: 14.5px; line-height: 1.55; margin: 0; }
.card .card-icon {
  width: 44px; height: 44px; border-radius: 13px; display: grid; place-items: center; margin-bottom: 18px;
  background: var(--violet-bg); color: var(--violet-fg);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.85), 0 6px 14px -10px currentColor;
}
.card .card-icon .icon { width: 20px; height: 20px; }
.tint-amber .card-icon { background: var(--amber-bg); color: var(--amber); }
.tint-violet .card-icon { background: var(--violet-bg); color: var(--violet-fg); }
.tint-blue .card-icon { background: var(--blue-bg); color: var(--blue-fg); }
.tint-teal .card-icon { background: var(--teal-bg); color: var(--teal); }
.tint-rose .card-icon { background: var(--rose-bg); color: var(--rose); }
.card .card-arrow {
  position: absolute; right: 16px; bottom: 16px; width: 36px; height: 36px; border-radius: 50%;
  display: grid; place-items: center; color: var(--ink);
  background: rgba(255,255,255,.9); box-shadow: var(--inset), 0 6px 16px -10px rgba(76,62,170,.45), 0 0 0 1px rgba(31,36,55,.06);
  transition: background-color .25s, color .25s;
}
.card .card-arrow .icon { width: 15px; height: 15px; transition: transform .3s var(--ease); }
a.card:hover .card-arrow { background: var(--ink); color: #fff; }
a.card:hover .card-arrow .icon { transform: rotate(45deg); }
.card .card-link { margin-top: auto; padding-top: 14px; font-weight: 600; color: var(--ink); display: inline-flex; align-items: center; gap: 6px; font-size: 14px; }
.card-price { margin-top: auto; padding-top: 16px; font-size: 13px; color: var(--subtle-text); padding-right: 44px; }
.card-price strong { display: block; color: var(--ink); font-size: 16px; font-weight: 700; letter-spacing: -0.02em; }
.card-meta { display: flex; flex-wrap: wrap; gap: 6px 14px; margin-top: 12px; font-size: 13px; color: var(--subtle-text); }
.card-meta .icon { width: 14px; height: 14px; margin-right: 4px; }
.card-sm { padding: 18px; }
.card-flat { box-shadow: var(--inset), 0 0 0 1px rgba(31,36,55,.04); }
.card-feature { background: rgba(255,255,255,.86); box-shadow: 0 0 0 1px rgba(124,92,255,.28), var(--shadow-card); }

/* --------------------------------------------------------------------------
   10b. Tile de setor (partial sector-card): o ÚNICO cartão de setor do site
   variantes: .sector-card--tile (compacto, seta no canto superior direito) · .sector-card--row (horizontal, seta à direita)
   grades:    .sector-grid (tiles 5 → 3 → 2; no celular, linhas compactas só com o nome)
              .sector-grid--detailed (lista principal: no celular, linhas com texto de apoio e seta)
              .sector-grid--rows (linhas 3 → 2 → 1) · .sector-grid--pick (seletor de 2 colunas, botões com check)
   -------------------------------------------------------------------------- */
.sector-grid { --sector-cols: 5; display: grid; grid-template-columns: repeat(var(--sector-cols), minmax(0, 1fr)); gap: 10px; margin: 0; padding: 0; list-style: none; }
.sector-grid > * { min-width: 0; }
.sector-grid > li { display: flex; }
.sector-grid--rows { --sector-cols: 3; gap: 12px; }
.sector-grid--pick { --sector-cols: 2; grid-auto-rows: minmax(76px, auto); align-content: start; }
.sector-card {
  position: relative; display: flex; gap: 14px; width: 100%; min-width: 0; height: 100%;
  padding: 16px; border-radius: 18px; border: 1px solid #fff; color: inherit; font: inherit; text-align: left;
  background: rgba(255,255,255,.8);
  box-shadow: var(--inset), 0 10px 24px -20px rgba(76,62,170,.45);
  transition: translate .25s var(--ease), box-shadow .25s var(--ease), background-color .25s, border-color .25s;
}
/* a transição de entrada (.reveal) não pode apagar a do levantar */
html.js .sector-card.reveal { transition: translate .25s var(--ease), box-shadow .25s var(--ease), background-color .25s, border-color .25s, opacity .7s var(--ease), transform .7s var(--ease); }
button.sector-card { cursor: pointer; -webkit-appearance: none; appearance: none; }
.sector-card > .ico { width: 40px; height: 40px; border-radius: 12px; }
.sector-card > .ico .icon { width: 18px; height: 18px; }
.sector-card-txt { display: flex; flex-direction: column; gap: 3px; flex: 1 1 auto; min-width: 0; line-height: 1.3; }
.sector-card-name { margin: 0; font-size: 14.5px; font-weight: 600; line-height: 1.3; color: var(--ink); letter-spacing: -0.01em; text-wrap: balance; }
.sector-card-badge { align-self: flex-start; height: 20px; margin-bottom: 3px; padding: 0 8px; font-size: 11px; }
/* texto de apoio inteiro (nunca cortado com reticências no meio da frase); o controller já manda frases curtas */
.sector-card-desc { font-size: 13px; line-height: 1.4; color: var(--muted); text-wrap: pretty; }
.sector-card-extra { display: flex; flex-wrap: wrap; gap: 2px 12px; margin-top: auto; padding-top: 8px; font-size: 12.5px; font-weight: 500; line-height: 1.35; color: var(--subtle-text); }
.sector-card-live { display: inline-flex; align-items: center; gap: 6px; color: #0B7366; font-weight: 600; }
.sector-card-live::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 3px rgba(16,185,129,.16); }
.sector-card-go {
  position: absolute; right: 14px; top: 16px; width: 30px; height: 30px; border-radius: 50%;
  display: grid; place-items: center; color: var(--ink);
  background: rgba(255,255,255,.9); box-shadow: var(--inset), 0 6px 16px -10px rgba(76,62,170,.45), 0 0 0 1px rgba(31,36,55,.06);
  transition: background-color .25s, color .25s, opacity .2s, transform .25s var(--ease);
}
.sector-card-go .icon { width: 14px; height: 14px; transition: transform .3s var(--ease); }
/* tile: ícone em cima, nome e texto embaixo; a seta fica no canto superior direito */
.sector-card--tile { flex-direction: column; align-items: flex-start; }
.sector-card--tile .sector-card-txt { width: 100%; }
/* linha: ícone à esquerda, seta centralizada à direita */
.sector-card--row { align-items: center; min-height: 76px; padding: 14px 54px 14px 14px; }
.sector-card--row .sector-card-go { top: calc(50% - 15px); }
/* seletor (botão com role="radio"): só o escolhido mostra o check, nada de fileira de círculos de formulário */
.sector-card-go.is-check { width: 22px; height: 22px; color: #fff; background: var(--violet); box-shadow: none; opacity: 0; transform: scale(.6); }
.sector-card-go.is-check .icon { width: 13px; height: 13px; }
.sector-card--row .sector-card-go.is-check { right: 12px; top: calc(50% - 11px); }
.sector-card--row:has(.is-check) { padding-right: 40px; }
/* escolhido / setor atual */
.sector-card.is-on { background: #fff; border-color: rgba(124,92,255,.6); box-shadow: 0 0 0 4px rgba(124,92,255,.12), 0 18px 34px -22px rgba(76,62,170,.6); }
.sector-card.is-on .is-check { opacity: 1; transform: none; }
/* .is-hot: aceso por JS a partir de outro elemento (ex.: ícone do setor na órbita do hero de /setores), igual ao hover */
.sector-card.is-hot { translate: 0 -2px; background: #fff; box-shadow: var(--inset), 0 18px 34px -22px rgba(76,62,170,.55); }
a.sector-card.is-hot .sector-card-go { color: #fff; background: var(--ink); }
/* "translate" (e não "transform"): a animação de entrada .reveal.in zera o transform e anularia o levantar */
@media (hover: hover) and (pointer: fine) {
  .sector-card:hover { translate: 0 -2px; background: #fff; box-shadow: var(--inset), 0 18px 34px -22px rgba(76,62,170,.55); }
  .sector-card.is-on:hover { box-shadow: 0 0 0 4px rgba(124,92,255,.12), 0 18px 34px -22px rgba(76,62,170,.6); }
  a.sector-card:hover .sector-card-go { color: #fff; background: var(--ink); }
  a.sector-card:hover .sector-card-go .icon { transform: rotate(45deg); }
}
@media (max-width: 1080px) {
  .sector-grid { --sector-cols: 3; }
  .sector-grid--rows, .sector-grid--pick { --sector-cols: 2; }
}
/* 3 colunas: o tile que sobra sozinho na última linha ocupa a linha inteira, deitado (ícone à esquerda, seta à direita) */
@media (min-width: 861px) and (max-width: 1080px) {
  .sector-grid:not(.sector-grid--rows):not(.sector-grid--pick) > li:last-child:nth-child(3n+1) { grid-column: 1 / -1; }
  .sector-grid:not(.sector-grid--rows):not(.sector-grid--pick) > li:last-child:nth-child(3n+1) > .sector-card--tile { flex-direction: row; align-items: center; padding-right: 54px; }
  .sector-grid:not(.sector-grid--rows):not(.sector-grid--pick) > li:last-child:nth-child(3n+1) > .sector-card--tile .sector-card-go { top: calc(50% - 15px); }
}
@media (max-width: 860px) {
  .sector-grid { --sector-cols: 2; }
}
@media (max-width: 720px) {
  .sector-grid { gap: 8px; }
  .sector-grid--detailed, .sector-grid--rows { --sector-cols: 1; }
  /* tiles e seletor no celular: 2 colunas de linhas compactas, só ícone e nome (:where mantém a especificidade baixa) */
  :where(.sector-grid:not(.sector-grid--rows):not(.sector-grid--detailed)) .sector-card { flex-direction: row; align-items: center; gap: 10px; min-height: 0; padding: 12px; border-radius: 16px; }
  :where(.sector-grid:not(.sector-grid--rows):not(.sector-grid--detailed)) .sector-card > .ico { width: 34px; height: 34px; border-radius: 10px; }
  :where(.sector-grid:not(.sector-grid--rows):not(.sector-grid--detailed)) .sector-card > .ico .icon { width: 16px; height: 16px; }
  :where(.sector-grid:not(.sector-grid--rows):not(.sector-grid--detailed)) .sector-card-name { font-size: 13px; line-height: 1.25; }
  :where(.sector-grid:not(.sector-grid--rows):not(.sector-grid--detailed)) :is(.sector-card-desc, .sector-card-extra, .sector-card-badge, .sector-card-go:not(.is-check)) { display: none; }
  /* seletor: escolhido com borda de 2 px e check pequeno no canto */
  .sector-grid--pick { grid-auto-rows: minmax(58px, auto); }
  .sector-grid--pick .sector-card { padding: 8px 9px; gap: 9px; }
  .sector-grid--pick .sector-card.is-on { border: 2px solid var(--violet); padding: 7px 8px; box-shadow: 0 0 0 3px rgba(124,92,255,.14); }
  .sector-grid--pick .sector-card-go.is-check { width: 18px; height: 18px; top: 6px; right: 6px; }
  .sector-grid--pick .sector-card-go.is-check .icon { width: 11px; height: 11px; }
  /* lista principal e linhas: 1 coluna, com texto de apoio e seta */
  .sector-grid--detailed .sector-card { flex-direction: row; align-items: flex-start; padding: 14px 54px 14px 14px; }
  .sector-grid--detailed .sector-card-extra { padding-top: 6px; }
  .sector-grid--rows .sector-card { min-height: 64px; padding: 10px 50px 10px 10px; }
  .sector-grid--rows .sector-card > .ico { width: 38px; height: 38px; }
}
@media (max-width: 380px) {
  /* coluna estreita: ícone em cima do nome, para palavras longas ("Construtoras") caberem inteiras */
  :where(.sector-grid:not(.sector-grid--rows):not(.sector-grid--detailed)) .sector-card { flex-direction: column; align-items: flex-start; gap: 8px; }
  /* seletor estreito: o escolhido fica marcado só pela borda (o check cobriria o nome) */
  .sector-grid--pick .sector-card-go.is-check { display: none; }
}

/* --------------------------------------------------------------------------
   11. Chips, tags e badges
   -------------------------------------------------------------------------- */
.chip {
  display: inline-flex; align-items: center; gap: 8px; min-height: 36px; padding: 0 14px; border-radius: 999px;
  background: rgba(255,255,255,.72); border: 1px solid rgba(255,255,255,.95);
  box-shadow: 0 0 0 1px rgba(31,36,55,.05);
  color: var(--ink); font-size: 13.5px; font-weight: 500; line-height: 1.2;
  transition: background-color .2s, transform .25s var(--ease), box-shadow .2s;
}
.chip .icon { width: 15px; height: 15px; color: var(--violet); }
.chip img { width: 18px; height: 18px; }
a.chip:hover { background: #fff; transform: translateY(-2px); box-shadow: 0 10px 20px -14px rgba(76,62,170,.5), 0 0 0 1px rgba(124,92,255,.18); }
.chip-sm { min-height: 30px; padding: 0 11px; font-size: 13px; }
/* chip sobre imagem (canto superior esquerdo dos mockups) */
.chip-float {
  position: absolute; left: 12px; top: 12px; z-index: 2; min-height: 30px; padding: 0 12px;
  font-size: 13px; font-weight: 600;
  background: rgba(255,255,255,.78); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
}
.chip-row, .tag-row { display: flex; flex-wrap: wrap; gap: 8px; }
.tag-row { margin-top: 12px; }
.tag { display: inline-flex; align-items: center; min-height: 28px; padding: 0 11px; border-radius: 999px; font-size: 13px; font-weight: 500; color: var(--muted); background: rgba(255,255,255,.75); box-shadow: 0 0 0 1px var(--line); }
.badge { display: inline-flex; align-items: center; gap: 6px; height: 24px; padding: 0 10px; border-radius: 999px; font-size: 12px; font-weight: 600; line-height: 1; background: var(--violet-bg); color: #5A3AE8; white-space: nowrap; }
.badge-green, .badge-success { background: var(--teal-bg); color: #0A6B60; }
.badge-violet, .badge-primary { background: var(--violet-bg); color: #5A3AE8; }
.badge-blue, .badge-info { background: var(--blue-bg); color: var(--blue-fg); }
.badge-amber, .badge-warning { background: var(--amber-bg); color: #965E10; }
.badge-rose, .badge-danger, .badge-red { background: var(--rose-bg); color: #B91C5C; }
.badge-gray, .badge-secondary { background: rgba(31,36,55,.06); color: var(--muted); }
.badge .dot { width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.live-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 0 rgba(16,185,129,.5); animation: pulse 2s infinite; flex: none; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(16,185,129,.45); } 70% { box-shadow: 0 0 0 7px rgba(16,185,129,0); } 100% { box-shadow: 0 0 0 0 rgba(16,185,129,0); } }

/* selo de vidro com mini-símbolo (ex.: "Oneby Solutions Systems · Garopaba · SC") */
.seal {
  display: inline-flex; align-items: center; gap: 10px; min-height: 38px; padding: 4px 16px 4px 4px; border-radius: 999px;
  background: rgba(255,255,255,.7); border: 1px solid rgba(255,255,255,.95);
  box-shadow: var(--inset), 0 10px 24px -18px rgba(76,62,170,.5), 0 0 0 1px rgba(31,36,55,.04);
  font-size: 13.5px; font-weight: 600; color: var(--ink);
}
.seal .seal-mark { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: #fff; box-shadow: 0 0 0 1px rgba(124,92,255,.15); }
.seal .seal-mark svg { width: 18px; height: 18px; }
.seal .sep { color: var(--subtle); font-weight: 400; }
.seal .muted { color: var(--muted); font-weight: 500; }

/* --------------------------------------------------------------------------
   12. Tiles de apps / integrações (como "Technologies" da referência)
   <ul class="app-tiles"><li class="app-tile"><img><span>Nome</span></li></ul>
   -------------------------------------------------------------------------- */
.app-tiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(96px, 1fr)); gap: 10px; }
.app-tile {
  display: grid; justify-items: center; align-content: center; gap: 8px; min-height: 92px; padding: 14px 6px 12px; border-radius: 16px;
  background: var(--glass-card); border: 1px solid #fff;
  box-shadow: var(--inset), 0 8px 18px -14px rgba(76,62,170,.5), 0 0 0 1px rgba(31,36,55,.03);
  transition: transform .25s var(--ease), box-shadow .25s;
}
.app-tile:hover { transform: translateY(-3px); box-shadow: var(--inset), 0 16px 26px -16px rgba(76,62,170,.55), 0 0 0 1px rgba(124,92,255,.14); }
.app-tile img, .app-tile > .icon { width: 28px; height: 28px; }
.app-tile-api > .icon { color: var(--violet); }
.app-tile span { font-size: 12.5px; color: var(--muted); font-weight: 500; line-height: 1.2; text-align: center; }

/* --------------------------------------------------------------------------
   13. Cartão de projeto com mockup (partial work-card)
   -------------------------------------------------------------------------- */
.work-card {
  position: relative; display: flex; flex-direction: column; padding: 10px; border-radius: var(--r-card); color: inherit;
  background: var(--glass-card); border: 1px solid #fff;
  box-shadow: var(--inset), var(--shadow-card);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), background-color .3s;
}
.work-card:hover { transform: translateY(-4px); box-shadow: var(--inset), var(--shadow-hover); background: rgba(255,255,255,.94); }
.work-media, .work-cover { position: relative; display: block; aspect-ratio: 3 / 2; border-radius: 14px; overflow: hidden; background: linear-gradient(135deg, #ECE8FF, #E3ECFF); }
.work-media img, .work-cover img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.work-card:hover .work-media img, .work-card:hover .work-cover img { transform: scale(1.045); }
.work-media .work-initials, .work-cover .work-initials { position: absolute; inset: 0; display: grid; place-items: center; font-weight: 800; font-size: 44px; letter-spacing: .02em; color: rgba(255,255,255,.95); }
.work-body { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; padding: 14px 6px 6px 8px; }
.work-body > div { min-width: 0; }
.work-body > .icon-btn { margin-top: 6px; }
.work-body h3 { font-size: 16.5px; margin: 0; letter-spacing: -0.02em; line-height: 1.3; }
.work-body h3 a:hover { color: var(--violet-strong); }
/* o link do título cobre o cartão inteiro (um só link e alvo de toque grande); "Quero algo assim" fica por cima */
.work-card .work-link::after { content: ""; position: absolute; inset: 0; z-index: 1; border-radius: inherit; }
.work-card .work-cta { position: relative; z-index: 2; }
.work-card:hover .icon-btn { background: var(--ink); color: #fff; }
.work-card:hover .icon-btn .icon { transform: rotate(45deg); transition: transform .3s var(--ease); }
.work-card:has(.work-link:focus-visible) { outline: 2px solid var(--violet); outline-offset: 3px; }
@supports selector(:has(*)) { .work-card .work-link:focus-visible { outline: none; } }
.work-body p, .work-body .small { margin: 3px 0 0; font-size: 13px; color: var(--subtle-text); line-height: 1.4; text-wrap: pretty; }
.work-body .work-kicker { margin: 0 0 3px; font-size: 12.5px; font-weight: 600; color: var(--violet-strong); letter-spacing: 0; }
.nw { white-space: nowrap; }
.work-cta { display: flex; align-items: center; gap: 6px; min-height: 44px; margin: 6px 8px 0; border-top: 1px dashed var(--line-strong); font-size: 14px; font-weight: 600; color: var(--violet-strong); }
.work-cta .icon { width: 15px; height: 15px; transition: transform .25s var(--ease); }
.work-cta:hover .icon { transform: translateX(3px); }
.work-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }

/* --------------------------------------------------------------------------
   14. Mockups de tela: navegador + celular (partial mockup-card)
   -------------------------------------------------------------------------- */
.mockup { position: relative; padding: 28px 28px 0; border-radius: var(--r-card); overflow: hidden; background: linear-gradient(135deg, #EEE9FF 0%, #E3ECFF 55%, #F6E8FF 100%); }
.browser { margin: 0; border-radius: 12px 12px 0 0; overflow: hidden; background: #fff; box-shadow: 0 30px 60px -30px rgba(40,30,120,.45), 0 0 0 1px rgba(31,36,55,.06); }
.browser-bar { display: flex; align-items: center; gap: 6px; height: 30px; padding: 0 12px; background: #F6F5FB; border-bottom: 1px solid var(--line); }
.browser-bar i { width: 9px; height: 9px; border-radius: 50%; background: #E2E0EC; }
.browser-bar i:nth-child(1) { background: #FF8A80; } .browser-bar i:nth-child(2) { background: #FFD166; } .browser-bar i:nth-child(3) { background: #7BD88F; }
.browser-bar span { flex: 1; margin: 0 40px; height: 18px; border-radius: 6px; background: #fff; font-size: 11px; line-height: 18px; color: var(--subtle-text); text-align: center; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.browser img { width: 100%; height: auto; display: block; }
.phone { position: absolute; right: 22px; bottom: -24px; width: 22%; min-width: 92px; padding: 6px; border-radius: 24px; background: #0B1020; box-shadow: 0 30px 50px -24px rgba(20,16,60,.6); }
.phone img { width: 100%; border-radius: 18px; display: block; }

/* --------------------------------------------------------------------------
   15. Métricas
   .metrics > .metric (ico opcional + strong + span)  ·  .metrics-panel = um cartão só
   -------------------------------------------------------------------------- */
.metrics { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.metric {
  display: grid; justify-items: start; align-content: start; gap: 2px; padding: 20px 18px; border-radius: 18px;
  background: var(--glass-card); border: 1px solid #fff;
  box-shadow: var(--inset), var(--shadow-card);
}
.metric .ico, .metric .m-icon { margin-bottom: 12px; }
.metric .m-icon { width: 36px; height: 36px; border-radius: 11px; display: grid; place-items: center; background: var(--violet-bg); color: var(--violet-fg); }
.metric strong { display: block; font-size: 30px; line-height: 1.1; font-weight: 700; letter-spacing: -0.035em; color: var(--ink); }
.metric span, .metric small { font-size: 13.5px; color: var(--muted); line-height: 1.35; font-weight: 500; }
.metric > div { display: grid; gap: 2px; }
.metrics-panel { gap: 0; padding: 8px; border-radius: 22px; background: rgba(255,255,255,.62); border: 1px solid rgba(255,255,255,.9); box-shadow: var(--inset), var(--shadow-card); }
.metrics-panel .metric { background: transparent; border: 0; box-shadow: none; border-radius: 16px; }
.metrics-panel .metric + .metric { box-shadow: -1px 0 0 0 var(--line); }
.stat-value { font-size: 40px; line-height: 1; font-weight: 700; letter-spacing: -0.04em; }

/* --------------------------------------------------------------------------
   16. Cartões flutuantes (sobre visuais, como "5+ anos" da referência)
   <div class="float-card"> … </div> — posição definida pela página
   -------------------------------------------------------------------------- */
.float-card {
  position: absolute; z-index: 3;
  padding: 14px 18px; border-radius: 20px;
  background: rgba(255,255,255,.62);
  -webkit-backdrop-filter: blur(18px) saturate(150%); backdrop-filter: blur(18px) saturate(150%);
  border: 1px solid rgba(255,255,255,.95);
  box-shadow: var(--inset), var(--shadow-float);
}
.float-card strong { display: block; font-size: 26px; line-height: 1.05; letter-spacing: -0.03em; color: var(--ink); }
.float-card strong.grad, .metric strong.grad { color: transparent; }
.float-card span, .float-card small { font-size: 13px; color: var(--muted); font-weight: 500; line-height: 1.35; }
.float-card .fc-label { display: block; font-size: 12.5px; font-weight: 600; color: var(--muted); margin-bottom: 8px; }
.floaty { animation: floaty 7s ease-in-out infinite; }
.floaty-slow { animation: floaty 10s ease-in-out infinite; }
.floaty-rev { animation: floaty 8s ease-in-out -3s infinite; }
@keyframes floaty { 0%, 100% { translate: 0 0; } 50% { translate: 0 -8px; } }
/* bolha de vidro (ex.: estrela 3D) */
.bubble { position: absolute; z-index: 3; width: 74px; height: 74px; border-radius: 50%; display: grid; place-items: center; background: rgba(255,255,255,.55); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); border: 1px solid rgba(255,255,255,.95); box-shadow: var(--inset), var(--shadow-float); }
.bubble img { width: 66%; height: auto; }
/* a bolha com a estrela 3D fica na home e em poucos heros (sobre, setor, obrigado); nos heros secundários
   (documentos, busca, blog, artigo, 404, case, portfólio, serviço e FAQ) ela virava carimbo repetido */
.cn-doc-star, .cn-search-star, .cn-help-star, .cn-hero-star, .cn-article-star, .cn-404-star, .pf-cover-star, .pf-star, .sv-star, .fq-star { display: none !important; }

/* --------------------------------------------------------------------------
   17. Objetos 3D decorativos (assets/img/3d/*.webp)
   <img class="deco deco-orb deco-tr" src=… alt="" aria-hidden="true" loading="lazy" data-parallax=".15">
   Painel com .panel-clip recorta o objeto pelo raio; .deco-fade suaviza a borda.
   -------------------------------------------------------------------------- */
.deco { position: absolute; z-index: 0; pointer-events: none; user-select: none; max-width: none; opacity: .94; filter: saturate(.78) brightness(1.05) drop-shadow(0 30px 40px rgba(109, 74, 255, .16)); } /* material mais vítreo, menos "plástico lilás" */
.deco-orb { width: 200px; }
.deco-star { width: 120px; }
.deco-torus { width: 260px; }
.deco-capsule { width: 220px; }
.deco-sculpture { width: 320px; }
.deco-mark { width: 280px; }
.deco-tr { right: -40px; top: -50px; }
.deco-tl { left: -40px; top: -50px; }
.deco-br { right: -40px; bottom: -50px; }
.deco-bl { left: -40px; bottom: -50px; }
.deco-fade { -webkit-mask-image: radial-gradient(closest-side, #000 72%, transparent 100%); mask-image: radial-gradient(closest-side, #000 72%, transparent 100%); }
.deco-soft { opacity: .85; }
.deco-blur { filter: saturate(.78) brightness(1.05) blur(2px) drop-shadow(0 30px 40px rgba(109, 74, 255, .16)); }

/* --------------------------------------------------------------------------
   18. Processo em etapas com conectores
   <ol class="steps"><li class="step [is-key]"><div class="step-top"><span class="ico ico-sm">…</span><span class="step-num">01</span><span class="badge">Grátis</span></div><h3>…</h3><p>…</p></li></ol>
   -------------------------------------------------------------------------- */
.steps { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 28px; list-style: none; padding: 0; margin: 0; }
.step {
  position: relative; padding: 18px 18px 20px; border-radius: var(--r-card);
  background: var(--glass-card); border: 1px solid #fff;
  box-shadow: var(--inset), var(--shadow-card);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}
.step:hover { transform: translateY(-3px); box-shadow: var(--inset), var(--shadow-hover); }
.step:not(:last-child)::after {
  content: ""; position: absolute; top: 34px; right: -24px; width: 20px; height: 10px;
  background: no-repeat center / contain url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 10' fill='none' stroke='%23A78BFA' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M1 5h16' stroke-dasharray='2 3'/%3E%3Cpath d='M14 1.5 18 5l-4 3.5'/%3E%3C/svg%3E");
}
.step-top, .step .s-head { display: flex; align-items: center; gap: 10px; }
.step-num, .step .s-num { font-size: 22px; font-weight: 600; letter-spacing: -0.02em; color: var(--subtle-text); line-height: 1; }
.step .s-icon { width: 36px; height: 36px; border-radius: 11px; display: grid; place-items: center; background: var(--violet-bg); color: var(--violet-fg); }
.step .badge { margin-left: auto; }
.step h3 { margin: 16px 0 6px; font-size: 15.5px; line-height: 1.25; }
.step p { margin: 0; font-size: 14px; color: var(--muted); line-height: 1.55; }
.step.is-key { background: rgba(255,255,255,.88); box-shadow: 0 0 0 1px rgba(124,92,255,.32), var(--shadow-card); }
.step.is-key .step-num { background: var(--grad-text); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* --------------------------------------------------------------------------
   19. Linha do tempo
   .history (horizontal por ano, partial history) e .timeline (vertical numerada, legado)
   -------------------------------------------------------------------------- */
.history { display: grid; grid-template-columns: repeat(var(--cols, 5), minmax(0, 1fr)); gap: 18px; list-style: none; padding: 0; margin: 0; position: relative; }
.history::before { content: ""; position: absolute; left: 8px; right: 0; top: 8px; height: 2px; border-radius: 2px; background: linear-gradient(90deg, rgba(167,139,250,.55), rgba(91,140,255,.45)); }
.history li { position: relative; padding-top: 34px; }
.history li::before { content: ""; position: absolute; left: 0; top: 0; width: 18px; height: 18px; border-radius: 50%; background: #fff; box-shadow: 0 0 0 4px rgba(124,92,255,.14), inset 0 0 0 2px var(--violet); }
.history li:last-child::before { background: var(--violet); box-shadow: 0 0 0 5px rgba(124,92,255,.18), inset 0 0 0 4px #fff; }
.history .h-year { display: block; font-size: 14px; font-weight: 700; color: var(--violet-strong); letter-spacing: .01em; }
.history h3, .history .h-title { margin: 4px 0 10px; font-size: 15.5px; line-height: 1.3; }
.history .chip-row { gap: 6px; }
.history .chip { min-height: 30px; padding: 0 11px; font-size: 13px; color: var(--muted); }
.history .chip-more { color: #5A3AE8; font-weight: 600; background: #fff; }
/* versão compacta (home): só ano + título, uma linha cada */
.history-compact li { padding-top: 30px; }
.history-compact .h-year { font-size: 13.5px; }
.history-compact .h-title { margin: 3px 0 0; font-size: 15px; font-weight: 600; line-height: 1.3; }
.timeline { list-style: none; padding: 0; margin: 0; display: grid; counter-reset: tl; }
.timeline li { position: relative; padding: 0 0 22px 46px; counter-increment: tl; }
.timeline li::before { content: counter(tl); position: absolute; left: 0; top: 0; width: 30px; height: 30px; border-radius: 50%; background: var(--grad); color: #fff; font-weight: 700; display: grid; place-items: center; font-size: 13px; box-shadow: 0 8px 18px -10px rgba(109,74,255,.7); }
.timeline li::after { content: ""; position: absolute; left: 14px; top: 34px; bottom: 4px; width: 2px; background-image: linear-gradient(var(--lilac) 50%, transparent 0); background-size: 2px 7px; opacity: .6; }
.timeline li:last-child::after { display: none; }
.timeline strong, .timeline h3, .timeline h4 { color: var(--ink); }

/* --------------------------------------------------------------------------
   20. FAQ (acordeão)  ·  partial faq-list
   -------------------------------------------------------------------------- */
.faq-list { display: grid; gap: 10px; max-width: 860px; margin-inline: auto; }
.faq-item {
  border-radius: 18px; background: rgba(255,255,255,.6); border: 1px solid rgba(255,255,255,.88);
  box-shadow: var(--inset), 0 10px 24px -22px rgba(76,62,170,.5);
  transition: background-color .25s, box-shadow .25s;
}
.faq-item[open] { background: rgba(255,255,255,.88); box-shadow: var(--inset), 0 18px 36px -26px rgba(76,62,170,.55); }
.faq-item summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 58px; padding: 14px 20px; cursor: pointer; list-style: none; font-size: 15.5px; font-weight: 600; color: var(--ink); letter-spacing: -0.01em; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:hover { color: var(--violet-strong); }
.faq-item summary > .icon { color: var(--violet); transition: transform .3s var(--ease); }
.faq-item[open] summary > .icon { transform: rotate(180deg); }
.pm { position: relative; width: 28px; height: 28px; flex: none; border-radius: 50%; background: rgba(124,92,255,.1); transition: background-color .25s, transform .3s var(--ease); }
.pm::before, .pm::after { content: ""; position: absolute; left: 50%; top: 50%; width: 10px; height: 1.6px; margin: -.8px 0 0 -5px; border-radius: 2px; background: var(--violet); transition: transform .3s var(--ease), background-color .25s; }
.pm::after { transform: rotate(90deg); }
.faq-item[open] .pm { background: var(--ink); transform: rotate(180deg); }
.faq-item[open] .pm::before, .faq-item[open] .pm::after { background: #fff; }
.faq-item[open] .pm::after { transform: rotate(0); }
.faq-body { padding: 0 20px 18px; margin-top: -2px; font-size: 15px; color: var(--muted); line-height: 1.65; max-width: 720px; }
.faq-body p { margin: 0 0 .7em; }

/* --------------------------------------------------------------------------
   21. Formulários
   Clássico: .form-grid > .field > label + input|select|textarea (+ .error / .hint)
   Caixa com rótulo interno (estilo da home): <label class="input-box"><span>Nome</span><input></label>
   Checkbox: <label class="check"><input type="checkbox"><span>…</span></label>
   -------------------------------------------------------------------------- */
.form-card {
  padding: 28px; border-radius: 24px;
  background: rgba(255,255,255,.64);
  -webkit-backdrop-filter: blur(20px) saturate(150%); backdrop-filter: blur(20px) saturate(150%);
  border: 1px solid rgba(255,255,255,.95);
  box-shadow: var(--inset), 0 30px 60px -36px rgba(76,62,170,.5);
}
.form-card > h3 { margin-bottom: 18px; }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.form-grid .full, .form-grid .span-2 { grid-column: 1 / -1; }
.field { min-width: 0; }
.field > label:not(.check), .field-label { display: block; font-weight: 600; font-size: 13.5px; margin-bottom: 7px; color: var(--ink); }
.field input:not([type=checkbox]):not([type=radio]), .field select, .field textarea, .input, .select, .textarea {
  width: 100%; min-height: 50px; padding: 12px 16px; border-radius: var(--r-sm);
  border: 1px solid rgba(31,36,55,.1); background: rgba(255,255,255,.86); color: var(--ink);
  font-size: 15px; line-height: 1.4; transition: border-color .2s, box-shadow .2s, background-color .2s;
}
.field input:hover, .field select:hover, .field textarea:hover { border-color: rgba(124,92,255,.32); }
.field input:focus, .field select:focus, .field textarea:focus, .input:focus, .select:focus, .textarea:focus { outline: none; border-color: var(--violet); box-shadow: 0 0 0 3px rgba(124,92,255,.28); background: #fff; }
.field select, .select { appearance: none; -webkit-appearance: none; padding-right: 42px; cursor: pointer; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%235B6275' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; background-size: 18px; }
.field textarea, .textarea { min-height: 130px; resize: vertical; line-height: 1.55; }
.field ::placeholder, .input::placeholder, .textarea::placeholder, .input-box ::placeholder { color: #6B7186; }
.field .error, .error { display: block; margin-top: 6px; color: var(--danger); font-size: 13px; font-weight: 500; }
.field.has-error input, .field.has-error textarea, .field.has-error select, .input-box.has-error { border-color: rgba(220,38,38,.65); box-shadow: 0 0 0 4px rgba(220,38,38,.08); }
.field .hint, .hint { margin-top: 6px; font-size: 13px; color: var(--subtle-text); }
.input-box {
  position: relative; display: grid; align-content: start; gap: 2px; padding: 10px 14px 9px; border-radius: var(--r-sm);
  background: rgba(255,255,255,.84); border: 1px solid rgba(31,36,55,.09);
  transition: border-color .2s, box-shadow .2s, background-color .2s; cursor: text;
}
.input-box:hover { border-color: rgba(124,92,255,.32); }
.input-box:focus-within { border-color: var(--violet); box-shadow: 0 0 0 3px rgba(124,92,255,.28); background: #fff; }
.input-box > span { font-size: 12.5px; font-weight: 600; color: var(--muted); letter-spacing: .01em; }
.input-box > span em { font-style: normal; font-weight: 500; color: var(--subtle-text); }
.input-box input, .input-box select, .input-box textarea { width: 100%; border: 0; outline: 0; background: transparent; padding: 0; font-size: 15px; color: var(--ink); min-height: 26px; }
.input-box textarea { resize: vertical; min-height: 88px; line-height: 1.5; }
.input-box select { appearance: none; -webkit-appearance: none; cursor: pointer; padding-right: 24px; }
.input-box.is-select::after { content: ""; position: absolute; right: 14px; bottom: 14px; width: 16px; height: 16px; pointer-events: none; background: no-repeat center / contain url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%235B6275' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E"); }
.input-box .error { margin-top: 2px; font-style: normal; }
.form-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.form-stack { display: grid; grid-template-columns: minmax(0, 1fr); gap: 12px; }
.check { display: flex; align-items: flex-start; gap: 10px; font-size: 14px; color: var(--muted); line-height: 1.5; cursor: pointer; font-weight: 400; }
.check input { width: 18px; height: 18px; margin: 2px 0 0; accent-color: var(--violet); flex: none; }
.check a { color: var(--ink); font-weight: 500; text-decoration: underline; text-underline-offset: 2px; text-decoration-color: rgba(31,36,55,.3); }
.form-msg { min-height: 0; font-size: 14px; margin: 8px 0 0; color: var(--muted); }
.form-msg:empty { display: none; }
.form-msg.ok { color: #047857; }
.form-msg.err { color: var(--danger); }
.form-note { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--subtle-text); }
.form-note .icon { width: 14px; height: 14px; }

/* --------------------------------------------------------------------------
   22. Wizard de orçamento (não renomear: usado pelo JS)
   .wizard > .wizard-progress span(.done) + .wizard-step(.active) + .wizard-nav
   Opções: .option-grid > label.option > input + span
   -------------------------------------------------------------------------- */
.wizard {
  max-width: 920px; margin-inline: auto; padding: clamp(22px, 4vw, 40px); border-radius: var(--r-panel);
  background: rgba(255,255,255,.66); border: 1px solid rgba(255,255,255,.95);
  box-shadow: var(--inset), var(--shadow-card);
}
.wizard-progress { display: flex; gap: 8px; margin-bottom: 28px; }
.wizard-progress span { flex: 1; height: 6px; border-radius: 99px; background: rgba(124,92,255,.14); transition: background .3s; }
.wizard-progress span.done { background: var(--grad); }
.wizard-step { display: none; }
.wizard-step.active { display: block; animation: fadeUp .35s var(--ease); }
.wizard h3 { font-size: 22px; margin-bottom: 6px; }
.wizard-step > p { margin-bottom: 20px; }
.wizard-nav { display: flex; justify-content: space-between; gap: 12px; margin-top: 28px; flex-wrap: wrap; }
.service-group-title { font-size: 12px; text-transform: uppercase; letter-spacing: .12em; color: var(--violet-strong); margin: 22px 0 10px; font-weight: 600; }
.option-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 10px; }
.option { position: relative; display: block; }
.option input { position: absolute; opacity: 0; inset: 0; cursor: pointer; margin: 0; }
.option > span {
  position: relative; display: flex; flex-direction: column; gap: 8px; height: 100%; padding: 16px 40px 16px 16px; border-radius: 16px;
  font-weight: 600; font-size: 14.5px; line-height: 1.35; color: var(--ink);
  background: rgba(255,255,255,.7); border: 1px solid rgba(255,255,255,.95);
  box-shadow: var(--inset), 0 10px 24px -20px rgba(76,62,170,.45), 0 0 0 1px rgba(31,36,55,.05);
  transition: transform .25s var(--ease), box-shadow .25s, background-color .25s;
}
.option > span::after { content: ""; position: absolute; right: 14px; top: 16px; width: 20px; height: 20px; border-radius: 50%; border: 1.5px solid rgba(31,36,55,.18); background: #fff no-repeat center / 12px; transition: background-color .2s, border-color .2s; }
.option input[type=checkbox] + span::after { border-radius: 6px; }
.option > span .icon { width: 22px; height: 22px; color: var(--violet); }
.option:hover > span { transform: translateY(-2px); background: rgba(255,255,255,.9); }
.option input:checked + span { background: #fff; box-shadow: 0 0 0 1.5px rgba(124,92,255,.7), 0 0 0 5px rgba(124,92,255,.1), 0 18px 34px -22px rgba(76,62,170,.6); }
.option input:checked + span::after { background-color: var(--violet); border-color: var(--violet); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E"); }
.option input:focus-visible + span { outline: 2px solid var(--violet); outline-offset: 2px; }
.option small { font-weight: 500; font-size: 13px; color: var(--subtle-text); }
.option > span[style] { padding-right: 44px !important; } /* views antigas com padding inline */
@keyframes fadeUp { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }

/* --------------------------------------------------------------------------
   23. Cabeçalho de páginas internas (partial page-header) + breadcrumbs
   -------------------------------------------------------------------------- */
.page-header { overflow: hidden; padding-top: 52px; padding-bottom: 52px; }
.page-header .ph-grid { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 40px; align-items: center; }
.page-header .ph-grid.has-aside { grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); }
.page-header h1 { font-size: var(--fs-hero); line-height: var(--lh-hero); letter-spacing: var(--ls-hero); max-width: 820px; margin: 0; }
.page-header .lead { margin: 18px 0 0; max-width: 680px; }
.page-header.center { text-align: center; }
.page-header.center .ph-grid { grid-template-columns: 1fr; }
.page-header.center h1, .page-header.center .lead { margin-inline: auto; }
.page-header.center .breadcrumbs, .page-header.center .page-actions { justify-content: center; }
.page-header .deco { opacity: .95; }
.ph-deco-orb { width: 210px; right: 40px; top: 50%; margin-top: -105px; }
.ph-deco-star { width: 150px; right: 70px; top: 50%; margin-top: -75px; }
.ph-deco-torus { width: 300px; right: -50px; top: -70px; }
.ph-deco-capsule { width: 250px; right: -30px; top: -50px; }
.ph-deco-mark { width: 260px; right: 30px; top: 50%; margin-top: -130px; }
.page-header.has-deco .ph-grid > div:first-child { padding-right: 220px; }
.breadcrumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 4px; margin: 0 0 18px; padding: 0; list-style: none; font-size: 13.5px; color: var(--subtle-text); }
.breadcrumbs li { display: inline-flex; align-items: center; gap: 4px; }
.breadcrumbs li + li::before { content: ""; width: 14px; height: 14px; background: no-repeat center / 12px url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%238A91A6' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='9 18 15 12 9 6'/%3E%3C/svg%3E"); }
.breadcrumbs a { color: var(--muted); padding: 2px 4px; border-radius: 6px; }
.breadcrumbs a:hover { color: var(--ink); background: rgba(255,255,255,.7); }
.breadcrumbs span { color: var(--ink); font-weight: 500; padding: 2px 4px; }

/* --------------------------------------------------------------------------
   24. Faixa de CTA (partial cta) — gradiente lilás de vidro
   -------------------------------------------------------------------------- */
.cta-band {
  position: relative; overflow: hidden;
  display: flex; align-items: center; justify-content: space-between; gap: 28px;
  border-radius: var(--r-panel);
  background: var(--grad-soft);
  border: 1px solid rgba(255,255,255,.95);
  box-shadow: var(--inset), 0 20px 44px -32px rgba(76,62,170,.5);
}
.cta-band { padding: 44px var(--pad-x); }
.cta-band h2 { font-size: 30px; margin: 0; max-width: 640px; }
.cta-band p { margin: 10px 0 0; color: var(--muted); font-size: 16px; max-width: 600px; }
.cta-band .actions, .cta-band .btn-row { position: relative; z-index: 1; display: flex; flex-wrap: wrap; gap: 12px; flex: none; }
.cta-band .cta-deco { position: absolute; right: 40px; top: 50%; width: 150px; margin-top: -75px; opacity: .95; pointer-events: none; z-index: 0; filter: drop-shadow(0 24px 30px rgba(109,74,255,.22)); }
/* objeto 3D varia por página (partial cta, decoImg): a estrela não vira carimbo */
.cta-band .cta-deco-orb { width: 136px; margin-top: -68px; right: 46px; }
.cta-band .cta-deco-torus { width: 150px; margin-top: -75px; right: 36px; }
.cta-band .cta-deco-capsule { width: 150px; margin-top: -75px; right: 38px; }
.cta-band.has-deco { padding-right: 200px; }
.cta-band > div { position: relative; z-index: 1; }

/* --------------------------------------------------------------------------
   25. Filtros (abas em pílula) e paginação
   -------------------------------------------------------------------------- */
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 28px; }
.filters a, .filters button {
  display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 0 16px; border-radius: 999px;
  font-weight: 500; font-size: 14px; color: var(--text); border: 0;
  background: rgba(255,255,255,.66); box-shadow: var(--inset), 0 0 0 1px rgba(31,36,55,.06);
  transition: background-color .2s, color .2s, box-shadow .2s;
}
.filters a:hover, .filters button:hover { background: #fff; color: var(--ink); }
.filters a.active, .filters button.active, .filters [aria-current="page"] { background: var(--ink); color: #fff; box-shadow: 0 10px 22px -12px rgba(11,16,32,.55); }
.filters .count { font-size: 12px; color: inherit; opacity: .65; }
.pagination { display: flex; gap: 6px; justify-content: center; align-items: center; margin-top: 40px; flex-wrap: wrap; }
.page-link {
  display: inline-grid; place-items: center; min-width: 44px; height: 44px; padding: 0 14px; border-radius: 999px;
  font-weight: 600; font-size: 14px; color: var(--text);
  background: rgba(255,255,255,.7); box-shadow: var(--inset), 0 0 0 1px rgba(31,36,55,.06);
}
.page-link:hover { background: #fff; color: var(--ink); }
.page-link.current, .page-link[aria-current] { background: var(--ink); color: #fff; }
.page-dots { padding: 0 4px; color: var(--subtle-text); }

/* --------------------------------------------------------------------------
   26. Texto longo (.prose) — páginas, posts, descrições
   -------------------------------------------------------------------------- */
.prose { max-width: 760px; margin-inline: auto; font-size: 17px; line-height: 1.75; color: var(--text); }
.prose > :first-child { margin-top: 0; }
.prose h2 { font-size: 26px; margin: 1.8em 0 .55em; }
.prose h3 { font-size: 20px; margin: 1.5em 0 .5em; }
.prose p { margin: 0 0 1.15em; }
.prose a { color: var(--violet-strong); text-decoration: underline; text-underline-offset: 3px; text-decoration-color: rgba(109,74,255,.35); }
.prose a:hover { text-decoration-color: currentColor; }
.prose img { border-radius: var(--r-card); margin: 1.6em 0; box-shadow: var(--shadow-card); }
.prose ul:not([class]), .prose ol:not([class]) { padding-left: 1.3em; margin: 0 0 1.2em; }
.prose li { margin-bottom: .45em; }
.prose li::marker { color: var(--violet); }
.prose blockquote { margin: 1.6em 0; padding: 18px 22px; border-radius: 0 var(--r-sm) var(--r-sm) 0; border-left: 3px solid var(--violet); background: rgba(255,255,255,.66); color: var(--muted); font-size: 17px; }
.prose table { width: 100%; border-collapse: collapse; margin: 1.4em 0; font-size: 15px; background: rgba(255,255,255,.6); border-radius: var(--r-sm); overflow: hidden; }
.prose th, .prose td { border-bottom: 1px solid var(--line); padding: 12px 14px; text-align: left; }
.prose th { font-size: 13px; text-transform: uppercase; letter-spacing: .06em; color: var(--subtle-text); }
.prose code { font-size: .9em; padding: 2px 6px; border-radius: 6px; background: rgba(124,92,255,.08); }
.prose hr { margin: 2em 0; }

/* --------------------------------------------------------------------------
   27. Detalhe (conteúdo + coluna fixa) e listas com ícone
   -------------------------------------------------------------------------- */
.detail-grid { display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(0, .75fr); gap: 44px; align-items: start; }
.sticky-box {
  position: sticky; top: 110px; padding: 26px; border-radius: 24px;
  background: rgba(255,255,255,.7); -webkit-backdrop-filter: var(--blur-sm); backdrop-filter: var(--blur-sm);
  border: 1px solid rgba(255,255,255,.95); box-shadow: var(--inset), 0 30px 60px -36px rgba(76,62,170,.5);
}
.sticky-box h3 { font-size: 19px; }
.sticky-box .price { font-size: 32px; font-weight: 700; color: var(--ink); letter-spacing: -0.035em; line-height: 1.1; margin: 4px 0 6px; }
.sticky-box .price small { display: block; font-size: 13px; color: var(--subtle-text); font-weight: 500; letter-spacing: 0; margin-bottom: 4px; }
.sticky-box .btn + .btn { margin-top: 10px; }
.check-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.check-list li { display: flex; gap: 12px; align-items: flex-start; line-height: 1.55; }
.check-list li > .icon, .check-list li > svg { width: 22px; height: 22px; padding: 4px; margin-top: 1px; border-radius: 50%; flex: none; background: var(--violet-bg); color: var(--violet-fg); }
.check-list.check-green li > .icon, .check-list li > .icon.green { background: var(--teal-bg); color: var(--teal); }
.pain-list li > .icon, .pain-list li > svg { background: var(--rose-bg); color: var(--rose); }
.prose .check-list { margin: 0 0 1.4em; }
.feature-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 24px; }

/* --------------------------------------------------------------------------
   28. Blog
   -------------------------------------------------------------------------- */
.post-card {
  display: flex; flex-direction: column; padding: 10px; border-radius: var(--r-card); color: inherit;
  background: rgba(255,255,255,.6); border: 1px solid rgba(255,255,255,.88);
  box-shadow: var(--inset), var(--shadow-card);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), background-color .3s;
}
.post-card:hover { transform: translateY(-4px); box-shadow: var(--inset), var(--shadow-hover); background: rgba(255,255,255,.82); }
.post-cover { aspect-ratio: 16 / 9; border-radius: 14px; overflow: hidden; display: grid; place-items: center; color: var(--lilac); background: linear-gradient(135deg, #ECE8FF, #E3ECFF 60%, #F6E8FF); }
.post-cover img { width: 100%; height: 100%; object-fit: cover; }
.post-cover .icon { width: 40px; height: 40px; }
.post-body { padding: 16px 10px 10px; }
.post-body h3 { font-size: 17px; line-height: 1.3; margin: 0 0 8px; }
.post-meta { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; font-size: 13px; color: var(--subtle-text); margin-bottom: 10px; }
.post-meta .cat { color: var(--violet-strong); font-weight: 600; text-transform: uppercase; letter-spacing: .08em; font-size: 12px; }

/* --------------------------------------------------------------------------
   29. Depoimentos (só aparecem se existirem no banco)
   -------------------------------------------------------------------------- */
.testimonial {
  position: relative; display: flex; flex-direction: column; padding: 24px; border-radius: var(--r-card);
  background: rgba(255,255,255,.62); border: 1px solid rgba(255,255,255,.9); box-shadow: var(--inset), var(--shadow-card);
}
.testimonial .quote-mark { position: absolute; right: 20px; top: 18px; color: var(--lilac); opacity: .7; }
.testimonial .quote-mark .icon { width: 26px; height: 26px; }
.testimonial .stars { display: flex; gap: 2px; margin-bottom: 12px; color: #F5B942; }
.testimonial .stars .icon { width: 15px; height: 15px; fill: currentColor; }
.testimonial blockquote { margin: 0 0 18px; font-size: 15px; line-height: 1.65; color: var(--text); font-style: italic; padding-right: 20px; }
.testimonial footer { display: flex; align-items: center; gap: 12px; margin-top: auto; font-size: 14px; }
.testimonial footer strong { display: block; color: var(--ink); font-weight: 600; }
.testimonial footer span { color: var(--subtle-text); font-size: 13px; }
.avatar { width: 44px; height: 44px; border-radius: 50%; flex: none; display: grid; place-items: center; overflow: hidden; font-weight: 700; font-size: 14px; color: var(--violet-fg); background: linear-gradient(135deg, #EEE8FF, #E3ECFF); box-shadow: 0 0 0 2px #fff; }
.avatar img { width: 100%; height: 100%; object-fit: cover; }

/* --------------------------------------------------------------------------
   30. Contato (partial contact-block + contact-form)
   -------------------------------------------------------------------------- */
.contact-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: 44px; align-items: start; }
.contact-rows { display: grid; gap: 4px; margin: 24px 0 0; list-style: none; padding: 0; }
.c-row { display: flex; align-items: center; gap: 14px; min-height: 52px; padding: 6px 10px 6px 8px; margin-left: -8px; border-radius: 14px; transition: background-color .2s; color: var(--ink); }
a.c-row:hover { background: rgba(255,255,255,.75); }
.c-row > span:last-child { display: grid; font-size: 15px; font-weight: 500; line-height: 1.35; }
.c-row small { font-size: 12.5px; color: var(--subtle-text); font-weight: 500; }
.contact-card {
  padding: 28px; border-radius: 24px; background: rgba(255,255,255,.62); border: 1px solid rgba(255,255,255,.9); box-shadow: var(--inset), var(--shadow-card);
}
.contact-card > h3 { margin-bottom: 4px; }
.contact-card ul { list-style: none; padding: 0; margin: 18px 0 22px; display: grid; gap: 16px; }
.contact-card li { display: flex; gap: 14px; align-items: flex-start; color: var(--muted); font-size: 15px; line-height: 1.5; }
.contact-card li > .icon { width: 36px; height: 36px; padding: 9px; border-radius: 11px; flex: none; background: var(--violet-bg); color: var(--violet-fg); }
.contact-card li strong { color: var(--ink); }
.contact-card a:not(.btn) { color: var(--ink); font-weight: 500; }
.contact-card a:not(.btn):hover { color: var(--violet-strong); }
.contact-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.contact-list li { display: flex; gap: 10px; align-items: flex-start; }
.contact-list .icon { color: var(--violet); margin-top: 4px; }

/* --------------------------------------------------------------------------
   31. Faixa de logos de clientes (partial trust-logos)
   -------------------------------------------------------------------------- */
.trust { display: flex; align-items: center; gap: 32px; padding-top: 26px; border-top: 1px solid rgba(31,36,55,.08); }
.trust-label { flex: none; margin: 0; font-size: 13.5px; font-weight: 500; line-height: 1.4; color: var(--muted); }
.trust-logos { flex: 1; min-width: 0; display: flex; align-items: center; justify-content: space-between; gap: 28px; list-style: none; padding: 0 0 0 8px; margin: 0; }
.trust-logos li { flex: 0 1 auto; min-width: 0; display: grid; place-items: center; }
.trust-logos img { width: auto; height: var(--lh, 26px); max-width: 100%; object-fit: contain; filter: brightness(0); opacity: .4; transition: opacity .25s; }
.trust-logos li:hover img { opacity: .7; }

/* --------------------------------------------------------------------------
   32. Rodapé
   -------------------------------------------------------------------------- */
.site-footer { margin-top: var(--gap); padding: 40px var(--pad-x) 26px; color: var(--muted); font-size: 14px; }
.footer-grid { position: relative; display: grid; grid-template-columns: minmax(0, 1.5fr) repeat(4, minmax(0, 1fr)); gap: 32px; padding: 40px 0 32px; }
.site-footer > .footer-grid:first-child { padding-top: 8px; }
.footer-brand .logo { height: 28px; }
.footer-brand p { margin: 16px 0 0; font-size: 14px; color: var(--muted); line-height: 1.65; max-width: 300px; }
.social { display: flex; gap: 8px; margin-top: 18px; }
.social a { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; color: var(--text); background: rgba(255,255,255,.72); border: 1px solid rgba(255,255,255,.95); box-shadow: 0 0 0 1px rgba(31,36,55,.06); transition: background-color .2s, color .2s, transform .25s var(--ease); }
.social a .icon { width: 18px; height: 18px; }
.social a:hover { background: var(--ink); color: #fff; transform: translateY(-2px); }
.footer-col { display: grid; align-content: start; gap: 10px; }
.footer-col h3 { font-size: 13.5px; font-weight: 600; letter-spacing: 0; color: var(--ink); margin: 0 0 4px; }
.footer-col a, .footer-col span { color: var(--muted); line-height: 1.45; width: fit-content; max-width: 100%; overflow-wrap: anywhere; transition: color .2s; }
.footer-col a:hover { color: var(--ink); }
.footer-col a.more { color: var(--violet-strong); font-weight: 500; }
.newsletter-form { margin-top: 22px; max-width: 320px; }
.newsletter-form label { display: block; font-size: 13px; color: var(--subtle-text); margin-bottom: 8px; }
.newsletter-row { display: flex; align-items: center; min-height: 48px; padding: 4px 4px 4px 16px; border-radius: 999px; background: rgba(255,255,255,.85); border: 1px solid rgba(31,36,55,.09); transition: border-color .2s, box-shadow .2s; }
.newsletter-row:focus-within { border-color: var(--violet); box-shadow: 0 0 0 3px rgba(124,92,255,.28); }
.newsletter-row input { flex: 1; min-width: 0; border: 0; outline: 0; background: transparent; font-size: 14.5px; padding: 8px 0; }
.newsletter-row button, .newsletter-row .btn { flex: none; width: 40px; height: 40px; min-height: 40px; padding: 0; border-radius: 50%; border: 0; background: var(--ink); color: #fff; display: grid; place-items: center; transition: transform .25s var(--ease); }
.newsletter-row button:hover { transform: translateX(2px); }
.newsletter-row button .icon { width: 18px; height: 18px; }
.footer-bottom { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding: 20px 0 0; border-top: 1px solid var(--line); font-size: 13.5px; color: var(--subtle-text); }
.footer-bottom p { margin: 0; }
.footer-bottom nav { display: flex; flex-wrap: wrap; gap: 8px 20px; }
.footer-bottom a:hover { color: var(--ink); }

/* --------------------------------------------------------------------------
   33. WhatsApp flutuante e banner de cookies
   -------------------------------------------------------------------------- */
.whatsapp-float {
  position: fixed; right: 22px; bottom: 22px; z-index: 60;
  display: flex; align-items: center; gap: 0; height: 56px; padding: 0 15px; border-radius: 999px;
  background: rgba(255,255,255,.82);
  -webkit-backdrop-filter: blur(16px) saturate(150%); backdrop-filter: blur(16px) saturate(150%);
  border: 1px solid rgba(255,255,255,.95);
  box-shadow: var(--inset), 0 18px 40px -18px rgba(15, 120, 80, .45), 0 0 0 1px rgba(31,36,55,.06);
  transition: gap .3s var(--ease), padding .3s var(--ease), transform .3s var(--ease), opacity .3s, visibility 0s;
}
.whatsapp-float.is-hidden { opacity: 0; visibility: hidden; pointer-events: none; transform: translateY(12px); transition: opacity .3s, transform .3s var(--ease), visibility 0s .3s; }
/* telas largas: inteiro na margem lateral, centralizado entre a moldura e a borda da janela (nunca cortado pela linha da moldura) */
@media (min-width: 1424px) {
  .whatsapp-float { right: calc((100vw - var(--frame-w)) / 4 - 26px); bottom: 24px; height: 52px; padding: 0 13px; }
}
.whatsapp-float img { width: 25px; height: 25px; }
.whatsapp-float span { max-width: 0; overflow: hidden; white-space: nowrap; font-size: 14px; font-weight: 600; color: var(--ink); transition: max-width .35s var(--ease); }
.whatsapp-float:hover, .whatsapp-float:focus-visible { gap: 10px; padding: 0 20px 0 16px; transform: translateY(-2px); }
.whatsapp-float:hover span, .whatsapp-float:focus-visible span { max-width: 140px; }
.cookie-banner {
  position: fixed; left: 22px; bottom: 22px; z-index: 70; max-width: 520px;
  display: flex; gap: 14px; align-items: center; padding: 14px 14px 14px 16px; border-radius: 20px;
  background: rgba(255,255,255,.86); -webkit-backdrop-filter: var(--blur); backdrop-filter: var(--blur);
  border: 1px solid rgba(255,255,255,.95); box-shadow: var(--inset), 0 30px 60px -30px rgba(76,62,170,.5);
  font-size: 13.5px; color: var(--muted); line-height: 1.5;
}
.cookie-banner[hidden] { display: none; }
.cookie-banner p { margin: 0; flex: 1; }
.cookie-banner a { color: var(--ink); text-decoration: underline; text-underline-offset: 2px; }
.cookie-banner .ck-short { display: none; }
/* enquanto o aviso está na tela, o navegador rola o campo focado (Tab) para fora da faixa que ele cobre (WCAG 2.4.11).
   --cookie-space = altura real ocupada no rodapé da tela, medida pelo site.js; os valores fixos são a reserva sem JS. */
html:has(#cookie-banner:not([hidden])) { scroll-padding-bottom: var(--cookie-space, 130px); }
/* folga no fim da página: o rodapé (newsletter, links) ainda consegue rolar para cima do aviso */
html:has(#cookie-banner:not([hidden])) body { padding-bottom: var(--cookie-space, 130px); }
/* assistente de orçamento: a barra do passo (.wizard-nav) fica presa embaixo; o aviso sobe acima dela
   e o campo focado também não fica escondido atrás da barra */
html:has(.qt-wizard) { scroll-padding-bottom: 96px; }
html:has(.qt-wizard):has(#cookie-banner:not([hidden])) { scroll-padding-bottom: var(--cookie-space, 200px); }
body:has(.qt-wizard) .cookie-banner { bottom: 88px; max-width: 440px; }
body:has(.qt-wizard) .cookie-banner .ck-long { display: none; }
body:has(.qt-wizard) .cookie-banner .ck-short { display: inline; }

/* parallax leve dos objetos 3D (JS define --py; respeita prefers-reduced-motion) */
[data-parallax] { transform: translate3d(0, var(--py, 0px), 0) rotate(var(--rot, 0deg)); will-change: transform; }

/* --------------------------------------------------------------------------
   Área do cliente (partial client-area): lista + prévia ilustrativa do portal
   -------------------------------------------------------------------------- */
.client-area h2 { font-size: 28px; margin: 0; }
.client-area .sub { max-width: 420px; }
.ca-list { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 18px; margin-top: 20px; font-size: 14.5px; color: var(--ink); font-weight: 500; }
.ca-preview { margin-top: 22px; padding: 16px 18px 16px; border-radius: 18px; background: rgba(255,255,255,.8); border: 1px solid rgba(255,255,255,.95); box-shadow: var(--inset), var(--shadow-card); }
.ca-top { display: flex; align-items: center; gap: 12px; }
.ca-mark { width: 38px; height: 38px; border-radius: 12px; display: grid; place-items: center; flex: none; background: var(--violet-bg); }
.ca-mark .mark { width: 22px; height: 22px; }
.ca-top > div { flex: 1; min-width: 0; display: grid; line-height: 1.3; }
.ca-top strong { font-size: 14.5px; color: var(--ink); }
.ca-top small { font-size: 12.5px; color: var(--subtle-text); }
.ca-bar { height: 6px; border-radius: 99px; background: rgba(124,92,255,.12); margin: 14px 0 12px; overflow: hidden; }
.ca-bar i { display: block; height: 100%; border-radius: inherit; background: var(--grad); }
.ca-steps { display: flex; flex-wrap: wrap; gap: 8px 18px; font-size: 13px; color: var(--muted); }
.ca-steps li { display: inline-flex; align-items: center; gap: 6px; }
.ca-steps .done .icon { color: var(--violet); }
.ca-steps .now { color: var(--ink); font-weight: 600; }
.ca-steps .now i { width: 8px; height: 8px; border-radius: 50%; background: var(--violet); box-shadow: 0 0 0 3px rgba(124,92,255,.2); }

/* --------------------------------------------------------------------------
   34. Grids responsivos e utilitários
   -------------------------------------------------------------------------- */
.grid { display: grid; gap: 18px; }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.grid-5 { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.grid-auto { grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); }
.gap-sm { gap: 12px; } .gap-lg { gap: 28px; }
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 48px; align-items: center; }
.stack > * + * { margin-top: 16px; }
.flex { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }
.between { justify-content: space-between; }
.items-start { align-items: flex-start; }
.text-center { text-align: center; }
.text-right { text-align: right; }
.mx-auto { margin-inline: auto; }
.w-full { width: 100%; }
.mt-0 { margin-top: 0 !important; } .mt-1 { margin-top: 8px; } .mt-2 { margin-top: 16px; } .mt-3 { margin-top: 24px; } .mt-4 { margin-top: 32px; } .mt-5 { margin-top: 48px; }
.mb-0 { margin-bottom: 0 !important; } .mb-1 { margin-bottom: 8px; } .mb-2 { margin-bottom: 16px; } .mb-3 { margin-bottom: 24px; } .mb-4 { margin-bottom: 32px; } .mb-5 { margin-bottom: 48px; }
.divider { height: 1px; background: var(--line); margin: 36px 0; border: 0; }
.empty { text-align: center; padding: 48px 24px; color: var(--muted); border-radius: var(--r-card); background: rgba(255,255,255,.5); box-shadow: inset 0 0 0 1.5px rgba(124,92,255,.18); }
.empty .ico { margin: 0 auto 14px; }
.hide-m { } .show-m { display: none; }
.swipe-hint { display: none; align-items: center; justify-content: center; gap: 6px; margin-top: 4px; font-size: 13px; font-weight: 500; color: var(--subtle-text); }
.swipe-hint .icon { width: 15px; height: 15px; }

/* --------------------------------------------------------------------------
   35. Animação de entrada (.reveal → .in pelo JS) e movimento reduzido
   -------------------------------------------------------------------------- */
html.js .reveal { opacity: 0; transform: translateY(14px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
html.js .reveal.in { opacity: 1; transform: none; }
html.js .reveal:not(.in) { animation: reveal-failsafe 0s 3s forwards; }
@keyframes reveal-failsafe { to { opacity: 1; transform: none; } }
.grid > .reveal:nth-child(3n+2), .work-grid > .reveal:nth-child(3n+2), .steps > .reveal:nth-child(2) { transition-delay: .06s; }
.grid > .reveal:nth-child(3n), .work-grid > .reveal:nth-child(3n), .steps > .reveal:nth-child(3) { transition-delay: .12s; }
.steps > .reveal:nth-child(4) { transition-delay: .18s; }
.steps > .reveal:nth-child(5) { transition-delay: .24s; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  html.js .reveal { opacity: 1; transform: none; }
}

/* --------------------------------------------------------------------------
   36. Página pública de proposta, status, erro e busca
   -------------------------------------------------------------------------- */
.proposal-page { min-height: 100vh; padding: 30px 12px; }
.proposal { max-width: 900px; margin-inline: auto; background: rgba(255,255,255,.78); border: 1px solid rgba(255,255,255,.95); border-radius: var(--r-panel); box-shadow: var(--inset), var(--shadow); overflow: hidden; -webkit-backdrop-filter: var(--blur); backdrop-filter: var(--blur); }
.proposal-head { background: linear-gradient(125deg, #15183A 0%, #2A2470 55%, #3D3AA8 100%); color: #fff; padding: 36px 40px; display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.proposal-head img { height: 32px; width: auto; filter: brightness(0) invert(1); }
.proposal-head h1 { color: #fff; font-size: 28px; margin-top: 16px; }
.proposal-body { padding: 36px 40px; }
.proposal-meta { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-bottom: 28px; }
.proposal-meta div { background: rgba(255,255,255,.85); border-radius: var(--r-sm); padding: 14px 16px; box-shadow: 0 0 0 1px var(--line); }
.proposal-meta span { display: block; font-size: 12px; text-transform: uppercase; letter-spacing: .08em; color: var(--subtle-text); }
.proposal-meta strong { font-size: 16px; color: var(--ink); }
.proposal table { width: 100%; border-collapse: collapse; margin: 22px 0; }
.proposal th, .proposal td { padding: 12px 10px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.proposal th { font-size: 12px; text-transform: uppercase; letter-spacing: .08em; color: var(--subtle-text); }
.proposal td.num, .proposal th.num { text-align: right; white-space: nowrap; }
.proposal tfoot td { font-weight: 700; }
.proposal tfoot tr.total td { font-size: 21px; color: var(--ink); border-bottom: 0; }
.proposal-actions { background: rgba(255,255,255,.6); padding: 26px 40px; display: grid; gap: 16px; border-top: 1px solid var(--line); }
.status-pill { display: inline-flex; align-items: center; height: 30px; padding: 0 14px; border-radius: 999px; font-weight: 600; font-size: 13px; }
.status-aceita { background: #D1FAE5; color: #065F46; }
.status-recusada { background: #FEE2E2; color: #991B1B; }
.status-expirada { background: #FEF3C7; color: #92400E; }
.status-enviada, .status-visualizada, .status-rascunho { background: #DBEAFE; color: #1E40AF; }
.error-page { text-align: center; padding-top: 72px; padding-bottom: 72px; overflow: hidden; }
.error-page .code { font-weight: 800; font-size: clamp(88px, 14vw, 150px); line-height: 1; letter-spacing: -0.05em; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; margin-bottom: 8px; }
.error-page .lead { max-width: 560px; margin: 12px auto 0; }
.search-results h3 { margin-top: 28px; }
.search-results ul { list-style: none; padding: 0; display: grid; gap: 10px; }
.search-results li { padding: 16px 20px; border-radius: var(--r-sm); background: rgba(255,255,255,.66); box-shadow: var(--inset), 0 0 0 1px rgba(31,36,55,.05); }
.search-results li a { font-weight: 600; color: var(--ink); }
.search-results li a:hover { color: var(--violet-strong); }
.search-results li p { margin: 4px 0 0; color: var(--muted); font-size: 14.5px; }

/* ==========================================================================
   37. Responsivo
   ========================================================================== */
@media (max-width: 1220px) {
  :root { --pad-x: 44px; --pad-y: 52px; --fs-hero: 52px; --fs-hero-home: 56px; --fs-hero-util: 46px; }
  .main-nav a { padding: 9px 11px; }
  .nav-login span { display: none; }
  .nav-login { width: 42px; padding: 0; justify-content: center; }
  .footer-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .footer-brand { grid-column: 1 / -1; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 340px); grid-template-areas: "logo news" "text news" "social news"; column-gap: 48px; align-items: start; }
  .footer-brand > .brand { grid-area: logo; } .footer-brand > p { grid-area: text; } .footer-brand > .social { grid-area: social; } .footer-brand > .newsletter-form { grid-area: news; margin-top: 0; max-width: none; align-self: end; }
}
@media (max-width: 1080px) {
  :root { --fs-hero: 46px; --fs-hero-home: 48px; --fs-hero-util: 42px; }
  .main-nav, .nav-login { display: none; }
  .menu-toggle { display: inline-flex; }
  .site-header { padding: 0 12px 0 20px; justify-content: space-between; }
  .grid-4, .grid-5 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .metrics { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  /* menu aberto: página parada e véu por trás do painel */
  body.menu-open { overflow: hidden; }
  body.menu-open .frame::after { content: ""; position: fixed; inset: 0; z-index: 40; background: rgba(243,242,250,.62); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
  body.menu-open .whatsapp-float, body.menu-open .cookie-banner { opacity: 0; visibility: hidden; pointer-events: none; }
  /* etapas: 5 colunas compactas (ícone, número e título; a descrição fica para telas largas e para o celular) */
  .steps { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 16px; }
  .step { padding: 14px 12px 16px; }
  .step-top { gap: 7px; }
  .step .ico-sm { width: 30px; height: 30px; border-radius: 9px; }
  .step .ico-sm .icon { width: 15px; height: 15px; }
  .step-num { font-size: 17px; }
  .step .badge { height: 20px; padding: 0 7px; font-size: 11px; }
  .step h3 { margin: 12px 0 0; font-size: 14.5px; }
  .step p { display: none; }
  .step:not(:last-child)::after { top: 28px; right: -15px; width: 14px; }
  /* linha do tempo vertical (com conector), ano + título à esquerda e projetos à direita */
  .history:not(.history-compact) { --cols: 1 !important; gap: 0; padding-left: 4px; }
  .history:not(.history-compact)::before { display: none; }
  .history:not(.history-compact) li { display: grid; grid-template-columns: minmax(0, 260px) minmax(0, 1fr); column-gap: 24px; align-items: center; padding: 0 0 22px 34px; }
  .history:not(.history-compact) li::before { top: 2px; width: 16px; height: 16px; }
  .history:not(.history-compact) li:not(:last-child)::after { content: ""; position: absolute; left: 7px; top: 24px; bottom: 2px; width: 2px; background: rgba(167,139,250,.45); }
  .history .h-year, .history .h-title { grid-column: 1; }
  .history:not(.history-compact) .h-title { margin: 2px 0 0; }
  .history .chip-row { grid-column: 2; grid-row: 1 / span 2; }
  .history-compact { gap: 12px; }
  .history-compact .h-title { font-size: 14px; }
  /* faixa de logos: rótulo em cima, logos em grade */
  .trust { flex-direction: column; align-items: stretch; gap: 18px; }
  .trust-label { text-align: center; }
  .trust-label br { display: none; }
  .trust-logos { flex-wrap: wrap; justify-content: center; gap: 18px 44px; padding: 0; }
  .detail-grid { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .sticky-box { position: static; }
  .panel-row, .panel-row.r-7-5 { grid-template-columns: minmax(0, 1fr); }
  .page-header.has-deco .ph-grid > div:first-child { padding-right: 160px; }
}
@media (max-width: 960px) {
  .history-compact { --cols: 1 !important; gap: 0; padding-left: 4px; }
  .history-compact::before { display: none; }
  .history-compact li { display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 12px; padding: 0 0 14px 32px; }
  .history-compact li::before { top: 2px; width: 16px; height: 16px; }
  .history-compact li:not(:last-child)::after { content: ""; position: absolute; left: 7px; top: 24px; bottom: 2px; width: 2px; background: rgba(167,139,250,.45); }
  .history-compact .h-title { margin: 0; font-size: 15px; }
}
@media (max-width: 860px) {
  :root { --pad-x: 32px; --pad-y: 44px; }
  :root { --fs-hero: 42px; --fs-hero-home: 46px; --fs-hero-util: 38px; }
  h1 { font-size: 38px; }
  h2 { font-size: 28px; }
  .grid-3, .grid-4, .grid-5, .work-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .contact-grid, .split { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .cta-band { flex-direction: column; align-items: flex-start; }
  .cta-band.has-deco { padding-right: var(--pad-x); }
  .cta-band .cta-deco { width: 96px; right: 24px; top: 24px; margin-top: 0; }
  /* objeto no canto: o texto não passa por baixo dele (721–860 px) */
  .cta-band.has-deco > div:first-of-type { padding-right: 110px; }
  .page-header .ph-grid, .page-header .ph-grid.has-aside { grid-template-columns: minmax(0, 1fr); }
  .proposal-meta { grid-template-columns: minmax(0, 1fr); }
  .feature-list { grid-template-columns: minmax(0, 1fr); }
  /* rodapé: 2 × 2 colunas de links (4 colunas estreitas quebravam o e-mail no meio) */
  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  /* logos: os 5 numa linha só */
  .trust-logos { gap: 16px 28px; }
  .trust-logos img { height: calc(var(--lh, 26px) * .8); }
  /* etapas em lista vertical com conector (5 colunas não cabem: "Desenvolvimento" estoura) */
  .steps { grid-template-columns: minmax(0, 1fr); gap: 14px; }
  .step, .step:nth-child(n+4) { grid-column: auto; display: grid; grid-template-columns: 48px minmax(0, 1fr); column-gap: 12px; padding: 14px 14px 14px 12px; }
  .step p { display: block; font-size: 13.5px; }
  .step-top { grid-row: span 2; flex-direction: column; align-items: center; gap: 6px; }
  .step-num { font-size: 15px; }
  .step .badge { position: absolute; top: 12px; right: 12px; margin: 0; height: 24px; padding: 0 10px; font-size: 12px; }
  .step.is-key h3 { padding-right: 64px; }
  .step h3 { margin: 2px 0 4px; font-size: 15.5px; }
  .step::after, .step:nth-child(3)::after { display: none; }
  .step:not(:last-child)::before { content: ""; position: absolute; left: 35px; top: calc(100% + 1px); width: 2px; height: 12px; background-image: linear-gradient(var(--lilac) 50%, transparent 0); background-size: 2px 5px; }
}
@media (max-width: 720px) {
  :root { --pad-x: 18px; --pad-y: 36px; --r-panel: 24px; --gap: 10px; }
  html { scroll-padding-top: 90px; }
  body { font-size: 15.5px; }
  .frame { margin: 0; padding: 8px; border-radius: 0; border: 0; background: transparent; box-shadow: none; }
  .site-header { top: 8px; height: 62px; padding: 0 8px 0 16px; border-radius: 20px; gap: 8px; }
  .logo { height: 25px; }
  .nav-cta { --h: 40px; padding: 0 14px; font-size: 13.5px; }
  .nav-cta .arr { display: none; }
  .hide-xs { display: none; } .show-xs { display: inline; }
  .menu-toggle { width: 42px; height: 42px; border-radius: 12px; }
  :root { --fs-hero: 36px; --fs-hero-home: 40px; --fs-hero-util: 32px; --lh-hero: 1.08; }
  h1 { font-size: 34px; line-height: 1.08; }
  h2 { font-size: 26px; }
  #conteudo .panel-row > .panel h2:not(.sr-only) { font-size: 24px; }
  /* botões do hero empilhados em largura total, em todas as páginas */
  #conteudo > :first-child :is(.btn-row, .page-actions, .hero-actions) > .btn { flex: 1 1 100%; }
  .lead { font-size: 16px; }
  .sub { font-size: 15px; }
  .section-head, .sec-head { flex-direction: column; align-items: flex-start; gap: 18px; margin-bottom: 24px; }
  .section-head > :where(:not(:first-child)) { margin-top: 0; }
  .section-head.center { align-items: center; }
  .grid-2, .grid-3, .grid-4, .grid-5, .grid-auto { grid-template-columns: minmax(0, 1fr); gap: 12px; }
  .grid-5.keep-2, .grid-4.keep-2, .grid-3.keep-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .card { padding: 20px; }
  /* cartões com ícone viram linhas compactas no celular (ícone à esquerda, seta no canto) */
  a.card:has(> .card-icon) { display: grid; grid-template-columns: auto minmax(0, 1fr); column-gap: 14px; align-content: start; padding: 16px 52px 16px 16px; }
  a.card:has(> .card-icon) > .card-icon { grid-row: span 3; width: 40px; height: 40px; margin: 0; }
  a.card:has(> .card-icon) > :not(.card-icon, .card-arrow) { grid-column: 2; }
  a.card:has(> .card-icon) h3 { font-size: 16px; margin-bottom: 4px; }
  a.card:has(> .card-icon) p { font-size: 14px; }
  a.card:has(> .card-icon) .card-arrow { top: 16px; bottom: auto; right: 14px; width: 32px; height: 32px; }
  a.card:has(> .card-icon) .card-price { padding: 8px 0 0; display: flex; align-items: baseline; gap: 6px; }
  a.card:has(> .card-icon) .card-price strong { display: inline; font-size: 15px; }
  .metrics { gap: 8px; }
  .metric { padding: 16px 14px; }
  .metric strong { font-size: 26px; }
  .metrics-panel { gap: 8px; padding: 0; background: transparent; border: 0; box-shadow: none; }
  .metrics-panel .metric, .metrics-panel .metric + .metric { background: rgba(255,255,255,.7); box-shadow: var(--inset), 0 0 0 1px rgba(31,36,55,.04); }
  .work-grid { display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; margin: 0 calc(var(--pad-x) * -1); padding: 4px var(--pad-x) 16px; scroll-padding: 0 var(--pad-x); scrollbar-width: none; }
  .work-grid::-webkit-scrollbar { display: none; }
  .work-grid > .work-card { flex: 0 0 86%; scroll-snap-align: start; }
  html.js .work-grid > .reveal { opacity: 1; transform: none; }
  .work-grid + .swipe-hint { display: flex; }
  .history { --cols: 1 !important; gap: 0; padding-left: 4px; }
  .history li { display: block; padding: 0 0 18px 32px; }
  .history li::before { top: 2px; width: 16px; height: 16px; }
  .history li:not(:last-child)::after { content: ""; position: absolute; left: 7px; top: 24px; bottom: 2px; width: 2px; background: rgba(167,139,250,.45); }
  .history .chip-row { display: none; }
  .history h3, .history .h-title { margin: 2px 0 0; }
  .history-compact li { display: flex; padding: 0 0 12px 30px; }
  .history-compact .h-title { margin: 0; font-size: 14.5px; }
  .form-grid, .form-row { grid-template-columns: minmax(0, 1fr); }
  .form-card, .contact-card { padding: 18px; border-radius: 20px; }
  .cta-band { padding: 30px 20px; }
  .cta-band h2 { font-size: 24px; }
  .cta-band .actions, .cta-band .btn-row { width: 100%; }
  .cta-band .actions .btn, .cta-band .btn-row .btn { flex: 1; }
  .cta-band .cta-deco { width: 64px; right: 14px; top: 14px; margin-top: 0; opacity: .9; }
  .cta-band .cta-deco-torus, .cta-band .cta-deco-capsule { width: 70px; right: 10px; top: 12px; }
  .cta-band.has-deco > div:first-of-type { padding-right: 62px; }
  .page-header { padding-top: 32px; padding-bottom: 32px; }
  .page-header.has-deco .ph-grid > div:first-child { padding-right: 0; }
  .page-header .deco { width: 120px; right: -30px; top: -26px; margin-top: 0; opacity: .7; }
  .trust { flex-direction: column; align-items: stretch; gap: 16px; padding-top: 20px; }
  .trust-label { text-align: center; }
  .trust-label br { display: none; }
  /* 3 + 2 centralizados (linha homogênea, sem "buracos" de grade) */
  .trust-logos { gap: 16px 26px; }
  .trust-logos img { height: calc(var(--lh, 26px) * .78); max-width: 100%; }
  .site-footer { padding: 22px var(--pad-x) 20px; }
  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 26px 18px; padding: 28px 0 24px; }
  .footer-col { gap: 0; font-size: 14px; }
  .footer-col h3 { margin-bottom: 4px; }
  .footer-bottom nav a { padding: 6px 0; }
  .brand { padding: 8px 0; }
  .btn-lg { padding: 0 20px; }
  .footer-brand p { margin-top: 12px; }
  .footer-brand { display: block; }
  .footer-brand > .newsletter-form { margin-top: 22px; max-width: 360px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .whatsapp-float { right: 14px; bottom: 14px; height: 52px; padding: 0 13px; }
  /* aviso compacto (~64 px): texto curto em até 2 linhas e "Entendi" na mesma linha, acima do WhatsApp flutuante
     (e, no orçamento, logo acima da barra do passo, que vai até 66 px do rodapé) */
  .cookie-banner, body:has(.qt-wizard) .cookie-banner { left: 10px; right: 10px; bottom: 76px; max-width: none; gap: 12px; padding: 10px 10px 10px 14px; border-radius: 18px; font-size: 13px; line-height: 1.4; }
  .cookie-banner .ico, .cookie-banner .ck-long { display: none; }
  .cookie-banner .ck-short { display: inline; }
  .cookie-banner .btn { flex: none; --h: 40px; padding: 0 16px; }
  html:has(#cookie-banner:not([hidden])) { scroll-padding-bottom: var(--cookie-space, 160px); }
  html:has(#cookie-banner:not([hidden])) body { padding-bottom: var(--cookie-space, 160px); }
  html:has(.qt-wizard) { scroll-padding-bottom: 84px; }
  html:has(.qt-wizard):has(#cookie-banner:not([hidden])) { scroll-padding-bottom: var(--cookie-space, 160px); }
  .filters { flex-wrap: nowrap; overflow-x: auto; margin: 0 calc(var(--pad-x) * -1) 22px; padding: 2px var(--pad-x) 6px; scrollbar-width: none; }
  .filters::-webkit-scrollbar { display: none; }
  .filters a, .filters button { flex: none; }
  .wizard { padding: 20px 16px; border-radius: 20px; }
  .option-grid { grid-template-columns: minmax(0, 1fr); }
  .proposal-head, .proposal-body, .proposal-actions { padding: 22px; }
  .hide-m { display: none !important; } .show-m { display: block; }
  .prose { font-size: 16px; }
  .app-tiles { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
  .app-tile { min-height: 80px; padding: 12px 4px 10px; border-radius: 14px; }
  .app-tile span { font-size: 12px; }
}
@media (max-width: 380px) {
  .hide-xxs { display: none; }
  .trust-logos { gap: 14px 18px; }
  .trust-logos img { height: calc(var(--lh, 26px) * .66); }
  :root { --fs-hero: 33px; --fs-hero-home: 36px; --fs-hero-util: 30px; }
  h1 { font-size: 31px; }
  .nav-cta { padding: 0 12px; font-size: 13px; }
  .logo { height: 23px; }
}

/* ==========================================================================
   37b. Celular e toque: zoom do iPhone, desempenho do vidro, alvos de toque
   ========================================================================== */
/* campos com 16 px no celular: o Safari do iPhone não amplia a página ao tocar */
@media (max-width: 720px) {
  .input-box input, .input-box select, .input-box textarea,
  .field input:not([type=checkbox]):not([type=radio]), .field select, .field textarea,
  .input, .select, .textarea, .newsletter-row input { font-size: 16px; }
}
/* celular / toque: atrás dos painéis só existe o fundo já desfocado, então o backdrop-filter não acrescenta nada
   e custa caro a cada quadro de rolagem. Fica só no cabeçalho, no menu e nos cartões flutuantes (parados). */
@media (max-width: 720px), (pointer: coarse) {
  .panel, .section, .page-header, .error-page, .form-card, .sticky-box, .glass-card.blur { -webkit-backdrop-filter: none; backdrop-filter: none; }
  .float-card.floaty, .float-card.floaty-slow, .bubble.floaty-rev { animation: none; }
}
/* alvos de toque confortáveis também no tablet (até 1080 px ou qualquer tela de toque) */
@media (max-width: 1080px), (pointer: coarse) {
  /* links do rodapé: mesmo espaço entre todos os itens, tenham uma ou duas linhas (alvo de ~36 px) */
  .footer-col { gap: 0; }
  .footer-col a, .footer-col span { display: block; min-height: 0; padding: 8px 0; line-height: 1.4; }
  .footer-col h3 { margin-bottom: 4px; }
  .footer-bottom nav a { padding: 8px 0; }
  .history .chip { min-height: 36px; }
}
/* toque: sem efeito de "levantar" preso depois do toque */
@media (hover: none) {
  a.card:hover, .card.hover:hover, .card.is-link:hover, .work-card:hover, .post-card:hover, .step:hover, .app-tile:hover, a.chip:hover, .social a:hover,
  .btn-dark:hover, .btn-primary:hover, .btn-grad:hover, .btn-glass:hover, .btn-outline:hover, .btn-light:hover, .btn-secondary:hover, .btn-whatsapp:hover,
  .whatsapp-float:hover, .option:hover > span { transform: none; }
  .work-card:hover .work-media img, .work-card:hover .work-cover img, .btn:hover .arr { transform: none; }
}
/* tela baixa (celular deitado, notebook pequeno com zoom): moldura e cabeçalho mais finos, menu rolável com botões fixos embaixo */
@media (max-height: 520px) and (max-width: 1080px) {
  .frame { margin: 0; padding: 8px; }
  .site-header { height: 58px; top: 6px; }
  .mobile-menu { max-height: calc(100vh - 76px); max-height: calc(100dvh - 76px); }
  .mobile-menu nav a { min-height: 42px; }
}

/* ==========================================================================
   38. Impressão
   ========================================================================== */
@media print {
  .site-header, .site-footer, .whatsapp-float, .cookie-banner, .proposal-actions, .no-print, .site-bg, .deco, .cta-band { display: none !important; }
  body { background: #fff; }
  .frame, .panel, .section, .page-header, .proposal { box-shadow: none !important; border: 0 !important; background: #fff !important; -webkit-backdrop-filter: none !important; backdrop-filter: none !important; margin: 0 !important; padding: 0 !important; }
  html.js .reveal { opacity: 1 !important; transform: none !important; }
}
