/* ======================================================================
   CLIENTTE — Agência de Marketing Digital
   Linguagem: noite profunda + papel (seções alternadas), Playfair Display nos
   títulos, Inter no texto, IBM Plex Mono nos rótulos, cantos retos (4px) e UM
   acento ciano, sempre cor chapada (sem degradê).
   ====================================================================== */
:root {
  --noite: #0b0a0c;
  --noite2: #141216;
  --noite3: #1d1a20;
  --fundo: #f8f6f2;
  --superficie: #ffffff;
  --apoio: #ece8e1;
  --apoio2: #f2efe9;
  --tinta: #121112;
  --cinza: #6c6a6e;
  --cinza-n: #a19ca6;
  --linha: rgba(18, 17, 18, .12);
  --linha-n: rgba(255, 255, 255, .12);
  --acento: #22d3ee;
  --acento2: #06b6d4;
  --acento-claro: rgba(34, 211, 238, .14);
  --acento-txt: #0e7490;
  --grad: var(--acento);
  --ok: #1d7a46;
  --f-serif: "Playfair Display", Georgia, "Times New Roman", serif;
  --f-sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --f-mono: "IBM Plex Mono", ui-monospace, Menlo, monospace;
  --f-disp: var(--f-sans);
  --r: 4px;
  --r2: 8px;
  --sombra: 0 1px 0 rgba(0,0,0,.03), 0 12px 30px -18px rgba(18,17,18,.25);
  --gut: clamp(18px, 4.4vw, 64px);
  --larg: 1240px;
  --ease: cubic-bezier(.2,.7,.1,1);
  --t-hero: clamp(42px, 6.2vw, 92px);
  --t-h1: clamp(30px, 3.8vw, 48px);
  --t-h2: clamp(32px, 4.4vw, 60px);
  --t-lead: clamp(16px, 1.25vw, 18px);
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; font-family: var(--f-sans); background: var(--fundo); color: var(--tinta); font-size: 16px; line-height: 1.6; overflow-x: hidden; -webkit-font-smoothing: antialiased; -webkit-tap-highlight-color: transparent; }
img { max-width: 100%; display: block; }
button { font: inherit; color: inherit; cursor: pointer; touch-action: manipulation; }
input, textarea, select { font: inherit; color: inherit; }
a { color: inherit; }
h1, h2, h3, h4 { overflow-wrap: break-word; }
em { font-style: italic; }
.serif { font-family: var(--f-serif); }
.mono { font-family: var(--f-mono); font-size: 11.5px; letter-spacing: .12em; text-transform: uppercase; }
.grad { color: var(--acento); padding-right: .06em; }
.claro .grad { color: var(--acento-txt); }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid var(--acento); outline-offset: 2px; }
.escuro { background: var(--noite); color: #f3f1f4; }
.claro { background: var(--fundo); color: var(--tinta); }
.traco { display: inline-block; width: 26px; height: 1px; background: currentColor; vertical-align: middle; margin-right: 12px; opacity: .6; }

/* ---------- cortina ---------- */
#cortina { position: fixed; inset: 0; z-index: 100; background: var(--noite); display: grid; place-items: center; pointer-events: none; }
#cortina.sai { animation: cortina-sai .7s var(--ease) forwards; animation-delay: .15s; }
.cortina-txt { display: flex; font-family: var(--f-serif); font-style: italic; font-size: clamp(56px, 11vw, 130px); line-height: 1.15; color: #fff; padding: 0 .1em; }
.cortina-txt span { display: inline-block; opacity: 0; transform: translateY(24%); animation: sobe .55s var(--ease) forwards; }
.cortina-txt span:nth-child(2) { animation-delay: .05s } .cortina-txt span:nth-child(3) { animation-delay: .1s }
.cortina-txt span:nth-child(4) { animation-delay: .15s } .cortina-txt span:nth-child(5) { animation-delay: .2s } .cortina-txt span:nth-child(6) { animation-delay: .25s }
.cortina-txt span:nth-child(7) { animation-delay: .3s } .cortina-txt span:nth-child(8) { animation-delay: .35s }
.cortina-barra { position: absolute; left: 0; bottom: 0; height: 3px; background: var(--grad); width: 0; animation: barra .8s var(--ease) .1s forwards; }
@keyframes sobe { to { opacity: 1; transform: none; } }
@keyframes barra { to { width: 100%; } }
@keyframes cortina-sai { to { opacity: 0; visibility: hidden; } }
#grao { position: fixed; inset: -50%; z-index: 90; pointer-events: none; opacity: .05; background-image: 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='.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); animation: grao 1.2s steps(6) infinite; mix-blend-mode: overlay; }
body.em-app #grao { opacity: .025; }
@keyframes grao { 0%{transform:translate(0,0)} 20%{transform:translate(-4%,3%)} 40%{transform:translate(3%,-2%)} 60%{transform:translate(-2%,-4%)} 80%{transform:translate(4%,2%)} 100%{transform:translate(0,0)} }
@media (prefers-reduced-motion: reduce) { #grao { animation: none !important; } #cortina { display: none; } .cena-item { animation: none !important; } }

/* ---------- nav ---------- */
.nav { position: fixed; top: 0; left: 0; right: 0; z-index: 50; display: flex; align-items: center; gap: 18px; padding: 0 var(--gut); padding-top: env(safe-area-inset-top); height: calc(60px + env(safe-area-inset-top)); background: rgba(248,246,242,.92); backdrop-filter: saturate(1.4) blur(12px); -webkit-backdrop-filter: saturate(1.4) blur(12px); border-bottom: 1px solid var(--linha); color: var(--tinta); }
.marca { font-family: var(--f-serif); font-weight: 500; font-size: 23px; letter-spacing: -.01em; text-decoration: none; color: inherit; line-height: 1; }
.marca i { color: var(--acento); font-style: normal; }
.nav-tag { white-space: nowrap; color: var(--cinza); border-left: 1px solid var(--linha); padding-left: 14px; font-size: 10.5px; }
.nav-links { display: flex; gap: 26px; white-space: nowrap; font-size: 14px; margin-left: auto; }
.nav-links a { text-decoration: none; color: var(--tinta); opacity: .75; }
.nav-links a:hover { opacity: 1; }
.btn-entrar { background: var(--tinta); color: #fff; border: 0; border-radius: var(--r); padding: 9px 18px; font-size: 14px; font-weight: 600; transition: background .2s, color .2s; }
.btn-entrar:hover { background: var(--acento); color: var(--tinta); }
@media (max-width: 980px) { .nav-links { display: none; } .btn-entrar { margin-left: auto; } }
@media (max-width: 420px) { .nav-tag { display: none; } }

/* ---------- botões ---------- */
.btn-neon { background: var(--acento); color: var(--tinta); border: 0; border-radius: var(--r); padding: 15px 24px; font-weight: 600; font-size: 15px; display: inline-flex; align-items: center; justify-content: center; gap: 10px; transition: transform .25s var(--ease), box-shadow .25s, background .2s; text-decoration: none; line-height: 1.2; box-shadow: 0 0 0 0 rgba(34,211,238,0); }
.btn-neon:hover { background: #67e8f9; }
@media (hover: hover) { .btn-neon:hover { transform: translateY(-2px); } }
.btn-neon:disabled { opacity: .5; cursor: wait; transform: none; }
.btn-neon.grande { font-size: 17px; padding: 18px 30px; }
.btn-neon.largo { width: 100%; }
.btn-contorno { color: inherit; text-decoration: none; border: 1px solid currentColor; border-radius: var(--r); padding: 14px 22px; font-weight: 500; font-size: 15px; opacity: .9; transition: background .2s, color .2s; display: inline-flex; align-items: center; }
.escuro .btn-contorno:hover { background: #fff; color: var(--noite); }
.seta { display: inline-block; transition: transform .25s var(--ease); }
button:hover .seta { transform: translateX(4px); }

/* ---------- hero ---------- */
.hero { position: relative; overflow: hidden; padding: calc(60px + env(safe-area-inset-top) + clamp(56px, 8vw, 110px)) var(--gut) clamp(64px, 8vw, 110px); min-height: min(100svh, 920px); display: flex; align-items: center; }
#constelacao, #constelacao2 { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.hero-grade { position: relative; z-index: 2; width: 100%; max-width: var(--larg); margin: 0 auto; display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: 40px; align-items: center; }
.hero-abas { display: inline-flex; border: 1px solid var(--linha-n); border-radius: var(--r); padding: 3px; margin-bottom: 26px; font-size: 10.5px; }
.hero-abas button { padding: 7px 12px; border-radius: 2px; color: var(--cinza-n); background: none; border: 0; font: inherit; letter-spacing: inherit; text-transform: inherit; transition: background .2s, color .2s; }
.hero-abas button:hover { color: #fff; }
.hero-abas button.on { background: #fff; color: var(--noite); }
.troca { transition: opacity .25s var(--ease), transform .25s var(--ease); }
.troca.sai { opacity: 0; transform: translateY(6px); }
.kicker { color: var(--acento); margin: 0 0 18px; font-size: 11px; }
.hero-titulo { margin: 0; font-family: var(--f-serif); font-weight: 400; font-size: var(--t-hero); line-height: 1.08; letter-spacing: -.015em; }
.hero-titulo span { display: block; opacity: 0; transform: translateY(18px); }
.pronto .hero-titulo span { animation: sobe .9s var(--ease) forwards; }
.pronto .hero-titulo .l2 { animation-delay: .1s; } .pronto .hero-titulo .l3 { animation-delay: .2s; }
.hero-titulo em { font-weight: 400; }
.hero-sub { max-width: 33em; color: #c4bfc8; font-size: var(--t-lead); margin: 26px 0 0; }
.hero-sub strong { color: #fff; font-weight: 600; }
.hero-ctas { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 32px; }
.hero-checks { list-style: none; padding: 0; margin: 30px 0 0; display: flex; flex-wrap: wrap; gap: 8px 22px; color: var(--cinza-n); font-size: 10.5px; }
.hero-checks li::before { content: "✓"; color: var(--acento); margin-right: 8px; }
.hero-texto > * { opacity: 0; }
.pronto .hero-texto > * { animation: aparece .9s var(--ease) forwards; }
.pronto .hero-texto > :nth-child(1) { animation-delay: 0s } .pronto .hero-texto > :nth-child(2) { animation-delay: .05s }
.pronto .hero-texto > .hero-titulo { opacity: 1; animation: none; }
.pronto .hero-texto > :nth-child(4) { animation-delay: .35s } .pronto .hero-texto > :nth-child(5) { animation-delay: .45s } .pronto .hero-texto > :nth-child(6) { animation-delay: .55s }
@keyframes aparece { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }

/* cena do hero: mockups flutuando em camadas */
.hero-cena { position: relative; height: clamp(420px, 44vw, 560px); perspective: 1400px; }
.cena-item { position: absolute; transition: transform .6s var(--ease); will-change: transform; }
.cena-post { width: 58%; left: 0; top: 10%; transform: rotate(-7deg); filter: saturate(.95); animation: flutua 7s ease-in-out infinite; }
.cena-tel { width: 42%; left: 36%; top: 0; z-index: 2; animation: flutua 6s ease-in-out .6s infinite; }
.cena-tel .mk-tel { width: 100%; border-width: 7px; box-shadow: 0 40px 80px -30px rgba(0,0,0,.8), 0 0 0 1px rgba(255,255,255,.08); }
.cena-plano { width: 44%; right: -2%; bottom: 4%; z-index: 3; background: rgba(20,18,22,.88); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border: 1px solid var(--linha-n); border-radius: var(--r2); padding: 16px 16px 14px; color: #fff; box-shadow: 0 30px 60px -24px rgba(0,0,0,.8); animation: flutua 8s ease-in-out 1.2s infinite; }
.cena-plano .mono { color: var(--acento); font-size: 9.5px; margin: 0; }
.cena-plano h4 { font-family: var(--f-serif); font-weight: 400; font-size: 19px; margin: 4px 0 10px; }
.cena-plano .kpi { display: flex; align-items: baseline; gap: 8px; margin-top: 8px; }
.cena-plano .kpi b { font-family: var(--f-serif); font-size: 28px; font-weight: 500; }
.cena-plano .kpi b::before { content: "+"; }
.cena-plano .kpi span { color: var(--cinza-n); font-size: 12px; }
.cena-plano .barra { height: 4px; background: rgba(255,255,255,.1); border-radius: 2px; overflow: hidden; margin-top: 6px; }
.cena-plano .barra i { display: block; height: 100%; width: 0; background: var(--grad); transition: width 1.8s var(--ease) .8s; }
.pronto .cena-plano .barra i { width: var(--w); }
.cena-pe { color: #8fe3a8 !important; margin-top: 12px !important; }
.cena-chip { left: 2%; bottom: 6%; z-index: 4; background: var(--acento); color: var(--tinta); padding: 8px 12px; border-radius: var(--r); font-size: 10.5px; box-shadow: 0 16px 30px -10px rgba(34,211,238,.6); animation: flutua 5s ease-in-out .3s infinite; }
@keyframes flutua { 0%, 100% { translate: 0 0; } 50% { translate: 0 -10px; } }
@media (max-width: 980px) {
  .hero { min-height: 0; }
  .hero-grade { grid-template-columns: minmax(0, 1fr); gap: 56px; }
  .hero-cena { height: clamp(380px, 80vw, 540px); max-width: 560px; width: 100%; margin: 0 auto; }
}
@media (max-width: 520px) { .cena-plano h4 { font-size: 16px; } .cena-plano .kpi b { font-size: 22px; } .cena-plano { padding: 12px; } }

/* ---------- números ---------- */
.numeros { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-bottom: 1px solid var(--linha); }
.numeros > div { padding: clamp(28px, 4vw, 48px) var(--gut); border-right: 1px solid var(--linha); display: flex; flex-direction: column; gap: 8px; }
.numeros > div:last-child { border-right: 0; }
.numeros b { font-size: clamp(38px, 4.4vw, 60px); font-weight: 400; line-height: 1; letter-spacing: -.02em; }
.numeros > div > span { color: var(--cinza); font-size: 14px; max-width: 18em; }
@media (max-width: 900px) { .numeros { grid-template-columns: repeat(2, minmax(0, 1fr)); } .numeros > div:nth-child(2) { border-right: 0; } .numeros > div:nth-child(-n+2) { border-bottom: 1px solid var(--linha); } }

/* ---------- seções ---------- */
#site section:not(.hero):not(.numeros) { padding: clamp(72px, 9vw, 130px) var(--gut); }
#site section:not(.numeros) > * { max-width: var(--larg); margin-left: auto; margin-right: auto; }
.rot { color: var(--acento); margin: 0 0 20px; }
.claro .rot { color: var(--acento-txt); }
.sec-cab h2 { font-family: var(--f-serif); font-weight: 400; font-size: var(--t-h2); line-height: 1.1; letter-spacing: -.015em; margin: 0; }
.sec-cab h2 em { color: inherit; }
.escuro .sec-cab h2 em { color: #fff; opacity: .78; }
.sec-sub { font-size: var(--t-lead); max-width: 38em; margin: 20px 0 0; color: var(--cinza); }
.escuro .sec-sub { color: #b4afb8; }
.legenda { color: var(--cinza-n); margin-top: 14px !important; font-size: 10.5px; }
.revela { opacity: 0; transform: translateY(26px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.revela.on { opacity: 1; transform: none; }

/* ---------- estúdio ao vivo ---------- */
.estudio { margin-top: 52px !important; border: 1px solid var(--linha-n); border-radius: var(--r2); background: #111013; overflow: hidden; box-shadow: 0 40px 80px -40px rgba(0,0,0,.6); }
.est-topo { display: flex; justify-content: space-between; gap: 10px; padding: 12px 18px; border-bottom: 1px solid var(--linha-n); color: var(--cinza-n); font-size: 10.5px; }
.ao-vivo { display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--acento); margin-right: 10px; vertical-align: middle; animation: pisca 1.2s infinite; }
@keyframes pisca { 50% { opacity: .25; } }
.est-corpo { display: grid; grid-template-columns: minmax(0, 1fr) 240px; min-height: 460px; }
.est-esq { padding: 20px; border-right: 1px solid var(--linha-n); display: flex; flex-direction: column; gap: 18px; min-width: 0; }
.est-brief { border: 1px solid var(--linha-n); border-radius: var(--r); padding: 12px 14px; background: rgba(255,255,255,.02); }
.est-brief .mono { color: var(--cinza-n); font-size: 9.5px; margin: 0 0 6px; }
#est-digita { font-family: var(--f-serif); font-size: clamp(16px, 1.6vw, 20px); min-height: 1.5em; color: #fff; }
#est-digita::after { content: "▍"; color: var(--acento); animation: pisca .8s infinite; margin-left: 2px; }
.est-fases { list-style: none; padding: 0; margin: 0; display: flex; gap: 0; border-bottom: 1px solid var(--linha-n); overflow-x: auto; scrollbar-width: none; font-size: 9.5px; }
.est-fases::-webkit-scrollbar { display: none; }
.est-fases li { padding: 8px 12px 9px; color: #5f5a64; border-bottom: 2px solid transparent; margin-bottom: -1px; white-space: nowrap; transition: color .3s, border-color .3s; }
.est-fases li.feito { color: #b4afb8; }
.est-fases li.on { color: #fff; border-color: var(--acento); }
.est-palco { flex: 1; display: grid; place-items: center; min-height: 150px; position: relative; }
.est-agente { display: flex; align-items: center; gap: 14px; border: 1px solid rgba(34,211,238,.4); background: rgba(34,211,238,.06); border-radius: var(--r); padding: 12px 16px; animation: aparece .5s var(--ease); max-width: 100%; }
.est-agente .av { width: 42px; height: 42px; border-radius: 50%; background: var(--grad); display: grid; place-items: center; font-weight: 700; color: var(--noite); flex: 0 0 auto; }
.est-agente b { font-family: var(--f-serif); font-weight: 400; font-style: italic; font-size: 19px; display: block; line-height: 1.2; }
.est-agente small { font-family: var(--f-mono); font-size: 9.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--acento); }
.est-pecas { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 8px; min-height: 92px; }
.est-peca { aspect-ratio: 4/5; border-radius: var(--r); background-size: cover; background-position: center; position: relative; overflow: hidden; animation: estala .5s var(--ease); border: 1px solid var(--linha-n); }
.est-peca span { position: absolute; left: 6px; right: 6px; bottom: 6px; font-size: 9px; font-weight: 700; color: #fff; line-height: 1.2; }
@keyframes estala { from { transform: scale(.6); opacity: 0; } }
.est-dir { display: flex; flex-direction: column; }
.est-cont { padding: 16px 18px; border-bottom: 1px solid var(--linha-n); }
.est-cont .mono { color: var(--cinza-n); font-size: 9.5px; margin: 0; }
.est-cont b { font-family: var(--f-serif); font-weight: 400; font-size: 34px; line-height: 1.1; }
.est-log { padding: 16px 18px; flex: 1; overflow: hidden; }
.est-log .mono { color: var(--cinza-n); font-size: 9.5px; margin: 0 0 10px; }
.est-log ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; font-size: 12.5px; color: #cfcad3; }
.est-log li { animation: aparece .4s var(--ease); line-height: 1.4; }
.est-log li b { color: var(--acento); font-weight: 600; }
@media (max-width: 860px) {
  .est-corpo { grid-template-columns: minmax(0, 1fr); }
  .est-esq { border-right: 0; border-bottom: 1px solid var(--linha-n); }
  .est-dir { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .est-cont { border-right: 1px solid var(--linha-n); }
  .est-cont:nth-child(3) { border-right: 0; }
  .est-cont b { font-size: 26px; }
  .est-log { grid-column: 1 / -1; max-height: 150px; }
  .est-pecas { grid-template-columns: repeat(4, minmax(0, 1fr)); min-height: 0; }
  .est-corpo { min-height: 0; }
  .est-palco { min-height: 110px; flex: 0 0 auto; }
  .est-pecas .est-peca:nth-child(n+5) { display: none; }
}

/* ---------- objetivos (demo interativa) ---------- */
.obj-demo { margin-top: 52px !important; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 0; border: 1px solid var(--linha); border-radius: var(--r2); background: var(--superficie); overflow: hidden; }
.obj-botoes { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border-right: 1px solid var(--linha); }
.obj-botoes button { text-align: left; background: none; border: 0; border-bottom: 1px solid var(--linha); border-right: 1px solid var(--linha); padding: 22px 20px; min-height: 150px; display: flex; flex-direction: column; transition: background .25s, color .25s; }
.obj-botoes button:nth-child(2n) { border-right: 0; }
.obj-botoes button:nth-child(n+3) { border-bottom: 0; }
.obj-botoes .mono { color: var(--acento-txt); }
.obj-botoes b { font-family: var(--f-serif); font-weight: 400; font-size: clamp(22px, 2.2vw, 28px); margin-top: auto; line-height: 1.15; }
.obj-botoes small { color: var(--cinza); font-size: 13.5px; }
.obj-botoes button.on { background: var(--noite); color: #fff; }
.obj-botoes button.on .mono { color: var(--acento); }
.obj-botoes button.on small { color: var(--cinza-n); }
.obj-saida { padding: clamp(20px, 3vw, 32px); display: flex; flex-direction: column; gap: 14px; }
.obj-saida .mono { color: var(--cinza); }
.obj-saida h4 { font-family: var(--f-serif); font-weight: 400; font-size: clamp(22px, 2.2vw, 28px); margin: 0; line-height: 1.2; }
.obj-peso { display: grid; grid-template-columns: 110px minmax(0, 1fr) 44px; align-items: center; gap: 12px; font-size: 14px; font-weight: 500; }
.obj-peso .trilho { height: 8px; border-radius: 4px; background: var(--apoio); overflow: hidden; }
.obj-peso .trilho i { display: block; height: 100%; background: var(--grad); transition: width .6s var(--ease); }
.obj-peso output { font-family: var(--f-mono); font-size: 12px; text-align: right; }
.obj-kpis { display: flex; flex-wrap: wrap; gap: 6px; }
.obj-kpis span { font-family: var(--f-mono); font-size: 10.5px; text-transform: uppercase; letter-spacing: .08em; border: 1px solid var(--linha); padding: 5px 9px; border-radius: var(--r); }
@media (max-width: 860px) { .obj-demo { grid-template-columns: minmax(0, 1fr); } .obj-botoes { border-right: 0; border-bottom: 1px solid var(--linha); } .obj-botoes button { min-height: 120px; } }

/* ---------- entregas ---------- */
.vitrine { display: flex; gap: 20px; overflow-x: auto; margin-top: 52px !important; padding: 6px 2px 22px; scroll-snap-type: x mandatory; scrollbar-width: none; -webkit-overflow-scrolling: touch; overscroll-behavior-x: contain; max-width: none !important; }
.vitrine::-webkit-scrollbar { display: none; }
.vitrine > * { scroll-snap-align: start; flex: 0 0 auto; }
.vitrine .vit-item { width: min(320px, 78vw); }
.vitrine .vit-rot { margin-top: 12px; display: flex; justify-content: space-between; color: var(--cinza-n); font-size: 10.5px; }
@media (min-width: 1240px) { .vitrine { padding-left: calc((100vw - var(--larg)) / 2 - var(--gut)); } }

/* ---------- comparação ---------- */
.tab-comp { margin-top: 52px !important; border-top: 1px solid var(--tinta); }
.tc-linha { display: grid; grid-template-columns: minmax(140px, 1fr) minmax(0, 1.3fr) minmax(0, 1fr) minmax(0, 1fr); border-bottom: 1px solid var(--linha); }
.tc-linha > span { padding: 18px 16px; font-size: 15px; }
.tc-linha > span:first-child { font-family: var(--f-serif); font-size: 18px; padding-left: 0; }
.tc-linha > span:not(:first-child) { color: var(--cinza); }
.tc-linha .tc-clientte { background: var(--noite); color: #fff !important; }
.tc-cab > span { padding-top: 14px; padding-bottom: 14px; font-size: 10.5px; }
.tc-cab .tc-clientte { color: var(--acento) !important; }
@media (max-width: 760px) {
  .tc-cab { display: none; }
  .tc-linha { grid-template-columns: minmax(0, 1fr); padding: 14px 0; }
  .tc-linha > span { padding: 4px 0; }
  .tc-linha > span:first-child { font-size: 20px; margin-bottom: 6px; }
  .tc-linha .tc-clientte { padding: 10px 12px; border-radius: var(--r); margin-bottom: 4px; }
  .tc-linha .tc-clientte::before { content: "Clientte — "; color: var(--acento); font-weight: 600; }
  .tc-linha > span:nth-child(3)::before { content: "Agência tradicional: "; font-weight: 600; color: var(--tinta); }
  .tc-linha > span:nth-child(4)::before { content: "Sozinho: "; font-weight: 600; color: var(--tinta); }
}

/* ---------- processo ---------- */

.passos { list-style: none; margin-top: 52px !important; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--linha); }
.passos li { padding: 26px 22px 6px 0; }
.passos li + li { padding-left: 22px; border-left: 1px solid var(--linha); }
.passos .mono { color: var(--acento-txt); }
.passos h3 { font-family: var(--f-serif); font-weight: 400; font-size: clamp(21px, 1.9vw, 25px); margin: 22px 0 8px; line-height: 1.2; }
.passos p { color: var(--cinza); margin: 0; font-size: 15px; }
@media (max-width: 960px) { .passos { grid-template-columns: repeat(2, minmax(0, 1fr)); } .passos li, .passos li + li { padding: 24px 20px; border-left: 0; border-bottom: 1px solid var(--linha); } .passos li:nth-child(even) { border-left: 1px solid var(--linha); } .passos li:nth-child(odd) { padding-left: 0; } }
@media (max-width: 560px) { .passos { grid-template-columns: minmax(0, 1fr); } .passos li, .passos li + li, .passos li:nth-child(even) { padding: 22px 0; border-left: 0; } }

/* ---------- CTA + rodapé ---------- */
.cta-final { position: relative; overflow: hidden; text-align: center; }
.cta-final > *:not(canvas) { position: relative; z-index: 1; }
.cta-titulo { font-family: var(--f-serif); font-weight: 400; font-size: clamp(36px, 5.6vw, 80px); line-height: 1.1; letter-spacing: -.015em; margin: 0 auto 40px !important; max-width: 16em !important; }
.rodape { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px 24px; padding: 28px var(--gut) max(28px, env(safe-area-inset-bottom)); color: var(--cinza-n); border-top: 1px solid var(--linha-n); align-items: center; font-size: 10.5px; }
.rodape .marca { color: #fff; }

/* ---------- folha (login / modais) ---------- */
.folha { position: fixed; inset: 0; z-index: 80; display: flex; justify-content: flex-end; }
.folha-fundo { position: absolute; inset: 0; background: rgba(11,10,12,.55); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); animation: fade .3s; }
.folha-painel { position: relative; width: min(460px, 100%); height: 100%; overflow-y: auto; -webkit-overflow-scrolling: touch; overscroll-behavior: contain; background: var(--fundo); color: var(--tinta); padding: 28px clamp(20px, 4vw, 40px) 36px; padding-top: max(28px, env(safe-area-inset-top)); padding-bottom: max(36px, env(safe-area-inset-bottom)); animation: entra-dir .45s var(--ease); }
@keyframes entra-dir { from { transform: translateX(100%); } }
@keyframes fade { from { opacity: 0; } }
.fechar { position: absolute; top: max(12px, env(safe-area-inset-top)); right: 12px; background: none; border: 0; font-size: 30px; line-height: 1; width: 44px; height: 44px; color: var(--cinza); }
.fechar:hover { color: var(--tinta); }
.abas-login { display: flex; margin: 32px 0 26px; border-bottom: 1px solid var(--linha); }
.abas-login button { flex: 1; border: 0; background: none; padding: 12px 6px; font-weight: 600; color: var(--cinza); border-bottom: 2px solid transparent; margin-bottom: -1px; }
.abas-login .ativa { color: var(--tinta); border-color: var(--acento); }
.form h2 { font-family: var(--f-serif); font-weight: 400; font-size: clamp(28px, 3vw, 34px); line-height: 1.15; margin: 0 0 22px; }
.form label { display: block; font-size: 13px; font-weight: 600; margin-bottom: 14px; }
.form label small { font-weight: 400; color: var(--cinza); }
.form input, .form textarea, .form select, .campo { display: block; width: 100%; margin-top: 6px; padding: 12px 14px; border: 1px solid rgba(18,17,18,.2); border-radius: var(--r); background-color: var(--superficie); font-size: 16px; line-height: 1.4; transition: border-color .2s, box-shadow .2s; -webkit-appearance: none; appearance: none; }
.form select, select.campo { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23121112' stroke-width='1.6' fill='none'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; padding-right: 36px; }
.form input:focus, .form textarea:focus, .form select:focus, .campo:focus { outline: none; border-color: var(--tinta); box-shadow: 0 0 0 3px var(--acento-claro); }
.form textarea, textarea.campo { resize: vertical; min-height: 92px; }
.link { background: none; border: 0; padding: 12px 0; text-decoration: underline; font-size: 14px; color: var(--cinza); }
.erro-form { color: #c62828; font-weight: 600; min-height: 1.4em; margin-top: 10px; }
.ajuda { color: var(--cinza); font-size: 14px; margin: -6px 0 18px; }

/* ======================================================================
   APP (mesma linguagem: papel, serifada, mono, cantos retos)
   ====================================================================== */
#app { min-height: 100svh; }
.topo { position: sticky; top: 0; z-index: 30; display: flex; align-items: center; gap: 14px; padding: 0 var(--gut); padding-top: env(safe-area-inset-top); height: calc(60px + env(safe-area-inset-top)); background: var(--noite); color: #fff; }
.topo .marca { font-size: 22px; flex: 0 0 auto; }
.migalha { display: flex; align-items: center; gap: 8px; font-size: 13.5px; color: var(--cinza-n); min-width: 0; overflow: hidden; white-space: nowrap; }
.migalha > * { flex: 0 1 auto; min-width: 0; overflow: hidden; text-overflow: ellipsis; }
.migalha a { text-decoration: none; }
.migalha a:hover { color: #fff; }
.migalha > span:last-child:not(:first-child) { color: #fff; }
.topo-dir { margin-left: auto; display: flex; gap: 8px; align-items: center; flex: 0 0 auto; }
.avatar { width: 36px; height: 36px; border-radius: 50%; background: var(--grad); color: var(--noite); display: grid; place-items: center; font-weight: 700; border: 0; }
.pagina { padding: clamp(26px, 3.6vw, 48px) var(--gut) calc(110px + env(safe-area-inset-bottom)); max-width: 1320px; margin: 0 auto; }
.titulo-pg { font-family: var(--f-serif); font-weight: 400; font-size: var(--t-h1); letter-spacing: -.01em; line-height: 1.12; margin: 0 0 8px; }
.titulo-pg em { color: var(--acento-txt); }
.sub-pg { color: var(--cinza); font-size: var(--t-lead); margin: 0 0 30px; max-width: 40em; }
.btn { border: 1px solid var(--tinta); background: transparent; border-radius: var(--r); padding: 10px 16px; font-weight: 600; font-size: 14px; display: inline-flex; align-items: center; justify-content: center; gap: 8px; text-decoration: none; transition: background .2s, color .2s, border-color .2s; white-space: nowrap; line-height: 1.2; min-height: 42px; }
.btn:hover { background: var(--tinta); color: #fff; }
.btn.cheio { background: var(--tinta); color: #fff; }
.btn.cheio:hover { background: var(--acento); border-color: var(--acento); color: var(--tinta); }
.btn.acento { background: var(--acento); border-color: var(--acento); color: var(--tinta); }
.btn.acento:hover { background: #67e8f9; border-color: #67e8f9; }
.btn.leve { border-color: transparent; background: rgba(18,17,18,.06); }
.btn.leve:hover { background: rgba(18,17,18,.12); color: var(--tinta); }
.btn.peq { padding: 7px 12px; font-size: 13px; min-height: 36px; }
.btn:disabled { opacity: .45; pointer-events: none; }
.chip { display: inline-flex; align-items: center; gap: 6px; padding: 4px 9px; border-radius: var(--r); background: rgba(18,17,18,.06); font-size: 12.5px; font-weight: 600; white-space: nowrap; line-height: 1.35; }
.chip.acento { background: var(--acento-claro); color: var(--acento-txt); }
.chip.ok { background: rgba(29,122,70,.1); color: var(--ok); }
.chip .bolinha { width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.vazio { border: 1px dashed rgba(18,17,18,.25); border-radius: var(--r2); padding: 44px 22px; text-align: center; color: var(--cinza); background: var(--superficie); }
.vazio h3 { color: var(--tinta); font-family: var(--f-serif); font-weight: 400; font-size: 28px; margin: 0 0 8px; }

/* pastas */
.grade-emp { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(270px, 100%), 1fr)); gap: 16px; }
.pasta { position: relative; border-radius: var(--r2); background: var(--superficie); text-decoration: none; overflow: hidden; display: flex; flex-direction: column; min-height: 272px; transition: transform .35s var(--ease), box-shadow .35s; border: 1px solid var(--linha); }
@media (hover: hover) { .pasta:hover { transform: translateY(-4px); box-shadow: 0 26px 50px -28px rgba(18,17,18,.45); } .pasta:hover .pasta-capa img { transform: scale(1.05); } }
.pasta-capa { height: 140px; background: var(--noite); position: relative; overflow: hidden; }
.pasta-capa img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.pasta-logo { position: absolute; left: 18px; top: 112px; width: 56px; height: 56px; border-radius: var(--r2); background: #fff; box-shadow: 0 6px 18px rgba(0,0,0,.16); display: grid; place-items: center; overflow: hidden; font-family: var(--f-serif); font-size: 24px; z-index: 2; border: 1px solid var(--linha); }
.pasta-logo img { width: 100%; height: 100%; object-fit: contain; padding: 6px; }
.pasta-corpo { padding: 38px 18px 18px; display: flex; flex-direction: column; flex: 1; }
.pasta h3 { margin: 0; font-family: var(--f-serif); font-weight: 400; font-size: 22px; line-height: 1.2; }
.pasta .seg { color: var(--cinza); font-size: 14px; margin: 3px 0 0; }
.pasta-pe { margin-top: auto; padding-top: 14px; display: flex; gap: 6px; flex-wrap: wrap; align-items: center; }
.cores { display: flex; }
.cores span { width: 16px; height: 16px; border-radius: 50%; border: 2px solid #fff; margin-left: -5px; box-shadow: 0 0 0 1px var(--linha); }
.cores span:first-child { margin-left: 0; }
.pasta-nova { border: 1px dashed rgba(18,17,18,.3); background: transparent; align-items: center; justify-content: center; text-align: center; color: var(--cinza); padding: 20px; }
.pasta-nova:hover { border-color: var(--acento); color: var(--tinta); }
.pasta-nova .mais { width: 56px; height: 56px; border-radius: 50%; background: var(--acento); color: var(--tinta); display: grid; place-items: center; font-size: 28px; margin: 0 auto 12px; transition: transform .4s var(--ease); }
.pasta-nova:hover .mais { transform: rotate(90deg); }

/* empresa */
.emp-cab { display: flex; gap: 16px 20px; align-items: center; margin-bottom: 22px; flex-wrap: wrap; }
.emp-logo { width: 72px; height: 72px; border-radius: var(--r2); background: #fff; display: grid; place-items: center; overflow: hidden; font-family: var(--f-serif); font-size: 32px; flex: 0 0 auto; border: 1px solid var(--linha); }
.emp-logo img { width: 100%; height: 100%; object-fit: contain; padding: 8px; }
.emp-cab .titulo-pg { margin: 0; }
.abas { display: flex; gap: 0; border-bottom: 1px solid var(--linha); margin-bottom: 26px; overflow-x: auto; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
.abas::-webkit-scrollbar { display: none; }
.abas a { padding: 12px 16px; text-decoration: none; font-weight: 600; font-size: 14.5px; color: var(--cinza); border-bottom: 2px solid transparent; margin-bottom: -1px; white-space: nowrap; flex: 0 0 auto; }
.abas a.ativa { color: var(--tinta); border-color: var(--acento); }
.lista-planos { display: grid; gap: 0; border-top: 1px solid var(--linha); }
.linha-plano { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 14px; align-items: center; border-bottom: 1px solid var(--linha); padding: 18px 4px; text-decoration: none; transition: background .2s, padding .25s var(--ease); }
@media (hover: hover) { .linha-plano:hover { background: var(--superficie); padding-left: 14px; } }
.linha-plano h3 { margin: 0 0 8px; font-family: var(--f-serif); font-weight: 400; font-size: 22px; line-height: 1.2; }
.linha-plano .chips { display: flex; gap: 6px; flex-wrap: wrap; }
@media (max-width: 560px) { .linha-plano { grid-template-columns: minmax(0, 1fr); } .linha-plano > div:last-child { text-align: left !important; display: flex; gap: 10px; align-items: center; } .linha-plano > div:last-child .mono { margin: 0 !important; } }
.grade-fotos { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(140px, 44vw), 1fr)); gap: 10px; }
.foto { position: relative; border-radius: var(--r); overflow: hidden; background: var(--apoio); aspect-ratio: 1; }
.foto img { width: 100%; height: 100%; object-fit: cover; }
.foto.logo img { object-fit: contain; background: #fff; padding: 10px; }
.foto .acoes { position: absolute; inset: auto 6px 6px 6px; display: flex; gap: 4px; justify-content: flex-end; flex-wrap: wrap; opacity: 0; transition: opacity .2s; }
.foto:hover .acoes, .foto:focus-within .acoes { opacity: 1; }
@media (hover: none) { .foto .acoes { opacity: 1; } }
.foto .acoes button { background: rgba(255,255,255,.95); border: 0; border-radius: var(--r); padding: 6px 9px; font-size: 12px; font-weight: 600; }
.foto .tag { position: absolute; top: 8px; left: 8px; }
.soltar { border: 1px dashed rgba(18,17,18,.3); border-radius: var(--r2); padding: 30px 18px; text-align: center; color: var(--cinza); transition: border-color .2s, background .2s; cursor: pointer; display: block; background: var(--superficie); }
.soltar:hover, .soltar.sobre { border-color: var(--acento); background: var(--acento-claro); color: var(--tinta); }
.soltar strong { color: var(--tinta); display: block; font-family: var(--f-serif); font-weight: 400; font-size: 21px; }
.duas { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 14px; }
@media (max-width: 700px) { .duas { grid-template-columns: minmax(0, 1fr); } }
.caixa { background: var(--superficie); border: 1px solid var(--linha); border-radius: var(--r2); padding: clamp(18px, 2.6vw, 26px); }
.caixa h3 { margin: 0 0 6px; font-family: var(--f-serif); font-weight: 400; font-size: 23px; }
.sec-tit { font-size: 11px; text-transform: uppercase; letter-spacing: .12em; font-family: var(--f-mono); color: var(--cinza); margin: 32px 0 12px; }

/* redes */
.grade-redes { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(280px, 100%), 1fr)); gap: 14px; }
.rede { background: var(--superficie); border: 1px solid var(--linha); border-radius: var(--r2); padding: 18px; display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.rede-cab { display: flex; align-items: center; gap: 12px; }
.rede-ico { width: 42px; height: 42px; border-radius: var(--r2); display: grid; place-items: center; color: #fff; font-weight: 800; font-size: 14px; flex: 0 0 auto; }
.rede-ico.instagram { background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fd5949 45%, #d6249f 60%, #285AEB 90%); }
.rede-ico.facebook { background: #1877f2; } .rede-ico.linkedin { background: #0a66c2; } .rede-ico.tiktok { background: #111; }
.rede-ico.youtube { background: #ff0000; } .rede-ico.whatsapp { background: #25d366; } .rede-ico.site { background: var(--tinta); }
.rede h4 { margin: 0; font-size: 16px; }
.rede .num { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; text-align: center; }
.rede .num b { display: block; font-family: var(--f-serif); font-weight: 400; font-size: 24px; }
.rede .num span { font-size: 12px; color: var(--cinza); }
.mini-midias { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 4px; }
.mini-midias img { aspect-ratio: 1; object-fit: cover; border-radius: 2px; width: 100%; }
.linha-form { display: flex; gap: 8px; flex-wrap: wrap; }
.linha-form .campo { margin: 0; flex: 1 1 160px; min-width: 0; }

/* wizard */
.wizard { max-width: 880px; }
.passo-ind { display: flex; gap: 4px; margin-bottom: 26px; }
.passo-ind span { flex: 1; height: 3px; background: rgba(18,17,18,.1); overflow: hidden; position: relative; }
.passo-ind span.on::after { content: ""; position: absolute; inset: 0; background: var(--grad); animation: barra-in .5s var(--ease); }
@keyframes barra-in { from { transform: scaleX(0); transform-origin: left; } }
.objs { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(170px, 44vw), 1fr)); gap: 10px; }
.obj-op { text-align: left; border: 1px solid var(--linha); background: var(--superficie); border-radius: var(--r2); padding: 18px 16px; transition: transform .25s var(--ease), border-color .2s, background .2s; min-height: 140px; display: flex; flex-direction: column; }
@media (hover: hover) { .obj-op:hover { transform: translateY(-2px); border-color: var(--tinta); } }
.obj-op.on { border-color: var(--noite); background: var(--noite); color: #fff; }
.obj-op.on .ic { color: var(--acento); }
.obj-op .ic { font-size: 20px; color: var(--acento-txt); }
.obj-op b { font-family: var(--f-serif); font-weight: 400; font-size: 22px; margin-top: auto; line-height: 1.2; }
.obj-op small { opacity: .75; font-size: 13px; line-height: 1.35; margin-top: 4px; }
.pesos { margin-top: 22px; display: grid; gap: 12px; }
.peso { display: grid; grid-template-columns: minmax(88px, 120px) minmax(0, 1fr) 48px; align-items: center; gap: 12px; font-weight: 600; }
.peso input[type=range] { width: 100%; accent-color: var(--acento); }
.peso output { text-align: right; font-family: var(--f-mono); }
.chips-sel { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; }
.chips-sel button { border: 1px solid rgba(18,17,18,.2); background: var(--superficie); border-radius: var(--r); padding: 8px 12px; font-size: 14px; font-weight: 500; line-height: 1.25; text-align: left; }
.chips-sel button.on { background: var(--tinta); color: #fff; border-color: var(--tinta); }
.wizard-pe { display: flex; justify-content: space-between; gap: 12px; margin-top: 30px; flex-wrap: wrap; }

/* plano */
.plano-cab { display: flex; justify-content: space-between; gap: 16px 24px; align-items: flex-end; flex-wrap: wrap; margin-bottom: 16px; }
.plano-cab > div:first-child { flex: 1 1 420px; min-width: 0; }
.plano-acoes { display: flex; gap: 8px; flex-wrap: wrap; }
.plano-abas { position: sticky; top: calc(60px + env(safe-area-inset-top)); z-index: 20; background: rgba(248,246,242,.95); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.plano-grade { display: grid; grid-template-columns: 210px minmax(0, 1fr); gap: 36px; align-items: start; }
.indice { position: sticky; top: calc(130px + env(safe-area-inset-top)); display: flex; flex-direction: column; border-left: 1px solid var(--linha); }
.indice a { text-decoration: none; padding: 7px 14px; color: var(--cinza); font-size: 14px; display: flex; gap: 10px; line-height: 1.35; border-left: 2px solid transparent; margin-left: -1px; }
.indice a span { font-family: var(--f-mono); font-size: 10.5px; padding-top: 2px; color: var(--acento-txt); }
.indice a:hover, .indice a.ativo { color: var(--tinta); border-color: var(--acento); }
@media (max-width: 1100px) { .plano-grade { grid-template-columns: minmax(0, 1fr); } .indice { display: none; } }
.bloco { background: var(--superficie); border: 1px solid var(--linha); border-radius: var(--r2); padding: clamp(18px, 3vw, 36px); margin-bottom: 18px; scroll-margin-top: 140px; position: relative; animation: aparece .6s var(--ease); min-width: 0; }
.bloco-cab { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; margin-bottom: 22px; flex-wrap: wrap; padding-bottom: 16px; border-bottom: 1px solid var(--linha); }
.bloco-cab .n { font-family: var(--f-mono); font-size: 11px; letter-spacing: .1em; color: var(--acento-txt); }
.bloco-cab h2 { margin: 4px 0 0; font-family: var(--f-serif); font-weight: 400; font-size: clamp(26px, 2.8vw, 36px); line-height: 1.15; }
.bloco-acoes { display: flex; gap: 6px; flex-wrap: wrap; }
.bloco.trabalhando::after { content: ""; position: absolute; inset: 0; border-radius: inherit; border: 2px solid var(--acento); animation: pisca 1.4s infinite; pointer-events: none; }
@keyframes brilho { to { background-position: -100% 0; } }
.destaque { font-family: var(--f-serif); font-style: italic; font-size: clamp(21px, 2.2vw, 28px); line-height: 1.35; margin: 0 0 20px; max-width: 34em; padding-left: 18px; border-left: 3px solid var(--acento); }
.txt-grande { font-size: 16.5px; line-height: 1.7; max-width: 46em; }
.swot { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0; margin-top: 18px; border: 1px solid var(--linha); }
.swot > div { padding: 16px 18px; min-width: 0; }
.swot > div:nth-child(odd) { border-right: 1px solid var(--linha); }
.swot > div:nth-child(-n+2) { border-bottom: 1px solid var(--linha); }
.swot h4, .mini-tit { margin: 0 0 10px; font-family: var(--f-mono); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--acento-txt); font-weight: 500; }
.swot ul, .lista { margin: 0; padding-left: 18px; }
.swot li, .lista li { margin-bottom: 6px; }
@media (max-width: 640px) { .swot { grid-template-columns: minmax(0, 1fr); } .swot > div { border-right: 0 !important; border-bottom: 1px solid var(--linha); } .swot > div:last-child { border-bottom: 0; } }
.cartoes { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(250px, 100%), 1fr)); gap: 12px; }
.cartao { border-radius: var(--r2); padding: 18px; background: var(--apoio2); min-width: 0; border: 1px solid transparent; }
.cartao h4 { margin: 0 0 4px; font-family: var(--f-serif); font-weight: 400; font-size: 20px; line-height: 1.25; }
.cartao .k { font-family: var(--f-mono); font-size: 10.5px; text-transform: uppercase; color: var(--cinza); letter-spacing: .1em; margin-top: 12px; display: block; }
.cartao p { margin: 2px 0 0; }
.persona-av { width: 48px; height: 48px; border-radius: 50%; background: var(--grad); color: var(--noite); display: grid; place-items: center; font-family: var(--f-serif); font-size: 22px; margin-bottom: 12px; }
.pilares { display: flex; height: 44px; overflow: hidden; margin: 10px 0 12px; border-radius: var(--r); }
.pilares div { display: grid; place-items: center; font-size: 12px; font-weight: 700; color: #fff; padding: 0 6px; text-align: center; overflow: hidden; }
.voz { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 12px; }
@media (max-width: 640px) { .voz { grid-template-columns: minmax(0, 1fr); } }
.tabela { width: 100%; border-collapse: collapse; font-size: 15px; }
.tabela th { text-align: left; font-family: var(--f-mono); font-size: 10.5px; text-transform: uppercase; letter-spacing: .1em; color: var(--cinza); font-weight: 500; padding: 10px 12px 10px 0; border-bottom: 1px solid var(--tinta); }
.tabela td { padding: 12px 12px 12px 0; border-bottom: 1px solid var(--linha); vertical-align: top; }
.rolar-x { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.rolar-x .tabela { min-width: 560px; }
.funil { display: grid; gap: 6px; }
.funil-et { display: grid; grid-template-columns: 160px minmax(0, 1fr); gap: 16px; padding: 18px; border-radius: var(--r); color: #fff; }
.funil-et:nth-child(1) { background: var(--noite); }
.funil-et:nth-child(2) { background: #2a2530; margin: 0 2.5%; }
.funil-et:nth-child(3) { background: #4a4238; margin: 0 5%; }
.funil-et:nth-child(4) { background: var(--acento); color: var(--tinta); margin: 0 7.5%; }
.funil-et h4 { margin: 0; font-family: var(--f-serif); font-weight: 400; font-size: 22px; text-transform: capitalize; }
@media (max-width: 640px) { .funil-et { grid-template-columns: minmax(0, 1fr); margin: 0 !important; } }
.barra-midia { display: flex; height: 14px; overflow: hidden; margin: 14px 0 18px; border-radius: 2px; }
.cal { display: grid; gap: 12px; }
.cal-sem { border-radius: var(--r2); background: var(--apoio2); padding: 16px; }
.cal-sem h4 { margin: 0 0 12px; font-family: var(--f-serif); font-weight: 400; font-size: 19px; display: flex; gap: 10px; align-items: baseline; flex-wrap: wrap; line-height: 1.3; }
.cal-sem h4 span { font-family: var(--f-mono); font-size: 10.5px; letter-spacing: .1em; color: var(--acento-txt); }
.cal-dias { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(150px, 100%), 1fr)); gap: 8px; }
.cal-post { background: var(--superficie); border-radius: var(--r); padding: 10px 12px; font-size: 14px; border-left: 2px solid var(--acento); line-height: 1.4; }
.cal-post b { display: block; font-family: var(--f-mono); font-size: 10.5px; text-transform: uppercase; letter-spacing: .06em; color: var(--cinza); font-weight: 500; margin-bottom: 2px; }
.road { display: grid; border-left: 1px solid var(--tinta); margin-left: 6px; }
.road > div { padding: 0 0 22px 22px; position: relative; }
.road > div::before { content: ""; position: absolute; left: -6px; top: 6px; width: 11px; height: 11px; border-radius: 50%; background: var(--acento); }
.road h4 { margin: 0 0 6px; font-family: var(--f-serif); font-weight: 400; font-size: 20px; line-height: 1.3; }
.paleta { display: flex; gap: 10px; flex-wrap: wrap; }
.paleta > div { width: 104px; }
.paleta i { display: block; height: 64px; border-radius: var(--r); margin-bottom: 6px; box-shadow: inset 0 0 0 1px rgba(0,0,0,.08); }
.paleta small { display: block; font-size: 12px; color: var(--cinza); line-height: 1.3; }

/* gerando */
.gerando { max-width: 680px; margin: 24px auto; text-align: center; }
.gerando h2 { font-family: var(--f-serif); font-weight: 400; font-size: clamp(32px, 4.6vw, 52px); line-height: 1.15; margin: 0 0 12px; }
.gerando h2 em { color: var(--acento-txt); }
.etapas-ger { text-align: left; display: grid; gap: 0; margin: 30px auto 0; max-width: 500px; border-top: 1px solid var(--linha); }
.etapas-ger div { display: flex; gap: 12px; align-items: center; padding: 14px 4px; border-bottom: 1px solid var(--linha); opacity: .45; transition: opacity .3s; }
.etapas-ger div.on, .etapas-ger div.feito { opacity: 1; }
.etapas-ger .ico { width: 22px; height: 22px; border-radius: 50%; border: 2px solid rgba(18,17,18,.2); display: grid; place-items: center; font-size: 11px; flex: 0 0 auto; }
.etapas-ger .on .ico { border-color: var(--acento); border-top-color: transparent; animation: gira .8s linear infinite; }
.etapas-ger .feito .ico { background: var(--tinta); border-color: var(--tinta); color: #fff; }
@keyframes gira { to { transform: rotate(360deg); } }
.pulso { width: 92px; height: 92px; margin: 0 auto 26px; border-radius: 50%; background: var(--grad); animation: pulso 1.6s ease-in-out infinite; display: grid; place-items: center; font-family: var(--f-serif); font-style: italic; font-size: 44px; color: var(--noite); }
@keyframes pulso { 0%,100% { transform: scale(.92); box-shadow: 0 0 0 0 rgba(34,211,238,.35); } 50% { transform: scale(1); box-shadow: 0 0 0 26px rgba(34,211,238,0); } }

/* peças */
.filtros { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 20px; align-items: center; }
.filtros select { padding: 9px 34px 9px 12px; border-radius: var(--r); border: 1px solid rgba(18,17,18,.2); background: var(--superficie) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23121112' stroke-width='1.6' fill='none'/%3E%3C/svg%3E") no-repeat right 12px center; font-weight: 500; font-size: 16px; -webkit-appearance: none; appearance: none; min-height: 42px; max-width: 100%; }
.filtros .total { color: var(--cinza); margin-left: auto; }
@media (max-width: 600px) { .filtros > select { flex: 1 1 140px; } .filtros .total { width: 100%; margin: 0; } .filtros [data-gerar-pecas] { width: 100%; } }
.grade-pecas { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(320px, 100%), 1fr)); gap: 18px; align-items: start; }
.peca { background: var(--superficie); border: 1px solid var(--linha); border-radius: var(--r2); overflow: hidden; animation: aparece .6s var(--ease) backwards; min-width: 0; }
.peca-topo { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 14px 16px 0; }
.peca-mock { padding: 14px 16px; }
.peca-info { padding: 0 16px 14px; font-size: 14px; }
.peca-info > b { font-family: var(--f-serif); font-weight: 400; font-size: 19px !important; }
.peca-info details { border-top: 1px solid var(--linha); padding-top: 10px; margin-top: 8px; }
.peca-info summary { cursor: pointer; font-weight: 600; list-style: none; display: flex; justify-content: space-between; }
.peca-info summary::-webkit-details-marker { display: none; }
.peca-info summary::after { content: "+"; font-size: 18px; line-height: 1; }
.peca-info details[open] summary::after { content: "–"; }
.peca-info dl { margin: 10px 0 0; display: grid; gap: 8px; }
.peca-info dt { font-family: var(--f-mono); font-size: 10.5px; text-transform: uppercase; color: var(--cinza); letter-spacing: .1em; }
.peca-info dd { margin: 0; }
.peca-acoes { display: flex; gap: 6px; flex-wrap: wrap; padding: 0 16px 16px; }
.fav { width: 38px; padding: 0 !important; }
.fav.on { background: var(--acento); border-color: var(--acento); color: var(--tinta); }

/* mockups — cores reais das redes */
.mk { font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif; color: #111; font-size: 14px; line-height: 1.4; text-transform: none; letter-spacing: 0; }
.mk-ig { border: 1px solid #e6e6e6; border-radius: 12px; overflow: hidden; background: #fff; }
.mk-ig-cab { display: flex; align-items: center; gap: 9px; padding: 10px 12px; }
.mk-av { width: 32px; height: 32px; border-radius: 50%; background: #ddd; overflow: hidden; flex: 0 0 auto; display: grid; place-items: center; font-weight: 700; font-size: 13px; color: #fff; }
.mk-av img { width: 100%; height: 100%; object-fit: cover; }
.mk-ig-cab b { font-size: 13.5px; }
.mk-ig-cab small { display: block; color: #777; font-size: 11.5px; font-weight: 400; }
.mk-img { aspect-ratio: 1; background: #eee center/cover no-repeat; position: relative; overflow: hidden; }
.mk-img.r45 { aspect-ratio: 4/5; }
.mk-img .sobre { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: flex-end; padding: 18px; color: #fff; background: linear-gradient(transparent 40%, rgba(0,0,0,.65)); font-weight: 800; font-size: 20px; line-height: 1.18; letter-spacing: -.01em; }
.mk-img.sem-foto .sobre { background: none; justify-content: center; font-size: 22px; }
.mk-barra { display: flex; gap: 14px; padding: 10px 12px 4px; font-size: 20px; }
.mk-barra .dir { margin-left: auto; }
.mk-leg { padding: 4px 12px 12px; white-space: pre-wrap; overflow-wrap: anywhere; }
.mk-leg b { margin-right: 4px; }
.mk-tags { color: #00376b; }
.mk-car { position: relative; }
.mk-car-trilho { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; -webkit-overflow-scrolling: touch; overscroll-behavior-x: contain; }
.mk-car-trilho::-webkit-scrollbar { display: none; }
.mk-slide { flex: 0 0 100%; scroll-snap-align: start; aspect-ratio: 4/5; padding: 24px 20px; display: flex; flex-direction: column; justify-content: center; position: relative; background-size: cover; background-position: center; overflow: hidden; }
.mk-slide .sn { position: absolute; top: 14px; right: 16px; font-size: 11px; font-weight: 700; opacity: .75; }
.mk-slide h5 { margin: 0 0 10px; font-size: 23px; line-height: 1.12; letter-spacing: -.02em; font-weight: 800; }
.mk-slide p { margin: 0; font-size: 15px; line-height: 1.4; opacity: .92; white-space: pre-wrap; }
.mk-slide.foto::before { content: ""; position: absolute; inset: 0; background: linear-gradient(transparent 20%, rgba(0,0,0,.72)); }
.mk-slide.foto > * { position: relative; color: #fff; }
.mk-slide.foto > .sn { position: absolute; }
.mk-slide.foto { justify-content: flex-end; }
.mk-pontos { display: flex; justify-content: center; gap: 4px; padding: 8px 0 0; }
.mk-pontos i { width: 6px; height: 6px; border-radius: 50%; background: #c8c8c8; }
.mk-pontos i.on { background: #0095f6; }
.mk-tel { width: min(260px, 100%); margin: 0 auto; aspect-ratio: 9/16; border-radius: 28px; background: #111 center/cover; position: relative; overflow: hidden; border: 6px solid #111; box-shadow: 0 18px 36px -20px rgba(0,0,0,.55); }
.mk-tel::before { content: ""; position: absolute; inset: 0; background: linear-gradient(rgba(0,0,0,.25), transparent 30%, transparent 55%, rgba(0,0,0,.75)); }
.mk-tel > * { position: absolute; z-index: 1; color: #fff; }
.mk-tel .tt { top: 36%; left: 14px; right: 14px; text-align: center; font-weight: 800; font-size: 18px; line-height: 1.2; }
.mk-tel .tt span { background: #fff; color: #111; padding: 2px 8px; border-radius: 6px; box-decoration-break: clone; -webkit-box-decoration-break: clone; line-height: 1.55; }
.mk-tel .pe { left: 12px; right: 52px; bottom: 14px; font-size: 12.5px; }
.mk-tel .pe b { display: block; margin-bottom: 4px; font-size: 13px; }
.mk-tel .lat { right: 10px; bottom: 60px; display: flex; flex-direction: column; gap: 14px; font-size: 22px; text-align: center; }
.mk-tel .topo-tel { top: 12px; left: 0; right: 0; text-align: center; font-size: 12px; font-weight: 700; }
.mk-tel .barras { top: 8px; left: 10px; right: 10px; display: flex; gap: 3px; }
.mk-tel .barras i { flex: 1; height: 2.5px; background: rgba(255,255,255,.45); border-radius: 2px; }
.mk-tel .barras i.on { background: #fff; }
.mk-roteiro { margin-top: 14px; display: grid; gap: 6px; }
.mk-roteiro div { display: grid; grid-template-columns: 54px minmax(0, 1fr); gap: 10px; font-size: 13px; background: var(--apoio2); border-radius: var(--r); padding: 8px 10px; color: var(--tinta); font-family: var(--f-sans); }
.escuro .mk-roteiro div { background: var(--noite3); color: #e8e4ea; }
.mk-roteiro b { font-family: var(--f-mono); font-size: 10.5px; color: var(--acento-txt); padding-top: 2px; }
.escuro .mk-roteiro b { color: var(--acento); }
.mk-roteiro .fala { font-weight: 600; }
.mk-li { border: 1px solid #e0dfdc; border-radius: 10px; background: #fff; overflow: hidden; }
.mk-li-cab { display: flex; gap: 9px; padding: 12px; }
.mk-li-cab .mk-av { width: 46px; height: 46px; border-radius: 6px; }
.mk-li-cab b { font-size: 14px; display: block; }
.mk-li-cab small { color: #666; font-size: 12px; display: block; }
.mk-li-txt { padding: 0 12px 10px; white-space: pre-wrap; overflow-wrap: anywhere; }
.mk-li-acoes { display: flex; justify-content: space-around; border-top: 1px solid #e8e8e8; padding: 8px; color: #666; font-size: 13px; font-weight: 600; gap: 6px; }
.mk-li .mk-img { aspect-ratio: 1.91/1; }
.mk-mail { border: 1px solid #e3e3e3; border-radius: 12px; overflow: hidden; background: #fff; }
.mk-mail-cab { padding: 12px 14px; border-bottom: 1px solid #eee; font-size: 13px; color: #555; }
.mk-mail-cab b { color: #111; font-size: 16px; display: block; margin-bottom: 4px; }
.mk-mail-corpo { padding: 16px 14px; white-space: pre-wrap; overflow-wrap: anywhere; }
.mk-mail-corpo .btn-mk { display: inline-block; margin-top: 14px; padding: 11px 18px; border-radius: 8px; color: #fff; font-weight: 700; }
.mk-zap { background: #efe7dd; border-radius: 12px; padding: 14px; display: flex; flex-direction: column; gap: 8px; }
.mk-zap .bal { max-width: 88%; background: #fff; border-radius: 10px; padding: 8px 10px; white-space: pre-wrap; overflow-wrap: anywhere; box-shadow: 0 1px 1px rgba(0,0,0,.08); font-size: 14px; }
.mk-zap .bal.eu { align-self: flex-end; background: #d9fdd3; }
.mk-zap .bal small { display: block; text-align: right; color: #888; font-size: 10.5px; margin-top: 2px; }
.mk-zap-cab { display: flex; align-items: center; gap: 8px; background: #075e54; color: #fff; margin: -14px -14px 6px; padding: 10px 14px; border-radius: 12px 12px 0 0; font-weight: 600; }
.mk-goo { border: 1px solid #e3e3e3; border-radius: 12px; padding: 14px; background: #fff; font-family: Arial, sans-serif; }
.mk-goo small { font-size: 12px; color: #202124; } .mk-goo small b { font-weight: 700; }
.mk-goo h5 { color: #1a0dab; font-size: 19px; font-weight: 400; margin: 4px 0; line-height: 1.3; }
.mk-goo p { margin: 0; color: #4d5156; font-size: 14px; }
.mk-art { border: 1px solid #e3e3e3; border-radius: 12px; overflow: hidden; background: #fff; }
.mk-art .mk-img { aspect-ratio: 2/1; }
.mk-art-c { padding: 16px; }
.mk-art h5 { font-family: Georgia, serif; font-size: 21px; margin: 0 0 8px; line-height: 1.2; }
.mk-art p { white-space: pre-wrap; margin: 0; color: #333; display: -webkit-box; -webkit-line-clamp: 8; -webkit-box-orient: vertical; overflow: hidden; }
.mk-land { border-radius: 12px; overflow: hidden; border: 1px solid #e3e3e3; background: #fff; }
.mk-land-bar { background: #eee; padding: 7px 10px; display: flex; gap: 5px; }
.mk-land-bar i { width: 9px; height: 9px; border-radius: 50%; background: #ccc; }
.mk-land-hero { padding: 28px 20px; color: #fff; background-size: cover; background-position: center; position: relative; }
.mk-land-hero::before { content: ""; position: absolute; inset: 0; background: rgba(0,0,0,.45); }
.mk-land-hero > * { position: relative; }
.mk-land-hero h5 { font-size: 24px; line-height: 1.12; margin: 0 0 10px; letter-spacing: -.02em; }
.mk-land-hero p { margin: 0 0 16px; opacity: .92; }
.mk-land-hero .btn-mk { display: inline-block; padding: 11px 18px; border-radius: 8px; font-weight: 700; }
.mk-land-c { padding: 16px 20px; white-space: pre-wrap; color: #333; }
.mk-patro { font-size: 11.5px; color: #777; }

/* chat */
.fab-chat { position: fixed; right: max(16px, env(safe-area-inset-right)); bottom: max(16px, env(safe-area-inset-bottom)); z-index: 40; background: var(--noite); color: #fff; border: 1px solid rgba(255,255,255,.12); border-radius: var(--r); padding: 14px 18px; font-weight: 600; box-shadow: 0 16px 40px -12px rgba(11,10,12,.6); display: flex; align-items: center; gap: 10px; transition: transform .25s var(--ease), box-shadow .25s; }
@media (hover: hover) { .fab-chat:hover { transform: translateY(-3px); box-shadow: 0 16px 40px -10px rgba(0,0,0,.5); } }
.fab-chat i { width: 9px; height: 9px; border-radius: 50%; background: var(--acento); font-style: normal; animation: pisca 1.6s infinite; }
.chat { position: fixed; z-index: 60; right: 0; top: 0; bottom: 0; width: min(430px, 100%); background: var(--fundo); box-shadow: -20px 0 60px -20px rgba(0,0,0,.3); display: flex; flex-direction: column; animation: entra-dir .45s var(--ease); height: 100%; height: 100dvh; }
.chat-cab { padding: 0 18px; padding-top: env(safe-area-inset-top); height: calc(64px + env(safe-area-inset-top)); display: flex; align-items: center; justify-content: space-between; gap: 10px; background: var(--noite); color: #fff; }
.chat-cab h3 { margin: 0; font-family: var(--f-serif); font-weight: 400; font-size: 21px; line-height: 1.2; }
.chat-cab small { display: block; color: var(--cinza-n); font-family: var(--f-sans); font-size: 12.5px; }
.chat-cab .fechar { color: #fff; }
.chat-msgs { flex: 1; overflow-y: auto; -webkit-overflow-scrolling: touch; overscroll-behavior: contain; padding: 18px; display: flex; flex-direction: column; gap: 12px; }
.msg { max-width: 88%; padding: 12px 14px; border-radius: var(--r2); white-space: pre-wrap; overflow-wrap: anywhere; font-size: 15px; }
.msg.cliente { align-self: flex-end; background: var(--noite); color: #fff; }
.msg.clientte { align-self: flex-start; background: var(--superficie); border: 1px solid var(--linha); }
.msg .mud { display: flex; gap: 4px; flex-wrap: wrap; margin-top: 8px; }
.msg.pensando { color: var(--cinza); font-style: italic; }
.chat-sug { display: flex; gap: 6px; flex-wrap: wrap; padding: 0 18px 10px; }
.chat-sug button { border: 1px solid rgba(18,17,18,.18); background: var(--superficie); border-radius: var(--r); padding: 7px 10px; font-size: 13px; text-align: left; }
.chat-form { display: flex; gap: 8px; padding: 12px 14px; padding-bottom: max(12px, env(safe-area-inset-bottom)); border-top: 1px solid var(--linha); background: var(--superficie); }
.chat-form textarea { flex: 1; resize: none; border: 1px solid rgba(18,17,18,.2); border-radius: var(--r); padding: 11px 13px; font-size: 16px; min-height: 46px; max-height: 140px; background: var(--superficie); min-width: 0; }
.chat-form textarea:focus { outline: none; border-color: var(--tinta); }
.chat-form button { flex: 0 0 auto; width: 46px; height: 46px; border-radius: var(--r); border: 0; background: var(--acento); color: var(--tinta); font-size: 20px; font-weight: 800; align-self: flex-end; }

/* modal */
#modal .folha-painel { background: var(--fundo); }
#modal.centro { justify-content: center; align-items: center; padding: 16px; }
#modal.centro .folha-painel { height: auto; max-height: calc(100dvh - 32px); border-radius: var(--r2); width: min(600px, 100%); animation: sobe-mod .4s var(--ease); }
@keyframes sobe-mod { from { transform: translateY(24px); opacity: 0; } }
@media (max-width: 600px) { #modal.centro { align-items: flex-end; padding: 0; } #modal.centro .folha-painel { border-radius: 14px 14px 0 0; max-height: 92dvh; } }
.modal-tit { font-family: var(--f-serif); font-weight: 400; font-size: clamp(24px, 3vw, 30px); margin: 4px 0 16px; line-height: 1.2; padding-right: 36px; }
.mod-acoes { display: flex; gap: 8px; justify-content: flex-end; margin-top: 20px; flex-wrap: wrap; }
.escolher-foto { display: grid; grid-template-columns: repeat(auto-fill, minmax(88px, 1fr)); gap: 8px; }
.escolher-foto button { padding: 0; border: 3px solid transparent; border-radius: var(--r); overflow: hidden; aspect-ratio: 1; background: var(--apoio); }
.escolher-foto button.on { border-color: var(--acento); }
.escolher-foto img { width: 100%; height: 100%; object-fit: cover; }

#toast { position: fixed; left: 50%; bottom: max(24px, env(safe-area-inset-bottom)); transform: translate(-50%, 200%); visibility: hidden; background: var(--noite); color: #fff; padding: 12px 18px; border-radius: var(--r); font-weight: 500; z-index: 120; transition: transform .4s var(--ease); max-width: calc(100% - 32px); text-align: center; font-size: 15px; line-height: 1.35; border-left: 3px solid var(--acento); }
#toast.on { transform: translate(-50%, 0); visibility: visible; }
#toast.erro { border-left-color: #ff5a5a; }
.carregando { padding: 80px 0; text-align: center; color: var(--cinza); }
.spin { width: 28px; height: 28px; border: 2px solid rgba(18,17,18,.12); border-top-color: var(--acento); border-radius: 50%; animation: gira .8s linear infinite; margin: 0 auto 14px; }
.aviso { background: var(--acento-claro); border-left: 3px solid var(--acento); padding: 12px 16px; font-size: 14px; margin-bottom: 18px; }
.aviso.neutro { background: rgba(18,17,18,.05); border-left-color: var(--cinza); }

/* público + celular */
.pub-faixa { background: var(--noite); color: #fff; padding: 12px var(--gut); padding-top: max(12px, env(safe-area-inset-top)); display: flex; justify-content: space-between; align-items: center; gap: 12px; font-size: 14px; flex-wrap: wrap; }
@media (max-width: 600px) {
  .migalha > * { display: none; }
  .migalha > a:last-of-type { display: inline; color: #fff; font-weight: 500; }
  .migalha > a:last-of-type::before { content: "← "; }
  .fab-chat { padding: 12px 14px; font-size: 14px; }
  .plano-acoes { width: 100%; }
  .plano-acoes .btn { flex: 1 1 0; padding-left: 8px; padding-right: 8px; }
  .plano-acoes .btn[data-apagar-plano] { flex: 0 0 44px; }
  .emp-cab > .btn { width: 100%; }
}

@media print {
  @page { margin: 14mm; }
  body, body.em-app { background: #fff !important; }
  #grao, .topo, .fab-chat, .chat, .bloco-acoes, .plano-acoes, .abas, .plano-abas, .indice, .peca-acoes, .filtros, .pub-faixa, #toast { display: none !important; }
  .plano-grade { grid-template-columns: minmax(0, 1fr); }
  .bloco, .peca, .caixa { box-shadow: none; border: 1px solid #ddd; break-inside: avoid; }
  .bloco { animation: none; }
  .grade-pecas { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pagina { padding: 0; }
}

/* ======================================================================
   Estúdio ao vivo — sala de operações agêntica (porte do AgentFloor da Proficientia)
   ====================================================================== */
.estudio.af { margin-top: 52px !important; border: 1px solid var(--linha-n); border-radius: var(--r2); background: #0d0d0c; overflow: hidden; color: #f2f2ec; }
.af-topo { display: flex; flex-wrap: wrap; gap: 8px 24px; align-items: center; padding: 12px 20px; border-bottom: 1px solid var(--linha-n); color: rgba(242,242,236,.45); font-size: 10px; }
.af-rel { margin-left: auto; }
.af-grade { display: grid; grid-template-columns: minmax(0, 1fr) 300px; }
.af-esq, .af-dir { transition: opacity .6s; }
.af-some .af-esq, .af-some .af-dir { opacity: 0; }
.af-esq { padding: 22px; min-width: 0; }
.af-brief { border: 1px solid var(--linha-n); background: rgba(255,255,255,.03); padding: 12px 16px; }
.af-brief .mono { color: rgba(242,242,236,.4); font-size: 9.5px; margin: 0; }
.af-dig { font-family: var(--f-serif); font-size: clamp(17px, 1.6vw, 20px); line-height: 1.35; margin: 6px 0 0; min-height: 1.4em; }
.af-cursor { display: inline-block; width: 2px; height: 1.05em; background: var(--acento); margin-left: 2px; vertical-align: -.15em; animation: pisca .8s infinite; }
.af-etapas { display: flex; gap: 4px; margin-top: 16px; overflow: hidden; }
.af-etapas > div { flex: 1; min-width: 0; }
.af-etapas span { display: block; height: 3px; background: rgba(255,255,255,.1); transition: background .5s; }
.af-etapas small { display: block; margin-top: 6px; font-size: 8.5px; letter-spacing: .1em; color: rgba(242,242,236,.25); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.af-etapas .feito span { background: var(--acento); } .af-etapas .feito small { color: rgba(242,242,236,.6); }
.af-etapas .on span { background: rgba(34,211,238,.6); } .af-etapas .on small { color: var(--acento); }
.af-sala { position: relative; margin-top: 24px; }
.af-ramos { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 0; }
.af-ceo { position: relative; z-index: 1; display: flex; align-items: flex-end; gap: 16px; max-width: 460px; margin: 0 auto; padding: 14px 20px; border: 1px solid rgba(255,255,255,.1); background: rgba(255,255,255,.02); transition: border-color .5s, background .5s; }
.af-ceo.ativo { border-color: rgba(34,211,238,.45); background: rgba(34,211,238,.06); }
.af-ceo-txt { min-width: 0; flex: 1; }
.af-ceo-txt > div { display: flex; align-items: center; gap: 8px; }
.af-ceo-nome { font-family: var(--f-serif); font-style: italic; font-size: 19px; }
.af-selo { border: 1px solid rgba(34,211,238,.5); color: var(--acento); font-size: 8.5px; padding: 2px 6px; }
.af-fala { margin: 6px 0 0; font-size: 10.5px; letter-spacing: .04em; text-transform: none; color: rgba(242,242,236,.7); }
.af-fala.on { color: var(--acento); } .af-fala.alerta { color: #e5484d; }
.af-eq { position: relative; z-index: 1; display: flex; align-items: center; gap: 12px; margin-top: 20px; font-size: 9.5px; color: rgba(242,242,236,.4); }
.af-eq i { flex: 1; height: 1px; background: rgba(255,255,255,.1); }
.af-eq-p { color: var(--acento); white-space: nowrap; }
.af-eq-n { white-space: nowrap; }
.af-time { position: relative; z-index: 1; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 8px; margin-top: 12px; }
.af-ag { min-width: 0; border: 1px solid rgba(255,255,255,.08); background: rgba(13,13,12,.88); padding: 10px 10px 9px; transition: opacity .5s, transform .5s, border-color .5s, background .5s; }
.af-ag.fora { opacity: 0; transform: translateY(8px); }
.af-ag.fila { opacity: .45; }
.af-ag.trab { border-color: rgba(34,211,238,.5); background: rgba(34,211,238,.06); }
.af-ag.devolvido { border-color: rgba(229,72,77,.7); background: rgba(229,72,77,.08); }
.af-ag-cab { display: flex; align-items: flex-start; justify-content: space-between; }
.af-st { font-size: 8px; letter-spacing: .14em; color: rgba(242,242,236,.3); margin-top: 2px; }
.af-ag.trab .af-st { color: var(--acento); } .af-ag.feito .af-st { color: rgba(242,242,236,.55); } .af-ag.devolvido .af-st { color: #e5484d; }
.af-eqp { margin-top: 8px; font-size: 8px; letter-spacing: .16em; color: rgba(242,242,236,.35); }
.af-papel { margin-top: 2px; font-size: 12.5px; font-weight: 500; line-height: 1.25; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.af-linha { margin-top: 4px; height: 1.4em; font-size: 9.5px; letter-spacing: .02em; text-transform: none; color: rgba(242,242,236,.5); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.af-linha.alerta { color: #e5484d; } .af-linha.ok { color: var(--acento); }
.af-dir { border-left: 1px solid var(--linha-n); padding: 22px; }
.af-conts { display: grid; grid-template-columns: minmax(0, 1fr); gap: 1px; background: rgba(255,255,255,.1); }
.af-conts > div { background: #0d0d0c; padding: 14px 12px 14px 0; }
.af-conts .mono { font-size: 9px; color: rgba(242,242,236,.4); margin: 0; }
.af-conts b { font-family: var(--f-mono); font-weight: 400; font-size: 30px; line-height: 1.2; }
.af-log-t { font-size: 9.5px; color: rgba(242,242,236,.4); margin: 22px 0 10px; }
.af-log { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.af-log li { border-left: 2px solid rgba(255,255,255,.15); padding-left: 12px; transition: opacity .5s; }
.af-log li.ok { border-color: var(--acento); } .af-log li.alerta { border-color: #e5484d; }
.af-log .mono { font-size: 9px; letter-spacing: .04em; text-transform: none; color: rgba(242,242,236,.45); }
.af-log p { margin: 2px 0 0; font-size: 12px; line-height: 1.4; color: rgba(242,242,236,.85); }
.af-log li.alerta p { color: #ff8a8d; }
/* boneco */
.afb { display: flex; flex-direction: column; align-items: center; flex: 0 0 auto; }
.afb-corpo { position: relative; }
.afb-corpo > i { position: absolute; display: block; }
.afb-bE { transform-origin: right center; transform: rotate(20deg); }
.afb-bD { transform-origin: left center; transform: rotate(-20deg); }
.afb.trab .afb-corpo { animation: af-rock .8s ease-in-out infinite; }
.afb.trab .afb-bE { animation: af-armL .7s ease-in-out infinite; }
.afb.trab .afb-bD { animation: af-armR .7s ease-in-out infinite; }
.afb-mesa { position: relative; background: #3a2a14; z-index: 10; }
.afb-mesa > i { position: absolute; display: block; }
.afb-tela { left: 50%; transform: translateX(-50%); background: #0a1020; border: 1px solid #1e3060; z-index: 5; transition: all .4s; }
.afb.trab .afb-tela { background: #062027; border-color: var(--acento); box-shadow: 0 0 8px rgba(34,211,238,.4); }
.afb-pe { top: 100%; background: #2a1a08; border-radius: 0 0 3px 3px; }
@keyframes af-rock { 0%,100% { transform: rotate(-2deg); } 50% { transform: rotate(2deg); } }
@keyframes af-armL { 0%,100% { transform: rotate(20deg); } 50% { transform: rotate(40deg); } }
@keyframes af-armR { 0%,100% { transform: rotate(-20deg); } 50% { transform: rotate(-40deg); } }
@media (max-width: 1180px) { .af-time { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (max-width: 1024px) {
  .af-grade { grid-template-columns: minmax(0, 1fr); }
  .af-dir { border-left: 0; border-top: 1px solid var(--linha-n); }
  .af-conts { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .af-conts > div { padding-left: 12px; }
  .af-conts b { font-size: 24px; }
  .af-log li:nth-child(n+4) { display: none; }
}
@media (max-width: 700px) {
  .af-esq, .af-dir { padding: 14px; }
  .af-time { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; }
  .af-ag { padding: 8px 6px; }
  .af-st, .af-eqp, .af-linha { display: none; }
  .af-papel { white-space: normal; font-size: 10.5px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; min-height: 2.5em; margin-top: 6px; }
  .af-ceo { padding: 12px; gap: 12px; }
  .af-num { display: none; }
  .af-etapas small { font-size: 7.5px; letter-spacing: .04em; }
}

.peca-info details.rev summary { color: var(--acento-txt); }
.af-real { margin-top: 26px !important; }
.lista.fontes a { color: var(--acento-txt); word-break: break-all; }

/* ---------- quem somos (mesma estrutura da Proficientia: conselho humano, gestão agêntica, produção) ---------- */
.qs-nivel { margin-top: clamp(40px, 5vw, 56px) !important; }
.qs-rot { display: flex; gap: 12px; align-items: baseline; color: #f3f1f4; margin: 0 0 18px; }
.qs-rot span { color: var(--cinza-n); }
.qs-conselho { max-width: 560px; border: 1px solid var(--linha-n); border-radius: var(--r); }
.qs-gestao { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1px; background: var(--linha-n); border: 1px solid var(--linha-n); border-radius: var(--r); overflow: hidden; }
.qs-pessoa { display: flex; flex-direction: column; gap: 18px; padding: 26px 24px; background: var(--noite); min-width: 0; }
.qs-pessoa.grande { flex-direction: row; align-items: center; gap: 22px; padding: 26px 28px; }
.qs-retrato { position: relative; width: 80px; height: 80px; flex: none; border-radius: 50%; overflow: hidden; border: 1px solid var(--linha-n); background: var(--noite3); }
.qs-pessoa.grande .qs-retrato { width: 96px; height: 96px; }
.qs-retrato img { width: 100%; height: 100%; object-fit: cover; object-position: top; display: block; position: relative; z-index: 1; }
.qs-retrato span { position: absolute; inset: 0; display: grid; place-items: center; font-family: var(--f-mono); font-size: 18px; color: var(--cinza-n); }
.qs-info { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; min-width: 0; }
.qs-info b { font-weight: 400; font-size: clamp(22px, 2vw, 26px); line-height: 1.15; color: #fff; }
.qs-cargo { font-size: 14px; color: #c4bfc8; line-height: 1.4; }
.qs-selo { font-size: 9.5px; padding: 3px 8px; border: 1px solid var(--linha-n); border-radius: 2px; color: var(--cinza-n); }
.qs-selo.humano { background: var(--acento); border-color: var(--acento); color: var(--tinta); }
.qs-producao { border: 1px solid var(--linha-n); border-radius: var(--r); padding: clamp(24px, 3vw, 34px); }
.qs-producao h3 { font-weight: 400; font-size: clamp(22px, 2.2vw, 28px); line-height: 1.2; margin: 0; color: #fff; }
.qs-producao > p { color: #b4afb8; max-width: 44em; margin: 12px 0 0; }
.qs-funcoes { list-style: none; padding: 0; margin: 24px 0 0; display: flex; flex-wrap: wrap; gap: 8px; }
.qs-funcoes li { border: 1px solid rgba(255,255,255,.28); border-radius: 2px; padding: 6px 11px; font-size: 10.5px; color: #e9e6ec; }
.qs-producao .qs-conferido { font-size: 13px; color: var(--cinza-n); margin-top: 22px; }
@media (max-width: 1000px) { .qs-gestao { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) {
  .qs-gestao { grid-template-columns: minmax(0, 1fr); }
  .qs-pessoa { flex-direction: row; align-items: center; gap: 18px; padding: 20px; }
  .qs-pessoa.grande { padding: 20px; }
  .qs-retrato, .qs-pessoa.grande .qs-retrato { width: 72px; height: 72px; }
}
@media (prefers-reduced-motion: reduce) { .revela { opacity: 1; transform: none; transition: none; } }
