/* Habite-se DF | Guia de documentos | Experiência desktop v1
   Escopo deliberadamente isolado: a versão mobile estável permanece intacta. */
.doc-landing,.doc-interactive{display:none}
@media (min-width:980px){
  body.doc-guide-v2 main>.page-hero{display:none}
  body.doc-guide-v2 .doc-landing,body.doc-guide-v2 .doc-interactive{display:block}
  .doc-landing,.doc-interactive{font-family:inherit;box-sizing:border-box}
  .doc-landing *,.doc-interactive *{box-sizing:border-box}
  .doc-landing{position:relative;isolation:isolate;overflow:hidden;background:linear-gradient(135deg,#f6f9f5 0%,#edf4ee 53%,#eef2e9 100%);border-bottom:1px solid #d9e6dc}
  .doc-landing:before{content:"";position:absolute;z-index:-1;inset:-25% -15% auto auto;width:66%;height:100%;background:radial-gradient(circle,#dcefe5 0,rgba(220,239,229,0) 70%);pointer-events:none}
  .doc-landing .container{position:relative;padding-top:22px;padding-bottom:62px}
  .doc-trail{display:flex;align-items:center;gap:11px;margin:0 0 31px;font-size:.77rem;color:#60736e}
  .doc-trail a{color:#4d6860;text-decoration:none;border-bottom:1px solid transparent}
  .doc-trail a:hover,.doc-trail a:focus-visible{border-bottom-color:currentColor}
  .doc-trail-sep{width:5px;height:5px;transform:rotate(45deg);border-top:1px solid #8a9e96;border-right:1px solid #8a9e96}
  .doc-hero-grid{display:grid;grid-template-columns:minmax(0,1.6fr) minmax(275px,.75fr);gap:clamp(34px,5vw,80px);align-items:center}
  .doc-kicker{display:inline-flex;gap:9px;align-items:center;margin:0 0 13px!important;text-transform:uppercase;letter-spacing:.13em;font-size:.72rem!important;font-weight:800;color:#315b4d}
  .doc-kicker span{width:8px;height:8px;border-radius:50%;background:#2a9365;box-shadow:0 0 0 5px #2a93651a}
  body.doc-guide-v2 .doc-hero h1{max-width:19ch;margin:0;color:#183a3d;font-size:clamp(2.05rem,3.25vw,2.9rem);line-height:1.11;letter-spacing:-.05em;font-weight:780;text-wrap:balance}
  .doc-standfirst{max-width:67ch;margin:17px 0 24px!important;color:#45625c!important;font-size:.98rem!important;line-height:1.55!important}
  .doc-essentials{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:11px;margin:0}
  .doc-essential{display:flex;align-items:flex-start;gap:12px;min-height:86px;padding:15px;border:1px solid #dae7dd;background:#fffdfbdc;border-radius:18px;box-shadow:0 6px 24px #143f2b08;transition:transform .24s ease,border-color .24s ease,box-shadow .24s ease}
  .doc-essential:hover{transform:translateY(-3px);border-color:#abcbb9;box-shadow:0 12px 30px #143f2b12}
  .doc-essential b{display:grid;place-items:center;flex:0 0 34px;height:34px;border:1px solid #d6e8dd;background:#f2faf5;color:#27684d;border-radius:12px;font-size:.83rem;line-height:1}
  .doc-essential strong{display:block;font-size:.9rem;line-height:1.3;color:#183a3d;font-weight:760}
  .doc-essential p{margin:5px 0 0!important;color:#5d706b!important;font-size:.76rem!important;line-height:1.42!important}
  .doc-condition{display:flex;align-items:flex-start;gap:10px;margin:12px 0 18px;padding:11px 15px;border:1px solid #d5dfd4;border-radius:14px;background:#eaf2e94d;color:#436257;font-size:.8rem;line-height:1.45}
  .doc-condition svg{flex:0 0 17px;width:17px;height:17px;stroke:#46745d;margin-top:1px}
  .doc-condition strong{color:#234c3d}
  .doc-primary-actions{display:flex;align-items:center;gap:20px;flex-wrap:wrap}
  .doc-wa{display:inline-flex;gap:10px;align-items:center;justify-content:center;min-height:52px;padding:13px 22px;background:#147b49;color:#fff!important;font-size:.9rem;line-height:1.2;font-weight:760;text-decoration:none!important;border-radius:15px;border:1px solid #0e6940;box-shadow:0 9px 22px #146e4330;transition:transform .2s ease,box-shadow .2s ease,background .2s ease;position:relative;isolation:isolate;overflow:hidden}
  .doc-wa:after{content:"";position:absolute;inset:-3px;z-index:-1;border-radius:inherit;background:linear-gradient(110deg,transparent 24%,#fff3 46%,transparent 68%);transform:translateX(-130%);transition:transform .65s ease}
  .doc-wa:hover{background:#09683b;box-shadow:0 12px 27px #146e433f;transform:translateY(-2px)}
  .doc-wa:hover:after{transform:translateX(120%)}
  .doc-wa:focus-visible,.doc-essential:focus-within{outline:3px solid #518a73;outline-offset:4px}
  .doc-wa svg{width:20px;height:20px;stroke:currentColor;fill:none;stroke-width:1.7;flex:none}
  .doc-quiet-link{display:inline-flex;align-items:center;gap:8px;color:#285d4b!important;font-size:.83rem;font-weight:740;text-decoration:underline;text-underline-offset:4px}
  .doc-hero-foot{margin:12px 0 0!important;font-size:.72rem!important;line-height:1.45!important;color:#5d746b!important}
  .doc-visual{align-self:stretch;display:flex;align-items:center;justify-content:center;position:relative}
  .doc-visual-card{position:relative;width:100%;max-width:355px;overflow:hidden;border:1px solid #d7e4dc;border-radius:31px;background:linear-gradient(155deg,#ffffffd6,#e7f0e9c7);box-shadow:0 26px 70px #153f2c16,0 2px 2px #fff inset;padding:30px 22px 24px}
  .doc-visual-label{margin:0 0 10px!important;text-transform:uppercase;letter-spacing:.13em;font-size:.65rem!important;font-weight:800;color:#486d5e!important}
  .doc-visual-card svg.doc-visual-svg{display:block;width:100%;height:auto;filter:drop-shadow(0 16px 20px #2b604021)}
  .doc-paper-foreground{transform-origin:50% 50%;animation:doc-float 6s ease-in-out infinite}
  .doc-check-circle{transform-origin:center;animation:doc-pulse 4s ease-in-out infinite}
  .doc-mini-status{display:flex;gap:9px;align-items:flex-start;padding:12px 13px;margin-top:10px;background:#fffffff2;border:1px solid #e3eae3;border-radius:13px}
  .doc-mini-status svg{flex:0 0 19px;width:19px;height:19px;stroke:#177749}
  .doc-mini-status div{font-size:.78rem;color:#4d6760;line-height:1.45}
  .doc-mini-status strong{display:block;color:#234a3e;font-weight:760}
  .doc-interactive{background:#fff;padding:62px 0 58px;border-bottom:1px solid #e6e9e4}
  .doc-tool-head{display:flex;align-items:end;justify-content:space-between;gap:24px;margin-bottom:24px}
  .doc-overline{display:block;margin-bottom:9px;color:#467461;font-size:.7rem;font-weight:800;text-transform:uppercase;letter-spacing:.13em}
  body.doc-guide-v2 .doc-tool-head h2{margin:0;color:#183a3d;font-size:clamp(1.55rem,2.3vw,2.05rem);line-height:1.2;letter-spacing:-.035em;font-weight:780}
  .doc-tool-head p{max-width:38ch;margin:0!important;color:#687b71;font-size:.87rem;line-height:1.55}
  .doc-tool-grid{display:grid;grid-template-columns:minmax(0,1.3fr) minmax(270px,.7fr);gap:18px;align-items:stretch}
  .doc-checklist-panel,.doc-status-panel{border:1px solid #dce6df;border-radius:23px;padding:25px;background:#fcfdfb;box-shadow:0 15px 40px #173f2508}
  .doc-checklist-panel{background:#fbfdfb}
  .doc-checklist-intro{margin:0 0 17px!important;font-size:.85rem!important;color:#586f63!important;line-height:1.5!important}
  .doc-check-row{position:relative;display:flex;align-items:center;gap:14px;margin:9px 0;padding:15px;border-radius:15px;border:1px solid #e4ece5;background:#fff;cursor:pointer;transition:border-color .18s ease,background .18s ease,transform .18s ease}
  .doc-check-row:hover{border-color:#96bea9;background:#f7fbf8}
  .doc-check-row:has(input:checked){border-color:#84bca1;background:#eff8f1}
  .doc-check-row:focus-within{outline:3px solid #85b6a0;outline-offset:2px}
  .doc-check-row input{appearance:none;display:block;flex:0 0 24px;width:24px;height:24px;margin:0;border:1.5px solid #9db0a4;border-radius:8px;background:white;cursor:pointer}
  .doc-check-row input:checked{background:#147b49;border-color:#147b49}
  .doc-check-row input:checked:after{content:"";position:absolute;width:11px;height:6px;border-bottom:2px solid #fff;border-left:2px solid #fff;transform:rotate(-45deg);margin-top:5px;margin-left:5px}
  .doc-check-label{display:flex;min-width:0;flex-direction:column;gap:4px}
  .doc-check-label strong{font-size:.89rem;color:#233f36;line-height:1.25;font-weight:760}
  .doc-check-label small{font-size:.75rem;color:#63766b;line-height:1.42}
  .doc-check-tag{white-space:nowrap;margin-left:auto;padding:4px 8px;color:#426755;background:#eef5ef;border-radius:8px;font-size:.63rem;font-weight:780}
  .doc-check-tag.doc-tag-condition{color:#7b6535;background:#fcf4df}
  .doc-status-panel{display:flex;flex-direction:column;gap:12px;background:linear-gradient(180deg,#f4faf5,#fff)}
  .doc-status-panel h3{margin:0;font-size:1.13rem;font-weight:770;color:#244537}
  .doc-ring{display:grid;place-items:center;width:114px;height:114px;margin:8px auto 5px;border-radius:50%;background:conic-gradient(#198553 var(--doc-degree,0deg),#d8e5db 0);box-shadow:0 0 0 8px #fff inset;transition:background .2s ease}
  .doc-ring-inner{display:flex;flex-direction:column;align-items:center;justify-content:center;width:85px;height:85px;border-radius:50%;background:#fff;color:#184d35;font-size:1.48rem;font-weight:800;line-height:1.1}
  .doc-ring-inner small{font-size:.64rem;font-weight:650;color:#60766b}
  .doc-status-summary{text-align:center;font-size:.93rem;font-weight:770;color:#244b3c;line-height:1.35}
  .doc-status-detail{min-height:38px;text-align:center;font-size:.79rem;color:#5e7467;line-height:1.5;margin:0!important}
  .doc-status-panel .doc-wa{width:100%;margin-top:auto;font-size:.82rem;padding-inline:14px}
  .doc-privacy-tip{margin:0!important;font-size:.69rem!important;text-align:center;line-height:1.45!important;color:#61776a!important}
  .doc-guide-steps{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;margin-top:26px}
  .doc-step{position:relative;padding:21px 21px 18px;border:1px solid #e0e8e2;border-radius:19px;background:#f8fbf8}
  .doc-step:before{content:attr(data-step);display:grid;place-items:center;width:31px;height:31px;border-radius:10px;background:#dff1e4;color:#26734c;font-size:.8rem;font-weight:800;margin-bottom:12px}
  .doc-step h3{margin:0 0 6px;color:#28483e;font-size:.93rem;font-weight:770}
  .doc-step p{margin:0!important;color:#667c70;font-size:.78rem;line-height:1.53}
  .doc-note{margin-top:22px;padding:15px 19px;border:1px solid #e4e4d9;border-radius:15px;background:#fafbf5;font-size:.78rem;color:#5b695a;line-height:1.5}
  .doc-note a{color:#27664a;font-weight:740;text-underline-offset:3px}
  body.doc-guide-v2 .article-layout{gap:48px}
  body.doc-guide-v2 .article-body>h2{font-size:1.38rem;letter-spacing:-.023em;color:#25493c}
  body.doc-guide-v2 .article-body>p,body.doc-guide-v2 .article-body>ul>li{line-height:1.72}
  body.doc-guide-v2 .article-body>.article-meta{border:0;margin:0 0 12px;padding:0}
  body.doc-guide-v2 .article-body>h2#topico-1{margin-top:13px}
  .doc-mobile-unchanged-note{display:none}
  .doc-checklist-hint{color:#617469!important;font-size:.86rem!important}
  .doc-landing [hidden],.doc-interactive [hidden]{display:none!important}
}
@media (max-width:979px){
  body.doc-guide-v2 .doc-landing,body.doc-guide-v2 .doc-interactive{display:none!important}
  body.doc-guide-v2 .doc-checklist-hint{display:none!important}
}
@keyframes doc-float{0%,100%{transform:translateY(0) rotate(-2deg)}50%{transform:translateY(-7px) rotate(-1deg)}}
@keyframes doc-pulse{0%,100%{opacity:1;transform:scale(1)}50%{opacity:.78;transform:scale(1.035)}}
@media(prefers-reduced-motion:reduce){
 .doc-landing *, .doc-interactive *{animation:none!important;transition:none!important;scroll-behavior:auto!important}
}
@media print{
 .doc-landing,.doc-interactive{display:block!important}
 body.doc-guide-v2 main>.page-hero{display:none}
 .doc-visual,.doc-wa{display:none!important}
 .doc-landing,.doc-interactive{background:#fff!important;padding:0!important}
}
