/* Sal - visual novo de Pilares, Sobre a marca, Personas e Briefing (tema claro) */
@keyframes sx-subir{from{opacity:0;transform:translateY(22px) scale(.985)}to{opacity:1;transform:none}}
@keyframes sx-barra{from{transform:scaleX(0)}to{transform:scaleX(1)}}
@keyframes sx-pulso{0%,100%{box-shadow:0 0 0 0 rgba(200,245,58,.55)}50%{box-shadow:0 0 0 10px rgba(200,245,58,0)}}
@keyframes sx-brilho{from{background-position:-200% 0}to{background-position:200% 0}}
@keyframes sx-entra{from{opacity:0;transform:translateX(-12px)}to{opacity:1;transform:none}}

html.tema-claro{--sx-lima:#c8f53a;--sx-preto:#111;--sx-cinza:#f3f4f1;--sx-borda:#e7e8e4}

/* ============ PILARES ============ */
html.tema-claro .pil{max-width:1180px;gap:22px}
html.tema-claro .pil p,html.tema-claro .pil label,html.tema-claro .pil li{font-size:17px;line-height:1.55}
html.tema-claro .pil-caixa{background:#fff;border:1px solid var(--sx-borda);border-radius:32px;padding:30px;gap:16px;box-shadow:0 10px 40px rgba(17,17,17,.05);animation:sx-subir .55s both}
html.tema-claro .pil-caixa h3{font-size:26px;letter-spacing:-.03em}
html.tema-claro .pil-regras li{background:var(--sx-cinza);border:1px solid var(--sx-borda);font-size:15px;padding:8px 16px;font-weight:600;transition:.25s}
html.tema-claro .pil-regras li:hover{background:var(--sx-preto);color:var(--sx-lima);transform:translateY(-2px)}
html.tema-claro .pil-pers{border:1.5px solid var(--sx-borda);background:var(--sx-cinza);border-radius:22px;padding:16px 18px;transition:transform .3s cubic-bezier(.2,.8,.2,1),background .3s,border-color .3s,box-shadow .3s}
html.tema-claro .pil-pers:hover{transform:translateY(-4px);box-shadow:0 14px 30px rgba(17,17,17,.1)}
html.tema-claro .pil-pers.on{background:var(--sx-preto);border-color:var(--sx-preto);color:#fff}
html.tema-claro .pil-pers.on b{color:var(--sx-lima)}
html.tema-claro .pil-pers.on small{opacity:.8}
html.tema-claro .pil-acoes button.primary{background:var(--sx-lima);color:#111;border:0;border-radius:999px;padding:14px 24px;font-weight:700;font-size:16px;background-image:linear-gradient(110deg,transparent 30%,rgba(255,255,255,.55) 50%,transparent 70%);background-size:200% 100%;transition:transform .2s}
html.tema-claro .pil-acoes button.primary:hover:not(:disabled){transform:translateY(-2px);animation:sx-brilho 1.2s linear infinite}
html.tema-claro .pil-aviso{background:var(--sx-cinza);border-radius:16px}

html.tema-claro .pil-grade{counter-reset:pn;gap:24px;grid-template-columns:repeat(auto-fit,minmax(min(100%,560px),1fr))}
html.tema-claro .pil-card{counter-increment:pn;--c:#c8f53a!important;position:relative;overflow:hidden;background:#fff;border:1px solid var(--sx-borda);border-top:1px solid var(--sx-borda);border-radius:32px;padding:30px;gap:16px;box-shadow:0 10px 40px rgba(17,17,17,.05);animation:sx-subir .65s cubic-bezier(.2,.8,.2,1) both;transition:transform .4s cubic-bezier(.2,.8,.2,1),box-shadow .4s,background .4s,color .4s}
html.tema-claro .pil-card:nth-child(1){animation-delay:.05s}
html.tema-claro .pil-card:nth-child(2){animation-delay:.15s}
html.tema-claro .pil-card:nth-child(3){animation-delay:.25s}
html.tema-claro .pil-card:nth-child(4){animation-delay:.35s}
html.tema-claro .pil-card:nth-child(n+5){animation-delay:.45s}
html.tema-claro .pil-card::before{content:"";position:absolute;left:0;right:0;top:0;height:7px;background:var(--sx-lima);transform:scaleX(.18);transform-origin:left;transition:transform .6s cubic-bezier(.2,.8,.2,1)}
html.tema-claro .pil-card::after{content:counter(pn);position:absolute;right:20px;bottom:-34px;font-size:170px;font-weight:900;line-height:1;color:rgba(17,17,17,.04);pointer-events:none;transition:transform .6s,color .4s}
html.tema-claro .pil-card:hover{transform:translateY(-8px);box-shadow:0 28px 60px rgba(17,17,17,.14)}
html.tema-claro .pil-card:hover::before{transform:scaleX(1)}
html.tema-claro .pil-card:hover::after{transform:translateY(-14px) scale(1.06);color:rgba(17,17,17,.07)}
html.tema-claro .pil-topo{gap:14px;flex-wrap:nowrap;align-items:flex-start}
html.tema-claro .pil-num{flex:none;width:52px;height:52px;background:var(--sx-preto);color:var(--sx-lima);font-size:22px;font-weight:800;animation:sx-pulso 3s ease-in-out infinite;transition:transform .5s cubic-bezier(.3,1.6,.5,1)}
html.tema-claro .pil-card:hover .pil-num{transform:rotate(360deg) scale(1.1)}
html.tema-claro .pil-card h3{font-size:26px;letter-spacing:-.03em;line-height:1.15;padding-top:4px}
html.tema-claro .pil-etapa{background:var(--sx-lima);color:#111;border:0;font-size:13px;padding:6px 14px;align-self:flex-start}
html.tema-claro .pil-bloco{padding:14px 16px;border-radius:20px;background:var(--sx-cinza);gap:6px;animation:sx-entra .5s both;transition:background .3s,transform .3s}
html.tema-claro .pil-card .pil-bloco:nth-of-type(1){animation-delay:.25s}
html.tema-claro .pil-card .pil-bloco:nth-of-type(2){animation-delay:.33s}
html.tema-claro .pil-card .pil-bloco:nth-of-type(3){animation-delay:.41s}
html.tema-claro .pil-card .pil-bloco:nth-of-type(4){animation-delay:.49s}
html.tema-claro .pil-card .pil-bloco:nth-of-type(5){animation-delay:.57s}
html.tema-claro .pil-card .pil-bloco:nth-of-type(6){animation-delay:.65s}
html.tema-claro .pil-bloco:hover{transform:translateX(4px)}
html.tema-claro .pil-bloco>span{font-size:12px;letter-spacing:.08em;opacity:.55}
html.tema-claro .pil-bloco p{margin:0;font-size:16px}
html.tema-claro .pil-chips span{background:#fff;border:1px solid var(--sx-borda);font-weight:600;padding:5px 14px}
html.tema-claro .pil-ex{list-style:none;padding:0;display:grid;gap:8px}
html.tema-claro .pil-ex li{position:relative;padding:10px 14px 10px 36px;border-radius:16px;background:#fff;border:1px solid var(--sx-borda);font-size:15px;transition:transform .25s,border-color .25s}
html.tema-claro .pil-ex li::before{content:"";position:absolute;left:14px;top:17px;width:10px;height:10px;border-radius:50%;background:var(--sx-lima);box-shadow:0 0 0 3px #111}
html.tema-claro .pil-ex li:hover{transform:translateX(6px);border-color:#111}
html.tema-claro .pil-ferr{margin-top:8px;gap:8px}
html.tema-claro .pil-ferr button{border-radius:999px;background:#fff;border:1px solid var(--sx-borda);color:#111;font-weight:600;padding:9px 16px;transition:.2s}
html.tema-claro .pil-ferr button:hover:not(:disabled){background:#111;color:var(--sx-lima);border-color:#111}
html.tema-claro .pil-ferr button.primary{background:var(--sx-lima);border-color:var(--sx-lima);color:#111}
html.tema-claro .pil-ia{background:var(--sx-lima);color:#111;opacity:1;font-weight:700;padding:4px 12px;border-radius:999px;margin-left:auto}
html.tema-claro .pil-form input,html.tema-claro .pil-form textarea,html.tema-claro .pil-form select{border-radius:16px;background:var(--sx-cinza);border:1.5px solid var(--sx-borda);padding:12px 14px}
html.tema-claro .pil-form input:focus,html.tema-claro .pil-form textarea:focus,html.tema-claro .pil-form select:focus{outline:0;border-color:#111;background:#fff}
html.tema-claro .pil-barra{border-radius:999px;padding:12px 14px 12px 24px;box-shadow:0 16px 50px rgba(0,0,0,.3)}
html.tema-claro .pil-barra .primary{background:var(--sx-lima);color:#111;border-radius:999px;border:0;font-weight:700}

/* ============ SOBRE A MARCA / BRIEF (marca e personas) ============ */
html.tema-claro .brief{display:grid;gap:22px;max-width:1180px}
html.tema-claro .brief-intro{display:flex;gap:22px;align-items:center;background:#111;color:#fff;border-radius:32px;padding:30px 34px;animation:sx-subir .55s both;position:relative;overflow:hidden}
html.tema-claro .brief-intro::after{content:"";position:absolute;right:-60px;top:-60px;width:220px;height:220px;border-radius:50%;background:var(--sx-lima);opacity:.14;animation:sx-pulso 4s infinite}
html.tema-claro .brief-intro h3{font-size:27px;letter-spacing:-.03em;margin:0 0 6px;color:#fff}
html.tema-claro .brief-intro p{font-size:17px;margin:0 0 6px;color:rgba(255,255,255,.82)}
html.tema-claro .brief-intro small{font-size:14px;color:rgba(255,255,255,.55)}
html.tema-claro .brief-illustration{flex:none;display:grid;place-items:center;width:96px;height:96px;border-radius:30px;background:var(--sx-lima);color:#111;transition:transform .5s cubic-bezier(.3,1.6,.5,1)}
html.tema-claro .brief-intro:hover .brief-illustration{transform:rotate(-8deg) scale(1.07)}
html.tema-claro .brief-toolbar{display:flex;align-items:center;justify-content:space-between;gap:12px;font-size:16px;font-weight:600}
html.tema-claro .brief-toolbar .primary{background:var(--sx-lima);color:#111;border:0;border-radius:999px;font-weight:700;padding:12px 22px;transition:transform .2s}
html.tema-claro .brief-toolbar .primary:hover{transform:translateY(-2px)}
html.tema-claro .brief-profiles{display:grid;gap:22px}
html.tema-claro .brief-profile{background:#fff;border:1px solid var(--sx-borda);border-radius:32px;padding:30px;display:grid;gap:18px;box-shadow:0 10px 40px rgba(17,17,17,.05);animation:sx-subir .6s .1s both}
html.tema-claro .brief-cover{display:flex;align-items:center;gap:20px;padding:0}
html.tema-claro .brief-cover>img,html.tema-claro .brief-cover>svg{flex:none;width:92px;height:92px;object-fit:cover;border-radius:50%;border:4px solid var(--sx-lima);background:var(--sx-cinza);padding:0;box-shadow:0 0 0 4px #111}
html.tema-claro .brief-cover>svg{padding:22px}
html.tema-claro .brief-cover h3{font-size:30px;letter-spacing:-.04em;margin:0 0 4px}
html.tema-claro .brief-cover p{margin:0;font-size:17px;color:#555;line-height:1.5}
html.tema-claro .brief-swatches{display:flex;gap:10px;flex-wrap:wrap}
html.tema-claro .brief-swatches span{width:44px;height:44px;border-radius:50%;border:3px solid #fff;box-shadow:0 0 0 1.5px var(--sx-borda),0 6px 14px rgba(0,0,0,.12);transition:transform .3s cubic-bezier(.3,1.6,.5,1)}
html.tema-claro .brief-swatches span:hover{transform:scale(1.25) rotate(8deg)}
html.tema-claro .brief-profile details{border-radius:24px;background:var(--sx-cinza);padding:6px 20px}
html.tema-claro .brief-profile summary{cursor:pointer;list-style:none;display:flex;align-items:center;gap:10px;padding:14px 0;font-weight:700;font-size:17px}
html.tema-claro .brief-profile summary::-webkit-details-marker{display:none}
html.tema-claro .brief-profile summary::before{content:"+";display:grid;place-items:center;width:30px;height:30px;border-radius:50%;background:#111;color:var(--sx-lima);font-size:20px;line-height:1;transition:transform .35s}
html.tema-claro .brief-profile details[open] summary::before{transform:rotate(135deg)}
html.tema-claro .brief-profile details section{padding:6px 0 18px;display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,300px),1fr));gap:12px}
html.tema-claro .brief-profile details section h4{grid-column:1/-1;margin:10px 0 0;font-size:21px;letter-spacing:-.03em;display:flex;align-items:center;gap:10px}
html.tema-claro .brief-profile details section h4::before{content:"";width:12px;height:26px;border-radius:6px;background:var(--sx-lima);box-shadow:0 0 0 2px #111}
html.tema-claro .brief-answer{background:#fff;border:1px solid var(--sx-borda);border-radius:20px;padding:14px 18px;animation:sx-entra .45s both;transition:transform .25s,box-shadow .25s}
html.tema-claro .brief-answer:hover{transform:translateY(-3px);box-shadow:0 12px 26px rgba(17,17,17,.08)}
html.tema-claro .brief-answer small{display:block;font-size:12px;font-weight:700;letter-spacing:.06em;text-transform:uppercase;color:#777;margin-bottom:6px}
html.tema-claro .brief-answer p{margin:0;font-size:17px;line-height:1.55;white-space:pre-line}
html.tema-claro .brief-profile>.secondary{justify-self:start;border-radius:999px;font-weight:600;padding:11px 22px;background:#111;color:var(--sx-lima);border:0}
html.tema-claro .brief-empty{text-align:center;background:#fff;border:2px dashed var(--sx-borda);border-radius:32px;padding:48px 24px;display:grid;justify-items:center;gap:8px}
html.tema-claro .brief-form{display:grid;gap:18px}
html.tema-claro .brief-progress{background:#111;color:#fff;border-radius:28px;padding:22px 26px;display:grid;gap:8px}
html.tema-claro .brief-progress progress{width:100%;height:10px;border-radius:99px;overflow:hidden;appearance:none;background:rgba(255,255,255,.18);border:0}
html.tema-claro .brief-progress progress::-webkit-progress-bar{background:rgba(255,255,255,.18)}
html.tema-claro .brief-progress progress::-webkit-progress-value{background:var(--sx-lima);border-radius:99px;transition:width .5s}
html.tema-claro .brief-section{background:#fff;border:1px solid var(--sx-borda);border-radius:28px;padding:26px;box-shadow:0 8px 30px rgba(17,17,17,.04)}
html.tema-claro .brief-section-icon{display:grid;place-items:center;width:50px;height:50px;border-radius:16px;background:#111;color:var(--sx-lima)}
html.tema-claro .brief-field input,html.tema-claro .brief-field textarea,html.tema-claro .brief-field select{border-radius:16px;background:var(--sx-cinza);border:1.5px solid var(--sx-borda);padding:12px 14px;font-size:16px}
html.tema-claro .brief-field input:focus,html.tema-claro .brief-field textarea:focus{outline:0;border-color:#111;background:#fff}
html.tema-claro .brief-choices label{border-radius:999px;transition:.2s}
html.tema-claro .brief-choices label.chosen{background:#111;color:var(--sx-lima);border-color:#111}

/* ============ PERSONAS ============ */
html.tema-claro .pz{max-width:1180px}
html.tema-claro .pz-intro{background:#111;color:#fff;border-radius:32px;padding:30px 34px;animation:sx-subir .55s both;position:relative;overflow:hidden}
html.tema-claro .pz-intro h3{color:#fff;font-size:27px;letter-spacing:-.03em}
html.tema-claro .pz-intro p{color:rgba(255,255,255,.82);font-size:17px}
html.tema-claro .pz-intro small{color:rgba(255,255,255,.55)}
html.tema-claro .pz-intro-ic{background:var(--sx-lima);color:#111;border-radius:30px;transition:transform .5s cubic-bezier(.3,1.6,.5,1)}
html.tema-claro .pz-intro:hover .pz-intro-ic{transform:rotate(-8deg) scale(1.07)}
html.tema-claro .pz-intro .primary,html.tema-claro .pz-vazio .primary{background:var(--sx-lima);color:#111;border:0;border-radius:999px;font-weight:700}
html.tema-claro .pz-grade{gap:24px}
html.tema-claro .pz-card{background:#fff;border:1px solid var(--sx-borda);border-radius:32px;padding:28px;box-shadow:0 10px 40px rgba(17,17,17,.05);position:relative;overflow:hidden;animation:sx-subir .65s cubic-bezier(.2,.8,.2,1) both;transition:transform .4s cubic-bezier(.2,.8,.2,1),box-shadow .4s}
html.tema-claro .pz-card:nth-child(2){animation-delay:.1s}
html.tema-claro .pz-card:nth-child(3){animation-delay:.2s}
html.tema-claro .pz-card:nth-child(n+4){animation-delay:.3s}
html.tema-claro .pz-card::before{content:"";position:absolute;left:0;right:0;top:0;height:7px;background:var(--sx-lima);transform:scaleX(.18);transform-origin:left;transition:transform .6s cubic-bezier(.2,.8,.2,1)}
html.tema-claro .pz-card:hover{transform:translateY(-8px);box-shadow:0 28px 60px rgba(17,17,17,.14)}
html.tema-claro .pz-card:hover::before{transform:scaleX(1)}
html.tema-claro .pz-card-av{border:4px solid var(--sx-lima);box-shadow:0 0 0 3px #111;transition:transform .5s cubic-bezier(.3,1.6,.5,1)}
html.tema-claro .pz-card:hover .pz-card-av{transform:scale(1.1) rotate(-6deg)}
html.tema-claro .pz-card-dor{background:#111;color:#fff;border-radius:20px;padding:14px 16px}
html.tema-claro .pz-card-dor small{color:var(--sx-lima)}
html.tema-claro .pz-card-tags span{background:var(--sx-cinza);border:1px solid var(--sx-borda);border-radius:999px;font-weight:600}
html.tema-claro .pz-card-acoes button{border-radius:999px;font-weight:600}
html.tema-claro .pz-passos button.on{background:#111;color:var(--sx-lima)}
html.tema-claro .pz-opcoes button.on{background:#111;color:var(--sx-lima);border-color:#111}
html.tema-claro .pz-campo input,html.tema-claro .pz-campo textarea{border-radius:16px;background:var(--sx-cinza);border:1.5px solid var(--sx-borda)}
html.tema-claro .pz-campo input:focus,html.tema-claro .pz-campo textarea:focus{outline:0;border-color:#111;background:#fff}

/* ============ BRIEFING (respostas do cliente) ============ */
html.tema-claro .mg-card:has(.mg-grid),html.tema-claro .mg-card:has(button.primary){border-radius:32px;border:1px solid var(--sx-borda);background:#fff;padding:30px;box-shadow:0 10px 40px rgba(17,17,17,.05);animation:sx-subir .55s both}
html.tema-claro .mg-card:has(.mg-grid)>h3{font-size:28px;letter-spacing:-.04em;display:flex;align-items:center;gap:12px;margin-bottom:6px}
html.tema-claro .mg-card:has(.mg-grid)>h3::before{content:"";width:14px;height:30px;border-radius:7px;background:var(--sx-lima);box-shadow:0 0 0 2px #111}
html.tema-claro .mg-card:has(.mg-grid)>p{display:inline-block;background:var(--sx-cinza);padding:7px 16px;border-radius:999px;font-size:15px;font-weight:600;margin:0 0 16px}
html.tema-claro .mg-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;margin:0 0 18px}
html.tema-claro .mg-grid>div{background:var(--sx-cinza);border:1px solid var(--sx-borda);border-radius:22px;padding:16px 20px;animation:sx-entra .5s both;transition:transform .3s cubic-bezier(.2,.8,.2,1),background .3s,box-shadow .3s}
html.tema-claro .mg-grid>div:nth-child(2){animation-delay:.05s}
html.tema-claro .mg-grid>div:nth-child(3){animation-delay:.1s}
html.tema-claro .mg-grid>div:nth-child(4){animation-delay:.15s}
html.tema-claro .mg-grid>div:nth-child(5){animation-delay:.2s}
html.tema-claro .mg-grid>div:nth-child(n+6){animation-delay:.25s}
html.tema-claro .mg-grid>div:hover{transform:translateY(-4px);background:#fff;box-shadow:0 14px 30px rgba(17,17,17,.1)}
html.tema-claro .mg-grid dt{font-size:12px;font-weight:700;letter-spacing:.06em;text-transform:uppercase;color:#6b6f68;margin:0 0 8px}
html.tema-claro .mg-grid dd{margin:0;font-size:18px;line-height:1.55;color:#111;white-space:pre-line;word-break:break-word}
html.tema-claro .mg-card:has(.mg-grid) .secondary{border-radius:999px;background:#111;color:var(--sx-lima);border:0;font-weight:700;padding:12px 22px;margin:4px 8px 0 0;transition:transform .2s}
html.tema-claro .mg-card:has(.mg-grid) .secondary:hover:not(:disabled){transform:translateY(-2px)}
html.tema-claro .mg-card:has(button.primary) .primary{background:var(--sx-lima);color:#111;border:0;border-radius:999px;font-weight:700;padding:13px 24px}

@media (max-width:760px){
 html.tema-claro .mg-grid{grid-template-columns:1fr}
 html.tema-claro .pil-caixa,html.tema-claro .pil-card,html.tema-claro .brief-profile,html.tema-claro .pz-card{padding:20px;border-radius:26px}
 html.tema-claro .brief-intro,html.tema-claro .pz-intro{flex-direction:column;align-items:flex-start;padding:22px}
 html.tema-claro .pil-card::after{font-size:110px}
}
@media (prefers-reduced-motion:reduce){html.tema-claro *{animation:none!important;transition:none!important}}

/* janelas no celular: o Tailwind usa a propriedade translate (não transform), então precisa zerar também */
@media (max-width:760px){html [role="dialog"]:not(.cia){translate:none!important;transform:none!important;left:0!important;right:0!important;top:auto!important;bottom:0!important;width:100vw!important;max-width:100vw!important;margin:0!important}}

/* cabeçalho do cliente: mostrar todos os botões (só esconde o 'Adicionar cliente') */
html.tema-claro .cws .client-picker .new-client:not(:last-of-type){display:flex!important}
html.tema-claro .cws .client-picker .client-select+.new-client{display:none!important}
html.tema-claro .cws .client-picker .new-client{font-size:14px}

/* menu lateral mini so vale para o menu da agencia; a area do cliente nao tem esse menu */
html.rf-mini .workspace:not(:has(.lv-menu)){grid-template-columns:270px minmax(0,1fr)!important}
@media(max-width:1150px){html.rf-mini .workspace:not(:has(.lv-menu)){grid-template-columns:220px minmax(0,1fr)!important}}
@media(max-width:760px){html.rf-mini .workspace:not(:has(.lv-menu)){display:block!important}}
