/* Habite-se DF — Resultado visual v4
 * Escopo: apenas resultado final do assistente no desktop.
 * Não modifica header, Home, conteúdo editorial, outras etapas nem mobile.
 */
@media (min-width:980px){
 .doc-wizard-section.doc-has-result .doc-wizard-main{
   --result-ink:#e9fff5;
   --result-muted:#b1ccbf;
   overflow:hidden;
   border:1px solid #177c62;
   border-radius:26px;
   background:#061c21;
   box-shadow:0 16px 55px #08262128,0 1px 0 #d3ffec22 inset;
   color:var(--result-ink)
 }
 .doc-wizard-section.doc-has-result .doc-wizard-top{
   background:linear-gradient(110deg,#07191e,#063029);
   border-bottom:1px solid #12574a;
   padding:21px 31px
 }
 .doc-wizard-section.doc-has-result .doc-wizard-top strong{
   color:#effff6;font-size:.9rem;letter-spacing:-.015em
 }
 .doc-wizard-section.doc-has-result .doc-wizard-top span{
   color:#a6f1c7;background:#0c533c99;border:1px solid #2d9e65;
   padding:7px 12px;border-radius:999px;font-size:.74rem;font-weight:750
 }
 .doc-wizard-section.doc-has-result .doc-wizard-progress{background:#0e332d}
 .doc-wizard-section.doc-has-result .doc-wizard-progress>span{
   background:linear-gradient(90deg,#1a9c64,#4cf8a2)
 }
 .doc-wizard-section.doc-has-result .doc-wizard-body{padding:0}
 .doc-wizard-section.doc-has-result [data-quiz-live]{display:none}
 .doc-wizard-section.doc-has-result .doc-quiz-step.doc-result-v4{padding:0;color:#e9fff5}
 .doc-result-v4 .doc-result-hero{
   position:relative;
   isolation:isolate;
   display:grid;
   grid-template-columns:minmax(0,1fr) 254px;
   align-items:center;
   gap:24px;
   overflow:hidden;
   min-height:260px;
   padding:28px clamp(24px,3.5vw,45px);
   border-bottom:1px solid #196454;
   background:
     radial-gradient(ellipse at 90% 72%,#0e77543c 0,transparent 48%),
     linear-gradient(116deg,#04151b 0%,#092c31 54%,#05382d 100%)
 }
 .doc-result-v4 .doc-result-hero:after{
   content:"";position:absolute;z-index:-1;width:330px;height:330px;
   right:-140px;top:-150px;border:1px solid #21c5893b;border-radius:50%;
   box-shadow:0 0 0 42px #12b67a0b,0 0 0 95px #12b67a07
 }
 .doc-result-v4 .doc-result-overline{
   display:flex;align-items:center;gap:9px;margin-bottom:24px;
   color:#7bf4ad;font-size:.7rem;font-weight:820;
   text-transform:uppercase;letter-spacing:.14em;line-height:1.3
 }
 .doc-result-v4 .doc-result-overline svg{
   width:20px;height:20px;stroke:#70eeb0;stroke-width:1.7;flex:none
 }
 .doc-result-v4 .doc-result-hero-title-row{display:flex;align-items:flex-start;gap:20px}
 .doc-result-v4 .doc-result-hero-icon{
   display:grid;place-items:center;flex:none;width:69px;height:69px;
   border:1px solid #24ba8188;border-radius:22px;
   background:linear-gradient(145deg,#0f5c4d,#064036);
   box-shadow:0 7px 26px #0004,inset 0 1px 0 #b9fff522
 }
 .doc-result-v4 .doc-result-hero-icon svg{
   width:42px;height:42px;stroke:#64efad;stroke-width:2.9
 }
 .doc-result-v4 .doc-result-hero .doc-quiz-result-label{
   display:block;color:#7aeab0;font-size:.69rem;letter-spacing:.12em;
   font-weight:840;line-height:1.4;text-transform:uppercase;margin:0 0 10px
 }
 .doc-result-v4 .doc-result-hero h3{
   margin:0 0 12px;font-weight:820;font-size:clamp(1.38rem,2.45vw,2.15rem);
   line-height:1.18;letter-spacing:-.036em;color:#fbfffc;max-width:27ch;
   overflow-wrap:break-word;text-wrap:balance
 }
 .doc-result-v4 .doc-result-hero p{
   margin:0;max-width:61ch;font-size:.86rem;line-height:1.59;color:#c6e1d4
 }
 .doc-result-v4 .doc-result-chips{
   display:flex;flex-wrap:wrap;gap:9px;margin-top:18px
 }
 .doc-result-v4 .doc-result-chip{
   display:inline-flex;align-items:center;gap:7px;border:1px solid #2b997d;
   border-radius:999px;padding:7px 11px;background:#0b483fa6;
   color:#bbfbe0;font-size:.74rem;line-height:1.25;font-weight:740
 }
 .doc-result-v4 .doc-result-chip svg{
   width:16px;height:16px;stroke:currentColor;stroke-width:1.7;fill:none;flex:none
 }
 .doc-result-v4 .doc-result-chip-warning{
   border-color:#c088328c;background:#4a331c9e;color:#ffc477
 }
 .doc-result-v4 .doc-result-hero-art{
   position:relative;display:flex;flex-direction:column;align-items:center;
   justify-content:center;min-width:0;gap:2px
 }
 .doc-result-v4 .doc-result-architecture{
   display:block;max-width:255px;width:100%;height:auto;
   filter:drop-shadow(0 10px 22px #0ad59628)
 }
 .doc-result-v4 .doc-result-completion{
   display:flex;align-items:center;gap:12px;padding:6px 12px 6px 6px;
   border:1px solid #2aa56f77;border-radius:18px;background:#042a25d9;
   box-shadow:inset 0 1px #ffffff1c
 }
 .doc-result-v4 .doc-result-completion-ring{
   position:relative;display:grid;place-items:center;flex:none;width:55px;height:55px;
   border-radius:50%;background:conic-gradient(#42eaa0 360deg,#0d5945 0);
   box-shadow:0 0 16px #1bdf8e33
 }
 .doc-result-v4 .doc-result-completion-ring:before{
   content:"";position:absolute;width:44px;height:44px;
   background:#07352c;border-radius:50%
 }
 .doc-result-v4 .doc-result-completion-ring span{
   position:relative;font-size:1rem;font-weight:850;color:#ebfff2;letter-spacing:-.03em
 }
 .doc-result-v4 .doc-result-completion small{
   color:#c0ecd4;font-size:.64rem;line-height:1.42;font-weight:660
 }
 .doc-result-v4 .doc-result-content{
   padding:clamp(21px,3vw,36px);
   background:
     radial-gradient(ellipse at -10% 70%,#06463755,transparent 47%),
     linear-gradient(145deg,#06181d,#081c20 65%,#082d29)
 }
 .doc-result-v4 .doc-quiz-result-columns{
   display:grid;grid-template-columns:minmax(0,1.16fr) minmax(0,.84fr);
   gap:17px;margin:0 0 17px
 }
 .doc-result-v4 .doc-quiz-result-card{
   display:block;margin:0;padding:23px;border-radius:22px;
   background:linear-gradient(140deg,#0c3335d9,#0a242bda);
   border:1px solid #1f937d8c;
   box-shadow:inset 0 1px #b0ffe714,0 10px 25px #0002;
   min-width:0
 }
 .doc-result-v4 .doc-quiz-result-card.doc-result-recap{
   background:linear-gradient(145deg,#182f34,#11282d);
   border-color:#2b6c68b0
 }
 .doc-result-v4 .doc-result-card-heading{
   display:flex;align-items:center;gap:12px;margin-bottom:17px
 }
 .doc-result-v4 .doc-result-card-icon{
   display:grid;place-items:center;flex:none;width:41px;height:41px;
   border-radius:13px;border:1px solid #30ba89a6;background:#0f564b
 }
 .doc-result-v4 .doc-result-card-icon svg{
   width:22px;height:22px;stroke:#6aeeaf;stroke-width:1.7
 }
 .doc-result-v4 .doc-result-kicker{
   display:block;color:#70c99d;font-size:.65rem;font-weight:760;
   letter-spacing:.1em;text-transform:uppercase;margin-bottom:3px
 }
 .doc-result-v4 .doc-quiz-result-card h4{
   font-size:1.06rem;line-height:1.3;color:#f5fff8;
   font-weight:810;margin:0;letter-spacing:-.025em
 }
 .doc-result-v4 .doc-quiz-result-list{
   counter-reset:doc-result-item;display:grid;list-style:none;
   gap:8px;margin:0;padding:0
 }
 .doc-result-v4 .doc-quiz-result-list li{
   /* Texto contínuo: spans coloridos são parte do parágrafo, não flex items. */
   position:relative;display:block;
   min-height:53px;padding:13px 16px 13px 48px;
   background:linear-gradient(100deg,#0e45407a,#0b2a2b8a);
   border:1px solid #246b5c8f;border-radius:13px;
   font-size:.84rem;line-height:1.58;color:#e2f7ea;
   text-align:left;white-space:normal;word-spacing:normal;letter-spacing:normal;
   word-break:normal;overflow-wrap:break-word
 }
 .doc-result-v4 .doc-quiz-result-list li:before{
   counter-increment:doc-result-item;content:counter(doc-result-item);
   position:absolute;left:12px;top:50%;transform:translateY(-50%);
   display:grid;place-items:center;width:24px;height:24px;
   border:1px solid #33c68b;border-radius:9px;
   color:#a3fbd0;background:#0c634e;
   font-size:.72rem;font-weight:800;box-sizing:border-box
 }
 .doc-result-v4 .doc-result-recap .doc-quiz-result-list li{
   background:#18353d77;border-color:#3c666d66;color:#d6ede1;
   min-height:47px
 }
 .doc-result-v4 .doc-result-recap .doc-quiz-result-list li:before{
   content:"";width:10px;height:10px;left:18px;
   border-radius:50%;border:1px solid #47cc9b;background:#287d5b;
   box-shadow:0 0 0 4px #1c70503b
 }
 .doc-result-v4 .doc-result-attention{
   display:flex;align-items:flex-start;gap:15px;margin:0 0 16px;
   padding:19px 22px;border:1px solid #dc9e44ad;border-radius:17px;
   background:linear-gradient(110deg,#422818bb,#2f251eee);
   box-shadow:inset 0 1px #ffc58421
 }
 .doc-result-v4 .doc-result-attention-icon{
   display:grid;place-items:center;flex:none;width:40px;height:40px;
   border-radius:12px;background:#8e571b75;color:#ffcf75
 }
 .doc-result-v4 .doc-result-attention-icon svg{
   width:22px;height:22px;stroke:currentColor;stroke-width:1.9
 }
 .doc-result-v4 .doc-result-attention h4{
   margin:0 0 5px;color:#ffc06b;font-size:.97rem;font-weight:820
 }
 .doc-result-v4 .doc-result-attention p{
   margin:0;color:#f8ddc0;font-size:.82rem;line-height:1.54
 }
 .doc-result-v4 .doc-quiz-law{
   display:flex;align-items:flex-start;gap:12px;margin:0 0 18px;
   padding:15px 19px;border:1px solid #35667c99;border-radius:15px;
   background:#112c3a;color:#d2e7f3;font-size:.76rem;line-height:1.55
 }
 .doc-result-v4 .doc-quiz-law svg{
   width:19px;height:19px;flex:none;stroke:#8bd1ed;stroke-width:1.8
 }
 .doc-result-v4 .doc-quiz-law strong{color:#e2f5ff}
 .doc-result-v4 .doc-quiz-law a{color:#9be6ff;text-decoration:underline;text-underline-offset:3px}
 .doc-result-v4 .doc-quiz-result-cta{
   display:flex;align-items:center;justify-content:space-between;
   flex-wrap:wrap;gap:20px;margin:0;padding:24px 26px;border-radius:21px;
   border:1px solid #2ba57cc7;background:
   radial-gradient(ellipse at 85% 10%,#13875a44,transparent 50%),
   linear-gradient(95deg,#083c32,#062d2d);
   box-shadow:inset 0 1px #ffffff1e
 }
 .doc-result-v4 .doc-result-cta-copy{min-width:0;max-width:54ch;flex:1 1 260px}
 .doc-result-v4 .doc-result-cta-kicker{
   display:block;margin-bottom:7px;color:#6af2ab;font-size:.68rem;
   text-transform:uppercase;letter-spacing:.13em;font-weight:840
 }
 .doc-result-v4 .doc-quiz-result-cta strong{
   display:block;color:#f3fff7;font-size:1.12rem;line-height:1.33;margin:0 0 7px;
   letter-spacing:-.015em
 }
 .doc-result-v4 .doc-quiz-result-cta p{
   margin:0;color:#c3dfd1;font-size:.79rem;line-height:1.56
 }
 .doc-result-v4 .doc-quiz-wa{
   position:relative;display:inline-flex;align-items:center;justify-content:center;
   flex:0 1 auto;gap:10px;min-height:53px;max-width:100%;padding:15px 21px;
   color:#fff!important;text-decoration:none!important;
   font-size:.84rem;font-weight:810;
   border:1px solid #56f49d;border-radius:14px;
   background:linear-gradient(140deg,#14a852,#087f41);
   box-shadow:0 0 0 2px #36e58a22,0 0 21px #24eb783c,0 9px 22px #0003;
   transition:transform .2s ease,box-shadow .2s ease
 }
 .doc-result-v4 .doc-quiz-wa:hover{
   transform:translateY(-2px);background:#078348;
   box-shadow:0 0 0 3px #36e58a33,0 0 29px #24eb7865
 }
 .doc-result-v4 .doc-quiz-wa:focus-visible{outline:3px solid #86e5ba;outline-offset:4px}
 .doc-result-v4 .doc-quiz-wa svg{height:21px;width:21px}
 .doc-result-v4 .doc-quiz-foot{
   display:flex;justify-content:space-between;align-items:center;gap:16px;
   margin:20px 0 0;padding:16px 0 0;
   border-top:1px solid #235349aa
 }
 .doc-result-v4 .doc-quiz-foot p{
   margin:0;max-width:67ch;color:#9ebfb1;font-size:.73rem;line-height:1.53
 }
 .doc-result-v4 .doc-quiz-reset{
   background:#0b2b2b;color:#c0efd5;border:1px solid #368467;
   min-height:40px;padding:9px 16px
 }
 .doc-result-v4 .doc-quiz-reset:hover{background:#104537}
 .doc-wizard-section.doc-has-result .doc-wizard-main>[data-quiz-navigation],
 .doc-wizard-section.doc-has-result [data-quiz-navigation]{
   background:#081c20;border-top:1px solid #214b43;
   margin:0;padding:17px 30px;color:#c4dfd1
 }
 .doc-wizard-section.doc-has-result [data-quiz-navigation] p{color:#a4c7b3}
 .doc-wizard-section.doc-has-result [data-quiz-back]{
   border-color:#2e6f59;color:#d7f5e0;background:#12382f
 }
 .doc-wizard-section.doc-has-result [data-quiz-back]:hover{background:#17523d}
 .doc-wizard-section.doc-has-result [data-quiz-navigation] button:focus-visible{
   outline:3px solid #4fe1a4;outline-offset:3px
 }
}
@media(min-width:980px) and (max-width:1120px){
 .doc-result-v4 .doc-result-hero{grid-template-columns:minmax(0,1fr) 210px;gap:15px;padding-inline:23px}
 .doc-result-v4 .doc-result-hero-title-row{gap:13px}
 .doc-result-v4 .doc-result-hero-icon{width:51px;height:51px;border-radius:16px}
 .doc-result-v4 .doc-result-hero-icon svg{width:32px;height:32px}
 .doc-result-v4 .doc-result-content{padding:22px}
 .doc-result-v4 .doc-quiz-result-columns{grid-template-columns:1fr 1fr;gap:12px}
 .doc-result-v4 .doc-quiz-result-card{padding:18px}
}
@media(max-width:979px){
 .doc-result-v4{display:none!important}
}
@media(prefers-reduced-motion:reduce){
 .doc-result-v4 *, .doc-result-v4 *:before, .doc-result-v4 *:after{animation:none!important;transition:none!important}
}
@media print{
 .doc-result-v4 .doc-result-hero,.doc-result-v4 .doc-result-content{background:#fff!important;color:#1a3b34!important}
 .doc-result-v4 .doc-quiz-result-card{background:#fff!important;color:#1a3b34!important}
}

/* RESULTADO V4 — HIERARQUIA CROMÁTICA
 * Escopo restrito aos dois cartões de resultado, somente desktop.
 * Verde = ação; âmbar = informação crítica; coral = cautela;
 * azul-petróleo = dados já informados pelo usuário.
 */
@media(min-width:980px){
  .doc-result-v4 .doc-quiz-result-card{
    position:relative;
    overflow:hidden;
    transition:border-color .22s ease,box-shadow .22s ease,transform .22s ease;
  }
  .doc-result-v4 .doc-quiz-result-card:before{
    content:"";
    position:absolute;
    top:0;left:16px;right:16px;
    height:2px;
    background:linear-gradient(90deg,transparent,#48e6a0 40%,#27ae79 70%,transparent);
    pointer-events:none;
    opacity:.8;
  }
  .doc-result-v4 .doc-quiz-result-card.doc-result-priorities{
    border-color:#249e75;
    background:linear-gradient(150deg,#0a3030,#08232a 80%);
    box-shadow:inset 0 1px 0 #c0ffe516,0 10px 26px #0002;
  }
  .doc-result-v4 .doc-quiz-result-card.doc-result-recap{
    border-color:#47747d;
    background:linear-gradient(150deg,#17353b,#10262f 80%);
    box-shadow:inset 0 1px 0 #b9eff011,0 10px 26px #0002;
  }
  .doc-result-v4 .doc-quiz-result-card.doc-result-recap:before{
    background:linear-gradient(90deg,transparent,#75bfd2 45%,#3f8b9c 75%,transparent);
    opacity:.62;
  }
  .doc-result-v4 .doc-quiz-result-card:hover{
    transform:translateY(-2px);
    box-shadow:0 13px 29px #0004,inset 0 1px 0 #b0ffe711;
  }
  .doc-result-v4 .doc-result-priorities:hover{border-color:#45c992}
  .doc-result-v4 .doc-result-recap:hover{border-color:#72a3b0}
  .doc-result-v4 .doc-result-priorities .doc-result-card-icon{
    background:linear-gradient(145deg,#0f7455,#094335);
    border-color:#4de3a0;
    box-shadow:0 0 18px #36e69a25;
  }
  .doc-result-v4 .doc-result-recap .doc-result-card-icon{
    background:linear-gradient(145deg,#2b5860,#173e46);
    border-color:#67adb9;
    box-shadow:0 0 15px #72bfd421;
  }
  .doc-result-v4 .doc-result-priorities .doc-result-card-icon svg{stroke:#8affc7}
  .doc-result-v4 .doc-result-recap .doc-result-card-icon svg{stroke:#a1dce9}
  .doc-result-v4 .doc-result-kicker{
    color:#6EF0AE;
    font-weight:830;
    letter-spacing:.11em;
  }
  .doc-result-v4 .doc-result-recap .doc-result-kicker{color:#91d5e1}
  .doc-result-v4 .doc-quiz-result-card h4{
    color:#F4FFF8;
    font-weight:820;
    letter-spacing:-.02em;
  }
  .doc-result-v4 .doc-quiz-result-list li{
    color:#D9F0E4;
    border-color:#286f5c;
    background:linear-gradient(105deg,#0c4540b3,#0b2c2cba);
    transition:border-color .18s ease,background .18s ease;
  }
  .doc-result-v4 .doc-result-priorities .doc-quiz-result-list li:hover{
    background:linear-gradient(105deg,#105548,#0b3332);
    border-color:#41b985;
  }
  .doc-result-v4 .doc-result-priorities .doc-quiz-result-list li:before{
    border-color:#67f2b0;
    background:#0FA968;
    color:#fff;
    font-weight:860;
    box-shadow:0 0 12px #33e99157;
  }
  .doc-result-v4 .doc-result-recap .doc-quiz-result-list li{
    background:linear-gradient(105deg,#1c4047a3,#15343ab8);
    border-color:#416b74;
    color:#D9EDF0;
  }
  .doc-result-v4 .doc-result-recap .doc-quiz-result-list li:hover{
    background:linear-gradient(105deg,#23505a,#1b3f48);
    border-color:#70a7b1;
  }
  .doc-result-v4 .doc-result-recap .doc-quiz-result-list li:before{
    border-color:#97e2ef;
    background:#4eacba;
    box-shadow:0 0 0 4px #4aa3b72b,0 0 10px #6dc9d244;
  }
  .doc-result-v4 .doc-quiz-result-list li .doc-result-emphasis{
    /* Deixa as palavras destacadas no mesmo fluxo da frase. */
    display:inline;
    position:static;
    white-space:normal;
    font-weight:800;
    letter-spacing:normal;
    line-height:inherit;
    vertical-align:baseline;
  }
  .doc-result-v4 .doc-quiz-result-list li .doc-result-emphasis-action{color:#6EF0AE}
  .doc-result-v4 .doc-quiz-result-list li .doc-result-emphasis-key{color:#FFCA76}
  .doc-result-v4 .doc-quiz-result-list li .doc-result-emphasis-alert{color:#FF987A}
  .doc-result-v4 .doc-result-recap .doc-quiz-result-list li .doc-result-emphasis-summary{color:#95DAE7}
  .doc-result-v4 .doc-result-recap .doc-quiz-result-list li .doc-result-emphasis-key{color:#FFD089}
}
@media(prefers-reduced-motion:reduce){
  .doc-result-v4 .doc-quiz-result-card,
  .doc-result-v4 .doc-quiz-result-list li{transition:none!important;transform:none!important}
}
@media print{
  .doc-result-v4 .doc-quiz-result-list li .doc-result-emphasis{color:#163c2d!important}
  .doc-result-v4 .doc-quiz-result-card:before{display:none}
}
