/* QA editorial guides. All declarations are scoped to this package. */
.eg-guide,.eg-crosslink{--eg-ink:#242335;--eg-muted:#505367;--eg-faint:#e7e6ee;--eg-strong:#075f50;--eg-accent:#1dd19b;--eg-tint:#eafbf4;color:var(--eg-ink);font-family:Inter,Arial,sans-serif;line-height:1.65}
.eg-project{--eg-strong:#5236ac;--eg-accent:#8b69fd;--eg-tint:#f2edff}
.eg-guide *,.eg-crosslink *{box-sizing:border-box}
.eg-wrap{width:min(100% - 3rem,72rem);margin-inline:auto}
.eg-review{padding:.4rem 1rem;text-align:center;background:#242335;color:#fff;font-size:.74rem;font-weight:700;letter-spacing:.1em}
.eg-hero{padding:clamp(2rem,6vw,5.5rem) 0;background:radial-gradient(ellipse at 75% 20%,var(--eg-tint),#fbfafc 60%);border-block-end:1px solid var(--eg-faint)}
.eg-hero-grid,.eg-close{display:grid;grid-template-columns:minmax(0,1.3fr) minmax(0,1fr);align-items:center;gap:clamp(1.5rem,4vw,4rem)}
.eg-crumb{display:flex;flex-wrap:wrap;gap:.5rem;margin:0 0 2.5rem;font-size:.88rem;color:var(--eg-muted)}
.eg-guide a:not(.btn),.eg-crosslink a{color:var(--eg-strong);text-decoration:underline;text-underline-offset:.2em}
.eg-guide a:focus-visible,.eg-crosslink a:focus-visible{outline:3px solid #5236ac;outline-offset:4px}
.eg-kicker{margin:0 0 .7rem;font-size:.77rem;font-weight:800;color:var(--eg-strong);letter-spacing:.12em;text-transform:uppercase;line-height:1.4}
.eg-guide h1,.eg-guide h2,.eg-crosslink:not(.eg-promotion) h2{font-family:Comfortaa,Inter,Arial,sans-serif;line-height:1.16;letter-spacing:-.035em;margin:0;color:var(--eg-ink)}
.eg-guide h1{font-size:clamp(2.35rem,5.7vw,4.7rem)}
.eg-guide h2,.eg-crosslink:not(.eg-promotion) h2{font-size:clamp(1.55rem,3vw,2.35rem)}
.eg-lead{color:var(--eg-muted);max-width:49ch;margin:1.2rem 0;font-size:clamp(1.08rem,2vw,1.3rem)}
.eg-guide .btn.primary{display:inline-flex;align-items:center;gap:.75rem;min-height:3rem;padding:.5rem .75rem .5rem 1.2rem;border-radius:999px;background:var(--eg-strong);color:white;text-decoration:none;font-weight:700}
.eg-figure{min-width:0;margin:0;padding:clamp(1.1rem,3vw,2rem);border:1px solid var(--eg-faint);border-radius:1.5rem;background:#fff;box-shadow:0 12px 35px #24233514}
.eg-figure figcaption{font-family:Comfortaa,Inter,Arial,sans-serif;font-weight:700;line-height:1.35;margin:0 0 1rem}
.eg-figure ol{display:grid;gap:.65rem;margin:0;padding:0;list-style:none}
.eg-figure li{display:grid;grid-template-columns:2rem minmax(0,1fr);gap:0 .8rem;padding:.65rem .8rem;border-radius:.8rem;background:var(--eg-tint);line-height:1.45}
.eg-figure li:last-child{border:1px solid var(--eg-accent)}
.eg-figure li span{grid-row:span 2;display:grid;width:2rem;height:2rem;border-radius:50%;place-content:center;background:var(--eg-strong);color:white;font-weight:700}
.eg-figure li small{color:var(--eg-muted);font-size:.84rem}
.eg-reading{display:grid;grid-template-columns:minmax(0,45rem) minmax(11rem,1fr);gap:clamp(1.7rem,5vw,4.5rem);align-items:start;padding:clamp(2rem,5vw,4rem) 0}
.eg-content>section{margin-top:2.15rem;scroll-margin-top:7rem}
.eg-content>section>p:not(.eg-kicker),.eg-intro{margin:.8rem 0 0;color:var(--eg-muted);font-size:1.05rem}
.eg-intro{font-size:1.18rem}
.eg-aside{position:sticky;top:7rem;border-inline-start:1px solid var(--eg-faint);padding-inline-start:1.2rem}
.eg-aside ol,.eg-check ol{margin:.7rem 0;padding-inline-start:1.25rem}
.eg-aside li,.eg-check li{margin:.35rem 0}
.eg-check,.eg-close{padding:clamp(1.4rem,4vw,2.7rem);background:var(--eg-tint);border-radius:1.4rem}
.eg-close{margin-bottom:clamp(2rem,5vw,4rem)}
.eg-related{display:grid;gap:.45rem}
.eg-crosslink{padding:clamp(1.8rem,4vw,3.5rem) 0;background:#f8fafb}
.eg-crosslink>div{width:min(100% - 3rem,72rem);margin-inline:auto}
.eg-cards{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,18rem),1fr));gap:1rem;margin-top:1.2rem}
.eg-cards article{padding:1.2rem;border:1px solid var(--eg-faint);border-radius:1rem;background:white}
.eg-cards p{margin:0;color:var(--eg-strong);font-weight:700;font-size:.8rem}
.eg-cards h3{margin:.45rem 0 .75rem;font-size:1.15rem;color:var(--eg-ink);line-height:1.3}
@media(max-width:50rem){.eg-hero-grid,.eg-reading,.eg-close{grid-template-columns:minmax(0,1fr)}.eg-aside{position:static;grid-row:1;padding-bottom:.2rem}.eg-crumb{margin-bottom:1.5rem}}
@media(max-width:30rem){.eg-wrap,.eg-crosslink>div{width:calc(100% - 2rem)}.eg-guide h1{font-size:2.2rem;overflow-wrap:anywhere}.eg-crumb{margin-bottom:1.5rem}}

/* Capital Intelligence: authorized PT-QA editorial revision only. */
.eg-eac-art{display:block;min-width:0;width:100%;max-width:30rem;margin:0 auto;border-radius:1.5rem;box-shadow:0 12px 35px #24233512}
.eg-eac-art img{display:block;width:100%;height:auto}
.eg-promotion{padding:clamp(3.25rem,7vw,7rem) 0;background:radial-gradient(ellipse at 78% 18%,#ede7fd 0,transparent 49%),radial-gradient(ellipse at 92% 85%,#dff7ee 0,transparent 40%),#f9f9fc;overflow:hidden;scroll-margin-top:7rem}
.eg-promotion .eg-promotion-inner{display:grid;grid-template-columns:minmax(0,1.3fr) minmax(0,1fr);align-items:center;gap:clamp(2rem,7vw,7rem);width:min(calc(100% - 3rem),72rem)}
.eg-promotion .eg-promotion-copy{width:auto;margin:0}
.eg-promotion-copy>p:not(.eg-kicker){max-width:48ch;margin:1.2rem 0;color:var(--eg-muted);font-size:clamp(1rem,1.65vw,1.23rem)}
.eg-promotion .eg-promotion-actions{display:flex;align-items:center;flex-wrap:wrap;gap:.65rem 1.2rem;margin-top:1.5rem}
@media(max-width:50rem){.eg-promotion .eg-promotion-inner{grid-template-columns:minmax(0,1fr)}}
@media(max-width:30rem){.eg-promotion .eg-promotion-inner{width:calc(100% - 2rem)}}

/* Match the approved Capital Intelligence solution hero, scoped to the PT guide. */
.eg-guide.eg-capital .eg-hero h1 {
  font-family: Comfortaa, ui-rounded, "Segoe UI", sans-serif;
  font-size: clamp(2.55rem, 3.15vw, 3.5rem);
  font-weight: 560;
  line-height: 1.075;
  letter-spacing: -.035em;
  text-wrap: balance;
  overflow-wrap: normal;
  color: #17152b;
}
@media (max-width: 680px) {
  .eg-guide.eg-capital .eg-hero h1 {
    font-size: clamp(2.28rem, 10.8vw, 3.05rem);
  }
}
.eg-guide.eg-capital h1 .ci-title-highlight { color: #6950c7; }
@supports ((background-clip: text) or (-webkit-background-clip: text)) {
  .eg-guide.eg-capital h1 .ci-title-highlight {
    background: linear-gradient(105deg, #118469 0%, #548fc9 46%, #8b69fd 100%);
    background-clip: text;
    -webkit-background-clip: text;
    color: transparent;
    -webkit-text-fill-color: transparent;
  }
}
@media (forced-colors: active) {
  .eg-guide.eg-capital h1 .ci-title-highlight {
    background: none;
    color: CanvasText;
    -webkit-text-fill-color: CanvasText;
  }
}

.eg-hub{padding-bottom:clamp(3rem,7vw,7rem);background:linear-gradient(#f8fafb,#fff 70%)}
.eg-hub .eg-crumb{margin:2rem 0}
.eg-hub-hero{margin:clamp(2rem,5vw,4rem) 0}
.eg-hub-hero .eg-lead{max-width:63ch}
.eg-hub-cards{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:clamp(1rem,3vw,2rem)}
.eg-hub-card{display:grid;grid-template-columns:minmax(0,8rem) minmax(0,1fr);gap:clamp(1rem,2.5vw,2rem);align-items:center;padding:clamp(1.15rem,2.8vw,2rem);background:#fff;border:1px solid var(--eg-faint);border-radius:1.25rem;box-shadow:0 12px 30px #2423350b}
.eg-hub-card img,.eg-cover-frame img{width:100%;height:auto;display:block;border-radius:.3rem;box-shadow:0 .65rem 1.4rem #24233521}
.eg-hub-card h2{font-size:clamp(1.3rem,2vw,1.8rem);line-height:1.24}
.eg-hub-card p{font-size:.97rem;color:var(--eg-muted);margin:.65rem 0}
.eg-hub-actions{display:flex;flex-wrap:wrap;gap:.2rem .7rem}
@media(max-width:58rem){.eg-hub-cards{grid-template-columns:1fr}}
@media(max-width:30rem){.eg-hub-card{grid-template-columns:minmax(0,5.25rem) minmax(0,1fr);gap:.85rem}.eg-hub-actions{column-gap:.6rem}}

/* Same white frame and front-on artwork treatment as the Guias Executivos cards. */
.eg-cover-frame{margin:0 auto;width:min(100%,19rem);padding:clamp(1.15rem,2.8vw,2rem);background:#fff;border:1px solid var(--eg-faint);border-radius:1.25rem;box-shadow:0 12px 30px #2423350b;box-sizing:border-box}
@media(max-width:50rem){.eg-cover-frame{width:min(100%,15rem)}}
