/* =====================================================================
   MonetFy — tema claro (branco + verde esmeralda) e escuro (preto + verde esmeralda)
   Estrutura visual inspirada no template da loja: cabeçalho fixo com busca,
   carrossel, cards arredondados, faixa de avaliações, comunidade, FAQ e rodapé.
   ===================================================================== */
:root {
  --bg: #f4f6fb; --card: #ffffff; --card2: #eef1f9; --border: #e1e6f3; --fg: #0a0f1f; --muted: #5a6479;
  --primary: #10B981; --primary-rgb: 16, 185, 129; --pt: #047857; --pd: #047857; --pfg: #ffffff;
  --shadow: 0 1px 2px rgba(15, 23, 42, .06); --shadow-lg: 0 18px 40px rgba(15, 23, 42, .14);
  --hdr: rgba(255, 255, 255, .95); --glass: rgba(255, 255, 255, .6);
  --grad: linear-gradient(120deg, #0A0A0A 0%, #047857 55%, #10B981 100%);
  color-scheme: light;
}
:root[data-tema="dark"] {
  --bg: #05070c; --card: #0b0f17; --card2: #111827; --border: rgba(255, 255, 255, .1); --fg: #f3f5fb; --muted: #9aa5ba;
  --pt: #34d399; --shadow: 0 1px 2px rgba(0, 0, 0, .4); --shadow-lg: 0 18px 40px rgba(0, 0, 0, .55);
  --hdr: rgba(11, 15, 23, .95); --glass: rgba(255, 255, 255, .04);
  color-scheme: dark;
}
/* ===== tela de carregamento (cobre tudo até a página terminar de montar) ===== */
#nf-loader { position: fixed; inset: 0; z-index: 9999; display: flex; align-items: center; justify-content: center; background: var(--bg); transition: opacity .35s ease, visibility .35s ease; }
#nf-loader.nf-sai { opacity: 0; visibility: hidden; pointer-events: none; }
.nf-loader-mark { width: 46px; height: 46px; border-radius: 50%; border: 4px solid rgba(var(--primary-rgb), .18); border-top-color: var(--primary); animation: nf-gira .7s linear infinite; }
@keyframes nf-gira { to { transform: rotate(360deg); } }

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; }
body { background: var(--bg); color: var(--fg); font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; line-height: 1.55; -webkit-font-smoothing: antialiased; overflow-x: clip; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; background: none; border: 0; }
img, svg { display: block; }
:focus-visible { outline: 2px solid var(--primary); outline-offset: 2px; border-radius: 8px; }
[hidden] { display: none !important; }
.container { width: 100%; max-width: 80rem; margin: 0 auto; padding: 0 16px; }
.page { padding-top: 24px; display: grid; grid-template-columns: minmax(0, 1fr); gap: 56px; }
.muted { color: var(--muted); }

/* ===== botões ===== */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 0 20px; border-radius: 12px; font-weight: 700; font-size: .92rem; border: 1px solid transparent; transition: transform .18s, filter .2s, background .2s, border-color .2s, box-shadow .2s; white-space: nowrap; }
@media (hover: hover) { .btn:hover { transform: translateY(-2px); } }
.btn-primary { background: var(--primary); color: var(--pfg); box-shadow: 0 10px 24px -10px rgba(var(--primary-rgb), .9); }
.btn-primary:hover { filter: brightness(.94); }
.btn-outline { background: var(--card); border-color: var(--border); color: var(--fg); }
.btn-outline:hover { border-color: rgba(var(--primary-rgb), .5); color: var(--pt); }
.btn-lg { min-height: 50px; padding: 0 26px; font-size: 1rem; }
.btn-block { width: 100%; }
.icon-btn { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; border: 1px solid var(--border); background: var(--card); color: var(--fg); box-shadow: var(--shadow); transition: border-color .2s, background .2s; flex: none; }
.icon-btn:hover { border-color: rgba(var(--primary-rgb), .5); background: rgba(var(--primary-rgb), .06); }

/* ===== cabeçalho ===== */
.hdr { position: sticky; top: 0; z-index: 50; border-bottom: 1px solid var(--border); background: var(--hdr); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); box-shadow: 0 8px 22px rgba(15, 23, 42, .08); padding: 8px 12px; }
.hdr-in { max-width: 80rem; margin: 0 auto; height: 56px; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 0 4px; }
.hdr-left { display: flex; align-items: center; gap: 8px; }
.burger { display: none; }
.brand { display: flex; align-items: center; gap: 10px; padding: 6px 8px; border-radius: 12px; transition: background .25s; }
.brand:hover { background: rgba(var(--primary-rgb), .06); }
.brand-tile { width: 40px; height: 40px; border-radius: 12px; border: 1px solid var(--border); background: var(--grad); display: grid; place-items: center; color: #fff; box-shadow: var(--shadow); font-size: 1.05rem; font-weight: 800; overflow: hidden; }
.brand-name { display: flex; align-items: center; gap: 6px; font-weight: 900; font-size: 1rem; text-transform: uppercase; letter-spacing: .04em; }
.brand-name svg { color: var(--primary); flex: none; }
.nav-links { display: none; gap: 4px; }
.nav-links a { padding: 8px 12px; border-radius: 10px; font-size: .88rem; font-weight: 600; color: var(--muted); transition: color .2s, background .2s; }
.nav-links a:hover { color: var(--fg); background: rgba(var(--primary-rgb), .07); }
.search { position: relative; flex: 1; max-width: 24rem; min-width: 0; }
.search input { width: 100%; height: 44px; padding: 0 16px 0 46px; border-radius: 12px; border: 1px solid var(--border); background: var(--card); color: var(--fg); font: inherit; font-size: .9rem; box-shadow: var(--shadow); transition: border-color .2s, box-shadow .2s; }
.search input::placeholder { color: var(--muted); }
.search input:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 3px rgba(var(--primary-rgb), .2); }
.search > svg { position: absolute; left: 15px; top: 50%; transform: translateY(-50%); color: var(--primary); pointer-events: none; }
.results { position: absolute; top: calc(100% + 8px); left: 0; width: min(30rem, calc(100vw - 2rem)); background: var(--card); border: 1px solid var(--border); border-radius: 16px; box-shadow: var(--shadow-lg); padding: 8px; z-index: 60; display: grid; gap: 4px; }
.res { display: flex; align-items: center; gap: 12px; padding: 8px; border-radius: 12px; transition: background .15s; }
.res:hover, .res:focus-visible { background: rgba(var(--primary-rgb), .08); }
.res .thumb { width: 64px; height: 40px; flex: none; border-radius: 8px; }
.res .thumb .mock { display: none; }
.res b { display: block; font-size: .88rem; line-height: 1.25; }
.res small { color: var(--pt); font-weight: 700; font-size: .78rem; }
.res-vazio { padding: 14px; color: var(--muted); font-size: .9rem; }
.hdr-right { display: flex; align-items: center; gap: 8px; }
.only-mobile { display: none; }
.hdr-cta { display: flex; gap: 8px; }
.btn-wpp-h { gap: 8px; }

/* diálogo de busca (celular) e menu lateral */
.overlay { position: fixed; inset: 0; z-index: 998; background: rgba(0, 0, 0, .5); backdrop-filter: blur(4px); opacity: 0; pointer-events: none; transition: opacity .3s; }
.overlay.on { opacity: 1; pointer-events: auto; }
.side { position: fixed; top: 0; left: 0; z-index: 999; width: 288px; height: 100%; display: flex; flex-direction: column; background: var(--card); border-right: 1px solid rgba(var(--primary-rgb), .25); box-shadow: 0 16px 40px rgba(0, 0, 0, .35); transform: translateX(-100%); transition: transform .3s ease; }
.side.on { transform: none; }
.side-top { padding: 16px; border-bottom: 1px solid var(--border); display: grid; gap: 14px; justify-items: center; }
.side-top .close { justify-self: start; padding: 6px; border-radius: 8px; }
.side-top .close:hover { background: rgba(var(--primary-rgb), .1); }
.side nav { flex: 1; padding: 12px; display: grid; gap: 4px; align-content: start; overflow-y: auto; }
.side nav p, .side-soc p { font-size: .7rem; font-weight: 600; color: var(--muted); text-transform: uppercase; letter-spacing: .1em; padding: 0 12px; margin-bottom: 6px; }
.side nav a { display: flex; align-items: center; gap: 12px; padding: 12px; border-radius: 16px; font-size: .84rem; font-weight: 900; text-transform: uppercase; letter-spacing: .04em; color: var(--muted); transition: background .25s, color .25s; }
.side nav a:hover { background: rgba(var(--primary-rgb), .07); color: var(--fg); }
.side nav a.on { background: var(--primary); color: var(--pfg); }
.side-soc { padding: 16px; border-top: 1px solid var(--border); display: grid; gap: 8px; }
.side-soc a { padding: 8px 12px; font-size: .9rem; border-radius: 10px; color: var(--muted); }
.side-soc a:hover { background: rgba(var(--primary-rgb), .07); color: var(--fg); }
.dlg { position: fixed; z-index: 999; left: 50%; top: 12%; transform: translateX(-50%); width: min(32rem, calc(100vw - 2rem)); max-height: 76vh; overflow: auto; background: var(--card); border: 1px solid var(--border); border-radius: 20px; padding: 22px; box-shadow: var(--shadow-lg); display: none; gap: 14px; }
.dlg.on { display: grid; }
.dlg h2 { text-align: center; font-size: 1.3rem; }
.dlg .search { max-width: none; }
.dlg .results { position: static; width: 100%; box-shadow: none; border: 0; padding: 0; }

/* ===== títulos de seção ===== */
.pilltitle { display: inline-flex; padding: 8px 16px; border-radius: 999px; background: rgba(var(--primary-rgb), .1); border: 1px solid rgba(var(--primary-rgb), .3); font-weight: 600; font-size: .95rem; }
.eyebrow { font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .18em; color: var(--pt); }
.h2 { font-size: clamp(1.6rem, 3.6vw, 2.2rem); font-weight: 900; letter-spacing: -.03em; line-height: 1.15; }
.sec-head { text-align: center; display: grid; gap: 10px; }
.sec-head p { color: var(--muted); font-size: 1rem; }
.row-between { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.linkbtn { color: var(--pt); font-weight: 600; font-size: .9rem; }
.linkbtn:hover { text-decoration: underline; }
.pillbtn { padding: 8px 16px; border-radius: 12px; border: 1px solid var(--border); background: var(--card); color: var(--muted); font-weight: 600; font-size: .88rem; transition: all .3s; }
.pillbtn:hover { border-color: rgba(var(--primary-rgb), .4); color: var(--pt); }

/* ===== carrossel ===== */
.cs-stage { position: relative; height: 470px; perspective: 1700px; }
.cs { position: absolute; inset: 0; margin: auto; width: 54%; height: 100%; overflow: hidden; border-radius: 22px; background: #020409; border: 1px solid var(--border); box-shadow: 0 16px 32px rgba(15, 23, 42, .2); transform-style: preserve-3d; will-change: transform, opacity, filter; transition: transform 1s cubic-bezier(.22, .9, .2, 1), opacity .8s ease, filter .8s ease, box-shadow .8s ease; }
.cs[data-pos="0"] { z-index: 4; opacity: 1; transform: none; box-shadow: 0 30px 70px -24px rgba(var(--primary-rgb), .55), 0 18px 36px rgba(15, 23, 42, .25); }
.cs[data-pos="l"] { z-index: 2; opacity: .42; filter: brightness(.55) blur(1.5px); transform: translateX(-53%) translateY(26px) translateZ(-190px) rotateY(24deg) scale(.9); cursor: pointer; }
.cs[data-pos="r"] { z-index: 2; opacity: .42; filter: brightness(.55) blur(1.5px); transform: translateX(53%) translateY(26px) translateZ(-190px) rotateY(-24deg) scale(.9); cursor: pointer; }
.cs[data-pos="h"] { z-index: 1; opacity: 0; pointer-events: none; transform: translateZ(-320px) scale(.8); }
.cs-media, .cs-media .thumb { height: 100%; width: 100%; }
.cs-media .thumb { align-items: center; }
.cs-media .mock { width: 62%; height: 70%; margin-top: -6%; border-radius: 14px; }
.cs-badge { position: absolute; top: 16px; left: 16px; z-index: 3; padding: 9px 14px; border-radius: 999px; font-size: 11px; font-weight: 900; letter-spacing: .08em; background: #0A0A0A; color: #A7F3D0; }
.cs-det { position: absolute; left: 0; right: 0; bottom: 0; z-index: 3; display: flex; align-items: center; gap: 18px; padding: 18px; background: linear-gradient(90deg, rgba(0, 0, 0, .86), rgba(0, 0, 0, .62)); color: #fff; }
.cs-tag { clip-path: polygon(0 0, 100% 0, 82% 100%, 0 100%); padding: 18px 32px 18px 16px; background: var(--primary); color: #fff; font-size: 13px; font-weight: 900; letter-spacing: .16em; white-space: nowrap; }
.cs-info { min-width: 0; }
.cs-info small { display: block; font-size: 11px; font-weight: 700; color: #cbd5e1; text-transform: uppercase; letter-spacing: .06em; }
.cs-info strong { display: block; margin-top: 2px; font-size: 1.05rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cs-info b { display: block; margin-top: 2px; color: #6ee7b7; font-size: 1.4rem; font-weight: 900; }
.cs-btn { margin-left: auto; padding: 13px 28px; border-radius: 8px; border: 1px solid rgba(255, 255, 255, .35); font-size: 12px; font-weight: 800; white-space: nowrap; }
.cs-arrow { position: absolute; top: 50%; z-index: 6; width: 48px; height: 48px; margin-top: -24px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .35); background: rgba(15, 23, 42, .45); color: #fff; font-size: 32px; line-height: 1; backdrop-filter: blur(8px); transition: background .2s; }
.cs-arrow:hover { background: rgba(15, 23, 42, .7); }
.cs-l { left: 3%; } .cs-r { right: 3%; }
.cs-dots { display: flex; justify-content: center; align-items: center; gap: 8px; margin-top: 22px; }
.cs-dots button { position: relative; overflow: hidden; width: 24px; height: 6px; border-radius: 99px; background: var(--border); transition: width .45s cubic-bezier(.22, .9, .2, 1), background .3s; }
.cs-dots button:hover { background: rgba(var(--primary-rgb), .45); }
.cs-dots button.on { width: 52px; }
.cs-dots button.on::after { content: ""; position: absolute; inset: 0; background: var(--primary); border-radius: inherit; transform-origin: left; animation: cs-prog 5s linear both; }
.cs-dots.pause button.on::after { animation-play-state: paused; }
.cs-arrow:active { transform: scale(.9); }

/* ----- animações da troca de banner ----- */
.cs::after { content: ""; position: absolute; inset: 0; z-index: 5; pointer-events: none; transform: translateX(-130%); background: linear-gradient(105deg, transparent 35%, rgba(255, 255, 255, .32) 50%, transparent 65%); }
.cs[data-pos="0"]::after { animation: cs-varre 1.1s .2s ease-out both; }
.cs[data-pos="0"] { animation: cs-entra .9s cubic-bezier(.22, .9, .2, 1) both; }
.cs[data-pos="0"] .cs-media .thumb { animation: cs-zoom 9s ease-out both; }
.cs[data-pos="0"] .cs-badge { animation: cs-desce .6s .25s cubic-bezier(.22, .9, .2, 1) both; }
.cs[data-pos="0"] .cs-tag { animation: cs-direita .6s .35s cubic-bezier(.22, .9, .2, 1) both; }
.cs[data-pos="0"] .cs-info { animation: cs-sobe .6s .45s cubic-bezier(.22, .9, .2, 1) both; }
.cs[data-pos="0"] .cs-btn { animation: cs-esquerda .6s .55s cubic-bezier(.22, .9, .2, 1) both; }
.cs.tp { transition: opacity .01s, filter .7s ease; animation: cs-reaparece .8s both; }
@keyframes cs-prog { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@keyframes cs-varre { from { transform: translateX(-130%); } to { transform: translateX(130%); } }
@keyframes cs-entra { from { filter: brightness(.7) blur(3px); } to { filter: none; } }
@keyframes cs-zoom { from { transform: scale(1); } to { transform: scale(1.09); } }
@keyframes cs-desce { from { opacity: 0; transform: translateY(-14px); } to { opacity: 1; transform: none; } }
@keyframes cs-direita { from { opacity: 0; transform: translateX(-28px); } to { opacity: 1; transform: none; } }
@keyframes cs-sobe { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
@keyframes cs-esquerda { from { opacity: 0; transform: translateX(28px); } to { opacity: 1; transform: none; } }
@keyframes cs-reaparece { 0%, 45% { opacity: 0; } 100% { opacity: .38; } }

/* hero simples (quando há menos de 2 projetos) */
.hero-simple { text-align: center; padding: 56px 20px; border-radius: 28px; background: var(--card); border: 1px solid var(--border); box-shadow: var(--shadow); display: grid; gap: 16px; justify-items: center; }
.hero-simple h1 { font-size: clamp(2rem, 5vw, 3.2rem); font-weight: 900; letter-spacing: -.035em; line-height: 1.1; max-width: 18ch; }
.hero-simple p { color: var(--muted); max-width: 48ch; }
.hero-cta-dup { display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; }

/* ===== categorias: fileira única, em carrossel contínuo ===== */
.cats { display: flex; gap: 10px; overflow-x: auto; cursor: grab; scrollbar-width: none; user-select: none; margin: 0 -16px; padding: 4px 16px; }
.cats::-webkit-scrollbar { display: none; }
.cats:active { cursor: grabbing; }
.cat { flex: none; width: clamp(112px, 30vw, 150px); position: relative; overflow: hidden; display: flex; flex-direction: column; justify-content: flex-end; aspect-ratio: 3 / 4; padding: 14px; border-radius: 14px; border: 1px solid var(--border); box-shadow: 0 8px 18px rgba(15, 23, 42, .1); color: #fff; --h: 226;
  background: radial-gradient(circle at 15% 0%, hsla(var(--h), 90%, 66%, .8), transparent 60%), radial-gradient(circle at 100% 100%, hsla(calc(var(--h) - 14), 90%, 55%, .55), transparent 55%), hsl(var(--h), 55%, 14%);
  transition: transform .3s, border-color .3s, box-shadow .3s; }
.cat::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgba(255, 255, 255, .07) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .07) 1px, transparent 1px); background-size: 18px 18px; }
@media (hover: hover) { .cat:hover { transform: translateY(-4px); border-color: rgba(var(--primary-rgb), .6); box-shadow: 0 18px 32px rgba(15, 23, 42, .18); } }
.cat b { position: relative; font-size: 1.15rem; font-weight: 900; letter-spacing: -.02em; line-height: 1.15; }
.cat small { position: relative; opacity: .8; font-weight: 600; font-size: .78rem; }
.cat .cat-ico { position: absolute; top: 12px; right: 12px; width: 34px; height: 34px; border-radius: 10px; background: rgba(255, 255, 255, .16); display: grid; place-items: center; }

/* ===== categorias compactas: capa quadrada pequena + nome do lado ===== */
.catchips { display: flex; gap: 10px; overflow-x: auto; cursor: grab; scrollbar-width: none; user-select: none; margin: 0 -16px; padding: 4px 16px; }
.catchips::-webkit-scrollbar { display: none; }
.catchips:active { cursor: grabbing; }
.catchip { flex: none; display: flex; align-items: center; gap: 12px; background: var(--card); border: 1px solid var(--border); border-radius: 16px; padding: 8px 22px 8px 8px; box-shadow: var(--shadow); color: var(--fg); transition: transform .2s, border-color .2s; }
.catchip-img { flex: none; width: 52px; height: 52px; border-radius: 12px; object-fit: cover; }
.catchip-ico { flex: none; width: 52px; height: 52px; border-radius: 12px; display: grid; place-items: center; color: #fff; --h: 226; background: radial-gradient(circle at 20% 0%, hsla(var(--h), 90%, 66%, .9), transparent 60%), hsl(var(--h), 55%, 30%); }
.catchip b { font-size: 1rem; font-weight: 800; letter-spacing: -.01em; white-space: nowrap; }
@media (hover: hover) { .catchip:hover { transform: translateY(-2px); border-color: rgba(var(--primary-rgb), .5); } }

/* ===== grade e card de projeto ===== */
.grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.panel { border-radius: 16px; border: 1px solid var(--border); background: var(--card); box-shadow: var(--shadow); padding: 16px; }
.pcard { position: relative; display: flex; flex-direction: column; justify-content: space-between; height: 100%; overflow: hidden; border-radius: 16px; border: 1px solid var(--border); background: var(--card); box-shadow: var(--shadow); transition: transform .3s, border-color .3s, box-shadow .3s; }
@media (hover: hover) { .pcard:hover { transform: translateY(-4px); border-color: rgba(var(--primary-rgb), .5); box-shadow: 0 16px 34px -10px rgba(var(--primary-rgb), .35); } }
.pcard .media { position: relative; }
.pcard .thumb { aspect-ratio: 16 / 9; height: auto; }
.pcard .thumb-img { transition: transform .5s; }
@media (hover: hover) { .pcard:hover .thumb-img { transform: scale(1.05); } }
.pcard .media-clip { overflow: hidden; }
.pbadge { position: absolute; left: 8px; top: 8px; z-index: 2; display: flex; align-items: center; height: 32px; padding: 0 8px; border-radius: 999px; background: rgba(var(--primary-rgb), .85); border: 1px solid rgba(255, 255, 255, .25); color: #fff; box-shadow: 0 4px 12px rgba(0, 0, 0, .25); transition: transform .3s; }
.pbadge span { max-width: 0; overflow: hidden; white-space: nowrap; font-size: 10px; font-weight: 600; opacity: 0; transition: all .3s; }
@media (hover: hover) { .pcard:hover .pbadge { transform: translateY(-2px); } }
@media (hover: hover) { .pcard:hover .pbadge span { max-width: 140px; margin-left: 6px; padding-right: 4px; opacity: 1; } }
.pdest { position: absolute; right: 8px; top: 8px; z-index: 2; padding: 5px 10px; border-radius: 999px; background: #fff; color: #0a0f1f; font-size: 11px; font-weight: 900; box-shadow: 0 4px 12px rgba(0, 0, 0, .25); }
.pbody { display: flex; flex-direction: column; justify-content: space-between; gap: 12px; padding: 12px; flex: 1; }
.pbody h3 { font-size: .92rem; font-weight: 600; line-height: 1.3; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.ptag { font-size: .7rem; font-weight: 700; color: var(--pt); text-transform: uppercase; letter-spacing: .08em; }
.pprice-row { display: flex; align-items: flex-end; justify-content: space-between; gap: 6px; flex-wrap: wrap; }
.pprice { font-size: 1.15rem; font-weight: 800; color: var(--pt); line-height: 1.2; }
.psub { font-size: .72rem; color: var(--muted); }
.pchips { display: flex; gap: 4px; }
.pchip { width: 28px; height: 28px; display: grid; place-items: center; border-radius: 8px; border: 1px solid rgba(var(--primary-rgb), .25); background: rgba(var(--primary-rgb), .1); color: var(--pt); }
.pbtn { display: flex; align-items: center; justify-content: center; gap: 8px; height: 40px; width: 100%; margin-top: 8px; border-radius: 12px; background: var(--primary); color: var(--pfg); font-size: .88rem; font-weight: 600; transition: filter .2s; }
@media (hover: hover) { .pcard:hover .pbtn { filter: brightness(.92); } }

/* capas geradas */
.thumb { --h: 226; height: 190px; position: relative; display: flex; align-items: flex-end; justify-content: center; overflow: hidden;
  background: radial-gradient(circle at 20% 10%, hsla(var(--h), 90%, 62%, .55), transparent 55%), radial-gradient(circle at 90% 90%, hsla(calc(var(--h) - 12), 90%, 60%, .4), transparent 55%), hsl(var(--h), 40%, 12%); }
.thumb-img { background-size: cover; background-position: center; }
.mock { width: 76%; height: 84%; background: #0b0d14; border: 1px solid rgba(255, 255, 255, .14); border-radius: 12px 12px 0 0; box-shadow: 0 -10px 40px rgba(0, 0, 0, .5); overflow: hidden; transition: transform .35s; }
@media (hover: hover) { .pcard:hover .mock { transform: translateY(-6px) scale(1.03); } }
.mock-bar { display: flex; gap: 5px; padding: 8px 10px; border-bottom: 1px solid rgba(255, 255, 255, .08); }
.mock-bar i { width: 7px; height: 7px; border-radius: 50%; background: rgba(255, 255, 255, .22); }
.mock-body { padding: 14px; display: grid; gap: 8px; }
.mock-body b { height: 12px; width: 58%; border-radius: 6px; background: hsl(var(--h), 85%, 65%); }
.mock-body span { height: 7px; width: 90%; border-radius: 4px; background: rgba(255, 255, 255, .14); }
.mock-body span.s { width: 65%; }
.mock-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 4px; }
.mock-row em { height: 40px; border-radius: 8px; background: hsla(var(--h), 85%, 65%, .22); border: 1px solid hsla(var(--h), 85%, 65%, .35); }

/* seção "em destaque" (painel com borda) */
.featured { border-radius: 16px; border: 1px solid var(--border); background: var(--card); padding: 16px; box-shadow: var(--shadow); }
.featured .row-between { margin-bottom: 20px; align-items: flex-end; }
.featured .h2 { font-size: clamp(1.4rem, 3vw, 1.9rem); margin-top: 4px; }
.percat { display: grid; gap: 40px; }
.percat .grp { display: grid; gap: 20px; }
.percat .grp-head h2 { font-size: clamp(1.4rem, 3vw, 1.9rem); font-weight: 900; }

/* benefícios */
.benefits { display: grid; grid-template-columns: 1fr; gap: 20px; }
.benefit { position: relative; overflow: hidden; text-align: center; padding: 34px 26px; border-radius: 2rem; background: var(--card); border: 1px solid var(--border); box-shadow: var(--shadow); transition: transform .3s, border-color .3s, box-shadow .3s; }
.benefit::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 96px; background: radial-gradient(circle at top, rgba(var(--primary-rgb), .16), transparent 72%); pointer-events: none; }
.benefit.r1 { rotate: -1deg; } .benefit.r2 { rotate: 1.2deg; } .benefit.r3 { rotate: -1deg; }
@media (hover: hover) { .benefit:hover { transform: translateY(-5px); border-color: rgba(var(--primary-rgb), .7); box-shadow: 0 16px 34px -14px rgba(var(--primary-rgb), .4); } }
.b-icon { position: relative; width: 64px; height: 64px; margin: 0 auto 18px; display: grid; place-items: center; border-radius: 1.35rem; background: rgba(var(--primary-rgb), .1); color: var(--pt); border: 1px solid var(--border); box-shadow: 0 10px 22px -8px rgba(0, 0, 0, .3); transition: transform .3s; }
.benefit:hover .b-icon { transform: scale(1.1); }
.benefit h3 { position: relative; font-size: 1.45rem; font-weight: 900; letter-spacing: -.02em; }
.benefit p { position: relative; color: var(--muted); margin: 8px auto 0; max-width: 320px; font-size: .95rem; }

/* avaliações */
.reviews { border-top: 1px solid var(--border); padding-top: 32px; display: grid; gap: 24px; }
.reviews-head { display: flex; align-items: center; justify-content: center; gap: 12px; }
.reviews-head .ic { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: rgba(var(--primary-rgb), .12); border: 1px solid rgba(var(--primary-rgb), .25); color: var(--pt); }
.reviews-head h2 { font-size: 1.25rem; font-weight: 700; }
.reviews-head p { color: var(--muted); font-size: .88rem; }
.rv-scroll { display: flex; gap: 16px; overflow-x: scroll; cursor: grab; scrollbar-width: none; user-select: none; }
.rv-scroll::-webkit-scrollbar { display: none; }
.rv-scroll:active { cursor: grabbing; }
.rv { flex: none; width: 300px; min-height: 180px; padding: 16px; border-radius: 16px; border: 1px solid var(--border); background: var(--card); display: flex; flex-direction: column; }
.rv-top { display: flex; align-items: center; gap: 12px; }
.rv-av { width: 40px; height: 40px; flex: none; border-radius: 12px; display: grid; place-items: center; font-weight: 700; color: var(--pt); background: rgba(var(--primary-rgb), .1); border: 1px solid rgba(var(--primary-rgb), .2); }
.rv-top div { min-width: 0; flex: 1; }
.rv-top b { display: block; font-size: .88rem; font-weight: 500; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.rv-meta { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.stars { display: flex; gap: 2px; color: var(--primary); }
.stars .off { color: var(--border); }
.rv-meta small { font-size: 10px; color: var(--muted); }
.rv p { font-size: .88rem; color: var(--muted); margin-top: 12px; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; flex: 1; }
.rv-foot { margin-top: 12px; padding-top: 12px; border-top: 1px solid var(--border); display: flex; align-items: center; gap: 8px; font-size: .78rem; color: var(--muted); }
.rv-foot span { flex: 1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.rv-foot a { color: var(--pt); font-weight: 600; display: inline-flex; align-items: center; gap: 4px; }

/* comunidade */
.community { position: relative; overflow: hidden; border-radius: 16px; border: 1px solid var(--border); background: #071021; box-shadow: 0 18px 38px rgba(15, 23, 42, .2); transition: transform .35s, box-shadow .35s; }
.community-in { display: grid; min-height: 250px; }
.community-l { position: relative; display: flex; flex-direction: column; justify-content: center; padding: 36px 28px; color: #fff; overflow: hidden; }
.community-l::before { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 0% 100%, rgba(var(--primary-rgb), .42), transparent 42%), linear-gradient(120deg, #0a1230, #060b1b); }
.community-l > * { position: relative; }
.community .chip { align-self: flex-start; padding: 6px 14px; border-radius: 999px; border: 1px solid rgba(var(--primary-rgb), .45); background: rgba(var(--primary-rgb), .18); font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .15em; color: #A7F3D0; }
.community h2 { margin-top: 20px; font-size: clamp(1.7rem, 4.4vw, 3rem); font-weight: 900; letter-spacing: -.03em; line-height: 1.1; }
.community p { margin-top: 14px; max-width: 42rem; color: #cbd5e1; font-size: 1.02rem; line-height: 1.7; }
.community .acts { margin-top: 26px; display: flex; flex-wrap: wrap; gap: 12px; }
.community .pill2 { display: inline-flex; align-items: center; min-height: 48px; padding: 0 16px; border-radius: 12px; border: 1px solid rgba(255, 255, 255, .15); background: rgba(255, 255, 255, .1); color: #e2e8f0; font-size: .88rem; font-weight: 600; }
.community-r { position: relative; min-height: 190px; display: grid; place-items: center; overflow: hidden; background: radial-gradient(circle at 30% 20%, rgba(var(--primary-rgb), .7), transparent 60%), linear-gradient(140deg, #1d2a78, #0a1230); color: #fff; }
.community-r::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgba(255, 255, 255, .08) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .08) 1px, transparent 1px); background-size: 22px 22px; }
.community-r svg { position: relative; opacity: .95; }
.shine { pointer-events: none; position: absolute; inset: -30%; background: linear-gradient(115deg, transparent 40%, rgba(255, 255, 255, .28) 50%, transparent 60%); transform: translateX(-120%) rotate(4deg); transition: transform .8s cubic-bezier(.2, .7, .2, 1); }
@media (hover: hover) { .community:hover { transform: translateY(-3px); box-shadow: 0 24px 48px rgba(15, 23, 42, .28); } }
@media (hover: hover) { .community:hover .shine { transform: translateX(120%) rotate(4deg); } }

/* FAQ */
.faq { display: grid; gap: 16px; max-width: 56rem; margin: 0 auto; width: 100%; }
.faq-i { overflow: hidden; border-radius: 1.75rem; border: 1px solid var(--border); background: var(--card); box-shadow: var(--shadow); transition: border-color .3s, box-shadow .3s; }
.faq-i:hover { border-color: rgba(var(--primary-rgb), .6); box-shadow: 0 10px 24px -12px rgba(var(--primary-rgb), .4); }
.faq-q { display: flex; width: 100%; align-items: center; justify-content: space-between; gap: 16px; padding: 20px; text-align: left; font-weight: 700; font-size: 1rem; }
.faq-q .pl { width: 40px; height: 40px; flex: none; display: grid; place-items: center; border-radius: 16px; border: 1px solid var(--border); background: rgba(var(--primary-rgb), .1); color: var(--pt); }
.faq-q .pl svg { transition: transform .3s; }
.faq-i.open .pl svg { transform: rotate(45deg); }
.faq-a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .3s; }
.faq-i.open .faq-a { grid-template-rows: 1fr; }
.faq-a > div { overflow: hidden; }
.faq-a p { padding: 0 20px 20px; color: var(--muted); font-size: .96rem; }

/* CTA final */
.cta-final { text-align: center; padding: 48px 22px; border-radius: 28px; border: 1px solid rgba(var(--primary-rgb), .35); background: radial-gradient(600px 220px at 50% 0%, rgba(var(--primary-rgb), .18), transparent 70%), var(--card); display: grid; gap: 12px; justify-items: center; }
.cta-final p { color: var(--muted); max-width: 46ch; margin-bottom: 8px; }

/* ===== rodapé ===== */
.ftr { margin-top: 80px; border-top: 1px solid var(--border); background: rgba(var(--primary-rgb), .04); }
.ftr-in { max-width: 80rem; margin: 0 auto; padding: 32px 16px; }
.ftr-top { display: flex; flex-direction: column; gap: 40px; }
.ftr-brand { display: grid; gap: 14px; max-width: 24rem; }
.ftr-brand .brand-name { font-size: 1.1rem; text-transform: none; letter-spacing: 0; font-weight: 700; }
.ftr-brand p { color: var(--muted); font-size: .9rem; }
.ftr-cols { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; flex: 1; }
.ftr-cols h3 { font-size: .88rem; font-weight: 600; margin-bottom: 12px; }
.ftr-cols ul { list-style: none; display: grid; gap: 8px; }
.ftr-cols a { color: var(--muted); font-size: .88rem; transition: color .2s; }
.ftr-cols a:hover { color: var(--pt); }
.ftr-line { height: 1px; background: var(--border); margin: 24px 0; }
.ftr-copy { font-size: .78rem; color: var(--muted); }
.soc { display: flex; gap: 8px; }
.soc a { width: 38px; height: 38px; display: grid; place-items: center; border-radius: 10px; border: 1px solid var(--border); background: var(--card); color: var(--muted); transition: all .2s; }
.soc a:hover { color: var(--pt); border-color: rgba(var(--primary-rgb), .5); }

/* botão flutuante */
.zap-float { position: fixed; right: 20px; bottom: 20px; z-index: 60; width: 56px; height: 56px; border-radius: 50%; background: var(--primary); color: #fff; display: grid; place-items: center; box-shadow: 0 12px 30px -6px rgba(var(--primary-rgb), .8); transition: transform .2s; }
@media (hover: hover) { .zap-float:hover { transform: scale(1.09); } }

/* ===== catálogo ===== */
.cat-head { display: grid; gap: 16px; }
.cat-tools { display: flex; gap: 12px; align-items: center; justify-content: space-between; flex-wrap: wrap; }
.filters { display: flex; gap: 8px; flex-wrap: wrap; }
.filters .pillbtn.on { background: var(--primary); border-color: var(--primary); color: var(--pfg); }
.cat-search { position: relative; flex: 1 1 260px; max-width: 24rem; }
.cat-search input { width: 100%; height: 44px; padding: 0 14px 0 44px; border-radius: 12px; border: 1px solid var(--border); background: var(--card); color: var(--fg); font: inherit; box-shadow: var(--shadow); }
.cat-search input:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 3px rgba(var(--primary-rgb), .2); }
.cat-search svg { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); color: var(--primary); }
.count { color: var(--muted); font-size: .9rem; }
.empty { text-align: center; padding: 56px 16px; border: 1px dashed var(--border); border-radius: 16px; color: var(--muted); }

/* ===== página do projeto ===== */
.crumbs { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; font-size: .85rem; color: var(--muted); }
.crumbs a:hover { color: var(--pt); }
.crumbs strong { color: var(--fg); font-weight: 600; }
.pp { display: grid; gap: 24px; }
.pp-main { display: grid; gap: 24px; min-width: 0; }
.pp-panel { display: grid; gap: 24px; border-radius: 24px; border: 1px solid var(--border); background: var(--card); padding: 20px; box-shadow: var(--shadow-lg); }
.pp-media { width: 100%; max-width: 34rem; margin: 0 auto; }
.pp-media .thumb { aspect-ratio: 16 / 9; height: auto; border-radius: 16px; }
.pp-info { display: grid; gap: 14px; align-content: start; }
.pp-info h1 { font-size: clamp(1.6rem, 3.4vw, 2.2rem); font-weight: 900; letter-spacing: -.03em; line-height: 1.15; }
.pp-price { font-size: 1.9rem; font-weight: 900; color: var(--pt); line-height: 1.1; }
.pp-price small { display: block; font-size: .8rem; font-weight: 500; color: var(--muted); margin-top: 4px; }
.facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 10px; }
.facts div { padding: 12px 14px; border-radius: 14px; background: var(--card2); border: 1px solid var(--border); }
.facts small { display: block; color: var(--muted); font-size: .7rem; text-transform: uppercase; letter-spacing: .08em; }
.facts b { font-size: .92rem; }
.checks { list-style: none; display: grid; gap: 8px; }
.checks li { position: relative; padding-left: 28px; font-size: .95rem; }
.checks li::before { content: "✓"; position: absolute; left: 0; top: 2px; width: 19px; height: 19px; border-radius: 50%; display: grid; place-items: center; font-size: .7rem; font-weight: 800; background: rgba(var(--primary-rgb), .14); color: var(--pt); border: 1px solid rgba(var(--primary-rgb), .35); }
.acts2 { display: flex; gap: 10px; flex-wrap: wrap; }
.nota { color: var(--muted); font-size: .8rem; }
.panel h2 { font-size: 1.1rem; margin-bottom: 12px; }
.desc { color: var(--muted); white-space: pre-line; }
.pp-side { display: grid; gap: 16px; align-content: start; }
.trust { display: grid; gap: 18px; border-radius: 16px; border: 1px solid var(--border); background: var(--card); padding: 20px; box-shadow: var(--shadow-lg); }
.trust > div { display: flex; gap: 12px; align-items: center; }
.trust svg { color: var(--primary); flex: none; }
.trust h3 { font-weight: 500; font-size: .98rem; }
.trust p { color: var(--muted); font-size: .85rem; }
.techs { display: flex; gap: 8px; flex-wrap: wrap; }
.techs span { padding: 5px 12px; border-radius: 999px; background: rgba(var(--primary-rgb), .1); border: 1px solid rgba(var(--primary-rgb), .25); color: var(--pt); font-size: .8rem; font-weight: 600; }

/* prévia ao vivo */
.preview { border-radius: 20px; overflow: hidden; background: var(--card); border: 1px solid var(--border); box-shadow: var(--shadow-lg); }
.preview-top { display: flex; align-items: center; gap: 12px; padding: 12px 16px; border-bottom: 1px solid var(--border); background: var(--card2); }
.dots { display: flex; gap: 6px; }
.dots i { width: 10px; height: 10px; border-radius: 50%; background: var(--border); }
.dots i:nth-child(1) { background: #9aa5ba; } .dots i:nth-child(2) { background: #c5cde0; } .dots i:nth-child(3) { background: var(--primary); }
.url { flex: 1; min-width: 0; padding: 6px 14px; border-radius: 9px; background: var(--card); border: 1px solid var(--border); color: var(--muted); font-size: .78rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.device { display: flex; gap: 4px; padding: 3px; border-radius: 10px; background: var(--card); border: 1px solid var(--border); }
.device button { display: grid; place-items: center; padding: 5px 10px; border-radius: 7px; color: var(--muted); transition: all .2s; }
.device button.on { background: rgba(var(--primary-rgb), .18); color: var(--pt); }
.stage { display: flex; justify-content: center; align-items: flex-start; background: var(--bg); height: 540px; overflow: hidden; transition: padding .3s; }
.frame { width: 100%; height: 100%; transition: width .35s cubic-bezier(.4, 0, .2, 1); background: #fff; }
.frame iframe { width: 100%; height: 100%; border: 0; display: block; }
.stage[data-d="mobile"] { padding: 22px 0; }
.stage[data-d="mobile"] .frame { width: 375px; max-width: 92%; border-radius: 26px; border: 8px solid #1b1e29; box-shadow: 0 20px 50px rgba(0, 0, 0, .4); overflow: hidden; }
.stage .sem { width: 100%; position: relative; display: grid; place-items: center; }
.stage .sem .thumb { position: absolute; inset: 0; height: 100%; opacity: .8; }
.stage .sem span { position: relative; z-index: 2; padding: 10px 20px; border-radius: 999px; background: rgba(0, 0, 0, .7); color: #fff; font-weight: 600; }
.preview-foot { padding: 12px 16px; font-size: .82rem; color: var(--muted); border-top: 1px solid var(--border); text-align: center; }
.preview-foot a { color: var(--pt); font-weight: 600; }
.similar { display: grid; gap: 20px; }
.vazio-pg { text-align: center; padding: 100px 0; display: grid; gap: 14px; justify-items: center; }

/* entrada ao rolar */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s cubic-bezier(.2, .7, .2, 1); }
.reveal.in { opacity: 1; transform: none; }
@media (hover: hover) { .pcard.reveal.in:hover { transform: translateY(-4px); } }
@media (hover: hover) { .benefit.reveal.in:hover { transform: translateY(-5px); } }

/* ===== responsivo ===== */
@media (min-width: 640px) {
  .container { padding: 0 24px; }
  .hdr-in { padding: 0 12px; }
  .ftr-in { padding: 32px 24px; }
  .grid { grid-template-columns: repeat(3, 1fr); gap: 16px; }
  .cat { width: 170px; aspect-ratio: 4 / 5; }
  .featured { padding: 24px; }
  .ftr-cols { grid-template-columns: repeat(3, 1fr); gap: 40px; }
  .ftr-bottom { display: flex; align-items: center; justify-content: space-between; }
}
@media (min-width: 768px) {
  .community-in { grid-template-columns: 1.7fr .85fr; }
  .community-l { padding: 36px 40px; }
  .ftr-top { flex-direction: row; gap: 32px; }
  .ftr-in { padding: 40px; }
}
@media (min-width: 900px) {
  .benefits { grid-template-columns: repeat(3, 1fr); }
  .pp-panel { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .pp { grid-template-columns: minmax(0, 1fr) 20rem; }
}
@media (min-width: 1024px) {
  .container { padding: 0 32px; }
  .grid { grid-template-columns: repeat(4, 1fr); }
  .cat { width: 200px; }
}
@media (min-width: 1100px) { .nav-links { display: flex; } }
@media (min-width: 1280px) {
  .grid { grid-template-columns: repeat(5, 1fr); }
  .pp { grid-template-columns: minmax(0, 1fr) 24rem; }
}
@media (max-width: 899px) {
  .benefit.r1, .benefit.r2, .benefit.r3 { rotate: 0deg; }
}
@media (max-width: 767px) {
  .burger { display: grid; }
  .hdr .search { display: none; }
  .only-mobile { display: grid; }
  .hdr-cta { display: none; }
  .btn-wpp-h span { display: none; }
  .btn-wpp-h { padding: 0; width: 44px; }
  .brand-name { display: none; }
  .cs-stage { height: 240px; }
  .cs { width: 88%; }
  .cs[data-pos="l"] { transform: translateX(-20%) translateY(16px) translateZ(-80px) rotateY(14deg) scale(.93); }
  .cs[data-pos="r"] { transform: translateX(20%) translateY(16px) translateZ(-80px) rotateY(-14deg) scale(.93); }
  .cs-det { gap: 8px; padding: 10px; }
  .cs-tag { padding: 12px 20px 12px 10px; font-size: 10px; }
  .cs-info strong { font-size: .85rem; } .cs-info b { font-size: 1rem; } .cs-info small { display: none; }
  .cs-btn { padding: 9px 12px; font-size: 10px; }
  .cs-badge { top: 10px; left: 10px; padding: 7px 10px; font-size: 9px; }
  .cs-arrow { width: 38px; height: 38px; margin-top: -19px; font-size: 26px; } .cs-l { left: 4px; } .cs-r { right: 4px; }
  .stage { height: 440px; }
}
@media (max-width: 479px) { .rv { width: 260px; } .btn-lg { width: 100%; } }
@media (prefers-reduced-motion: reduce) {
  *:not(.bn-slide):not(.bn-slide *) { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}

/* ===== banner: site real dentro do card ===== */
.cs.demo .cs-media .mock { display: none; }
.cs.demo .cs-media .thumb { animation: none !important; }
.cs-browser { position: absolute; z-index: 1; left: 7%; right: 7%; top: 58px; bottom: 104px; display: flex; flex-direction: column; overflow: hidden; border-radius: 12px; background: #fff; border: 1px solid rgba(255, 255, 255, .2); box-shadow: 0 22px 50px rgba(0, 0, 0, .55); }
.cs-bar { flex: none; height: 30px; display: flex; align-items: center; gap: 6px; padding: 0 12px; background: #0f1424; border-bottom: 1px solid rgba(255, 255, 255, .08); }
.cs-bar i { width: 8px; height: 8px; border-radius: 50%; background: rgba(255, 255, 255, .28); }
.cs-bar i:nth-child(3) { background: var(--primary); }
.cs-bar span { margin-left: 10px; flex: 1; max-width: 62%; padding: 3px 12px; border-radius: 6px; background: rgba(255, 255, 255, .08); color: #cbd5e1; font-size: 11px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cs-view { --s: .5; position: relative; flex: 1; overflow: hidden; background: #fff; }
.cs-view iframe { position: absolute; top: 0; left: 0; width: 1200px; height: calc(100% / var(--s)); border: 0; background: #fff; transform: scale(var(--s)); transform-origin: 0 0; pointer-events: none; }
.cs-skel { position: absolute; inset: 0; background: linear-gradient(100deg, #e8ecf7 30%, #f8f9fd 50%, #e8ecf7 70%); background-size: 200% 100%; animation: cs-shimmer 1.3s linear infinite; }
.cs-skel.ok { display: none; }
.cs[data-pos="0"].demo .cs-browser { animation: cs-janela .9s .1s cubic-bezier(.22, .9, .2, 1) both, cs-janela-zoom 9s 1s ease-out both; }
@keyframes cs-shimmer { from { background-position: 100% 0; } to { background-position: -100% 0; } }
@keyframes cs-janela { from { opacity: 0; transform: translateY(34px) scale(.95); } to { opacity: 1; transform: none; } }
@keyframes cs-janela-zoom { from { transform: scale(1); } to { transform: scale(1.03); } }
@media (max-width: 767px) {
  .cs-browser { left: 5%; right: 5%; top: 46px; bottom: 68px; border-radius: 9px; }
  .cs-bar { height: 22px; padding: 0 8px; gap: 4px; }
  .cs-bar i { width: 6px; height: 6px; }
  .cs-bar span { font-size: 9px; padding: 1px 8px; }
}
@media (max-width: 767px) {
  /* barra de detalhes compacta: não cobre o site na janelinha */
  .cs-det { gap: 8px; padding: 8px 10px; }
  .cs-tag { padding: 9px 16px 9px 8px; font-size: 9px; letter-spacing: .1em; }
  .cs-info strong { font-size: .8rem; }
  .cs-info b { font-size: .92rem; white-space: nowrap; }
  .cs-btn { padding: 8px 10px; font-size: 9px; }
  .cs-browser { bottom: 60px; }
}

/* banner com um projeto só: um card centralizado, sem setas nem pontos */
.cs-solo .cs-arrow, .cs-solo .cs-dots { display: none; }
.cs-solo .cs { width: min(820px, 94%); }

/* banner: textos das tags em maiúsculas (configuráveis no painel) */
.cs-badge, .cs-tag, .cs-btn { text-transform: uppercase; }

/* ===== card de projeto: enxuto (imagem, selo redondo, nome, preço, legenda e botão) ===== */
.pcard { border-radius: 16px; }
.pbadge { height: 34px; min-width: 34px; padding: 0 9px; justify-content: center; }
.pcard .pbody { gap: 16px; padding: 14px 14px 16px; }
.pbody h3 { font-size: 1rem; font-weight: 600; line-height: 1.3; }
.pprice { font-size: 1.3rem; font-weight: 800; letter-spacing: -.01em; }
.psub { display: block; margin-top: 2px; font-size: .78rem; }
.pchip { width: 30px; height: 30px; border-radius: 9px; }
.pbtn { height: 44px; margin-top: 12px; border-radius: 12px; font-size: .92rem; font-weight: 700; }
.pprice-row { flex-wrap: nowrap; align-items: flex-end; }
.pprice .apartir { display: block; font-size: .7rem; font-weight: 600; letter-spacing: 0; color: var(--muted); line-height: 1.2; }
@media (max-width: 479px) { .pprice-row { flex-wrap: wrap; } }
.pprice { font-size: 1.2rem; white-space: nowrap; }
.pprice-row { gap: 6px; }
.pchip { width: 28px; height: 28px; }

/* assinatura: "/mês" ao lado do valor */
.pprice .per { font-size: .72rem; font-weight: 600; letter-spacing: 0; color: var(--muted); margin-left: 2px; }
.pp-price .per { font-size: 1.05rem; font-weight: 600; color: var(--muted); margin-left: 4px; }

/* ===== banners do topo: só imagem, proporção 1900x800 (19:8) ===== */
.bn-stage { position: relative; aspect-ratio: 19 / 8; overflow: hidden; border-radius: 22px; background: #0A0A0A; border: 1px solid var(--border); box-shadow: var(--shadow-lg); }
.bn-slide { position: absolute; inset: 0; display: block; overflow: hidden; opacity: 0; pointer-events: none; will-change: transform, opacity, filter;
  transition: opacity .9s ease, transform 1.1s cubic-bezier(.22, .9, .2, 1), filter .9s ease; }
.bn-slide img { width: 100%; height: 100%; object-fit: cover; display: block; user-select: none; -webkit-user-drag: none; }
.bn-slide[data-pos="0"] { opacity: 1; pointer-events: auto; z-index: 2; transform: none; }
.bn-slide[data-pos="l"] { transform: translateX(-8%) scale(1.05); filter: blur(4px); }
.bn-slide[data-pos="r"] { transform: translateX(8%) scale(1.05); filter: blur(4px); }
.bn-slide[data-pos="h"] { transform: scale(1.06); }
.bn-slide[data-pos="0"] img { animation: bn-zoom 9s ease-out both; }
.bn-slide::after { content: ""; position: absolute; inset: 0; z-index: 3; pointer-events: none; transform: translateX(-130%); background: linear-gradient(105deg, transparent 35%, rgba(255, 255, 255, .3) 50%, transparent 65%); }
.bn-slide[data-pos="0"]::after { animation: cs-varre 1.1s .2s ease-out both; }
a.bn-slide { cursor: pointer; }
@keyframes bn-zoom { from { transform: scale(1); } to { transform: scale(1.05); } }
.bn-solo .cs-arrow, .bn-solo .cs-dots { display: none; }
@media (max-width: 767px) {
  .bn-stage { border-radius: 16px; }
  .bn .cs-arrow { width: 34px; height: 34px; margin-top: -17px; font-size: 22px; }
}
@media (prefers-reduced-motion: reduce) { .bn-slide { transition: opacity .2s; } }

/* ===== banners em "cover flow": o do meio em destaque e o anterior/próximo aparecendo nos lados ===== */
.bn { --w: 88%; --e: 6%; }
.bn-stage { aspect-ratio: 2.699 / 1; overflow: visible; clip-path: inset(-40px 0 -40px 0); background: transparent; border: 0; border-radius: 0; box-shadow: none; perspective: 1700px; }
.bn-slide { inset: auto; top: 0; bottom: 0; left: var(--e); width: var(--w); height: 100%; border-radius: 16px; background: #0A0A0A; border: 1px solid var(--border); box-shadow: 0 16px 32px rgba(15, 23, 42, .22); transform-style: preserve-3d; opacity: 0; filter: none;
  transition: transform 1s cubic-bezier(.22, .9, .2, 1), opacity .8s ease, filter .8s ease, box-shadow .8s ease; }
.bn-slide[data-pos="0"] { opacity: 1; z-index: 4; pointer-events: auto; transform: none; box-shadow: 0 26px 60px -22px rgba(var(--primary-rgb), .55), 0 16px 34px rgba(15, 23, 42, .25); }
.bn-slide[data-pos="l"] { opacity: .55; z-index: 2; pointer-events: auto; cursor: pointer; filter: brightness(.6); transform: translateX(-54%) translateZ(-160px) rotateY(20deg) scale(.9); }
.bn-slide[data-pos="r"] { opacity: .55; z-index: 2; pointer-events: auto; cursor: pointer; filter: brightness(.6); transform: translateX(54%) translateZ(-160px) rotateY(-20deg) scale(.9); }
.bn-slide[data-pos="h"] { opacity: 0; z-index: 1; pointer-events: none; transform: translateZ(-300px) scale(.8); }
@media (min-width: 900px) {
  .bn { --w: 70%; --e: 15%; }
  .bn-stage { aspect-ratio: 3.393 / 1; }
  .bn-slide { border-radius: 20px; }
}
/* com um banner só: ocupa a largura toda, sem vizinhos */
.bn-solo .bn-stage { aspect-ratio: 19 / 8; }
.bn-solo .bn-slide { left: 0; width: 100%; }
/* os banners vizinhos passam da borda: corta na horizontal (mantém a sombra embaixo) e não cria rolagem lateral */
.bn { overflow-x: clip; overflow-y: visible; }
@supports not (overflow: clip) { .bn { overflow: hidden; padding-bottom: 30px; } }

/* ===== troca de banner bem suave ===== */
.bn-slide { transition: transform 1.25s cubic-bezier(.45, .05, .25, 1), opacity 1.1s ease, filter 1.25s ease, box-shadow 1.25s ease; }
.bn-slide[data-pos="l"] { opacity: .62; filter: brightness(.7); transform: translateX(-53%) translateZ(-110px) rotateY(13deg) scale(.92); }
.bn-slide[data-pos="r"] { opacity: .62; filter: brightness(.7); transform: translateX(53%) translateZ(-110px) rotateY(-13deg) scale(.92); }
.bn-slide[data-pos="h"] { transform: translateZ(-220px) scale(.86); }
/* o zoom da imagem vira uma transição lenta (sem "pulo" ao sair do centro) */
.bn-slide img, .bn-slide[data-pos="0"] img { animation: none; transform: scale(1); transition: transform 7s cubic-bezier(.2, .6, .3, 1); }
.bn-slide[data-pos="0"] img { transform: scale(1.045); }
/* banner que muda de lado: reaparece com fade, sem cruzar a tela */
.bn-slide.tp { transition: transform 0s, opacity .01s, filter .01s; animation: bn-reaparece 1.25s ease both; }
@keyframes bn-reaparece { 0%, 40% { opacity: 0; } 100% { opacity: .62; } }


/* ===== banner: movimento só com transform/opacity (GPU), sempre ativo ===== */
.bn-slide { transition: transform 1.1s cubic-bezier(.4, 0, .2, 1), opacity 1.1s cubic-bezier(.4, 0, .2, 1); will-change: transform, opacity; }
.bn-slide[data-pos="l"], .bn-slide[data-pos="r"] { filter: none; }
.bn-slide::after { display: none; }
.bn-slide img { transition: none; }
.bn-slide[data-pos="0"] img { transform: none; }
@media (prefers-reduced-motion: reduce) { .bn-slide { transition: transform 1.1s cubic-bezier(.4, 0, .2, 1), opacity 1.1s cubic-bezier(.4, 0, .2, 1) !important; } .bn-slide.tp { animation: bn-reaparece 1.1s ease both !important; transition: none !important; } }

/* ===== categorias com capa (a imagem já traz o nome; sem texto nem degradê por cima) ===== */
.cat-img::before { display: none; }
.cat-img { padding: 0; }
.cat-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .6s cubic-bezier(.4, 0, .2, 1); }
.cat-img:hover .cat-bg { transform: scale(1.06); }

/* ===== conta do cliente no cabeçalho ===== */
.conta-h { position: relative; display: flex; align-items: center; gap: 6px; }
.btn-entrar { padding: 0 14px; min-height: 44px; display: inline-flex; align-items: center; font-weight: 700; font-size: .92rem; border-radius: 12px; transition: color .2s, background .2s; }
.btn-entrar:hover { background: rgba(var(--primary-rgb), .09); color: var(--pt); }
.avatar-b { display: flex; align-items: center; gap: 9px; height: 44px; padding: 0 12px 0 5px; border-radius: 999px; border: 1px solid var(--border); background: var(--card); box-shadow: var(--shadow); transition: border-color .2s; }
.avatar-b:hover, .avatar-b[aria-expanded="true"] { border-color: rgba(var(--primary-rgb), .55); }
.avatar { width: 34px; height: 34px; display: grid; place-items: center; border-radius: 50%; background: var(--grad); color: #fff; font-weight: 800; font-size: .78rem; letter-spacing: .02em; }
.avatar-n { font-weight: 700; font-size: .9rem; max-width: 96px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.menu-c { position: absolute; right: 0; top: calc(100% + 10px); z-index: 60; width: 244px; padding: 8px; border-radius: 16px; border: 1px solid var(--border); background: var(--card); box-shadow: var(--shadow-lg); animation: menu-c-in .18s ease-out; }
@keyframes menu-c-in { from { opacity: 0; transform: translateY(-6px) scale(.98); } }
.menu-c-t { display: grid; padding: 10px 12px 12px; margin-bottom: 4px; border-bottom: 1px solid var(--border); }
.menu-c-t small { color: var(--muted); overflow: hidden; text-overflow: ellipsis; }
.menu-c a, .menu-c button { display: flex; align-items: center; gap: 10px; width: 100%; padding: 10px 12px; border-radius: 10px; font-weight: 600; font-size: .9rem; text-align: left; transition: background .15s; }
.menu-c a:hover, .menu-c button:hover { background: rgba(var(--primary-rgb), .1); }
@media (max-width: 720px) { .btn-criar, .avatar-n { display: none; } .avatar-b { padding: 0 5px; } .btn-entrar { padding: 0 8px; } }
.side:not(.on) { box-shadow: none; }

/* logos enviadas pelo painel: sempre inteiras, dentro de 40px de altura (não cortam nem esticam) */
.brand-tile.logo { display: flex; align-items: center; justify-content: center; height: 40px; width: auto; max-width: 160px; background: transparent; border: 0; box-shadow: none; border-radius: 0; overflow: visible; }
.brand-tile.logo img { display: block; width: auto; height: auto; max-width: 100%; max-height: 100%; object-fit: contain; }
.brand-logo { display: inline-flex; align-items: center; height: 40px; }
.brand-logo img { display: block; height: 100%; width: auto; max-width: 220px; object-fit: contain; }
.brand-logo.ico { display: none; }
.brand-logo.ico img { max-width: 60px; }
@media (max-width: 720px) { .brand-logo.full.tem-ico { display: none; } .brand-logo.ico { display: inline-flex; } .brand-logo img { max-width: 170px; } }
.side-logo .brand-logo { height: 56px; }
.side-logo .brand-logo.full.tem-ico { display: inline-flex; }
.side-logo .brand-logo.ico { display: none; }
.ent-marca .brand-logo, .ent-marca-m .brand-logo { height: 44px; }
.ent-marca .brand-logo.full.tem-ico, .ent-marca-m .brand-logo.full.tem-ico { display: inline-flex; }
.ent-marca .brand-logo.ico, .ent-marca-m .brand-logo.ico { display: none; }

.avatar { overflow: hidden; }
.avatar img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* ===== produtos em destaque: 2 linhas, cada uma em carrossel ===== */
.feat-rows { display: grid; gap: 12px; }
.feat-row { display: flex; gap: 12px; overflow-x: auto; cursor: grab; scrollbar-width: none; user-select: none; margin: 0 -16px; padding: 4px 16px; }
.feat-row::-webkit-scrollbar { display: none; }
.feat-row:active { cursor: grabbing; }
/* zoom encolhe a largura E o conteúdo todo junto (imagem, texto, selo, botão) proporcionalmente —
   diferente de só estreitar a largura, que deixava o card apertado sem diminuir o resto. */
.feat-item { flex: none; width: clamp(148px, 45vw, 190px); zoom: .82; }
@media (min-width: 640px) { .feat-item { width: 205px; } }
@media (min-width: 1024px) { .feat-item { width: 225px; } }
@media (min-width: 1280px) { .feat-item { width: 232px; } }
