/* ======================================================================
   CRIEATIVIDADE.ORG - CAPITAL COGNITIVO INSTITUCIONAL
   MASTER UNICORN UI/UX LAYER · 2026-07-15

   Esta folha é carregada DEPOIS de:
   - instituicoes_v2.css
   - instituicoes_comecar.css (na página de entrada)

   Objetivos:
   - navegação pública unificada;
   - hierarquia visual premium;
   - acessibilidade, foco e contraste;
   - responsividade real;
   - movimento discreto e respeitoso;
   - baixo custo de renderização.
====================================================================== */

:root {
    --crpub-ink: #10231f;
    --crpub-ink-2: #1f3932;
    --crpub-muted: #61756e;
    --crpub-subtle: #83928d;
    --crpub-line: rgba(17, 58, 48, .12);
    --crpub-line-strong: rgba(17, 58, 48, .20);
    --crpub-surface: rgba(255, 255, 255, .90);
    --crpub-surface-solid: #ffffff;
    --crpub-canvas: #f7faf8;
    --crpub-green: #087157;
    --crpub-green-2: #0b8d6b;
    --crpub-green-dark: #054b3a;
    --crpub-green-soft: #e2f6ee;
    --crpub-blue: #2859dc;
    --crpub-blue-soft: #eaf0ff;
    --crpub-violet: #7048c7;
    --crpub-gold: #e8ad39;
    --crpub-danger: #a13f3f;
    --crpub-shadow-xs: 0 6px 18px rgba(7, 43, 35, .055);
    --crpub-shadow-sm: 0 12px 34px rgba(7, 43, 35, .075);
    --crpub-shadow-md: 0 24px 72px rgba(7, 43, 35, .105);
    --crpub-shadow-lg: 0 34px 110px rgba(7, 43, 35, .14);
    --crpub-radius-sm: 13px;
    --crpub-radius-md: 18px;
    --crpub-radius-lg: 26px;
    --crpub-radius-xl: 34px;
    --crpub-header-h: 76px;
    --crpub-shell: 1220px;
    --crpub-focus: 0 0 0 4px rgba(40, 89, 220, .18);
    --crpub-ease: cubic-bezier(.2, .75, .2, 1);
}

html {
    scroll-padding-top: calc(var(--crpub-header-h) + 18px);
}

body,
.inst-start-page {
    color: var(--crpub-ink);
    background:
        radial-gradient(circle at 5% 4%, rgba(11, 141, 107, .035), transparent 24rem),
        radial-gradient(circle at 94% 12%, rgba(40, 89, 220, .035), transparent 28rem),
        var(--crpub-canvas);
    font-feature-settings: "kern" 1, "liga" 1, "calt" 1;
    text-rendering: optimizeLegibility;
}

body::selection {
    color: #fff;
    background: var(--crpub-green);
}

img,
svg {
    max-width: 100%;
}

button,
a,
input {
    -webkit-tap-highlight-color: transparent;
}

button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
    outline: none;
    box-shadow: var(--crpub-focus) !important;
}

.crpub-shell,
.inst-shell {
    width: min(var(--crpub-shell), calc(100% - 40px));
    margin-inline: auto;
}

/* ----------------------------------------------------------------------
   ACESSIBILIDADE
---------------------------------------------------------------------- */

.crpub-skip-link {
    position: fixed;
    z-index: 9999;
    top: 10px;
    left: 14px;
    transform: translateY(-160%);
    padding: 11px 15px;
    border-radius: 12px;
    color: #fff;
    background: var(--crpub-green-dark);
    font-size: 13px;
    font-weight: 850;
    text-decoration: none;
    transition: transform .18s var(--crpub-ease);
}

.crpub-skip-link:focus {
    transform: translateY(0);
}

/* ----------------------------------------------------------------------
   BARRA DE PROGRESSO
---------------------------------------------------------------------- */

.crpub-progress {
    position: fixed;
    z-index: 1600;
    inset: 0 0 auto;
    height: 3px;
    pointer-events: none;
    background: transparent;
}

.crpub-progress > span {
    display: block;
    width: 100%;
    height: 100%;
    transform: scaleX(0);
    transform-origin: left center;
    background: linear-gradient(90deg, var(--crpub-green), var(--crpub-blue), var(--crpub-violet));
    transition: transform .08s linear;
}

/* ----------------------------------------------------------------------
   NAVEGAÇÃO PÚBLICA MASTER
---------------------------------------------------------------------- */

.crpub-header {
    position: sticky;
    z-index: 1500;
    top: 0;
    min-height: var(--crpub-header-h);
    border-bottom: 1px solid rgba(17, 58, 48, .08);
    background:
        radial-gradient(52rem 8rem at 12% -40%, rgba(11, 141, 107, .11), transparent 65%),
        radial-gradient(50rem 8rem at 88% -40%, rgba(40, 89, 220, .10), transparent 65%),
        rgba(255, 255, 255, .88);
    -webkit-backdrop-filter: blur(20px) saturate(145%);
    backdrop-filter: blur(20px) saturate(145%);
    transition: box-shadow .2s ease, background .2s ease, border-color .2s ease;
}

.crpub-header.is-scrolled {
    border-color: rgba(17, 58, 48, .12);
    background: rgba(255, 255, 255, .95);
    box-shadow: 0 10px 34px rgba(7, 43, 35, .08);
}

.crpub-header__inner {
    min-height: var(--crpub-header-h);
    display: grid;
    grid-template-columns: auto auto minmax(190px, 1fr) auto;
    align-items: center;
    gap: 22px;
}

.crpub-brand {
    min-width: 205px;
    display: inline-flex;
    align-items: center;
    gap: 11px;
    color: var(--crpub-ink);
    text-decoration: none;
}

.crpub-brand img {
    width: 43px;
    height: 43px;
    object-fit: contain;
    filter: drop-shadow(0 8px 18px rgba(7, 43, 35, .10));
}

.crpub-brand__copy {
    display: grid;
    gap: 1px;
    line-height: 1.1;
}

.crpub-brand__copy strong {
    font-size: 14px;
    font-weight: 900;
    letter-spacing: -.025em;
}

.crpub-brand__copy small {
    color: var(--crpub-muted);
    font-size: 10.5px;
    font-weight: 760;
    letter-spacing: .025em;
}

.crpub-desktop-nav {
    display: flex;
    align-items: center;
    gap: 2px;
    white-space: nowrap;
}

.crpub-desktop-nav a {
    position: relative;
    padding: 10px 11px;
    border-radius: 12px;
    color: #526861;
    font-size: 12.5px;
    font-weight: 790;
    text-decoration: none;
    transition: color .16s ease, background .16s ease;
}

.crpub-desktop-nav a::after {
    content: "";
    position: absolute;
    left: 12px;
    right: 12px;
    bottom: 5px;
    height: 2px;
    border-radius: 999px;
    transform: scaleX(0);
    transform-origin: center;
    background: linear-gradient(90deg, var(--crpub-green), var(--crpub-blue));
    transition: transform .18s var(--crpub-ease);
}

.crpub-desktop-nav a:hover,
.crpub-desktop-nav a.is-active {
    color: var(--crpub-green-dark);
    background: rgba(11, 141, 107, .065);
}

.crpub-desktop-nav a:hover::after,
.crpub-desktop-nav a.is-active::after {
    transform: scaleX(1);
}

.crpub-search,
.crpub-mobile-search {
    min-width: 0;
    display: flex;
    align-items: center;
    gap: 9px;
    height: 42px;
    padding: 0 14px;
    border: 1px solid rgba(17, 58, 48, .11);
    border-radius: 999px;
    background: rgba(255, 255, 255, .82);
    box-shadow: 0 6px 20px rgba(7, 43, 35, .045);
    transition: border-color .16s ease, box-shadow .16s ease, background .16s ease;
}

.crpub-search:focus-within,
.crpub-mobile-search:focus-within {
    border-color: rgba(40, 89, 220, .28);
    background: #fff;
    box-shadow: var(--crpub-focus), var(--crpub-shadow-xs);
}

.crpub-search svg,
.crpub-mobile-search svg,
.crpub-btn svg,
.crpub-mobile-menu nav svg {
    width: 18px;
    height: 18px;
    flex: 0 0 auto;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.crpub-search input,
.crpub-mobile-search input {
    width: 100%;
    min-width: 0;
    border: 0;
    outline: 0;
    color: var(--crpub-ink);
    background: transparent;
    font: inherit;
    font-size: 12.5px;
    font-weight: 720;
}

.crpub-search input::placeholder,
.crpub-mobile-search input::placeholder {
    color: #8a9994;
}

.crpub-header__actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 8px;
}

.crpub-btn {
    min-height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 0 15px;
    border: 1px solid transparent;
    border-radius: 13px;
    font-size: 12.5px;
    font-weight: 860;
    line-height: 1;
    text-decoration: none;
    white-space: nowrap;
    transition: transform .16s var(--crpub-ease), box-shadow .16s ease, border-color .16s ease, background .16s ease;
}

.crpub-btn:hover {
    transform: translateY(-1px);
}

.crpub-btn--quiet {
    color: #36534b;
    border-color: rgba(17, 58, 48, .11);
    background: rgba(255, 255, 255, .80);
}

.crpub-btn--quiet:hover {
    border-color: rgba(11, 141, 107, .24);
    background: #fff;
    box-shadow: var(--crpub-shadow-xs);
}

.crpub-btn--primary {
    position: relative;
    overflow: hidden;
    color: #fff;
    background: linear-gradient(135deg, var(--crpub-green-2), var(--crpub-green-dark));
    box-shadow: 0 12px 26px rgba(8, 113, 87, .20);
}

.crpub-btn--primary::before {
    content: "";
    position: absolute;
    inset: -40% auto -40% -50%;
    width: 42%;
    transform: skewX(-18deg);
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .26), transparent);
    transition: left .55s var(--crpub-ease);
}

.crpub-btn--primary:hover {
    box-shadow: 0 16px 35px rgba(8, 113, 87, .28);
}

.crpub-btn--primary:hover::before {
    left: 120%;
}

.crpub-account svg {
    width: 17px;
    height: 17px;
}

.crpub-primary-cta svg {
    width: 16px;
    height: 16px;
    transition: transform .16s var(--crpub-ease);
}

.crpub-primary-cta:hover svg {
    transform: translateX(2px);
}

.crpub-menu-toggle {
    width: 44px;
    height: 44px;
    display: none;
    place-items: center;
    gap: 4px;
    padding: 10px;
    border: 1px solid rgba(17, 58, 48, .12);
    border-radius: 13px;
    background: rgba(255, 255, 255, .88);
    box-shadow: var(--crpub-shadow-xs);
    cursor: pointer;
}

.crpub-menu-toggle span {
    display: block;
    width: 20px;
    height: 2px;
    border-radius: 999px;
    background: var(--crpub-ink-2);
    transition: transform .18s ease, opacity .18s ease;
}

.crpub-menu-toggle[aria-expanded="true"] span:nth-child(1) {
    transform: translateY(6px) rotate(45deg);
}

.crpub-menu-toggle[aria-expanded="true"] span:nth-child(2) {
    opacity: 0;
}

.crpub-menu-toggle[aria-expanded="true"] span:nth-child(3) {
    transform: translateY(-6px) rotate(-45deg);
}

.crpub-mobile-menu {
    border-top: 1px solid rgba(17, 58, 48, .08);
    background: rgba(250, 253, 251, .98);
    box-shadow: 0 22px 50px rgba(7, 43, 35, .10);
}

.crpub-mobile-menu[hidden] {
    display: none !important;
}

.crpub-mobile-menu__inner {
    display: grid;
    gap: 18px;
    padding-top: 18px;
    padding-bottom: 24px;
}

.crpub-mobile-menu nav {
    display: grid;
    gap: 5px;
}

.crpub-mobile-menu nav a {
    min-height: 48px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 0 14px;
    border-radius: 14px;
    color: #355048;
    font-size: 14px;
    font-weight: 820;
    text-decoration: none;
}

.crpub-mobile-menu nav a:hover,
.crpub-mobile-menu nav a.is-active {
    color: var(--crpub-green-dark);
    background: var(--crpub-green-soft);
}

.crpub-mobile-menu nav svg {
    width: 17px;
    height: 17px;
}

.crpub-mobile-menu__actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

html.crpub-menu-open,
html.crpub-menu-open body {
    overflow: hidden;
}

/* ----------------------------------------------------------------------
   HERO E HIERARQUIA - PÁGINA INSTITUCIONAL
---------------------------------------------------------------------- */

.inst-hero {
    min-height: 690px;
    display: flex;
    align-items: center;
    padding: clamp(72px, 8vw, 112px) 0 clamp(74px, 8vw, 108px);
    background:
        radial-gradient(circle at 82% 12%, rgba(40, 89, 220, .14), transparent 29%),
        radial-gradient(circle at 12% 15%, rgba(11, 141, 107, .15), transparent 31%),
        linear-gradient(180deg, #f6fbf8 0%, #ffffff 100%);
}

.inst-hero::before {
    content: "";
    position: absolute;
    width: 560px;
    height: 560px;
    left: -330px;
    bottom: -360px;
    border-radius: 50%;
    border: 1px solid rgba(11, 141, 107, .12);
    box-shadow: 0 0 0 70px rgba(11, 141, 107, .025), 0 0 0 140px rgba(40, 89, 220, .018);
    pointer-events: none;
}

.inst-hero__grid {
    grid-template-columns: minmax(0, .98fr) minmax(460px, 1.02fr);
    gap: clamp(42px, 6vw, 78px);
}

.inst-hero h1 {
    max-width: 790px;
    font-size: clamp(44px, 5.3vw, 74px);
    line-height: .99;
    letter-spacing: -.06em;
    text-wrap: balance;
}

.inst-lead {
    max-width: 730px;
    color: #536b63;
    font-size: clamp(17px, 1.55vw, 20px);
    line-height: 1.72;
}

.inst-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 11px;
    font-weight: 920;
    letter-spacing: .155em;
}

.inst-eyebrow::before {
    content: "";
    width: 26px;
    height: 2px;
    border-radius: 999px;
    background: linear-gradient(90deg, var(--crpub-green), var(--crpub-blue));
}

.inst-eyebrow--light::before {
    background: linear-gradient(90deg, #7fe0bd, #89a7ff);
}

.inst-hero__actions {
    margin-top: 34px;
}

.inst-btn {
    position: relative;
    overflow: hidden;
    min-height: 46px;
    border-radius: 14px;
    font-weight: 850;
}

.inst-btn--large {
    min-height: 56px;
    padding-inline: 25px;
    border-radius: 17px;
}

.inst-btn--primary {
    background: linear-gradient(135deg, var(--crpub-green-2), var(--crpub-green-dark));
    box-shadow: 0 15px 34px rgba(8, 113, 87, .22);
}

.inst-btn--primary:hover {
    box-shadow: 0 20px 44px rgba(8, 113, 87, .30);
}

.inst-btn--soft {
    color: var(--crpub-green-dark);
    background: rgba(226, 246, 238, .84);
    border: 1px solid rgba(8, 113, 87, .13);
}

.inst-hero__microcopy {
    display: flex;
    align-items: center;
    gap: 9px;
    margin-top: 18px;
    color: #70827c;
}

.inst-hero__microcopy::before {
    content: "✓";
    width: 21px;
    height: 21px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    color: var(--crpub-green-dark);
    background: var(--crpub-green-soft);
    font-size: 11px;
    font-weight: 950;
}

.inst-flow-map {
    position: relative;
    padding: 30px;
    border-color: rgba(8, 113, 87, .16);
    background:
        linear-gradient(180deg, rgba(255, 255, 255, .96), rgba(250, 253, 251, .92));
    box-shadow: var(--crpub-shadow-lg);
}

.inst-flow-map::before {
    content: "";
    position: absolute;
    inset: -1px;
    z-index: -1;
    border-radius: inherit;
    background: linear-gradient(135deg, rgba(11, 141, 107, .24), rgba(40, 89, 220, .14), transparent 65%);
}

.inst-flow-map__header strong {
    font-size: 20px;
    line-height: 1.4;
}

.inst-flow-node {
    min-height: 61px;
    padding: 12px 14px;
    border-color: rgba(17, 58, 48, .09);
    background: rgba(247, 250, 248, .90);
    transition: transform .18s var(--crpub-ease), box-shadow .18s ease, border-color .18s ease;
}

.inst-flow-node:hover {
    transform: translateX(4px);
    border-color: rgba(8, 113, 87, .20);
    box-shadow: var(--crpub-shadow-xs);
}

.inst-flow-node--active {
    background: linear-gradient(135deg, #ddf5eb, #edf8f4);
}

.inst-flow-node > span {
    width: 38px;
    height: 38px;
    border-radius: 13px;
}

.inst-flow-map__footer {
    overflow-x: auto;
    scrollbar-width: none;
}

.inst-flow-map__footer::-webkit-scrollbar {
    display: none;
}

.inst-flow-map__footer span {
    min-width: max-content;
}

/* ----------------------------------------------------------------------
   PROVA, SEÇÕES E CARDS
---------------------------------------------------------------------- */

.inst-proof {
    position: relative;
    z-index: 2;
    border: 0;
    background: #fff;
    box-shadow: 0 -1px 0 rgba(17, 58, 48, .06), 0 1px 0 rgba(17, 58, 48, .06);
}

.inst-proof article {
    position: relative;
    padding: 31px 22px;
}

.inst-proof article::after {
    content: "";
    position: absolute;
    left: 26%;
    right: 26%;
    bottom: 0;
    height: 3px;
    border-radius: 99px 99px 0 0;
    transform: scaleX(.25);
    opacity: .35;
    background: linear-gradient(90deg, var(--crpub-green), var(--crpub-blue));
    transition: transform .2s ease, opacity .2s ease;
}

.inst-proof article:hover::after {
    transform: scaleX(1);
    opacity: 1;
}

.inst-proof strong {
    font-size: clamp(31px, 3vw, 40px);
    font-variant-numeric: tabular-nums;
}

.inst-section {
    position: relative;
    padding: clamp(76px, 8vw, 112px) 0;
}

.inst-section__heading {
    margin-bottom: clamp(34px, 4vw, 52px);
}

.inst-section__heading h2 {
    max-width: 900px;
    font-size: clamp(36px, 4.5vw, 58px);
    line-height: 1.035;
    letter-spacing: -.052em;
    text-wrap: balance;
}

.inst-section__heading p {
    max-width: 780px;
    font-size: 17px;
    line-height: 1.78;
}

.inst-section__heading--center h2,
.inst-section__heading--center p {
    margin-inline: auto;
}

.inst-problem-grid,
.inst-audience-grid,
.inst-organizations-grid,
.inst-cycle-grid,
.inst-30days {
    perspective: 1000px;
}

.inst-problem-grid article,
.inst-audience-grid article,
.inst-organization-card,
.inst-cycle-grid article,
.inst-30days article {
    border-color: rgba(17, 58, 48, .10);
    box-shadow: var(--crpub-shadow-xs);
    transition: transform .2s var(--crpub-ease), box-shadow .2s ease, border-color .2s ease;
}

.inst-problem-grid article:hover,
.inst-audience-grid article:hover,
.inst-organization-card:hover,
.inst-cycle-grid article:hover,
.inst-30days article:hover {
    transform: translateY(-5px);
    border-color: rgba(8, 113, 87, .20);
    box-shadow: var(--crpub-shadow-md);
}

.inst-problem-grid article {
    min-height: 260px;
    padding: 30px;
    background:
        radial-gradient(circle at 100% 0%, rgba(11, 141, 107, .055), transparent 37%),
        #fff;
}

.inst-icon {
    width: 52px;
    height: 52px;
    border-radius: 16px;
    background: linear-gradient(135deg, #ddf5eb, #eef9f5);
    box-shadow: inset 0 0 0 1px rgba(8, 113, 87, .07);
}

.inst-cycle-grid {
    gap: 16px;
}

.inst-cycle-grid article {
    overflow: hidden;
    min-height: 280px;
    background:
        linear-gradient(180deg, #fff, #fbfdfc);
}

.inst-cycle-grid article::after {
    content: "";
    position: absolute;
    width: 120px;
    height: 120px;
    right: -65px;
    top: -65px;
    border-radius: 50%;
    background: rgba(11, 141, 107, .055);
}

.inst-cycle-number {
    box-shadow: 0 12px 25px rgba(8, 113, 87, .18);
}

.inst-section--dark {
    overflow: hidden;
    background:
        radial-gradient(circle at 86% 12%, rgba(64, 111, 255, .25), transparent 30%),
        radial-gradient(circle at 11% 88%, rgba(45, 196, 139, .20), transparent 33%),
        linear-gradient(145deg, #071f1b 0%, #0a2c26 54%, #0b2420 100%);
}

.inst-section--dark::before {
    content: "";
    position: absolute;
    inset: 0;
    opacity: .22;
    pointer-events: none;
    background-image:
        linear-gradient(rgba(255, 255, 255, .04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, .04) 1px, transparent 1px);
    background-size: 48px 48px;
    mask-image: linear-gradient(to bottom, transparent, #000 18%, #000 82%, transparent);
}

.inst-speeds {
    position: relative;
    z-index: 1;
    gap: 24px;
}

.inst-speed-card {
    min-height: 390px;
    padding: 38px;
    border-color: rgba(255, 255, 255, .13);
    background: rgba(255, 255, 255, .065);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .07), 0 28px 70px rgba(0, 0, 0, .12);
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
    transition: transform .2s var(--crpub-ease), background .2s ease, border-color .2s ease;
}

.inst-speed-card:hover {
    transform: translateY(-4px);
    border-color: rgba(255, 255, 255, .22);
    background: rgba(255, 255, 255, .085);
}

.inst-speed-card--deep {
    background: linear-gradient(145deg, rgba(42, 91, 220, .20), rgba(255, 255, 255, .05));
}

.inst-speed-symbol {
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .10), 0 14px 30px rgba(0, 0, 0, .10);
}

.inst-bridge {
    position: relative;
    z-index: 1;
    border-color: rgba(255, 255, 255, .14);
    background: linear-gradient(90deg, rgba(255,255,255,.08), rgba(255,255,255,.04));
}

.inst-dashboard-preview {
    position: relative;
    overflow: hidden;
    border-color: rgba(8, 113, 87, .15);
    background:
        radial-gradient(circle at 96% 0%, rgba(40, 89, 220, .09), transparent 27%),
        radial-gradient(circle at 0% 100%, rgba(11, 141, 107, .09), transparent 28%),
        #fff;
    box-shadow: var(--crpub-shadow-lg);
}

.inst-dashboard-preview::before {
    content: "";
    position: absolute;
    inset: 0 auto 0 0;
    width: 5px;
    background: linear-gradient(180deg, var(--crpub-green), var(--crpub-blue), var(--crpub-violet));
}

.inst-dashboard-preview__next {
    border: 1px solid rgba(8, 113, 87, .11);
    background: linear-gradient(135deg, #e6f7f0, #f3faf7);
}

.inst-dashboard-preview__metrics article {
    background: rgba(255, 255, 255, .82);
    transition: transform .17s ease, box-shadow .17s ease;
}

.inst-dashboard-preview__metrics article:hover {
    transform: translateY(-2px);
    box-shadow: var(--crpub-shadow-xs);
}

.inst-30days article {
    position: relative;
    overflow: hidden;
    background: #fff;
}

.inst-30days article::before {
    content: "";
    position: absolute;
    inset: 0 0 auto;
    height: 4px;
    background: linear-gradient(90deg, var(--crpub-green), var(--crpub-blue));
    opacity: .72;
}

.inst-organization-card {
    position: relative;
    overflow: hidden;
    min-height: 380px;
    background:
        radial-gradient(circle at 100% 0%, rgba(40, 89, 220, .055), transparent 35%),
        #fff;
}

.inst-organization-card::before {
    content: "";
    position: absolute;
    inset: 0 0 auto;
    height: 3px;
    transform: scaleX(.30);
    transform-origin: left;
    background: linear-gradient(90deg, var(--crpub-green), var(--crpub-blue));
    transition: transform .25s var(--crpub-ease);
}

.inst-organization-card:hover::before {
    transform: scaleX(1);
}

.inst-organization-avatar {
    background: linear-gradient(135deg, var(--crpub-green-soft), var(--crpub-blue-soft));
    box-shadow: inset 0 0 0 1px rgba(8, 113, 87, .07);
}

.inst-organization-card__description {
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.inst-organization-card__metrics {
    padding: 14px;
    border: 1px solid rgba(17, 58, 48, .08);
    border-radius: 16px;
    background: #f8fbf9;
}

.inst-card-link {
    color: var(--crpub-green-dark);
}

.inst-card-link span {
    transition: transform .16s var(--crpub-ease);
}

.inst-card-link:hover span {
    transform: translateX(3px);
}

.inst-audience-grid article {
    background: linear-gradient(180deg, #fff, #fbfdfc);
}

.inst-badges-box {
    border-color: rgba(232, 173, 57, .22);
    background:
        radial-gradient(circle at 90% 0%, rgba(232, 173, 57, .13), transparent 34%),
        radial-gradient(circle at 10% 100%, rgba(11, 141, 107, .09), transparent 35%),
        #fff;
    box-shadow: var(--crpub-shadow-md);
}

.inst-badges-box__list span {
    border-color: rgba(17, 58, 48, .10);
    background: rgba(255, 255, 255, .86);
}

.inst-final-cta {
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(circle at 88% 0%, rgba(74, 122, 255, .30), transparent 34%),
        radial-gradient(circle at 8% 100%, rgba(52, 214, 156, .20), transparent 35%),
        linear-gradient(135deg, #06251f 0%, #0a4d3d 100%);
}

.inst-final-cta::after {
    content: "";
    position: absolute;
    width: 450px;
    height: 450px;
    right: -250px;
    bottom: -270px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, .12);
    box-shadow: 0 0 0 65px rgba(255, 255, 255, .025), 0 0 0 130px rgba(255, 255, 255, .018);
}

.inst-final-cta__grid {
    position: relative;
    z-index: 1;
}

.inst-footer {
    border-top: 1px solid rgba(17, 58, 48, .08);
    background: #fff;
}

.inst-footer nav a {
    position: relative;
}

.inst-footer nav a::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: -4px;
    height: 1px;
    transform: scaleX(0);
    background: var(--crpub-green);
    transition: transform .15s ease;
}

.inst-footer nav a:hover::after {
    transform: scaleX(1);
}

/* ----------------------------------------------------------------------
   PÁGINA “COMO COMEÇAR” - OVERRIDES MASTER
---------------------------------------------------------------------- */

.inst-start-main {
    overflow: clip;
}

.inst-start-hero {
    position: relative;
    overflow: hidden;
    padding: clamp(58px, 7vw, 92px) 0 44px;
    background:
        radial-gradient(circle at 84% 2%, rgba(40, 89, 220, .15), transparent 31%),
        radial-gradient(circle at 10% 12%, rgba(11, 141, 107, .15), transparent 32%),
        linear-gradient(180deg, #f6fbf8 0%, #f7faf8 100%);
}

.inst-start-hero::after {
    content: "";
    position: absolute;
    width: 480px;
    height: 480px;
    right: -300px;
    bottom: -330px;
    border-radius: 50%;
    border: 1px solid rgba(40, 89, 220, .10);
    box-shadow: 0 0 0 70px rgba(40, 89, 220, .025), 0 0 0 140px rgba(11, 141, 107, .018);
}

.inst-start-hero .inst-shell {
    position: relative;
    z-index: 1;
    grid-template-columns: minmax(0, 1fr) 360px;
    gap: 64px;
}

.inst-start-back {
    margin-bottom: 34px;
    padding: 8px 11px;
    border: 1px solid rgba(17, 58, 48, .09);
    border-radius: 12px;
    background: rgba(255, 255, 255, .65);
}

.inst-start-back:hover {
    background: #fff;
    box-shadow: var(--crpub-shadow-xs);
}

.inst-start-hero h1 {
    max-width: 840px;
    font-size: clamp(44px, 5.5vw, 76px);
    line-height: .99;
    letter-spacing: -.06em;
    text-wrap: balance;
}

.inst-start-hero__copy > p {
    max-width: 800px;
    color: #536b63;
    font-size: clamp(16px, 1.5vw, 19px);
    line-height: 1.78;
}

.inst-start-principle,
.inst-start-session {
    border-color: rgba(8, 113, 87, .14);
    background: rgba(255, 255, 255, .84);
    box-shadow: var(--crpub-shadow-sm);
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
}

.inst-start-principle > span {
    background: linear-gradient(135deg, var(--crpub-green-soft), var(--crpub-blue-soft));
}

.inst-start-session {
    position: relative;
    overflow: hidden;
    padding: 22px;
}

.inst-start-session::after {
    content: "";
    position: absolute;
    width: 95px;
    height: 95px;
    right: -48px;
    top: -48px;
    border-radius: 50%;
    background: rgba(40, 89, 220, .07);
}

.inst-start-options {
    padding: 38px 0 104px;
}

.inst-start-grid {
    gap: 22px;
}

.inst-start-card {
    position: relative;
    overflow: hidden;
    min-height: 610px;
    padding: 32px;
    border-color: rgba(17, 58, 48, .11);
    box-shadow: var(--crpub-shadow-sm);
    transition: transform .2s var(--crpub-ease), box-shadow .2s ease, border-color .2s ease;
}

.inst-start-card::before {
    content: "";
    position: absolute;
    inset: 0 0 auto;
    height: 4px;
    transform: scaleX(.22);
    transform-origin: left;
    background: linear-gradient(90deg, var(--crpub-green), var(--crpub-blue));
    transition: transform .24s var(--crpub-ease);
}

.inst-start-card:hover {
    transform: translateY(-7px);
    border-color: rgba(8, 113, 87, .22);
    box-shadow: var(--crpub-shadow-lg);
}

.inst-start-card:hover::before {
    transform: scaleX(1);
}

.inst-start-card--primary {
    border-color: rgba(8, 113, 87, .26);
    background:
        radial-gradient(circle at 100% 0%, rgba(11, 141, 107, .13), transparent 32%),
        linear-gradient(180deg, #fff 0%, #f6fcf9 100%);
}

.inst-start-card--primary::after {
    content: "RECOMENDADO PARA GESTORES";
    position: absolute;
    right: -43px;
    top: 34px;
    width: 190px;
    padding: 7px 0;
    transform: rotate(38deg);
    color: #fff;
    background: linear-gradient(90deg, var(--crpub-green), var(--crpub-green-dark));
    font-size: 8px;
    font-weight: 950;
    letter-spacing: .10em;
    text-align: center;
    box-shadow: 0 9px 24px rgba(8, 113, 87, .18);
}

.inst-start-card__icon {
    width: 58px;
    height: 58px;
    border-radius: 18px;
    box-shadow: inset 0 0 0 1px rgba(8, 113, 87, .06);
}

.inst-start-card h2 {
    font-size: 30px;
    line-height: 1.08;
    letter-spacing: -.042em;
    text-wrap: balance;
}

.inst-start-card > p {
    color: #5a7068;
}

.inst-start-card__path {
    border: 1px solid rgba(17, 58, 48, .07);
    background: #f7faf8;
}

.inst-start-card__path span {
    color: #2f4d44;
}

.inst-start-card__button {
    min-height: 58px;
    border-radius: 17px;
    transition: transform .18s var(--crpub-ease), box-shadow .18s ease, border-color .18s ease;
}

.inst-start-card__button:hover span:last-child {
    transform: translateX(3px);
}

.inst-start-card__button span:last-child {
    transition: transform .16s var(--crpub-ease);
}

.inst-start-card__button--primary {
    background: linear-gradient(135deg, var(--crpub-green-2), var(--crpub-green-dark));
}

.inst-start-guidance {
    position: relative;
    background:
        linear-gradient(180deg, #fff, #fbfdfc);
}

.inst-start-guidance__rules article {
    border-color: rgba(17, 58, 48, .09);
    background: #fff;
    box-shadow: var(--crpub-shadow-xs);
    transition: transform .18s ease, box-shadow .18s ease;
}

.inst-start-guidance__rules article:hover {
    transform: translateX(4px);
    box-shadow: var(--crpub-shadow-sm);
}

.inst-start-guidance__rules article > span {
    background: linear-gradient(135deg, var(--crpub-green), var(--crpub-blue));
}

.inst-start-assisted__box {
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(circle at 90% 0%, rgba(57, 111, 255, .34), transparent 35%),
        radial-gradient(circle at 10% 100%, rgba(58, 220, 160, .18), transparent 36%),
        linear-gradient(135deg, #06251f, #0a5140);
    box-shadow: var(--crpub-shadow-lg);
}

.inst-start-assisted__box::after {
    content: "";
    position: absolute;
    width: 240px;
    height: 240px;
    right: -150px;
    bottom: -165px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, .13);
    box-shadow: 0 0 0 42px rgba(255, 255, 255, .025), 0 0 0 84px rgba(255, 255, 255, .016);
}

.inst-start-assisted__box > * {
    position: relative;
    z-index: 1;
}

/* ----------------------------------------------------------------------
   RESPONSIVIDADE
---------------------------------------------------------------------- */

@media (max-width: 1180px) {
    .crpub-header__inner {
        grid-template-columns: auto 1fr auto;
    }

    .crpub-desktop-nav {
        display: none;
    }

    .crpub-search {
        justify-self: stretch;
    }
}

@media (max-width: 1080px) {
    :root {
        --crpub-header-h: 70px;
    }

    .crpub-header__inner {
        min-height: var(--crpub-header-h);
        grid-template-columns: auto 1fr auto;
        gap: 14px;
    }

    .crpub-search {
        max-width: 440px;
        justify-self: end;
    }

    .crpub-account,
    .crpub-primary-cta {
        display: none;
    }

    .crpub-menu-toggle {
        display: grid;
    }

    .inst-hero {
        min-height: auto;
    }

    .inst-hero__grid,
    .inst-start-hero .inst-shell {
        grid-template-columns: 1fr;
    }

    .inst-hero__visual {
        max-width: 760px;
    }

    .inst-start-session {
        max-width: 640px;
    }

    .inst-start-card {
        min-height: 0;
    }
}

@media (max-width: 760px) {
    .crpub-shell,
    .inst-shell {
        width: min(100% - 28px, var(--crpub-shell));
    }

    .crpub-brand {
        min-width: 0;
    }

    .crpub-brand__copy strong {
        font-size: 13px;
    }

    .crpub-brand__copy small {
        display: none;
    }

    .crpub-search {
        display: none;
    }

    .crpub-header__inner {
        grid-template-columns: 1fr auto;
    }

    .crpub-mobile-menu__actions {
        grid-template-columns: 1fr;
    }

    .inst-hero {
        padding-top: 58px;
    }

    .inst-hero h1,
    .inst-start-hero h1 {
        font-size: clamp(41px, 13vw, 61px);
    }

    .inst-flow-map {
        padding: 21px;
        border-radius: 26px;
    }

    .inst-flow-map__footer {
        gap: 18px;
        justify-content: flex-start;
    }

    .inst-proof__grid {
        grid-template-columns: 1fr 1fr;
    }

    .inst-proof article:nth-child(2) {
        border-right: 0;
    }

    .inst-proof article:nth-child(-n+2) {
        border-bottom: 1px solid #edf2ef;
    }

    .inst-section {
        padding: 72px 0;
    }

    .inst-section__heading h2 {
        font-size: clamp(35px, 11vw, 51px);
    }

    .inst-speed-card {
        min-height: 0;
        padding: 29px;
    }

    .inst-start-options {
        padding-bottom: 76px;
    }

    .inst-start-card {
        padding: 26px;
    }

    .inst-start-card--primary::after {
        right: -51px;
        top: 28px;
        font-size: 7px;
    }
}

@media (max-width: 470px) {
    .crpub-brand img {
        width: 39px;
        height: 39px;
    }

    .crpub-menu-toggle {
        width: 42px;
        height: 42px;
    }

    .inst-hero h1,
    .inst-start-hero h1 {
        font-size: clamp(38px, 13vw, 52px);
    }

    .inst-lead,
    .inst-start-hero__copy > p {
        font-size: 16px;
    }

    .inst-hero__actions,
    .inst-final-cta__actions {
        display: grid;
        grid-template-columns: 1fr;
    }

    .inst-hero__actions .inst-btn,
    .inst-final-cta__actions .inst-btn {
        width: 100%;
    }

    .inst-proof article {
        padding-inline: 12px;
    }

    .inst-proof strong {
        font-size: 29px;
    }

    .inst-proof span {
        font-size: 11.5px;
    }

    .inst-start-card__tag {
        max-width: 145px;
    }
}

/* ----------------------------------------------------------------------
   MOVIMENTO REDUZIDO E IMPRESSÃO
---------------------------------------------------------------------- */

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto !important;
    }

    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: .01ms !important;
    }

}

@media print {
    .crpub-header,
    .crpub-progress,
    .inst-final-cta,
    .inst-start-assisted {
        display: none !important;
    }

    body {
        background: #fff !important;
    }

    .inst-section,
    .inst-hero,
    .inst-start-hero {
        padding: 28px 0 !important;
    }

    .inst-problem-grid article,
    .inst-organization-card,
    .inst-start-card {
        break-inside: avoid;
        box-shadow: none !important;
    }
}

/* Complementos de orientação da página de entrada */
.inst-start-steps {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 9px;
    margin-top: 18px;
    color: #60736d;
}

.inst-start-steps > span {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    min-height: 34px;
    padding: 6px 10px 6px 7px;
    border: 1px solid rgba(17, 58, 48, .09);
    border-radius: 999px;
    background: rgba(255, 255, 255, .72);
    font-size: 10.5px;
    font-weight: 800;
}

.inst-start-steps b {
    width: 22px;
    height: 22px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    color: #fff;
    background: linear-gradient(135deg, var(--crpub-green), var(--crpub-blue));
    font-size: 9px;
}

.inst-start-steps i {
    color: #94a39e;
    font-size: 11px;
    font-style: normal;
}

.inst-start-card__micro {
    display: block;
    min-height: 35px;
    margin-top: 12px;
    color: #7a8b85;
    font-size: 10.5px;
    font-weight: 720;
    line-height: 1.5;
    text-align: center;
}

@media (max-width: 760px) {
    .inst-start-steps i {
        display: none;
    }

    .inst-start-steps {
        display: grid;
        grid-template-columns: 1fr;
        max-width: 420px;
    }

    .inst-start-steps > span {
        border-radius: 13px;
    }
}

/* ======================================================================
   D1 - ART DIRECTION HEADER
   Marca autoral, luz atmosférica e movimento discreto.
   Carregado como parte da folha master para alcançar:
   /instituicoes, /instituicoes/comecar e /instituicoes/buscar.
====================================================================== */

:root {
    --crpub-header-h: 84px;
    --crpub-header-surface: rgba(250, 253, 252, .82);
    --crpub-header-surface-scrolled: rgba(252, 254, 253, .94);
    --crpub-header-ink: #0a2923;
    --crpub-header-cyan: #0f9aa2;
    --crpub-header-blue: #1949c7;
    --crpub-header-lime: #54c65f;
    --crpub-header-glow: rgba(27, 171, 128, .18);
}

.crpub-header--art {
    --crpub-pointer-x: 20%;
    --crpub-pointer-y: 0%;
    isolation: isolate;
    overflow: visible;
    min-height: var(--crpub-header-h);
    border-bottom: 1px solid rgba(10, 56, 46, .10);
    background:
        radial-gradient(420px circle at var(--crpub-pointer-x) var(--crpub-pointer-y), rgba(56, 197, 131, .13), transparent 68%),
        radial-gradient(780px 150px at 7% -65%, rgba(65, 207, 87, .20), transparent 70%),
        radial-gradient(760px 160px at 96% -72%, rgba(33, 78, 210, .15), transparent 70%),
        linear-gradient(108deg, rgba(252, 255, 253, .94), var(--crpub-header-surface) 54%, rgba(249, 252, 255, .92));
    box-shadow:
        0 1px 0 rgba(255, 255, 255, .82) inset,
        0 12px 36px rgba(4, 40, 33, .055);
    -webkit-backdrop-filter: blur(24px) saturate(152%);
    backdrop-filter: blur(24px) saturate(152%);
}

.crpub-header--art::before {
    content: "";
    position: absolute;
    z-index: -1;
    inset: 0;
    pointer-events: none;
    opacity: .72;
    background:
        linear-gradient(90deg, transparent 0%, rgba(255,255,255,.72) 22%, transparent 45%),
        radial-gradient(360px 90px at 24% 0%, rgba(95, 220, 114, .12), transparent 70%),
        radial-gradient(420px 100px at 78% 0%, rgba(50, 89, 220, .10), transparent 72%);
    background-size: 220% 100%, 100% 100%, 100% 100%;
    animation: crpubHeaderLustre 18s ease-in-out infinite alternate;
}

.crpub-header--art::after {
    content: "";
    position: absolute;
    z-index: 1;
    left: 0;
    right: 0;
    bottom: -1px;
    height: 1px;
    pointer-events: none;
    background: linear-gradient(
        90deg,
        transparent 0%,
        rgba(50, 192, 91, .38) 18%,
        rgba(10, 128, 94, .18) 44%,
        rgba(37, 76, 203, .34) 78%,
        transparent 100%
    );
    filter: drop-shadow(0 1px 4px rgba(20, 120, 95, .20));
}

.crpub-header__aurora {
    position: absolute;
    z-index: -1;
    top: -46px;
    width: 210px;
    height: 110px;
    border-radius: 50%;
    pointer-events: none;
    filter: blur(38px);
    opacity: .18;
}

.crpub-header__aurora--green {
    left: 8%;
    background: #35d45c;
    animation: crpubAuroraGreen 15s ease-in-out infinite alternate;
}

.crpub-header__aurora--blue {
    right: 9%;
    background: #274fd4;
    animation: crpubAuroraBlue 17s ease-in-out infinite alternate;
}

.crpub-header--art .crpub-header__inner {
    min-height: 84px;
    grid-template-columns: minmax(220px, auto) auto minmax(190px, 1fr) auto;
    gap: clamp(14px, 1.65vw, 24px);
    transition: min-height .28s var(--crpub-ease), gap .28s var(--crpub-ease);
}

.crpub-header--art.is-scrolled {
    background:
        radial-gradient(390px circle at var(--crpub-pointer-x) var(--crpub-pointer-y), rgba(56, 197, 131, .095), transparent 70%),
        linear-gradient(108deg, rgba(253,255,254,.97), var(--crpub-header-surface-scrolled) 55%, rgba(251,253,255,.97));
    border-color: rgba(10, 56, 46, .13);
    box-shadow:
        0 1px 0 rgba(255,255,255,.92) inset,
        0 17px 50px rgba(4, 38, 32, .10);
}

.crpub-header--art.is-scrolled .crpub-header__inner {
    min-height: 72px;
}

/* Marca */
.crpub-header--art .crpub-brand {
    min-width: 224px;
    gap: 13px;
    perspective: 700px;
}

.crpub-brand__mark {
    --brand-rx: 0deg;
    --brand-ry: 0deg;
    position: relative;
    width: 56px;
    height: 56px;
    flex: 0 0 56px;
    display: grid;
    place-items: center;
    border: 1px solid rgba(255,255,255,.82);
    border-radius: 18px;
    overflow: visible;
    transform: rotateX(var(--brand-rx)) rotateY(var(--brand-ry));
    transform-style: preserve-3d;
    box-shadow:
        0 14px 30px rgba(3, 57, 44, .18),
        0 3px 8px rgba(9, 40, 34, .12),
        0 1px 0 rgba(255,255,255,.80) inset;
    transition: transform .22s var(--crpub-ease), box-shadow .22s ease;
}

.crpub-brand__mark::before {
    content: "";
    position: absolute;
    inset: -4px;
    z-index: -1;
    border-radius: 21px;
    opacity: .68;
    background: conic-gradient(
        from 205deg,
        rgba(68, 212, 90, .10),
        rgba(14, 132, 94, .34),
        rgba(33, 72, 203, .31),
        rgba(68, 212, 90, .10)
    );
    filter: blur(7px);
    transition: opacity .22s ease, filter .22s ease;
}

.crpub-brand__mark picture,
.crpub-brand__mark img {
    width: 100%;
    height: 100%;
    display: block;
    border-radius: inherit;
}

.crpub-brand__mark img {
    object-fit: cover;
    transform: translateZ(8px);
}

.crpub-brand__mark::after {
    content: "";
    position: absolute;
    inset: 1px;
    z-index: 2;
    border-radius: 16px;
    pointer-events: none;
    background:
        linear-gradient(135deg, rgba(255,255,255,.34), transparent 32%),
        linear-gradient(315deg, rgba(255,255,255,.10), transparent 38%);
    box-shadow: 0 0 0 1px rgba(255,255,255,.18) inset;
}

.crpub-brand__orbit {
    position: absolute;
    z-index: 3;
    right: -4px;
    bottom: -4px;
    width: 14px;
    height: 14px;
    border: 3px solid rgba(255,255,255,.96);
    border-radius: 50%;
    background: linear-gradient(135deg, #56d45e, #0f8b70);
    box-shadow: 0 4px 10px rgba(7, 69, 53, .22);
}

.crpub-brand:hover .crpub-brand__mark {
    box-shadow:
        0 18px 38px rgba(3, 57, 44, .23),
        0 5px 11px rgba(9, 40, 34, .13),
        0 1px 0 rgba(255,255,255,.88) inset;
}

.crpub-brand:hover .crpub-brand__mark::before {
    opacity: .94;
    filter: blur(9px);
}

.crpub-header--art .crpub-brand__copy {
    gap: 3px;
}

.crpub-header--art .crpub-brand__copy strong {
    color: var(--crpub-header-ink);
    font-size: 15.5px;
    font-weight: 920;
    letter-spacing: -.035em;
}

.crpub-header--art .crpub-brand__copy small {
    display: flex;
    align-items: center;
    gap: 6px;
    color: #657a73;
    font-size: 10.5px;
    font-weight: 790;
    letter-spacing: .055em;
    text-transform: uppercase;
}

.crpub-brand__copy small i {
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: linear-gradient(135deg, #58cf61, #0d8c71);
    box-shadow: 0 0 0 4px rgba(62, 191, 101, .10);
}

/* Navegação editorial */
.crpub-header--art .crpub-desktop-nav {
    gap: 4px;
}

.crpub-header--art .crpub-desktop-nav a {
    min-height: 42px;
    display: inline-flex;
    align-items: center;
    padding: 0 12px;
    border: 1px solid transparent;
    border-radius: 13px;
    color: #526962;
    font-size: 12.5px;
    font-weight: 810;
    letter-spacing: -.008em;
}

.crpub-header--art .crpub-desktop-nav a::after {
    left: 15px;
    right: 15px;
    bottom: 5px;
    height: 2px;
    background: linear-gradient(90deg, #2fc25b, #0e987d 48%, #2b5bd4);
    box-shadow: 0 0 8px rgba(26, 154, 105, .22);
}

.crpub-header--art .crpub-desktop-nav a:hover {
    color: #0b5d49;
    border-color: rgba(12, 128, 91, .08);
    background: linear-gradient(180deg, rgba(255,255,255,.72), rgba(223,246,237,.56));
}

.crpub-header--art .crpub-desktop-nav a.is-active {
    color: #064b3a;
    border-color: rgba(11, 133, 95, .12);
    background:
        radial-gradient(circle at 25% 0%, rgba(82, 205, 101, .13), transparent 60%),
        rgba(226, 246, 238, .72);
    box-shadow: 0 7px 18px rgba(7, 73, 56, .055), 0 1px 0 rgba(255,255,255,.75) inset;
}

/* Busca com foco luminoso, sem aparência de template */
.crpub-header--art .crpub-search {
    position: relative;
    height: 44px;
    max-width: 360px;
    justify-self: stretch;
    padding: 0 11px 0 15px;
    border-color: rgba(12, 72, 58, .12);
    background:
        linear-gradient(180deg, rgba(255,255,255,.91), rgba(250,253,251,.77));
    box-shadow:
        0 8px 22px rgba(4, 44, 36, .05),
        0 1px 0 rgba(255,255,255,.92) inset;
}

.crpub-header--art .crpub-search::before {
    content: "";
    position: absolute;
    inset: -1px;
    z-index: -1;
    border-radius: inherit;
    opacity: 0;
    background: linear-gradient(100deg, rgba(57, 198, 91, .35), rgba(18, 151, 126, .22), rgba(43, 84, 210, .32));
    filter: blur(5px);
    transition: opacity .18s ease;
}

.crpub-header--art .crpub-search:focus-within::before {
    opacity: .54;
}

.crpub-header--art .crpub-search:focus-within {
    border-color: rgba(31, 112, 194, .22);
    box-shadow:
        0 0 0 4px rgba(34, 105, 208, .08),
        0 12px 28px rgba(5, 54, 43, .08),
        0 1px 0 rgba(255,255,255,.95) inset;
}

.crpub-header--art .crpub-search kbd {
    min-width: 25px;
    height: 24px;
    display: grid;
    place-items: center;
    padding: 0 7px;
    border: 1px solid rgba(12, 72, 58, .10);
    border-bottom-color: rgba(12, 72, 58, .18);
    border-radius: 8px;
    color: #71837d;
    background: rgba(245, 249, 247, .92);
    box-shadow: 0 2px 0 rgba(7, 51, 41, .06);
    font: 800 10px/1 ui-sans-serif, system-ui, sans-serif;
}

/* Ações */
.crpub-header--art .crpub-btn {
    min-height: 44px;
    border-radius: 14px;
}

.crpub-header--art .crpub-btn--quiet {
    color: #2f5148;
    border-color: rgba(12, 72, 58, .11);
    background: rgba(255,255,255,.66);
    box-shadow: 0 6px 18px rgba(5, 43, 35, .04), 0 1px 0 rgba(255,255,255,.82) inset;
}

.crpub-header--art .crpub-btn--quiet:hover {
    color: #074f3d;
    border-color: rgba(12, 132, 94, .18);
    background: rgba(255,255,255,.92);
    box-shadow: 0 10px 24px rgba(5, 43, 35, .08), 0 1px 0 rgba(255,255,255,.94) inset;
}

.crpub-header--art .crpub-btn--primary {
    border: 1px solid rgba(255,255,255,.16);
    background:
        radial-gradient(120% 150% at 8% 0%, rgba(96, 223, 107, .34), transparent 46%),
        linear-gradient(123deg, #0a8e69 0%, #06644f 47%, #123e78 112%);
    box-shadow:
        0 13px 29px rgba(4, 92, 69, .24),
        0 1px 0 rgba(255,255,255,.23) inset,
        0 -1px 0 rgba(1, 42, 34, .12) inset;
}

.crpub-header--art .crpub-btn--primary:hover {
    transform: translateY(-2px);
    box-shadow:
        0 18px 39px rgba(4, 92, 69, .31),
        0 1px 0 rgba(255,255,255,.27) inset;
}

/* Menu móvel: painel com identidade, não um dropdown genérico */
.crpub-mobile-backdrop {
    position: fixed;
    z-index: 1420;
    inset: var(--crpub-header-h) 0 0;
    background: rgba(4, 23, 19, .38);
    -webkit-backdrop-filter: blur(4px);
    backdrop-filter: blur(4px);
    opacity: 1;
    transition: opacity .2s ease;
}

.crpub-mobile-backdrop[hidden] {
    display: none !important;
}

.crpub-header--art .crpub-mobile-menu {
    position: absolute;
    z-index: 5;
    top: 100%;
    left: 0;
    right: 0;
    overflow: hidden;
    border-top: 1px solid rgba(14, 91, 70, .08);
    border-bottom: 1px solid rgba(14, 91, 70, .12);
    background:
        radial-gradient(600px 230px at 5% 0%, rgba(69, 202, 92, .12), transparent 70%),
        radial-gradient(540px 220px at 98% 0%, rgba(44, 83, 207, .11), transparent 70%),
        rgba(250, 253, 251, .98);
    box-shadow: 0 28px 70px rgba(4, 34, 28, .18);
    animation: crpubMobileMenuIn .24s var(--crpub-ease) both;
}

.crpub-mobile-menu__intro {
    display: grid;
    gap: 5px;
    padding: 4px 2px 2px;
}

.crpub-mobile-menu__intro > span {
    color: #0c8062;
    font-size: 9.5px;
    font-weight: 920;
    letter-spacing: .15em;
}

.crpub-mobile-menu__intro > strong {
    max-width: 560px;
    color: #153a32;
    font-size: 16px;
    line-height: 1.35;
    letter-spacing: -.02em;
}

.crpub-header--art .crpub-mobile-menu nav a {
    border: 1px solid transparent;
    background: rgba(255,255,255,.42);
}

.crpub-header--art .crpub-mobile-menu nav a:hover,
.crpub-header--art .crpub-mobile-menu nav a.is-active {
    border-color: rgba(14, 124, 89, .10);
    background: rgba(226, 246, 238, .80);
    box-shadow: 0 6px 18px rgba(5, 55, 43, .05);
}

/* Revelação das seções: só é ativada quando o JS está pronto. */
.crpub-ui-ready [data-inst-reveal] {
    opacity: 0;
    transform: translateY(18px);
    transition:
        opacity .62s var(--crpub-ease),
        transform .62s var(--crpub-ease);
}

.crpub-ui-ready [data-inst-reveal].is-visible {
    opacity: 1;
    transform: translateY(0);
}

@keyframes crpubHeaderLustre {
    0% { background-position: 0% 50%, 0 0, 0 0; }
    100% { background-position: 100% 50%, 0 0, 0 0; }
}

@keyframes crpubAuroraGreen {
    0% { transform: translate3d(-10px, 0, 0) scale(.92); opacity: .12; }
    100% { transform: translate3d(70px, 8px, 0) scale(1.16); opacity: .23; }
}

@keyframes crpubAuroraBlue {
    0% { transform: translate3d(20px, 2px, 0) scale(.95); opacity: .11; }
    100% { transform: translate3d(-72px, 10px, 0) scale(1.18); opacity: .22; }
}

@keyframes crpubMobileMenuIn {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 1240px) {
    .crpub-header--art .crpub-header__inner {
        grid-template-columns: minmax(205px, auto) auto minmax(150px, 1fr) auto;
        gap: 12px;
    }

    .crpub-header--art .crpub-desktop-nav a {
        padding-inline: 9px;
        font-size: 12px;
    }

    .crpub-header--art .crpub-search {
        max-width: 270px;
    }
}

@media (max-width: 1080px) {
    :root {
        --crpub-header-h: 76px;
    }

    .crpub-header--art .crpub-header__inner,
    .crpub-header--art.is-scrolled .crpub-header__inner {
        min-height: 76px;
        grid-template-columns: 1fr auto;
    }

    .crpub-header--art .crpub-brand {
        min-width: 0;
    }

    .crpub-brand__mark {
        width: 50px;
        height: 50px;
        flex-basis: 50px;
        border-radius: 16px;
    }

    .crpub-brand__mark::after {
        border-radius: 14px;
    }

    .crpub-header--art .crpub-desktop-nav,
    .crpub-header--art .crpub-search,
    .crpub-header--art .crpub-account,
    .crpub-header--art .crpub-primary-cta {
        display: none;
    }

    .crpub-header--art .crpub-menu-toggle {
        display: grid;
    }
}

@media (max-width: 560px) {
    .crpub-shell,
    .inst-shell {
        width: min(100% - 24px, var(--crpub-shell));
    }

    .crpub-header--art .crpub-brand__copy strong {
        font-size: 13.5px;
    }

    .crpub-header--art .crpub-brand__copy small {
        font-size: 8.7px;
        letter-spacing: .035em;
    }

    .crpub-brand__mark {
        width: 46px;
        height: 46px;
        flex-basis: 46px;
        border-radius: 15px;
    }

    .crpub-brand__mark::after {
        border-radius: 13px;
    }

    .crpub-mobile-menu__inner {
        padding-top: 17px;
        padding-bottom: 21px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .crpub-header--art::before,
    .crpub-header__aurora,
    .crpub-header--art .crpub-mobile-menu {
        animation: none !important;
    }

    .crpub-brand__mark {
        transform: none !important;
    }

    .crpub-ui-ready [data-inst-reveal] {
        opacity: 1 !important;
        transform: none !important;
    }
}
