@font-face { font-family: "Bricolage Grotesque"; src: url("/fonts/bricolage.woff2") format("woff2"); font-weight: 200 800; font-display: swap; }
@font-face { font-family: "Instrument Sans"; src: url("/fonts/instrument.woff2") format("woff2"); font-weight: 400 700; font-display: swap; }

/* tema lagoon-gold (21st.dev), so claro: petroleo na estrutura, dourado na acao */
:root {
  --bg: #f4f9fa;
  --bg-2: #e8f0f2;
  --card: #ffffff;
  --field: #eef4f5;
  --line: #d4e1e4;
  --text: #0e2329;
  --muted: #56686d;
  --accent: #02677f;
  --accent-2: #03a2bc;
  --on-accent: #ffffff;
  --gold: #ffb500;
  --on-gold: #2e1e05;
  --ok: #237a33;
  --dim: #7f9399;
  --radius: 8px;
  --max: 1160px;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: 84px; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 17px/1.62 "Instrument Sans", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
}
img, svg { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: "Bricolage Grotesque", system-ui, sans-serif; line-height: 1.04; letter-spacing: -.03em; margin: 0 0 .5em; text-wrap: balance; }
h1 { font-size: clamp(2.3rem, 5.6vw, 4rem); font-weight: 800; }
h2 { font-size: clamp(1.8rem, 3.6vw, 2.6rem); font-weight: 800; }
h3 { font-size: 1.22rem; font-weight: 700; letter-spacing: -.015em; line-height: 1.2; }
p { margin: 0 0 1em; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 6px; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--accent); color: var(--on-accent); padding: 8px 14px; border-radius: 8px; z-index: 100; }
.skip:focus { left: 8px; }
.wrap { width: min(100% - 32px, var(--max)); margin-inline: auto; }
.muted { color: var(--muted); }
section { padding: clamp(64px, 9vw, 112px) 0; }
.alt { background: var(--bg-2); border-block: 1px solid var(--line); }
.head { max-width: 720px; margin-bottom: 44px; }
.head p { color: var(--muted); font-size: 1.08rem; }

/* botões */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 14px 24px; border-radius: 999px; font-weight: 700; text-decoration: none;
  border: 1px solid transparent; cursor: pointer; font-size: 1rem; transition: transform .15s;
}
.btn-primary { background: var(--gold); color: var(--on-gold); box-shadow: 0 6px 18px -8px rgba(160, 110, 0, .55); }
.btn-primary:hover { transform: translateY(-2px); }
.btn-ghost { border-color: var(--line); background: transparent; color: var(--text); }
.btn-ghost:hover { border-color: var(--accent); }
.btn svg { width: 20px; height: 20px; }

/* header */
.top { position: sticky; top: 0; z-index: 50; background: color-mix(in srgb, var(--bg) 86%, transparent); border-bottom: 1px solid var(--line); }
@supports (backdrop-filter: blur(8px)) { .top { backdrop-filter: saturate(160%) blur(10px); } }
.top .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 68px; }
.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 800; font-size: 1.15rem; letter-spacing: -.02em; }
.logo svg { width: 34px; height: 34px; }
.nav { display: flex; gap: 26px; }
.nav a { text-decoration: none; color: var(--muted); font-weight: 600; font-size: .95rem; }
.nav a:hover { color: var(--text); }
.top .btn { padding: 10px 18px; font-size: .92rem; }
.acts { display: flex; align-items: center; gap: 10px; }
@media (max-width: 880px) { .nav { display: none; } }
@media (max-width: 420px) { .top .btn span { display: none; } }

/* hero */
.hero { position: relative; overflow: hidden; padding: clamp(56px, 8vw, 104px) 0 clamp(64px, 8vw, 96px); }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(600px 340px at 78% 30%, color-mix(in srgb, var(--accent) 22%, transparent), transparent 70%),
    radial-gradient(500px 300px at 10% 90%, color-mix(in srgb, var(--accent-2) 16%, transparent), transparent 70%),
    linear-gradient(var(--line) 1px, transparent 1px) 0 0 / 44px 44px,
    linear-gradient(90deg, var(--line) 1px, transparent 1px) 0 0 / 44px 44px;
  mask-image: linear-gradient(#000 60%, transparent);
}
.hero .wrap { display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: center; }
.hero p.lead { font-size: 1.18rem; color: var(--muted); max-width: 560px; }
.hero .ctas { display: flex; flex-wrap: wrap; gap: 12px; margin: 28px 0 18px; }
.hero small { color: var(--muted); }
.badge { display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px; border: 1px solid var(--line); border-radius: 999px; font-size: .85rem; color: var(--muted); margin-bottom: 22px; background: var(--card); }
.badge i { width: 8px; height: 8px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 0 4px color-mix(in srgb, var(--ok) 25%, transparent); }
@media (max-width: 880px) { .hero .wrap { grid-template-columns: 1fr; } }

/* hero: os 4 produtos empilhados em 3D */
.stack { position: relative; height: 540px; perspective: 2000px; }
.layers { position: absolute; inset: 0; transform-style: preserve-3d; transform: rotateX(50deg) rotateZ(-30deg) translate(0, 110px); }
.layer {
  position: absolute; left: 50%; top: 50%; width: 400px; height: 250px; margin: -125px 0 0 -200px;
  border-radius: 16px; border: 1px solid color-mix(in srgb, var(--accent) 50%, var(--line));
  background: linear-gradient(160deg, color-mix(in srgb, var(--accent) 7%, var(--card)), var(--card));
  box-shadow: -24px 34px 50px -24px rgba(14, 35, 41, .28);
  transform: translateZ(calc(var(--i) * 88px));
  will-change: transform, opacity; backface-visibility: hidden;
  animation: cycle 12s cubic-bezier(.45, 0, .25, 1) infinite;
  animation-delay: calc(var(--i) * -3s);
  padding: 30px 18px 16px; overflow: hidden;
}
.stack:hover .layer { animation-play-state: paused; }
/* rodízio: cada camada sobe um andar a cada 3 s; a do topo brilha, sai por cima e volta por baixo */
@keyframes cycle {
  0%, 20%, 100% { transform: translateZ(0); opacity: 1; }
  25%, 45% { transform: translateZ(88px); }
  50%, 70% { transform: translateZ(176px); }
  75%, 92% { transform: translateZ(264px); opacity: 1; }
  96% { transform: translateZ(340px); opacity: 0; }
  97% { transform: translateZ(-80px); opacity: 0; }
}
/* brilho do card do topo: só opacidade, sem repintar sombra a cada quadro */
.layer::after { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; border: 1px solid var(--accent); box-shadow: inset 0 0 36px -8px var(--accent); opacity: 0; animation: glow 12s infinite; animation-delay: inherit; }
@keyframes glow { 0%, 72% { opacity: 0; } 76%, 92% { opacity: 1; } 95%, 100% { opacity: 0; } }
.stack:hover .layer::after { animation-play-state: paused; }
.ltag { position: absolute; top: 8px; left: 12px; font-size: .7rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--accent); }
.layer i, .layer b { display: block; font-style: normal; }
/* landing */
.ui-land small { display: block; font-size: .66rem; font-weight: 700; color: var(--accent); text-transform: uppercase; letter-spacing: .08em; }
.ui-land b { font-size: 1.05rem; line-height: 1.2; font-weight: 800; margin: 4px 0; }
.ui-land p { font-size: .72rem; color: var(--muted); margin: 0 0 10px; }
.ui-buy { display: flex; align-items: center; gap: 10px; }
.ui-buy em { font-style: normal; font-size: .72rem; font-weight: 700; }
.ui-btn { display: inline-block; font-size: .72rem; font-weight: 700; padding: 7px 14px; border-radius: 999px; background: linear-gradient(90deg, var(--accent), var(--accent-2)); color: var(--on-accent); }
.ui-proof { margin-top: 12px; font-size: .72rem; color: #f5b301; }
.ui-proof span { color: var(--muted); }
/* site */
.ui-nav { display: flex; gap: 10px; align-items: center; margin-bottom: 10px; font-size: .66rem; color: var(--muted); }
.ui-nav b { color: var(--text); font-size: .8rem; margin-right: auto; }
.ui-title { font-size: .95rem; font-weight: 800; line-height: 1.2; margin: 0 0 10px; }
.ui-cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.ui-cols div { border-radius: 10px; background: var(--field); border: 1px solid var(--line); padding: 10px 8px; min-height: 76px; }
.ui-cols b { font-size: .74rem; margin-bottom: 4px; }
.ui-cols span { display: block; font-size: .64rem; color: var(--muted); line-height: 1.3; }
/* painel */
.ui-panel { display: grid; grid-template-columns: 72px 1fr; gap: 10px; height: 100%; }
.ui-side { background: var(--field); border-radius: 10px; padding: 10px 8px; display: grid; align-content: start; gap: 9px; font-size: .64rem; color: var(--muted); }
.ui-side b { color: var(--accent); font-size: .66rem; }
.ui-head { display: flex; justify-content: space-between; align-items: baseline; font-size: .64rem; color: var(--muted); margin-bottom: 6px; }
.ui-head b { color: var(--text); font-size: .9rem; }
.ui-bars { display: flex; align-items: flex-end; gap: 6px; height: 64px; padding: 6px 8px; border-radius: 10px; background: var(--field); }
.ui-bars i { flex: 1; height: var(--h); border-radius: 4px 4px 0 0; background: linear-gradient(var(--accent), var(--accent-2)); }
.ui-rows { display: grid; gap: 5px; margin-top: 7px; }
.ui-rows div { display: grid; grid-template-columns: 1fr auto auto; gap: 8px; align-items: center; font-size: .64rem; background: var(--field); border-radius: 6px; padding: 4px 8px; color: var(--muted); }
.ui-rows b { color: var(--text); font-size: .66rem; }
.ui-rows em { font-style: normal; font-weight: 700; color: var(--ok); }
.ui-rows em.w { color: var(--accent); }
/* saas */
.ui-saas { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.ui-kpi { background: var(--field); border-radius: 12px; padding: 12px; border: 1px solid var(--line); }
.ui-kpi small { display: block; font-size: .68rem; color: var(--muted); }
.ui-kpi b { font-size: 1.25rem; font-weight: 800; letter-spacing: -.02em; }
.ui-kpi em { font-style: normal; font-size: .72rem; font-weight: 700; color: var(--ok); }
.ui-pix { grid-column: 1 / -1; display: flex; align-items: center; gap: 8px; font-size: .78rem; font-weight: 700; padding: 10px 12px; border-radius: 12px; background: color-mix(in srgb, var(--ok) 14%, var(--field)); color: var(--ok); }
.ui-pix i { width: 9px; height: 9px; border-radius: 50%; background: var(--ok); }
@media (max-width: 880px) { .hero .wrap { grid-template-columns: 1fr; } .stack { height: 440px; margin-top: 70px; } .layers { transform: rotateX(50deg) rotateZ(-30deg) translate(0, 80px) scale(.85); } }
@media (max-width: 480px) { .stack { height: 330px; margin-top: 90px; } .layers { transform: rotateX(50deg) rotateZ(-30deg) translate(0, 50px) scale(.64); } }

/* acabamento geral */
.hero h1 { font-size: clamp(2.6rem, 6vw, 4.6rem); font-weight: 800; letter-spacing: -.045em; }
@media (min-width: 881px) { .hero .wrap { grid-template-columns: 1fr 1fr; } }
.work:hover { border-color: var(--accent); }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; } }

/* números */
.stats { border-block: 1px solid var(--line); background: var(--bg-2); padding: 28px 0; }
.stats .wrap { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; text-align: center; }
.stats strong { display: block; font-family: "Bricolage Grotesque", system-ui, sans-serif; font-size: clamp(1.8rem, 3.4vw, 2.6rem); font-weight: 800; letter-spacing: -.04em; }
.stats span { color: var(--muted); font-size: .92rem; }
@media (max-width: 720px) { .stats .wrap { grid-template-columns: repeat(2, 1fr); } }

/* cards */
.grid { display: grid; gap: 20px; }
.g2 { grid-template-columns: repeat(2, 1fr); }
.g3 { grid-template-columns: repeat(3, 1fr); }
.g4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 980px) { .g4 { grid-template-columns: repeat(2, 1fr); } .g3 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .g2, .g3, .g4 { grid-template-columns: 1fr; } }
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; display: flex; flex-direction: column; }
.card p { color: var(--muted); }
.ico { width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; margin-bottom: 18px; background: color-mix(in srgb, var(--accent) 14%, transparent); color: var(--accent); }
.ico svg { width: 24px; height: 24px; }
.price { margin-top: auto; padding-top: 16px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.price b { font-size: 1.25rem; }
.price small { color: var(--muted); }
.more { margin-top: 14px; color: var(--accent); font-weight: 700; text-decoration: none; }
.more:hover { text-decoration: underline; }

/* portfólio com filtro em CSS puro */
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 28px; border: 0; padding: 0; }
.filters input { position: absolute; opacity: 0; pointer-events: none; }
.filters label { padding: 8px 16px; border-radius: 999px; border: 1px solid var(--line); cursor: pointer; font-weight: 600; font-size: .92rem; color: var(--muted); }
.filters input:checked + label { background: var(--accent); border-color: var(--accent); color: var(--on-accent); }
.filters input:focus-visible + label { outline: 3px solid var(--accent); outline-offset: 2px; }
.work { padding: 0; overflow: hidden; }
.work img { width: 100%; aspect-ratio: 8 / 5; object-fit: cover; border-bottom: 1px solid var(--line); }
.work .body { padding: 22px; display: flex; flex-direction: column; flex: 1; }
.tags { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 10px; }
.tags span { font-size: .75rem; font-weight: 700; padding: 3px 10px; border-radius: 999px; background: var(--field); color: var(--muted); }
.result { margin-top: auto; color: var(--ok) !important; font-weight: 600; font-size: .95rem; }
#portfolio:has(#f-landing:checked) .work:not([data-t~="landing"]),
#portfolio:has(#f-site:checked) .work:not([data-t~="site"]),
#portfolio:has(#f-painel:checked) .work:not([data-t~="painel"]),
#portfolio:has(#f-saas:checked) .work:not([data-t~="saas"]) { display: none; }

/* processo */
/* processo: linha do tempo (e uma sequencia de verdade, por isso numerada) */
.timeline { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; counter-reset: s; }
.timeline li { position: relative; padding-top: 58px; }
.timeline li::before { counter-increment: s; content: counter(s); position: absolute; top: 0; left: 0; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; font: 800 1.05rem/1 "Bricolage Grotesque", sans-serif; color: var(--accent); background: var(--bg); border: 1px solid var(--accent); z-index: 1; }
.timeline li::after { content: ""; position: absolute; top: 20px; left: 40px; right: -28px; border-top: 1px dashed var(--dim); }
.timeline li:last-child::after { display: none; }
.timeline p { color: var(--muted); margin: 0; }
@media (max-width: 880px) {
  .timeline { grid-template-columns: 1fr; gap: 0; }
  .timeline li { padding: 0 0 28px 60px; min-height: 40px; }
  .timeline li::after { top: 40px; left: 20px; right: auto; bottom: 0; border-top: 0; border-left: 1px dashed var(--dim); }
}

/* servicos: tabela de medidas, com o prazo desenhado como linha de cota */
.spec { list-style: none; padding: 0; margin: 0; border-top: 1px solid var(--line); }
.spec li { display: grid; grid-template-columns: 1.3fr 1fr auto; gap: 18px 36px; align-items: center; padding: 26px 0; border-bottom: 1px solid var(--line); }
.spec h3 { margin: 0 0 4px; font-size: 1.45rem; }
.spec h3 a { text-decoration: none; }
.spec h3 a:hover { color: var(--accent); }
.spec-name p { color: var(--muted); margin: 0; max-width: 46ch; }
/* barra 3D arredondada: a profundidade vem de sombras empilhadas (mantem o canto redondo do resto do site) */
.cota { display: flex; gap: 18px; padding-top: 12px; --depth: color-mix(in srgb, var(--accent-2) 55%, #000); }
.cota span { position: relative; display: block; flex: none; width: var(--d); min-width: 124px; height: 34px; border-radius: 10px; background: linear-gradient(90deg, var(--accent), var(--accent-2)); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .35), inset 0 -8px 12px -6px rgba(0, 0, 0, .25), 1px -1px 0 var(--depth), 2px -2px 0 var(--depth), 3px -3px 0 var(--depth), 4px -4px 0 var(--depth), 5px -5px 0 var(--depth), 6px -6px 0 var(--depth), 7px -7px 0 var(--depth), 8px -8px 0 var(--depth), 9px -9px 0 var(--depth), 10px -10px 0 var(--depth); }
.cota em { position: relative; display: block; padding: 0 14px; font-style: normal; font-size: .82rem; font-weight: 700; line-height: 34px; color: var(--on-accent); white-space: nowrap; }
/* SaaS: por etapas = blocos separados que vao sumindo */
.cota.open span { width: 19%; min-width: 0; }
.cota.open span:first-child { min-width: 96px; }
.cota.open span:nth-child(2) { opacity: .7; }
.cota.open span:nth-child(3) { opacity: .45; }
.cota.open span:nth-child(4) { opacity: .22; }
.spec-price { text-align: right; min-width: 128px; }
.spec-price small { display: block; color: var(--muted); font-size: .8rem; }
.spec-price b { font: 800 1.6rem/1.1 "Bricolage Grotesque", sans-serif; letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
@media (max-width: 720px) { .spec li { grid-template-columns: 1fr auto; } .spec-name { grid-column: 1 / -1; } }

/* marcas de corte (o "molde") em volta do texto do hero */
.frame { position: relative; padding: 28px 30px; }
.frame::before { content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    linear-gradient(var(--dim), var(--dim)) top left / 18px 1px no-repeat,
    linear-gradient(var(--dim), var(--dim)) top left / 1px 18px no-repeat,
    linear-gradient(var(--dim), var(--dim)) top right / 18px 1px no-repeat,
    linear-gradient(var(--dim), var(--dim)) top right / 1px 18px no-repeat,
    linear-gradient(var(--dim), var(--dim)) bottom left / 18px 1px no-repeat,
    linear-gradient(var(--dim), var(--dim)) bottom left / 1px 18px no-repeat,
    linear-gradient(var(--dim), var(--dim)) bottom right / 18px 1px no-repeat,
    linear-gradient(var(--dim), var(--dim)) bottom right / 1px 18px no-repeat; }
@media (max-width: 520px) { .frame { padding: 20px 16px; } }

/* pacotes */
/* planos: painel colorido no topo (manchas + granulado) e lista embaixo */
.plans { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
@media (max-width: 1080px) { .plans { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .plans { grid-template-columns: 1fr; } }
.plan { display: flex; flex-direction: column; background: var(--card); border: 1px solid var(--line); border-radius: 18px; padding: 5px; }
.plan-top { position: relative; overflow: hidden; isolation: isolate; border-radius: 14px; padding: 20px; border: 1px solid rgba(14, 35, 41, .06); display: flex; flex-direction: column; gap: 6px;
  background: radial-gradient(circle at 100% 0, var(--blob-a) 0, transparent 58%), radial-gradient(circle at 0 70%, var(--blob-b) 0, transparent 55%), var(--base); }
.plan-top::after { content: ""; position: absolute; inset: 0; z-index: -1; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.7' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); opacity: .35; mix-blend-mode: overlay; pointer-events: none; }
.p-sky { --base: #e6f5f8; --blob-a: rgba(3, 162, 188, .55); --blob-b: rgba(191, 230, 238, .9); --orb: #03a2bc; }
.p-gold { --base: #fff6dc; --blob-a: rgba(255, 181, 0, .6); --blob-b: rgba(255, 228, 150, .9); --orb: #e09a00; }
.p-teal { --base: #dff0ee; --blob-a: rgba(2, 103, 127, .5); --blob-b: rgba(159, 214, 207, .9); --orb: #02677f; }
.p-slate { --base: #e9eef0; --blob-a: rgba(127, 147, 153, .55); --blob-b: rgba(212, 225, 228, .95); --orb: #56686d; }
.plan-id { display: flex; align-items: center; gap: 8px; margin-bottom: 6px; }
.ptag { font-size: .75rem; font-weight: 700; padding: 3px 10px; border-radius: 999px; background: rgba(14, 35, 41, .1); color: rgba(14, 35, 41, .75); }
.plan h3 { margin: 0; font-size: 1.3rem; }
.pdesc { min-height: 3.1em; margin: 0 0 8px; font-size: .9rem; color: rgba(14, 35, 41, .65); }
.plan .from { color: rgba(14, 35, 41, .55); font-size: .8rem; }
.plan .val { font: 800 2rem/1.05 "Bricolage Grotesque", sans-serif; letter-spacing: -.035em; margin-bottom: 10px; font-variant-numeric: tabular-nums; }
.pbtn { display: block; text-align: center; padding: 11px 16px; border-radius: 999px; font-weight: 700; font-size: .95rem; text-decoration: none; color: var(--text); background: rgba(255, 255, 255, .72); }
.pbtn:hover { background: rgba(255, 255, 255, .95); }
.pbtn.dark { background: var(--text); color: #fff; }
.pbtn.dark:hover { background: #1d3a42; }
.plan ul, .list { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.plan ul { padding: 20px 14px 18px; flex: 1; align-content: start; }
.plan li, .list li { padding-left: 26px; position: relative; color: var(--muted); font-size: .94rem; }
.plan li::before, .list li::before { content: ""; position: absolute; left: 0; top: .3em; width: 16px; height: 16px; border-radius: 50%; background: color-mix(in srgb, var(--accent) 14%, transparent) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2302677f' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5L20 7'/%3E%3C/svg%3E") center / 10px no-repeat; }
.pfoot { margin: 0 14px 12px; padding-top: 12px; border-top: 1px solid var(--line); display: grid; gap: 2px; }
.pfoot b { font-size: .82rem; }
.pfoot span { font-size: .8rem; color: var(--muted); }
/* bolinha com olhos (versao CSS do avatar do componente) */
.orb { position: relative; width: 32px; height: 32px; border-radius: 40%; display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  background: radial-gradient(circle at 30% 24%, rgba(255, 255, 255, .7), transparent 45%), radial-gradient(circle at 50% 45%, color-mix(in srgb, var(--orb) 70%, #000) 0, var(--orb) 45%, color-mix(in srgb, var(--orb) 45%, #fff) 75%, #fff 100%);
  box-shadow: 0 0 14px 2px color-mix(in srgb, var(--orb) 30%, transparent); }
.orb i { width: 4px; height: 7px; border-radius: 4px; background: #fff; transform: translateY(-2px); animation: blink 3.6s ease-in-out infinite; }
.orb i + i { animation-delay: 60ms; }
@keyframes blink { 0%, 88%, 100% { transform: translateY(-2px) scaleY(1); } 93%, 97% { transform: translateY(-2px) scaleY(.07); } }

/* simulador */
.sim { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; align-items: start; }
@media (max-width: 880px) { .sim { grid-template-columns: 1fr; } }
.sim form { display: grid; gap: 22px; }
.sim fieldset { border: 0; margin: 0; padding: 0; }
.sim legend { font-weight: 700; margin-bottom: 10px; }
.opts { display: flex; flex-wrap: wrap; gap: 8px; }
.opts label { display: flex; align-items: center; gap: 8px; padding: 10px 14px; border: 1px solid var(--line); border-radius: 12px; background: var(--field); cursor: pointer; font-size: .95rem; }
.opts label:has(input:checked) { border-color: var(--accent); background: color-mix(in srgb, var(--accent) 12%, var(--field)); }
.opts input { accent-color: var(--accent); }
.out { position: sticky; top: 90px; }
.out .val { font-size: 2.4rem; font-weight: 800; letter-spacing: -.03em; }

/* garantias */
.guar { display: grid; grid-template-columns: 1fr 1fr; gap: 0 48px; }
.guar > div { display: flex; gap: 16px; align-items: flex-start; padding: 22px 0; border-top: 1px solid var(--line); }
.guar p { color: var(--muted); }
@media (max-width: 720px) { .guar { grid-template-columns: 1fr; } }
.guar .ico { flex: none; margin: 0; }
.guar h3 { margin-bottom: .3em; }
.guar p { margin: 0; }

/* FAQ */
.faq { max-width: 820px; }
.faq details { border-bottom: 1px solid var(--line); padding: 18px 0; }
.faq summary { cursor: pointer; font-weight: 700; font-size: 1.05rem; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--accent); font-size: 1.4rem; line-height: 1; transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { color: var(--muted); margin: 12px 0 0; }

/* CTA final */
.final { text-align: center; }
.final .box { background: radial-gradient(500px 220px at 50% 0, color-mix(in srgb, var(--accent) 22%, transparent), transparent 70%), var(--card); border: 1px solid var(--line); border-radius: 24px; padding: clamp(36px, 6vw, 64px) 24px; }
.final p { color: var(--muted); max-width: 560px; margin: 0 auto 26px; }

/* páginas de serviço */
.crumbs { font-size: .88rem; color: var(--muted); margin-bottom: 18px; }
.crumbs a { color: var(--muted); }
.prose { max-width: 760px; }
.prose p, .prose li { color: var(--muted); }
.prose h2 { margin-top: 1.4em; font-size: clamp(1.5rem, 3vw, 2rem); }
.prose ul { padding-left: 1.2em; }
.prose li { margin-bottom: .4em; }
.split { display: grid; grid-template-columns: 1.4fr 1fr; gap: 40px; align-items: start; }
@media (max-width: 880px) { .split { grid-template-columns: 1fr; } }
.aside { position: sticky; top: 90px; }

/* rodapé */
.foot { border-top: 1px solid var(--line); padding: 48px 0 28px; color: var(--muted); font-size: .94rem; }
.foot .wrap > div:first-child { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 32px; margin-bottom: 32px; }
@media (max-width: 720px) { .foot .wrap > div:first-child { grid-template-columns: 1fr; } }
.foot h3 { color: var(--text); font-size: 1rem; }
.foot ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.foot a { text-decoration: none; }
.foot a:hover { color: var(--text); }
.foot .copy { border-top: 1px solid var(--line); padding-top: 20px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; }

/* botão flutuante do WhatsApp */
.wa { position: fixed; right: 18px; bottom: calc(18px + env(safe-area-inset-bottom)); z-index: 60; width: 58px; height: 58px; border-radius: 50%; background: #25d366; color: #fff; display: grid; place-items: center; box-shadow: 0 10px 30px -8px rgba(37, 211, 102, .7); transition: transform .15s; }
.wa:hover { transform: scale(1.07); }
.wa svg { width: 30px; height: 30px; }

/* numeros alinhados em precos e indicadores */
.price b, .plan .val, .out .val, .stats strong, .ui-kpi b { font-variant-numeric: tabular-nums; }

/* quadro de preco lateral das paginas de servico (nao tem o painel colorido) */
.aside.plan { padding: 26px; border-color: var(--accent); box-shadow: inset 0 0 0 1px var(--accent); }
.aside.plan ul { padding: 18px 0 24px; }
.aside.plan .btn { margin-top: auto; }

/* quem somos */
.about { display: grid; grid-template-columns: 1.4fr 1fr; gap: 48px; align-items: center; }
.about p { color: var(--muted); max-width: 60ch; }
.about strong { color: var(--text); }
.who { gap: 6px; align-items: flex-start; --orb: #02677f; }
.who .orb { width: 44px; height: 44px; margin-bottom: 8px; }
.who b { font: 800 1.35rem/1.2 "Bricolage Grotesque", sans-serif; }
.who > span:not(.orb) { color: var(--muted); font-size: .95rem; }
.who .btn { margin-top: 14px; }
@media (max-width: 880px) { .about { grid-template-columns: 1fr; } }
.who .mail { color: var(--accent); font-size: .95rem; font-weight: 600; }
