/* ===== Motor de briefings — estilos compartilhados (Estúdio Win) ===== */
*,*::before,*::after{box-sizing:border-box}
html,body{margin:0;padding:0;max-width:100vw;overflow-x:hidden}
body{background:#040404;color:#fff;font-family:Inter,sans-serif;font-size:16px;position:relative;min-height:100vh}
h1,h2,h3,p{margin:0}
a{color:inherit;text-decoration:none}
img{max-width:100%;height:auto;display:block}

.ew-intro{position:fixed;inset:0;z-index:100000;display:flex;align-items:center;justify-content:center;background:radial-gradient(circle at 50% 42%,#0a1c1a 0%,#040404 68%);overflow:hidden;opacity:1;transition:opacity .5s ease,transform .5s cubic-bezier(.4,0,.2,1)}
.ew-intro.hide{opacity:0;transform:scale(1.08);pointer-events:none}
.ew-intro::before,.ew-intro::after{content:"";position:absolute;top:50%;left:50%;border-radius:50%;pointer-events:none;max-width:130vw}
.ew-intro::before{width:560px;height:560px;margin:-280px 0 0 -280px;background:radial-gradient(closest-side,rgba(0,173,164,.20),transparent 70%);animation:ew-drift1 6s ease-in-out infinite}
.ew-intro::after{width:440px;height:440px;margin:-220px 0 0 -220px;background:radial-gradient(closest-side,rgba(51,192,184,.12),transparent 70%);animation:ew-drift2 7s ease-in-out infinite}
.ew-intro-skip{position:absolute;top:20px;right:22px;z-index:2;background:transparent;border:0;color:#5a6068;font:500 13px/1 'Inter',sans-serif;cursor:pointer;padding:8px}
.ew-intro-skip:hover{color:#cfd1d4}
.ew-intro-stage{position:relative;z-index:1;text-align:center;padding:0 24px}
.ew-intro-live{display:inline-flex;align-items:center;gap:9px;padding:7px 16px;border-radius:999px;background:rgba(0,173,164,.08);border:1px solid rgba(0,173,164,.28);color:#33C0B8;font:700 12px/1 'Geist','Inter',sans-serif;letter-spacing:2px;opacity:0;transform:translateY(-10px);animation:ew-drop .55s .15s cubic-bezier(.2,.9,.3,1.4) forwards}
.ew-intro-live .d{width:8px;height:8px;border-radius:50%;background:#33C0B8;box-shadow:0 0 0 0 rgba(51,192,184,.6);animation:ew-live 1.2s .5s infinite}
.ew-viz{width:158px;height:auto;display:block;margin:26px auto 0;opacity:0;transform:scale(.7);animation:ew-pop .6s .35s cubic-bezier(.2,.9,.3,1.4) forwards;filter:drop-shadow(0 8px 22px rgba(0,173,164,.4))}
.ew-viz .grid{stroke:rgba(255,255,255,.06);stroke-width:.6}
.ew-viz .area{opacity:0;animation:ew-fin .8s .95s forwards}
.ew-viz .line{fill:none;stroke:#33C0B8;stroke-width:2.4;stroke-linecap:round;stroke-linejoin:round;stroke-dasharray:100;stroke-dashoffset:100;animation:ew-draw 1.1s .5s cubic-bezier(.4,0,.2,1) forwards}
.ew-viz .tip{fill:#eafffb;opacity:0;transform-box:fill-box;transform-origin:center;transform:scale(0);animation:ew-tip .5s 1.45s cubic-bezier(.2,.9,.3,1.6) forwards}
.ew-viz .tipglow{fill:#33C0B8;opacity:0;transform-box:fill-box;transform-origin:center;animation:ew-tipglow 1.5s 1.5s ease-out infinite}
.ew-intro-title{font:600 clamp(26px,5.4vw,42px)/1.1 'Geist','Inter',sans-serif;letter-spacing:-.022em;color:#fff;margin-top:26px;clip-path:inset(0 100% 0 0);animation:ew-wipe .7s 1.15s cubic-bezier(.2,.8,.2,1) forwards}
.ew-intro-title em{font-style:normal;background:linear-gradient(90deg,#00ADA4,#33C0B8);-webkit-background-clip:text;background-clip:text;-webkit-text-fill-color:transparent;color:transparent}
@keyframes ew-fin{to{opacity:1}}
@keyframes ew-drop{to{opacity:1;transform:translateY(0)}}
@keyframes ew-pop{to{opacity:1;transform:scale(1)}}
@keyframes ew-live{0%{box-shadow:0 0 0 0 rgba(51,192,184,.6)}70%{box-shadow:0 0 0 9px rgba(51,192,184,0)}100%{box-shadow:0 0 0 0 rgba(51,192,184,0)}}
@keyframes ew-draw{to{stroke-dashoffset:0}}
@keyframes ew-tip{to{opacity:1;transform:scale(1)}}
@keyframes ew-tipglow{0%{opacity:.55;transform:scale(1)}70%{opacity:0;transform:scale(2.6)}100%{opacity:0;transform:scale(2.6)}}
@keyframes ew-wipe{to{clip-path:inset(0 0 0 0)}}
@keyframes ew-drift1{0%,100%{transform:translate(-7%,-5%) scale(.95)}50%{transform:translate(6%,4%) scale(1.08)}}
@keyframes ew-drift2{0%,100%{transform:translate(9%,7%) scale(1)}50%{transform:translate(-6%,-7%) scale(1.1)}}
@media (prefers-reduced-motion:reduce){.ew-intro{display:none!important}}

.diag-progress{position:fixed;top:0;left:0;right:0;height:4px;background:#ffffff0f;z-index:120}
.diag-progress-fill{height:100%;width:0;background:linear-gradient(90deg,#00ADA4,#33C0B8);transition:width .4s cubic-bezier(.4,0,.2,1)}
.diag-back-site{position:fixed;top:22px;left:24px;z-index:120;display:inline-flex;align-items:center;gap:7px;color:#9aa0a6;font:500 13px/1 'Inter',sans-serif;transition:color .2s}
.diag-back-site:hover{color:#fff}
.diag-back-site svg{width:17px;height:17px;stroke:currentColor;stroke-width:2.2;fill:none;stroke-linecap:round;stroke-linejoin:round}
.diag-brand{position:fixed;top:19px;right:24px;z-index:120}
.diag-brand img{width:104px;height:auto;opacity:.9}
.diag-counter{position:fixed;top:23px;left:50%;transform:translateX(-50%);z-index:120;font:600 12px/1 'Geist','Inter',sans-serif;letter-spacing:.5px;color:#5a6068}
.diag-counter b{color:#33C0B8}
@media (max-width:560px){.diag-back-site span{display:none}.diag-back-site{top:18px}.diag-brand img{width:86px}.diag-brand{top:17px}.diag-counter{top:19px}}

.diag-shell{max-width:680px;margin:0 auto;padding:80px 24px 56px;min-height:100vh;display:flex;flex-direction:column;justify-content:center;position:relative}
.diag-shell::before{content:"";position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);width:900px;height:900px;max-width:100%;background:radial-gradient(closest-side,rgba(0,173,164,.10),transparent 70%);pointer-events:none;z-index:0}
.diag-inner{position:relative;z-index:1;width:100%}
@media (max-width:640px){.diag-shell{justify-content:flex-start;padding:92px 22px 48px}}

.diag-step{display:none}
.diag-step.active{display:block;animation:diag-in .45s cubic-bezier(.16,1,.3,1)}
@keyframes diag-in{from{opacity:0;transform:translateY(18px)}to{opacity:1;transform:translateY(0)}}
@media (prefers-reduced-motion:reduce){.diag-step.active{animation:none}}
.diag-q{font-family:'Geist','Inter',sans-serif;font-size:clamp(26px,4.6vw,42px);font-weight:600;line-height:1.1;letter-spacing:-.022em;color:#fff;margin-bottom:20px}
.diag-q em{font-style:normal;background-image:linear-gradient(90deg,#00ADA4,#33C0B8);-webkit-background-clip:text;background-clip:text;-webkit-text-fill-color:transparent;color:transparent}
.diag-eyebrow{display:inline-flex;align-items:center;gap:8px;padding:7px 14px;background:rgba(0,173,164,.08);border:1px solid rgba(0,173,164,.24);border-radius:999px;color:#33C0B8;font:600 11px/1 'Geist','Inter',sans-serif;letter-spacing:1.4px;text-transform:uppercase;margin-bottom:22px}
.diag-eyebrow::before{content:"";width:6px;height:6px;background:#33C0B8;border-radius:50%;box-shadow:0 0 0 3px rgba(51,192,184,.16)}
.diag-lead{font:400 14.5px/1.5 'Inter',sans-serif;color:#9aa0a6;margin:-8px 0 22px}

.diag-input{width:100%;padding:16px 4px;background:transparent;border:none;border-bottom:2px solid #ffffff24;color:#fff;font:400 clamp(20px,2.6vw,28px)/1.3 'Geist','Inter',sans-serif;transition:border-color .2s}
.diag-input::placeholder{color:#3a3f3e}
.diag-input:focus{outline:none;border-bottom-color:#00ADA4}
textarea.diag-input{border:1px solid #ffffff1f;border-radius:14px;padding:16px 18px;background:rgba(255,255,255,.02);min-height:120px;resize:vertical;font-size:clamp(17px,2vw,20px);line-height:1.45}
textarea.diag-input:focus{border-color:#00ADA4}
select.diag-input{appearance:none;-webkit-appearance:none;cursor:pointer;padding-right:40px;background-image:url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="18" height="18" fill="none" stroke="%2333C0B8" stroke-width="2.4" stroke-linecap="round" stroke-linejoin="round"><path d="M4 6l4 4 4-4"/></svg>');background-repeat:no-repeat;background-position:right 2px center}
select.diag-input option{background:#0a1512;color:#fff;font-size:16px;font-family:'Inter',sans-serif}

.diag-group{display:flex;flex-direction:column;gap:12px;margin-top:4px}
.diag-mini{width:100%;background:rgba(255,255,255,.02);border:1px solid #ffffff1f;border-radius:12px;padding:15px 16px;color:#fff;font:400 17px/1.3 'Inter',sans-serif;transition:border-color .18s}
.diag-mini::placeholder{color:#3a3f3e}
.diag-mini:focus{outline:none;border-color:#00ADA4}
.diag-selbox{width:100%;appearance:none;-webkit-appearance:none;cursor:pointer;background:rgba(255,255,255,.02);border:1px solid #ffffff1f;border-radius:12px;padding:15px 42px 15px 16px;color:#fff;font:400 17px/1.3 'Inter',sans-serif;background-image:url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="none" stroke="%2333C0B8" stroke-width="2.4" stroke-linecap="round" stroke-linejoin="round"><path d="M4 6l4 4 4-4"/></svg>');background-repeat:no-repeat;background-position:right 15px center;transition:border-color .18s}
.diag-selbox:focus{outline:none;border-color:#00ADA4}
.diag-selbox:disabled{opacity:.5;cursor:not-allowed}
.diag-selbox option{background:#0a1512;color:#fff;font-size:15px}

.diag-choices{display:grid;grid-template-columns:1fr 1fr;gap:12px}
@media (max-width:560px){.diag-choices{grid-template-columns:1fr}}
.diag-choice{display:flex;align-items:center;gap:12px;text-align:left;padding:16px 18px;background:rgba(255,255,255,.02);border:1px solid #ffffff1f;border-radius:14px;color:#fff;font:500 16px/1.3 'Inter',sans-serif;cursor:pointer;transition:border-color .18s,background .18s,transform .18s;font-family:inherit}
.diag-choice:hover{border-color:rgba(0,173,164,.5);background:rgba(0,173,164,.05);transform:translateY(-2px)}
.diag-choice.selected{border-color:#00ADA4;background:rgba(0,173,164,.1)}
.diag-choice .k{flex-shrink:0;width:26px;height:26px;border-radius:7px;border:1px solid #ffffff2e;display:flex;align-items:center;justify-content:center;font:600 12px/1 'Geist','Inter',sans-serif;color:#9aa0a6;transition:all .18s}
.diag-choice:hover .k,.diag-choice.selected .k{border-color:#00ADA4;background:#00ADA4;color:#04110f}
.diag-plat{flex-shrink:0;width:24px;height:24px;object-fit:contain;filter:brightness(0) invert(1);opacity:.55;transition:opacity .18s}
.diag-choice:hover .diag-plat,.diag-choice.selected .diag-plat{opacity:1}
.diag-multi-hint{font:500 13px/1.4 'Inter',sans-serif;color:#5a6068;margin:-8px 0 16px}

.diag-nav{display:flex;align-items:center;gap:14px;margin-top:30px;flex-wrap:wrap}
.diag-btn{display:inline-flex;align-items:center;justify-content:center;gap:9px;padding:15px 30px;background:linear-gradient(135deg,#00ADA4,#33C0B8);color:#04110f;font:600 15px/1 'Geist','Inter',sans-serif;border:none;border-radius:12px;cursor:pointer;transition:transform .2s,box-shadow .2s,opacity .2s}
.diag-btn:hover:not(:disabled){transform:translateY(-1px);box-shadow:0 14px 32px -12px rgba(0,173,164,.6)}
.diag-btn:disabled{opacity:.45;cursor:not-allowed}
.diag-btn svg{width:14px;height:14px;stroke:currentColor;stroke-width:2.5;fill:none;stroke-linecap:round;stroke-linejoin:round;transition:transform .25s}
.diag-btn:hover:not(:disabled) svg{transform:translateX(4px)}
.diag-btn.is-loading{pointer-events:none}
.diag-btn.is-loading svg{display:none}
.diag-spin{display:none;width:16px;height:16px;border:2px solid rgba(4,17,15,.35);border-top-color:#04110f;border-radius:50%;animation:diag-rot .8s linear infinite}
.diag-btn.is-loading .diag-spin{display:inline-block}
@keyframes diag-rot{to{transform:rotate(360deg)}}
.diag-back{background:transparent;border:none;color:#5a6068;font:500 14px/1 'Inter',sans-serif;cursor:pointer;padding:8px 6px;display:inline-flex;align-items:center;gap:6px;transition:color .2s}
.diag-back:hover{color:#cfd1d4}
.diag-back svg{width:14px;height:14px;stroke:currentColor;stroke-width:2.5;fill:none;stroke-linecap:round;stroke-linejoin:round}
.diag-error{color:#ff6b6b;font:500 13px/1.4 'Inter',sans-serif;margin-top:12px;min-height:16px}
.diag-legal{font:400 12.5px/1.55 'Inter',sans-serif;color:#3a3f3e;margin-top:24px}
.diag-sending{text-align:center;padding:40px 0}
.diag-sending .diag-spin-lg{width:40px;height:40px;border:3px solid #ffffff14;border-top-color:#00ADA4;border-radius:50%;animation:diag-rot .8s linear infinite;margin:0 auto 22px}
.diag-sending p{font:500 17px/1.5 'Inter',sans-serif;color:#cfd1d4}
