/* Habite-se DF | Artigo editorial visual v2 | DESKTOP ONLY
   Conserva o conteúdo e as regras existentes no mobile. */
.doc-article-v2,.doc-toc-v2{display:none}
@media(min-width:980px){
  body.doc-guide-v2 .article-body>.doc-legacy{display:none!important}
  body.doc-guide-v2 .article-aside>.article-toc{display:none}
  body.doc-guide-v2 .doc-article-v2{display:block;color:#243f38}
  body.doc-guide-v2 .doc-toc-v2{display:block}
  .doc-article-v2 *,.doc-toc-v2 *{box-sizing:border-box}
  .doc-article-v2 a{color:#18714d;text-underline-offset:3px}
  .doc-article-v2 h2,.doc-article-v2 h3,.doc-article-v2 p{max-width:unset}
  .doc-article-v2 h2{font-size:clamp(1.48rem,2.05vw,1.76rem)!important;line-height:1.23!important;letter-spacing:-.035em;color:#1d4439;margin:0 0 11px!important;font-weight:790;text-wrap:balance}
  .doc-article-v2 h3{font-size:.98rem;line-height:1.36;letter-spacing:-.015em;color:#284d40;margin:0 0 6px;font-weight:760}
  .doc-article-v2 p{font-size:.87rem;line-height:1.63;color:#526960;margin:0}
  .doc-story-lead{margin-bottom:24px;padding:6px 0 19px;border-bottom:1px solid #e0eae2}
  .doc-story-lead>span,.doc-story-section .doc-story-kicker,.doc-story-card .doc-story-kicker{display:inline-flex;align-items:center;gap:8px;margin-bottom:9px;font-size:.67rem;font-weight:830;text-transform:uppercase;letter-spacing:.12em;color:#3b8461}
  .doc-story-lead>span:before{content:"";width:7px;height:7px;background:#218555;border-radius:50%}
  .doc-story-lead p{max-width:64ch;font-size:.94rem;line-height:1.62}
  .doc-story-section{margin:0 0 42px;scroll-margin-top:112px}
  .doc-story-header{margin-bottom:19px}
  .doc-story-header p{max-width:70ch}
  .doc-stage-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}
  .doc-stage{position:relative;display:flex;flex-direction:column;gap:12px;min-height:262px;padding:19px 18px;background:#f7faf6;border:1px solid #dfebe2;border-radius:20px;box-shadow:0 6px 20px #183b2009;transition:transform .25s ease,box-shadow .25s ease,border-color .25s ease}
  .doc-stage:nth-child(2){background:#f5f8fb;border-color:#dfe7ec}
  .doc-stage:nth-child(3){background:#fbfaf5;border-color:#e8e8d9}
  .doc-stage:hover{transform:translateY(-3px);box-shadow:0 13px 25px #183b2012;border-color:#abcbbc}
  .doc-stage-index{display:flex;align-items:center;justify-content:space-between}
  .doc-stage-index>span{font-size:.65rem;letter-spacing:.11em;font-weight:830;color:#577366;text-transform:uppercase}
  .doc-stage-symbol{display:grid;place-items:center;width:46px;height:46px;border-radius:15px;background:#dceddf}
  .doc-stage:nth-child(2) .doc-stage-symbol{background:#e3eef4}
  .doc-stage:nth-child(3) .doc-stage-symbol{background:#f1ead7}
  .doc-stage-symbol svg{width:25px;height:25px;stroke:#276b4d;fill:none;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
  .doc-stage:nth-child(2) .doc-stage-symbol svg{stroke:#426e83}
  .doc-stage:nth-child(3) .doc-stage-symbol svg{stroke:#7c6c3e}
  .doc-stage h3{font-size:.99rem;line-height:1.3}
  .doc-stage ul{padding:0 0 0 18px;margin:0;list-style:disc}
  .doc-stage li{font-size:.79rem;line-height:1.48;color:#52665c;margin:5px 0}
  .doc-stage-foot{margin-top:auto!important;padding-top:12px;border-top:1px solid #dce7dd;font-size:.71rem!important;font-weight:700;color:#42604e!important}
  .doc-story-hint{display:flex;gap:11px;align-items:flex-start;margin-top:15px;padding:14px 16px;border:1px solid #e4eadf;border-radius:14px;background:#f9faf5;font-size:.8rem;line-height:1.52;color:#4c665b}
  .doc-story-hint strong{color:#27533f}
  .doc-story-hint svg{width:19px;height:19px;stroke:#417956;flex:none;margin-top:1px}
  .doc-scenario{padding:24px;border:1px solid #dce6de;border-radius:23px;background:linear-gradient(145deg,#f9fcf9,#fff);box-shadow:0 12px 37px #143f2609}
  .doc-scenario-picks{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:9px;margin:17px 0 18px}
  .doc-scenario-picks button{display:flex;align-items:center;justify-content:center;min-height:52px;padding:11px 10px;background:#fff;color:#4d6b5a;border:1px solid #d6e2d9;border-radius:13px;font-family:inherit;font-size:.78rem;line-height:1.3;font-weight:730;cursor:pointer;transition:background .18s,border .18s,box-shadow .18s}
  .doc-scenario-picks button[aria-pressed=true]{background:#e7f4ec;color:#1d6b43;border-color:#80b597;box-shadow:inset 0 0 0 1px #80b597}
  .doc-scenario-picks button:hover{border-color:#84b89d}
  .doc-scenario-picks button:focus-visible{outline:3px solid #1a764b;outline-offset:3px}
  .doc-scenario-panel{padding:21px 22px;border-radius:17px;background:linear-gradient(110deg,#eaf4ed,#f1f8f1);border:1px solid #d5e6db;min-height:180px}
  .doc-scenario-panel[hidden]{display:none!important}
  .doc-scenario-label{font-size:.69rem!important;text-transform:uppercase;letter-spacing:.09em;color:#467761!important;font-weight:820}
  .doc-scenario-panel h3{margin:8px 0 10px;font-size:1.01rem;color:#224b39}
  .doc-scenario-panel ul{padding:0 0 0 19px;margin:0 0 9px;color:#456155}
  .doc-scenario-panel li{font-size:.82rem;line-height:1.55;margin:7px 0}
  .doc-scenario-panel p{font-size:.77rem;line-height:1.5}
  .doc-scenario-footer{display:flex;align-items:center;justify-content:space-between;gap:18px;flex-wrap:wrap;margin-top:14px}
  .doc-scenario-footer p{max-width:40ch;font-size:.73rem}
  .doc-story-cta{display:inline-flex;align-items:center;justify-content:center;gap:9px;min-height:43px;padding:11px 16px;text-decoration:none!important;border:1px solid #116f43;border-radius:12px;background:#167e4d;color:#fff!important;font-size:.76rem;font-weight:790;box-shadow:0 7px 17px #135b391c;transition:transform .18s,background .18s}
  .doc-story-cta:hover{transform:translateY(-2px);background:#0d673d}
  .doc-story-cta:focus-visible{outline:3px solid #5a9b77;outline-offset:3px}
  .doc-story-cta svg{width:18px;height:18px;stroke:#fff;stroke-width:1.8;fill:none;flex:none}
  .doc-missing-grid{display:grid;grid-template-columns:1fr 1fr;gap:11px}
  .doc-missing-card{overflow:hidden;background:#fff;border:1px solid #dce6df;border-radius:16px;transition:border-color .2s,box-shadow .2s}
  .doc-missing-card[open]{border-color:#9cbba8;box-shadow:0 7px 18px #1a532514}
  .doc-missing-card summary{display:flex;align-items:center;gap:11px;cursor:pointer;list-style:none;padding:16px 14px;font-size:.85rem;line-height:1.38;font-weight:760;color:#284d3e}
  .doc-missing-card summary::-webkit-details-marker{display:none}
  .doc-missing-card summary:focus-visible{outline:3px solid #629d78;outline-offset:-3px}
  .doc-missing-card summary .doc-missing-icon{display:grid;place-items:center;flex:0 0 32px;height:32px;border-radius:11px;background:#eaf4eb;color:#34775a}
  .doc-missing-icon svg{width:17px;height:17px;stroke:currentColor;fill:none;stroke-width:1.8}
  .doc-missing-card summary:after{content:"+";font-weight:400;font-size:1.3rem;line-height:1;color:#587c68;margin-left:auto}
  .doc-missing-card[open] summary:after{content:"−"}
  .doc-missing-card p{padding:0 17px 19px 57px;font-size:.78rem;line-height:1.56}
  .doc-missing-cta{display:flex;align-items:center;justify-content:space-between;gap:18px;flex-wrap:wrap;margin-top:19px;padding:19px;border:1px solid #b9d9c5;border-radius:18px;background:linear-gradient(100deg,#eaf6ed,#fff)}
  .doc-missing-cta strong{display:block;color:#21573c;font-size:.92rem;margin-bottom:4px}
  .doc-missing-cta p{font-size:.77rem}
  .doc-journey{position:relative;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin-top:17px}
  .doc-journey:before{content:"";position:absolute;left:10%;right:10%;top:22px;height:1px;background:linear-gradient(90deg,#b7d3c1,#c8d9d3);z-index:0}
  .doc-journey-step{position:relative;z-index:1;padding:0 9px 0 0}
  .doc-journey-dot{display:grid;place-items:center;width:44px;height:44px;border:1px solid #b8d6c4;border-radius:50%;background:#f2faf4;color:#22694a;font-size:.81rem;font-weight:800;box-shadow:0 0 0 5px #fff}
  .doc-journey-step h3{margin:13px 0 7px;font-size:.84rem}
  .doc-journey-step p{font-size:.75rem;line-height:1.52}
  .doc-article-v2 .doc-explainer{margin-top:17px;padding:15px 17px;background:#f4f8f5;border-radius:13px;border:1px solid #dfe9e1;font-size:.79rem;line-height:1.55;color:#566a5e}
  .doc-explainer strong{color:#294e3b}
  .doc-scenario-kicker{color:#4c7a62}
  .doc-toc-v2{border:1px solid #d8e6da;background:#f8fbf7;border-radius:19px;padding:18px 20px;margin:0 0 16px}
  .doc-toc-v2 h2{font-size:.87rem!important;letter-spacing:0!important;margin:0 0 12px!important;color:#204f37}
  .doc-toc-v2 ol{padding:0;margin:0;list-style:none;display:flex;flex-direction:column;gap:2px}
  .doc-toc-v2 a{display:flex;gap:9px;align-items:flex-start;color:#4a6957;text-decoration:none;font-size:.79rem;line-height:1.38;padding:8px 0}
  .doc-toc-v2 a:hover,.doc-toc-v2 a:focus-visible{color:#136c43;text-decoration:underline}
  .doc-toc-v2 a span{display:inline-flex;align-items:center;justify-content:center;border-radius:8px;background:#e5f1e7;color:#31744d;flex:none;width:22px;height:22px;font-size:.67rem;font-weight:800}
  .doc-article-v2 [hidden]{display:none!important}
}
@media(max-width:979px){
  body.doc-guide-v2 .doc-article-v2,body.doc-guide-v2 .doc-toc-v2{display:none!important}
}
@media(prefers-reduced-motion:reduce){
  .doc-article-v2 *,.doc-toc-v2 *{transition:none!important;animation:none!important}
}
@media print{
  body.doc-guide-v2 .doc-article-v2{display:block!important}
  body.doc-guide-v2 .article-body>.doc-legacy{display:none!important}
  .doc-scenario-picks,.doc-toc-v2,.doc-story-cta{display:none!important}
  .doc-scenario-panel[hidden]{display:block!important}
}
