/* CRIE.VALIDATION.D5.B.2 | Entradas pedagogicas claras.
   Camada complementar. Sem mudar permissoes, roteamento ou dados. */
:root { --cr-d5b2-ink:#163049; --cr-d5b2-muted:#526b7e; --cr-d5b2-blue:#195773; --cr-d5b2-line:#d9e6e9; }
/* Home volta ao modelo claro; as 15 possibilidades e exemplos permanecem intocados. */
body.cc-product-home .cr-product-orientation.cr-d5b2-home-hero {
  grid-template-columns:minmax(0,1.4fr) minmax(265px,.6fr); align-items:center;
  gap:clamp(20px,3vw,45px); padding:clamp(27px,3.3vw,44px);
  margin-bottom:28px; border:1px solid #dbe9ed;
  background:radial-gradient(circle at 6% 4%,rgba(75,193,201,.10),transparent 32%),
             radial-gradient(circle at 96% 5%,rgba(96,158,216,.11),transparent 33%),#fff;
  box-shadow:0 17px 40px rgba(21,64,91,.055);
}
body.cc-product-home .cr-d5b2-home-hero h1 {
  max-width:14ch; font-size:clamp(2.15rem,4.1vw,3.6rem);
  line-height:1.05; letter-spacing:-.047em;
}
body.cc-product-home .cr-d5b2-home-hero .cr-product-matrix__lead {
  max-width:56ch; font-size:clamp(1rem,1.4vw,1.15rem);line-height:1.56;
}
body.cc-product-home .cr-d5b2-home-hero .cr-product-orientation__prompt { margin:17px 0 0; font-size:1rem; }
body.cc-product-home .cr-d5b2-home-hero .cr-product-evidence {
  background:#f9fcfe; border:1px solid #e1edf1; box-shadow:none; padding:17px; align-self:center;
}
body.cc-product-home .cr-d5b2-home-hero .cr-product-evidence__signal { background:#eef6f9; border:1px solid #e2edf3; }
.cr-d5b2-home-actions { display:flex; align-items:center; flex-wrap:wrap; gap:10px; margin-top:16px; }
.cr-d5b2-home-actions a { display:inline-flex; align-items:center; justify-content:center; gap:14px; min-height:46px; padding:11px 17px; border-radius:12px; font-weight:750; font-size:.92rem; text-decoration:none; transition:transform .18s ease,box-shadow .18s ease,border-color .18s ease; }
.cr-d5b2-home-actions__main { background:#18546c;color:white!important;border:1px solid #18546c;box-shadow:0 7px 18px rgba(18,81,102,.12); }
.cr-d5b2-home-actions__other { background:white;color:#18546c!important;border:1px solid #cbdde5; }
.cr-d5b2-home-actions a:hover { transform:translateY(-2px);box-shadow:0 8px 22px rgba(15,70,97,.1); }
.cr-d5b2-home-assurance { margin:11px 0 0;color:var(--cr-d5b2-muted);font-size:.81rem; }
body.cc-product-home .cr-home-paths { scroll-margin-top:100px; }
body.cc-product-home .cr-home-paths__media { aspect-ratio:16/7.7; }
body.cc-product-home .cr-home-paths__card { box-shadow:0 10px 26px rgba(26,65,87,.045); }
body.cc-product-home .cr-home-paths__card:hover { box-shadow:0 19px 37px rgba(26,65,87,.11); }
/* Pequena linguagem pedagogica compartilhada nos tres contextos. */
.cr-d5b2-steps { display:flex; align-items:center; gap:9px 12px; flex-wrap:wrap; color:#456477; margin:4px 0 24px; font-size:.86rem; line-height:1.4; }
.cr-d5b2-steps > span:not([aria-hidden]) { display:inline-flex; align-items:center; gap:6px; }
.cr-d5b2-steps > span[aria-hidden] { opacity:.47; }
.cr-d5b2-steps strong {font-size:.76rem; color:#236879; border:1px solid #cfdee7; background:#edf6f8; border-radius:7px; padding:4px 6px;}
.cr-d5b2-learn-note { width:100%; max-width:840px; margin:23px 0 10px; padding:0; border:1px solid #d9e7ea; background:#f8fbfb; border-radius:13px; color:#24465a; font-size:.91rem; }
.cr-d5b2-learn-note summary {padding:13px 17px;cursor:pointer;font-weight:750;list-style:revert;}
.cr-d5b2-learn-note[open] summary {border-bottom:1px solid #d9e7ea;}
.cr-d5b2-learn-note p {margin:0; padding:14px 17px; line-height:1.62; color:#4c6374;}
.cr-d5b2-card-note { color:#647889; font-size:.77rem;line-height:1.5; }
.cr-d5b2-inline-links {display:flex;gap:7px 15px;flex-wrap:wrap;padding-top:7px;border-top:1px solid #e2ebee;}
.cr-d5b2-inline-links a {color:#155e70;font-size:.82rem;text-underline-offset:3px;font-weight:650;}
/* Pessoal: uma acao por intencao, sem abandonar Linhas ou Momentum. */
body.crie-pessoal-publico .cr-pessoal { background:linear-gradient(180deg,#f9fcfd,#fff 66%);padding-top:24px;}
body.crie-pessoal-publico .cr-pessoal__breadcrumb {margin-bottom:27px;}
body.crie-pessoal-publico .cr-pessoal__hero {margin-bottom:16px;}
body.crie-pessoal-publico .cr-pessoal__hero h1 {max-width:700px;font-size:clamp(2rem,4.2vw,3.1rem);}
body.crie-pessoal-publico .cr-pessoal__card {transition:transform .17s ease,box-shadow .17s ease,border-color .17s ease;}
body.crie-pessoal-publico .cr-pessoal__card:hover {transform:translateY(-2px);box-shadow:0 17px 39px rgba(28,72,88,.09);}
body.crie-pessoal-publico .cr-pessoal__card--featured {background:#f4fbfa;}
body.crie-pessoal-publico .cr-d5b2-action-primary {display:flex;justify-content:space-between;gap:8px;background:#165b69;color:white;text-decoration:none;border-radius:10px;padding:12px 15px;min-height:46px;}
body.crie-pessoal-publico .cr-d5b2-action-primary:hover {color:white;text-decoration:none;background:#114b58;}
/* Institucional: primeira pergunta e opcoes sem repeticao pesada. */
body.inst-start-page .inst-start-hero {padding:36px 0 24px;background:linear-gradient(180deg,#f8fcfa,#f7faf9);}
body.inst-start-page .inst-start-hero .inst-shell {gap:clamp(16px,3vw,38px);align-items:center;}
body.inst-start-page .inst-start-back {margin-bottom:18px;}
body.inst-start-page .inst-start-hero h1 {font-size:clamp(2.1rem,4.2vw,3.3rem);line-height:1.12;letter-spacing:-.045em;max-width:700px;}
body.inst-start-page .inst-start-hero__copy > p {font-size:1.02rem;line-height:1.55;}
body.inst-start-page .inst-start-free {margin-top:18px;line-height:1.5;font-size:.87rem;}
body.inst-start-page .cr-d5b2-steps--inst {margin:14px 0 0;}
body.inst-start-page .inst-start-options {padding-top:24px;}
body.inst-start-page .inst-start-card {transition:transform .17s ease,box-shadow .17s ease;}
body.inst-start-page .inst-start-card:hover {transform:translateY(-2px);}
body.inst-start-page .inst-start-card__path {margin-bottom:18px;}
body.inst-start-page .inst-start-card__micro a {color:#176179;text-underline-offset:3px;font-weight:700;}
body.inst-start-page .cr-d5b2-learn-note--inst {max-width:1120px;margin:20px auto 10px;}
/* Territorial: destacar busca existente, adicionar apenas aprendizagem contextual. */
body.cc-territory-portal .ctp-hero {align-items:center;}
body.cc-territory-portal .ctp-hero h1 {max-width:680px;}
body.cc-territory-portal .ctp-lead {max-width:690px;}
body.cc-territory-portal .cr-d5b2-steps--territory {margin:16px 0 21px;}
body.cc-territory-portal .cr-d5b2-example {margin:10px 0 0;color:#4d6574;font-size:.88rem;}
body.cc-territory-portal .cr-d5b2-example a {color:#126478;font-weight:760;text-underline-offset:3px;}
body.cc-territory-portal .cr-d5b2-learn-note--territory {margin:13px 0 0;background:rgba(255,255,255,.75);}
/* Legibilidade e navegacao inclusiva */
.cr-d5b2-home-actions a:focus-visible,.cr-d5b2-learn-note summary:focus-visible,
.cr-d5b2-inline-links a:focus-visible,.cr-d5b2-example a:focus-visible {
  outline:3px solid #1766c3;outline-offset:4px;
}
@media(max-width:900px) {
  body.cc-product-home .cr-product-orientation.cr-d5b2-home-hero {grid-template-columns:1fr;}
  body.cc-product-home .cr-d5b2-home-hero .cr-product-evidence {max-width:none;}
}
@media(max-width:620px) {
  body.cc-product-home .cr-product-orientation.cr-d5b2-home-hero {padding:23px 18px;margin-bottom:22px;}
  body.cc-product-home .cr-d5b2-home-hero h1 {font-size:clamp(2rem,9vw,2.7rem);}
  .cr-d5b2-steps {gap:7px 8px;font-size:.78rem;}
  .cr-d5b2-steps strong {font-size:.69rem;}
  body.inst-start-page .inst-start-hero {padding-top:20px;}
  body.inst-start-page .inst-start-hero h1 {font-size:clamp(2rem,8.2vw,2.6rem);}
  body.cc-territory-portal .cr-d5b2-steps--territory {font-size:.75rem;}
}
@media(prefers-reduced-motion:reduce) {
  .cr-d5b2-home-actions a,body.crie-pessoal-publico .cr-pessoal__card,
  body.inst-start-page .inst-start-card {transition:none!important;transform:none!important;}
}
