/* CRIE.ORIENTATION.01C | Guia opcional. Estilos restritos ao componente. */
.cr-use-paths {
    --cr-use-ink: #17334d;
    --cr-use-text: #435e73;
    --cr-use-muted: #526b7e;
    --cr-use-line: rgba(43, 80, 112, .16);
    --cr-use-hover: #f0f6fa;
    --cr-use-focus: #175fc5;
    margin: 0 0 20px;
    border: 1px solid var(--cr-use-line);
    border-radius: 14px;
    background: rgba(255, 255, 255, .72);
    color: var(--cr-use-ink);
    font-family: Helvetica, Arial, sans-serif;
    font-size: 14px;
    line-height: 1.5;
}

.cr-use-paths--participant {
    --cr-use-ink: #153b30;
    --cr-use-text: #405e53;
    --cr-use-muted: #526e63;
    --cr-use-line: rgba(31, 83, 70, .16);
    --cr-use-hover: #edf5f0;
    --cr-use-focus: #146e50;
    margin-top: 20px;
}

.cr-use-paths,
.cr-use-paths * { box-sizing: border-box; }

.cr-use-paths > .cr-use-paths__summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px 20px;
    min-height: 56px;
    padding: 14px 20px;
    border-radius: 13px;
    color: var(--cr-use-ink);
    cursor: pointer;
    list-style: none;
}

.cr-use-paths__summary::-webkit-details-marker { display: none; }
.cr-use-paths__summary::marker { content: ''; }
.cr-use-paths__summary:hover { background: var(--cr-use-hover); }
.cr-use-paths__title { font-weight: 600; }
.cr-use-paths__toggle {
    display: inline-flex;
    align-items: center;
    flex-shrink: 0;
    gap: 12px;
    color: var(--cr-use-muted);
    font-size: 12px;
}
.cr-use-paths__chevron {
    display: block;
    width: 7px;
    height: 7px;
    border-right: 1.5px solid currentColor;
    border-bottom: 1.5px solid currentColor;
    transform: rotate(45deg) translateY(-2px);
}
.cr-use-paths[open] .cr-use-paths__chevron { transform: rotate(225deg) translate(-1px, -1px); }
.cr-use-paths .cr-use-paths__when-open { display: none; }
.cr-use-paths[open] .cr-use-paths__when-closed { display: none; }
.cr-use-paths[open] .cr-use-paths__when-open { display: inline; }

.cr-use-paths .cr-use-paths__content { padding: 0 20px 20px; }
.cr-use-paths .cr-use-paths__intro {
    margin: 0 0 20px;
    padding-top: 12px;
    border-top: 1px solid var(--cr-use-line);
    color: var(--cr-use-text);
    font-size: 14px;
    line-height: 1.6;
}
.cr-use-paths__groups {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
}
.cr-use-paths__group { display: flex; flex-direction: column; min-width: 0; }
.cr-use-paths .cr-use-paths__heading {
    margin: 0 0 6px;
    color: var(--cr-use-ink);
    font-family: inherit;
    font-size: 16px;
    font-weight: 600;
    line-height: 1.4;
    letter-spacing: normal;
}
.cr-use-paths .cr-use-paths__description {
    flex: 1;
    margin: 0 0 14px;
    color: var(--cr-use-text);
    font-size: 14px;
    line-height: 1.6;
}
.cr-use-paths .cr-use-paths__links {
    margin: 0;
    padding: 0;
    list-style: none;
}
.cr-use-paths__links > li { margin: 0; padding: 0; }
.cr-use-paths__links > li + li { border-top: 1px solid var(--cr-use-line); }
.cr-use-paths .cr-use-paths__link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    min-height: 60px;
    padding: 10px 8px;
    border-radius: 6px;
    color: var(--cr-use-ink);
    text-decoration: none;
    overflow-wrap: anywhere;
}
.cr-use-paths .cr-use-paths__link:hover { background: var(--cr-use-hover); }
.cr-use-paths .cr-use-paths__link--entry {
    margin-bottom: 6px;
    border: 1px solid var(--cr-use-line);
    background: var(--cr-use-hover);
}
.cr-use-paths__link:hover .cr-use-paths__action { text-decoration: underline; }
.cr-use-paths__action { display: block; font-weight: 600; }
.cr-use-paths__caption { display: block; margin-top: 2px; color: var(--cr-use-muted); font-size: 12px; }
.cr-use-paths__arrow { flex-shrink: 0; color: var(--cr-use-muted); font-size: 18px; }
.cr-use-paths > .cr-use-paths__summary:focus-visible,
.cr-use-paths .cr-use-paths__link:focus-visible {
    outline: 2px solid var(--cr-use-focus);
    outline-offset: 3px;
}

@media (max-width: 760px) {
    .cr-use-paths__groups { grid-template-columns: 1fr; gap: 22px; }
    .cr-use-paths__group + .cr-use-paths__group { padding-top: 20px; border-top: 1px solid var(--cr-use-line); }
}

@media (max-width: 480px) {
    .cr-use-paths > .cr-use-paths__summary { padding: 14px; gap: 12px; }
    .cr-use-paths .cr-use-paths__content { padding: 0 14px 18px; }
    .cr-use-paths__toggle { font-size: 11px; gap: 8px; }
}


/* CRIE.EXPERIENCE.PUBLIC.01B | Entradas primarias visiveis apenas na Home publica.
 * A apresentacao recolhida em outras superficies permanece inalterada.
 */
.cc-product-home .cr-home-paths {
    --chp-ink: #132d43;
    --chp-muted: #4a6375;
    --chp-border: rgba(37, 86, 113, .17);
    font-family: Helvetica, Arial, sans-serif;
    margin: 0 0 32px;
    color: var(--chp-ink);
}
.cc-product-home .cr-home-paths, .cc-product-home .cr-home-paths * { box-sizing: border-box; }
.cc-product-home .cr-home-paths__top {
    display: flex;
    justify-content: space-between;
    gap: 16px 30px;
    align-items: end;
    margin: 0 0 18px;
}
.cc-product-home .cr-home-paths__intro { max-width: 650px; }
.cc-product-home .cr-home-paths__eyebrow,
.cc-product-home .cr-home-explore-intro__eyebrow {
    margin: 0 0 7px;
    color: #156c80;
    font-size: .73rem;
    font-weight: 800;
    letter-spacing: .075em;
    text-transform: uppercase;
}
.cc-product-home .cr-home-paths h2,
.cc-product-home .cr-home-explore-intro h2 {
    margin: 0;
    color: #132d43;
    font-size: clamp(1.35rem, 2.25vw, 1.88rem);
    line-height: 1.18;
    letter-spacing: -.028em;
}
.cc-product-home .cr-home-paths__intro > p:last-child,
.cc-product-home .cr-home-explore-intro > div > p:last-child {
    max-width: 64ch;
    margin: 9px 0 0;
    color: #526c7d;
    font-size: .92rem;
    line-height: 1.55;
}
.cc-product-home .cr-home-paths__search {
    display: inline-flex;
    gap: 10px;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    min-height: 46px;
    padding: 10px 16px;
    border: 1px solid #abcddd;
    border-radius: 13px;
    background: #fff;
    color: #154f70;
    box-shadow: 0 6px 22px rgba(24,74,104,.055);
    font-size: .85rem;
    font-weight: 800;
    text-decoration: none;
}
.cc-product-home .cr-home-paths__search-icon { font-size: 1.55rem; line-height: .5; }
.cc-product-home .cr-home-paths__search-arrow { margin-left: 8px; }
.cc-product-home .cr-home-paths__grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 15px;
}
.cc-product-home .cr-home-paths__card {
    display: flex;
    flex-direction: column;
    min-width: 0;
    padding: 23px 22px 17px;
    border: 1px solid var(--chp-border);
    border-radius: 20px;
    background: linear-gradient(155deg, #fff, #f7fbfe);
    box-shadow: 0 15px 32px rgba(17, 56, 78, .055);
    transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}
.cc-product-home .cr-home-paths__card--people { border-top: 3px solid #327e9b; }
.cc-product-home .cr-home-paths__card--institutions { border-top: 3px solid #427a6a; }
.cc-product-home .cr-home-paths__card--territories { border-top: 3px solid #b78d4b; }
.cc-product-home .cr-home-paths__card:hover {
    border-color: rgba(24, 98, 134, .32);
    box-shadow: 0 20px 42px rgba(20, 68, 96, .11);
    transform: translateY(-2px);
}
.cc-product-home .cr-home-paths__card-top { display: flex; align-items: center; gap: 10px; }
.cc-product-home .cr-home-paths__number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 33px;
    height: 33px;
    border-radius: 10px;
    background: #e9f3f8;
    color: #1b5c78;
    font-size: .8rem;
    font-weight: 800;
}
.cc-product-home .cr-home-paths__type {
    color: #5e7584;
    font-size: .7rem;
    font-weight: 750;
    letter-spacing: .025em;
}
.cc-product-home .cr-home-paths__card h3 {
    margin: 16px 0 7px;
    color: #14314a;
    font-size: clamp(1.25rem, 1.7vw, 1.55rem);
    line-height: 1.2;
    letter-spacing: -.025em;
}
.cc-product-home .cr-home-paths__card > p {
    flex: 1;
    margin: 0 0 20px;
    color: #4c6475;
    font-size: .88rem;
    line-height: 1.55;
}
.cc-product-home .cr-home-paths__primary {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    width: 100%;
    min-height: 48px;
    padding: 12px 14px;
    border-radius: 11px;
    background: #164e6a;
    color: #fff;
    font-size: .82rem;
    line-height: 1.35;
    font-weight: 800;
    text-decoration: none;
}
.cc-product-home .cr-home-paths__card--institutions .cr-home-paths__primary { background: #236754; }
.cc-product-home .cr-home-paths__card--territories .cr-home-paths__primary { background: #755b36; }
.cc-product-home .cr-home-paths__primary:hover { filter: brightness(1.12); color: #fff; }
.cc-product-home .cr-home-paths__more {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 5px 13px;
    margin-top: 14px;
}
.cc-product-home .cr-home-paths__more a {
    color: #42647a;
    font-size: .76rem;
    line-height: 1.6;
    font-weight: 700;
    text-decoration: underline;
    text-decoration-color: rgba(54, 104, 131, .24);
    text-underline-offset: 3px;
}
.cc-product-home .cr-home-paths__more a:hover { color: #115c82; text-decoration-color: currentColor; }
.cc-product-home .cr-home-paths__footnote {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px 24px;
    margin-top: 13px;
}
.cc-product-home .cr-home-paths__footnote p {
    max-width: 76ch;
    margin: 0;
    color: #63798a;
    font-size: .75rem;
    line-height: 1.5;
}
.cc-product-home .cr-home-paths__footnote > a {
    flex-shrink: 0;
    color: #176a88;
    font-size: .78rem;
    font-weight: 800;
    text-decoration: none;
}
.cc-product-home .cr-home-explore-intro {
    display: flex;
    justify-content: space-between;
    align-items: end;
    gap: 18px;
    margin: 34px 0 18px;
    padding-top: 23px;
    border-top: 1px solid rgba(36, 83, 109, .13);
    scroll-margin-top: 100px;
}
.cc-product-home .cr-home-explore-intro > a {
    flex-shrink: 0;
    padding-bottom: 3px;
    color: #176a88;
    font-size: .81rem;
    font-weight: 800;
    text-decoration: none;
}
.cc-product-home .cr-home-paths__search:hover,
.cc-product-home .cr-home-explore-intro > a:hover,
.cc-product-home .cr-home-paths__footnote > a:hover { text-decoration: underline; text-underline-offset: 3px; }
.cc-product-home .cr-home-paths a:focus-visible,
.cc-product-home .cr-home-explore-intro a:focus-visible {
    outline: 3px solid #1255b5;
    outline-offset: 4px;
}
@media (max-width: 900px) {
    .cc-product-home .cr-home-paths__grid { gap: 11px; }
    .cc-product-home .cr-home-paths__card { padding: 18px 16px 15px; }
}
@media (max-width: 740px) {
    .cc-product-home .cr-home-paths__top,
    .cc-product-home .cr-home-explore-intro { align-items: flex-start; flex-direction: column; }
    .cc-product-home .cr-home-paths__search { width: 100%; }
    .cc-product-home .cr-home-paths__grid { grid-template-columns: 1fr; gap: 10px; }
    .cc-product-home .cr-home-paths__card { padding: 15px 17px; }
    .cc-product-home .cr-home-paths__card h3 { margin-top: 9px; }
    .cc-product-home .cr-home-paths__card > p { margin-bottom: 12px; }
    .cc-product-home .cr-home-paths__more { margin-top: 9px; }
    .cc-product-home .cr-home-paths__footnote { align-items: flex-start; flex-direction: column; }
}
@media (prefers-reduced-motion: reduce) {
    .cc-product-home .cr-home-paths__card { transition: none; transform: none !important; }
}

/* CRIE.PUBLIC.ADOPTION.01B | Uma imagem contextual por entrada pública.
   O recurso textual e os links funcionam mesmo se a mídia não estiver acessível. */
.cc-product-home .cr-home-paths__media {
    display: block;
    width: 100%;
    aspect-ratio: 16 / 8.5;
    margin: 16px 0 0;
    flex: 0 0 auto;
    border-radius: 14px;
    overflow: hidden;
    background-color: #e9f2f2;
    background-position: center, center;
    background-size: cover, cover;
    background-repeat: no-repeat;
    box-shadow: inset 0 0 0 1px rgba(14, 48, 63, .09);
}
.cc-product-home .cr-home-paths__media--people {
    background-image: url('../img/worlds/pesquisar-no-crie.webp'), linear-gradient(120deg,#d2e2d8,#e7ecdb);
    background-position: center 58%,center;
}
.cc-product-home .cr-home-paths__media--institutions {
    background-image: url('../img/openrd/cards/optimized/cooperation.webp'), linear-gradient(120deg,#cce2dc,#e8f1ed);
}
.cc-product-home .cr-home-paths__media--territories {
    background-image: url('../img/atlas/atlas-territorial.webp'), url('../img/worlds/atlas-territorial.webp'), linear-gradient(120deg,#c4ddd9,#ebdfc8);
}
.cc-product-home .cr-home-paths__media + h3 { margin-top: 13px; }
@media (max-width: 740px) {
    .cc-product-home .cr-home-paths__media { aspect-ratio: 16 / 7.5; margin-top: 12px; }
}
