/* Instituto Modernista, Direção A "Praça geométrica" (25/09/2026).
   Cores da versão do site do logo: petróleo, laranja e vermelho como base, lilás em detalhe.
   A página de Transparência mantém estrutura e comportamento; só as cores mudaram. */
:root {
  --pet: #0085ac; --pet-d: #006781; --pet-dd: #00566c; --lar: #f59f5c; --verm: #d10a11;
  --lil: #cf9fb5; --salv: #92b294; --azul: #598bba;
  --ink: #1c2830; --muted: #51606a; --line: #e3e8ec; --tint: #f3f8fa; --white: #fff;
  --tint-verm: #fbe9ea; --tint-lil: #f8eef3;
  /* nomes antigos, usados pela página de Transparência */
  --brand-blue: var(--pet); --brand-blue-deep: var(--pet-d); --brand-orange: var(--lar);
  --brand-green: var(--salv); --brand-red: var(--verm);
  --paper: var(--white); --field-border: #7b8a93; --surface-inset: var(--tint); --danger: #a22424; --success: #28643f;
  --space-1: 4px; --space-2: 8px; --space-3: 12px; --space-4: 16px; --space-5: 20px;
  --space-6: 24px; --space-8: 32px; --space-10: 40px; --space-12: 48px;
  --space-16: 64px; --space-20: 80px; --space-24: 96px;
  --content: 1200px; --gutter: clamp(20px, 4vw, 48px);
  --section-gap: clamp(80px, 9vw, 120px); --panel-padding: clamp(28px, 4vw, 56px);
  --radius-panel: 32px; --radius-input: 16px; --radius-pill: 999px;
  --header-height: 96px; --z-header: 30; --z-skip: 40;
  --ease-out: cubic-bezier(.16, 1, .3, 1); --ease: cubic-bezier(.2, .8, .2, 1); --soft: cubic-bezier(.22, .61, .36, 1);
  color: var(--ink); background: var(--white);
  font-family: "Poppins", "Avenir Next", sans-serif;
  font-synthesis: none; text-rendering: optimizeLegibility;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-height) + 24px); scrollbar-color: var(--pet-d) var(--tint); }
body { margin: 0; font-size: 1rem; line-height: 1.65; -webkit-font-smoothing: antialiased; }
body, button, input, textarea, select { font-family: inherit; }
button, input, textarea, select { font-size: 1rem; }
button, a, input, select, textarea, summary { -webkit-tap-highlight-color: transparent; }
img { display: block; max-width: 100%; height: auto; }
svg { flex-shrink: 0; }
.icon { width: 24px; height: 24px; vertical-align: middle; }
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.glyph { width: 26px; height: 26px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
a { color: inherit; text-underline-offset: .24em; text-decoration-thickness: 1px; }
button, summary { cursor: pointer; }
::selection { background: var(--lar); color: var(--ink); }
:focus-visible { outline: 3px solid var(--lar); outline-offset: 4px; }
h1, h2, h3, p { margin: 0; }
h1, h2, h3 { font-weight: 500; text-wrap: balance; }
h1 { line-height: 1.05; letter-spacing: -.04em; }
h2 { font-size: clamp(2.25rem, 4vw, 3.5rem); font-weight: 700; line-height: 1.13; letter-spacing: -.04em; }
h3 { font-size: 1.3rem; line-height: 1.3; letter-spacing: -.02em; }
p { text-wrap: pretty; }
p + p { margin-top: var(--space-5); }
[hidden] { display: none !important; }
.nw { white-space: nowrap; }
main { padding-top: var(--header-height); }
html:not(.js) .site-header { position: relative; inset: auto; padding-top: 12px; }
html:not(.js) main { padding-top: 16px; }
.section { width: min(calc(100% - 2 * var(--gutter)), var(--content)); margin-inline: auto; margin-top: var(--section-gap); }
.shell { width: min(calc(100% - 2 * var(--gutter)), var(--content)); margin-inline: auto; }
.section-heading p, .partnership-copy > p { max-width: 62ch; margin-top: var(--space-5); }
.section-subtitle { font-size: clamp(1.2rem, 2vw, 1.65rem); font-weight: 500; line-height: 1.4; letter-spacing: -.02em; }
.skip-link { position: fixed; z-index: var(--z-skip); top: 12px; left: 12px; padding: 12px 20px; border-radius: 16px; color: var(--white); background: var(--pet-d); transform: translateY(-180%); }
.skip-link:focus { transform: none; }

/* ---------- menu: pílula flutuante que encolhe ao rolar ---------- */
.site-header { position: fixed; inset: 16px 0 auto; z-index: var(--z-header); pointer-events: none; }
.header-inner { position: relative; pointer-events: auto; display: flex; align-items: center; gap: var(--space-6);
  width: min(calc(100% - 2 * var(--gutter) + 24px), calc(var(--content) + 24px)); min-height: 64px; margin-inline: auto; padding: 10px 12px 10px 24px;
  border-radius: var(--radius-pill); background: var(--white);
  transition: width .5s var(--ease), background .4s, box-shadow .4s, padding .4s var(--ease); }
.site-header[data-scrolled="true"] .header-inner { width: min(calc(100% - 32px), 1020px); padding: 10px 12px 10px 22px; background: var(--white); box-shadow: 0 12px 40px -14px rgba(0, 60, 80, .32), 0 0 0 1px rgba(0, 60, 80, .06); }
.brand { flex: 0 0 auto; }
.brand img { width: 168px; transition: width .4s var(--ease); }
.site-header[data-scrolled="true"] .brand img { width: 136px; }
.site-navigation { display: flex; align-items: center; gap: 2px; margin-left: auto; }
.site-navigation a { position: relative; display: inline-flex; align-items: center; min-height: 44px; padding: 0 14px; border-radius: var(--radius-pill); font-size: .875rem; font-weight: 500; white-space: nowrap; text-decoration: none; transition: background .25s, color .25s; }
.site-navigation a:hover, .site-navigation a:focus-visible { background: var(--tint); }
.site-navigation a[aria-current] { color: var(--pet-d); }
.site-navigation a[aria-current]::after { content: ""; position: absolute; left: 50%; bottom: 4px; width: 6px; height: 6px; margin-left: -3px; border-radius: 50%; background: var(--lar); }
.header-cta { flex: 0 0 auto; }
.menu-toggle { display: none; align-items: center; justify-content: center; width: 48px; height: 48px; margin-left: auto; border: 0; border-radius: 50%; background: var(--pet-d); color: var(--white); }
.menu-bars { display: block; width: 18px; height: 2px; background: currentColor; box-shadow: 0 -6px 0 currentColor, 0 6px 0 currentColor; transition: box-shadow .25s, transform .25s var(--ease); }
.menu-toggle[aria-expanded="true"] .menu-bars { box-shadow: none; transform: scaleX(.6); }
.scroll-progress { position: fixed; inset: 0 0 auto; z-index: var(--z-header); height: 3px; pointer-events: none; }
.scroll-progress span { display: block; height: 100%; background: linear-gradient(90deg, var(--pet), var(--lar), var(--verm)); transform: scaleX(var(--scroll-progress, 0)); transform-origin: left; }

/* ---------- botões: meio círculo do logo como marca de clique ---------- */
.button { display: inline-flex; align-items: center; justify-content: space-between; gap: 14px; min-height: 56px; max-width: 100%; padding: 8px 8px 8px 24px; border: 2px solid transparent; border-radius: var(--radius-pill);
  background: var(--white); color: var(--ink); font-size: .9375rem; line-height: 1.3; font-weight: 600; text-decoration: none; white-space: nowrap;
  transition: background-color .25s, color .25s, transform .25s var(--ease), box-shadow .25s; }
.button .icon { width: 20px; height: 20px; }
.chip { display: grid; place-items: center; width: 38px; height: 38px; flex: 0 0 auto; border-radius: 50%; background: var(--lar); color: var(--ink); }
.chip::before { content: ""; width: 18px; height: 9px; border-radius: 18px 18px 0 0; background: currentColor; transition: rotate .4s var(--ease); }
.button:hover .chip::before, .button:focus-visible .chip::before { translate: 0 -2px; }
.button-primary { background: var(--pet-d); color: var(--white); box-shadow: 0 10px 24px -12px rgba(0, 103, 129, .8); }
.button-primary:hover, .button-primary:focus-visible { background: var(--pet-dd); transform: translateY(-2px); box-shadow: 0 14px 26px -14px rgba(0, 103, 129, .7); }
.button-outline { padding: 8px 24px; border-color: var(--ink); background: transparent; }
.button-outline:hover, .button-outline:focus-visible { background: var(--ink); color: var(--white); transform: translateY(-2px); }
.button-dark { background: var(--ink); color: var(--white); }
.button-dark:hover, .button-dark:focus-visible { background: #000; transform: translateY(-2px); box-shadow: 0 14px 26px -16px rgba(0, 0, 0, .5); }
.button-light { background: var(--white); color: var(--pet-d); }
.button-light .chip { background: var(--verm); color: var(--white); }
.button-light:hover, .button-light:focus-visible { transform: translateY(-2px); box-shadow: 0 14px 26px -16px rgba(0, 0, 0, .4); }
.button-sm { min-height: 46px; padding: 5px 5px 5px 18px; font-size: .875rem; }
.button-sm .chip { width: 34px; height: 34px; }
.button:active { transform: none; }
.button:disabled { cursor: not-allowed; opacity: .6; transform: none; box-shadow: none; }
.text-link { display: inline-flex; align-items: center; gap: var(--space-3); min-height: 44px; font-size: .9375rem; font-weight: 600; }
.text-link .icon { width: 20px; height: 20px; transition: transform 180ms var(--ease-out); }
.text-link:hover .icon { transform: translateX(3px); }
.text-link .mark { width: 16px; height: 8px; border-radius: 16px 16px 0 0; background: var(--lar); transition: rotate .35s var(--ease); }
.text-link:hover .mark, .text-link:focus-visible .mark { translate: 3px 0; }

/* ---------- elementos comuns da Direção A ---------- */
.eyebrow { display: inline-flex; align-items: center; gap: 10px; margin-bottom: 26px; font-size: .875rem; font-weight: 600; color: var(--pet-d); }
.eyebrow i { width: 22px; height: 11px; border-radius: 22px 22px 0 0; background: var(--verm); }
.dot { display: inline-block; width: .3em; height: .3em; margin-left: .06em; border-radius: 50%; background: var(--lar); }
.shape-icon { --c: var(--pet); --on: var(--white); display: grid; place-items: center; width: 58px; height: 58px; flex: 0 0 auto; background: var(--c); color: var(--on); border-radius: 50%; transition: border-radius .45s var(--ease), rotate .45s var(--ease); }
.tone-pet { --c: var(--pet); --on: var(--white); --t: var(--tint); }
.tone-lar { --c: var(--lar); --on: var(--ink); --t: var(--white); }
.tone-verm { --c: var(--verm); --on: var(--white); --t: var(--tint-verm); }
.tone-lil { --c: var(--lil); --on: var(--ink); --t: var(--tint-lil); }
.section-head { display: flex; flex-direction: column; align-items: flex-start; gap: var(--space-5); max-width: 760px; margin-bottom: var(--space-12); }
.section-head h2 { font-size: clamp(2.3rem, 4.4vw, 3.6rem); font-weight: 800; line-height: 1.04; letter-spacing: -.04em; }
.section-head-copy { max-width: 60ch; color: var(--muted); }
.section-head-copy .section-subtitle { color: var(--pet-d); font-size: clamp(1.1rem, 1.5vw, 1.3rem); line-height: 1.38; margin-bottom: 12px; }
.section-head-copy p + p { margin-top: 0; }

/* ---------- entradas animadas (só com JS; sem JS e com movimento reduzido, tudo aparece) ---------- */
.js [data-split] .word { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .1em; margin-bottom: -.1em; }
.js [data-split] .word-inner { display: inline-block; translate: 0 110%; transition: translate .6s var(--ease); transition-delay: calc(var(--i) * 70ms); }
.js [data-split].is-in .word-inner { translate: 0 0; }
.js [data-split] .dot { scale: 0; transition: scale .45s var(--ease) .45s; }
.js [data-split].is-in .dot { scale: 1; }
.js [data-reveal] { opacity: 0; translate: 0 22px; transition: opacity .6s var(--ease), translate .6s var(--ease); transition-delay: .15s; }
.js [data-reveal].is-in { opacity: 1; translate: 0 0; }
.js [data-stagger-group]:not(.grant-list):not(.institutional-list) > * { opacity: 0; translate: 0 36px; transition: opacity .6s var(--soft), translate .6s var(--soft), transform .4s var(--soft), box-shadow .4s var(--soft); transition-delay: calc(var(--i) * 90ms), calc(var(--i) * 90ms), 0s, 0s; }
.js [data-stagger-group]:not(.grant-list):not(.institutional-list).is-in > * { opacity: 1; translate: 0 0; }

/* ---------- hero ---------- */
.hero { padding: clamp(40px, 6vw, 72px) 0 0; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 56px; align-items: center; }
.hero h1 { font-size: clamp(3.2rem, 7vw, 6.4rem); font-weight: 800; line-height: .98; letter-spacing: -.045em; }
.hero h1 .hl { color: var(--pet); }
.hero h1.hero-title-long { font-size: clamp(2.9rem, 5.8vw, 5.4rem); }
@media (min-width: 1024px) {
  .hero-grid:has(.hero-title-long) { grid-template-columns: 1.25fr 1fr; gap: 48px; }
  .hero h1.hero-title-long { font-size: clamp(3rem, 4.5vw, 4.4rem); }
  .hero h1.hero-title-long .hero-clause { white-space: nowrap; }
  .hero-grid:has(.hero-title-long) .hero-lead { max-width: 34ch; }
}
.hero-lead { max-width: 28ch; margin-top: 28px; font-size: clamp(1.15rem, 1.6vw, 1.4rem); line-height: 1.45; color: var(--muted); }
.hero-lead strong { color: var(--ink); font-weight: 600; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 40px; }
.collage { --px: 0; --py: 0; display: grid; grid-template-columns: repeat(4, 1fr); grid-template-rows: repeat(4, 1fr); gap: 12px; aspect-ratio: 1; }
.tile { position: relative; overflow: hidden; translate: calc(var(--px) * var(--d, 10px)) calc(var(--py) * var(--d, 10px)); transition: translate .6s var(--ease); }
.tile img { width: 100%; height: 100%; object-fit: cover; }
.t1 { grid-area: 1 / 1 / 3 / 3; border-radius: 999px 999px 0 0; --d: -18px; }
.t2 { grid-area: 1 / 3 / 2 / 4; background: var(--lar); border-radius: 0 0 0 100%; --d: 14px; }
.t3 { grid-area: 1 / 4 / 2 / 5; background: var(--verm); clip-path: polygon(0 100%, 100% 0, 100% 100%); --d: 22px; }
.t4 { grid-area: 2 / 3 / 4 / 5; border-radius: 0 0 0 36px; --d: -10px; }
.t5 { grid-area: 3 / 1 / 4 / 3; background: var(--pet); border-radius: 0 0 999px 999px; --d: 16px; }
.t6 { grid-area: 4 / 1 / 5 / 2; background: var(--lil); border-radius: 50%; --d: -20px; }
.t7 { grid-area: 4 / 2 / 5 / 4; border-radius: 999px; --d: 12px; }
.t7 img { object-position: 50% 30%; }
.t8 { grid-area: 4 / 4 / 5 / 5; background: var(--lar); border-radius: 0 100% 0 0; --d: -14px; }
.js .collage .tile { opacity: 0; scale: .6; rotate: -8deg; transition: opacity .5s var(--ease), scale .6s var(--ease), rotate .6s var(--ease), translate .6s var(--ease); transition-delay: calc(var(--i) * 70ms + 250ms), calc(var(--i) * 70ms + 250ms), calc(var(--i) * 70ms + 250ms), 0s; }
.js .collage.is-in .tile { opacity: 1; scale: 1; rotate: 0deg; }
.photo-credit { margin-top: 12px; font-size: .75rem; color: #6d7a83; text-align: right; }

/* ---------- somos o instituto ---------- */
.about-grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: 20px; }
.about-main { position: relative; overflow: hidden; display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); gap: clamp(32px, 5vw, 56px); align-items: center; padding: 124px clamp(28px, 4vw, 48px) clamp(48px, 5vw, 64px); border-radius: 28px; background: var(--pet-d); color: var(--white); }
.about-lede { position: relative; display: flex; flex-direction: column; align-items: flex-start; }
.about-since { display: inline-flex; align-items: center; gap: 10px; margin-bottom: 20px; padding: 7px 18px 7px 10px; border-radius: var(--radius-pill); background: rgba(255, 255, 255, .14); font-size: .8125rem; font-weight: 700; letter-spacing: .02em; text-transform: uppercase; color: #d9eef5; }
.about-since::before { content: ""; width: 20px; height: 10px; flex: 0 0 auto; border-radius: 20px 20px 0 0; background: var(--lar); }
.about-main h2 { position: relative; font-size: clamp(2.1rem, 3vw, 2.6rem); font-weight: 800; line-height: 1.05; }
.about-main h2 .nw { white-space: normal; }
@media (min-width: 560px) { .about-main h2 .nw { white-space: nowrap; } }
.about-purpose { position: relative; max-width: 32ch; margin-top: 18px; padding-left: 18px; border-left: 3px solid var(--lar); font-size: 1.15rem; font-weight: 600; line-height: 1.5; color: #eaf5f8; }
.about-shapes i { position: absolute; display: block; }
.about-shapes i:nth-child(1) { right: -60px; top: -60px; width: 160px; height: 160px; border-radius: 50%; background: var(--pet); }
.about-shapes i:nth-child(2) { right: 28px; top: 28px; width: 60px; height: 30px; border-radius: 60px 60px 0 0; background: var(--lar); }
.about-shapes i:nth-child(3) { right: 100px; top: 28px; width: 30px; height: 30px; background: var(--verm); clip-path: polygon(0 100%, 100% 0, 100% 100%); }
.about-body { position: relative; padding-left: clamp(28px, 3vw, 40px); border-left: 1px solid rgba(255, 255, 255, .2); color: #cfe4ea; }
.about-body p { color: #cfe4ea; }
.about-body .button { margin-top: var(--space-5); }
.purpose-card { grid-column: span 4; display: grid; gap: 12px; align-content: start; padding: clamp(24px, 3vw, 34px); border-radius: 28px; background: var(--white); box-shadow: inset 0 0 0 2px var(--c); transition: transform .35s var(--ease), box-shadow .35s; }
.purpose-card.tone-lar .shape-icon { border-radius: 58px 58px 0 0; }
.purpose-card.tone-verm .shape-icon { border-radius: 0 0 0 58px; }
.purpose-card h3 { margin-top: 6px; font-size: 1.4rem; font-weight: 700; }
.purpose-card p { color: var(--muted); font-size: .98rem; }
.purpose-card:hover { transform: translateY(-3px); box-shadow: inset 0 0 0 2px var(--c), 0 16px 32px -24px rgba(0, 50, 70, .35); }
.purpose-card:hover .shape-icon { translate: 0 -2px; }

/* ---------- nossas atividades ---------- */
.bento { display: grid; grid-template-columns: repeat(6, 1fr); gap: 20px; }
.activity-card { position: relative; grid-column: span 2; display: flex; flex-direction: column; overflow: hidden; border-radius: 28px; background: var(--white); box-shadow: 0 0 0 1px var(--line); transition: transform .35s var(--ease), box-shadow .35s; }
.activity-card-wide { grid-column: span 3; }
.activity-visual { position: relative; overflow: hidden; aspect-ratio: 16 / 10; background: var(--t); }
.activity-card-wide .activity-visual { aspect-ratio: 16 / 9; }
.activity-visual img { width: 100%; height: 100%; object-fit: cover; transition: scale .7s var(--ease); }
.corner { position: absolute; top: -1px; right: -1px; width: 74px; height: 74px; border-radius: 0 0 0 100%; background: var(--c); transform-origin: 100% 0; transition: scale .5s var(--ease); }
.photo-slot { position: absolute; inset: 0; display: block; }
.photo-slot i { position: absolute; display: block; background: var(--c); transition: rotate .7s var(--ease), scale .7s var(--ease); }
.photo-slot i:nth-child(1) { left: 12%; bottom: 0; width: 42%; aspect-ratio: 2 / 1; border-radius: 999px 999px 0 0; }
.photo-slot i:nth-child(2) { left: 58%; bottom: 0; width: 22%; aspect-ratio: 1; border-radius: 100% 0 0 0; opacity: .55; }
.photo-slot i:nth-child(3) { left: 30%; top: 16%; width: 13%; aspect-ratio: 1; border-radius: 50%; opacity: .35; }
.photo-slot .glyph { display: none; position: absolute; left: calc(12% + 21% - 22px); bottom: 18%; width: 44px; height: 44px; color: var(--on); }
.activity-body { position: relative; flex: 1; display: grid; gap: 8px; align-content: start; padding: 44px 26px 28px; }
.activity-icon { position: absolute; left: 24px; top: -28px; display: grid; place-items: center; width: 56px; height: 56px; border-radius: 18px; background: var(--c); color: var(--on); box-shadow: 0 10px 20px -8px rgba(0, 0, 0, .35); transition: rotate .4s var(--ease); }
.activity-body h3 { font-size: 1.35rem; font-weight: 700; line-height: 1.2; }
.activity-body p { color: var(--muted); font-size: .95rem; line-height: 1.55; }
.activity-body small { padding-top: 6px; font-size: .75rem; color: #6d7a83; }
.activity-card::after { content: ""; position: absolute; inset: auto 0 0; height: 5px; background: var(--c); scale: 0 1; transform-origin: 0 0; transition: scale .45s var(--ease); }
.activity-card:hover { transform: translateY(-3px); box-shadow: 0 0 0 1px var(--line), 0 18px 36px -24px rgba(0, 50, 70, .35); }
.activity-card:hover .activity-visual img { scale: 1.02; }
.activity-card:hover .corner { scale: 1.1; }
.activity-card:hover .activity-icon { translate: 0 -2px; }
.activity-card:hover .photo-slot i:nth-child(1) { translate: 0 -3px; }
.activity-card:hover .photo-slot i:nth-child(3) { scale: 1.08; }
.activity-card:hover::after { scale: 1 1; }

/* ---------- compliance ---------- */
.compliance { position: relative; overflow: hidden; margin-top: var(--section-gap); padding: clamp(80px, 9vw, 120px) 0; background: var(--tint); }
.compliance-inner { margin-top: 0; }
.compliance-deco { position: absolute; right: max(-60px, calc((100vw - 1400px) / 2)); top: 70px; width: 340px; height: 340px; pointer-events: none; }
.compliance-deco i { position: absolute; display: block; }
.compliance-deco i:nth-child(1) { left: 0; top: 0; width: 170px; height: 170px; border-radius: 170px 0 0 0; background: var(--pet); }
.compliance-deco i:nth-child(2) { left: 170px; top: 0; width: 170px; height: 170px; border-radius: 0 0 0 170px; background: var(--lar); }
.compliance-deco i:nth-child(3) { left: 0; top: 170px; width: 170px; height: 85px; border-radius: 0 0 85px 85px; background: var(--verm); }
.js .compliance-deco i { scale: 0; transition: scale .6s var(--ease); }
.js .compliance-deco.is-in i { scale: 1; }
.js .compliance-deco.is-in i:nth-child(2) { transition-delay: .12s; }
.js .compliance-deco.is-in i:nth-child(3) { transition-delay: .24s; }
.js .compliance-deco[data-reveal] { opacity: 1; translate: none; }
.principle-grid { position: relative; display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.principle { --c: var(--pet); position: relative; display: grid; gap: 12px; align-content: start; padding: 28px 28px 30px; border-radius: 24px; background: var(--white); box-shadow: 0 0 0 1px var(--line); transition: transform .3s var(--ease), box-shadow .3s; }
.principle .shape-icon { --c: var(--pet); }
.principle:nth-child(3n + 1) .shape-icon { border-radius: 50%; }
.principle:nth-child(3n + 2) .shape-icon { --c: var(--lar); --on: var(--ink); border-radius: 58px 58px 0 0; }
.principle:nth-child(3n) .shape-icon { --c: var(--verm); border-radius: 0 0 0 58px; }
.principle:nth-child(3n + 2) { --c: var(--lar); }
.principle:nth-child(3n) { --c: var(--verm); }
.principle h3 { margin-top: 6px; font-size: 1.12rem; font-weight: 700; line-height: 1.25; }
.principle p { color: var(--muted); font-size: .92rem; line-height: 1.55; }
.principle:hover { transform: translateY(-3px); box-shadow: 0 0 0 1px var(--line), 0 16px 30px -22px rgba(0, 50, 70, .35); }
.principle:hover .shape-icon { translate: 0 -2px; }
.signature { position: relative; overflow: hidden; display: flex; align-items: center; gap: 20px; margin-top: 22px; padding: 22px 28px; border-radius: 24px; background: var(--pet-d); color: var(--white); }
.signature::before { content: ""; position: absolute; right: -30px; top: -30px; width: 120px; height: 120px; border-radius: 50%; background: var(--lar); }
.signature::after { content: ""; position: absolute; right: 80px; bottom: -40px; width: 80px; height: 80px; background: var(--verm); clip-path: polygon(0 100%, 50% 0, 100% 100%); }
.monogram { display: grid; place-items: center; width: 48px; height: 48px; flex: 0 0 auto; border-radius: 50%; background: var(--white); color: var(--pet-d); font-weight: 800; }
.signature-name { display: flex; flex-direction: column; }
.signature-name strong { font-size: 1.08rem; }
.signature-name small { font-size: .9rem; opacity: .85; }

/* ---------- parcerias com empresas (início) ---------- */
.partner-grid { display: grid; grid-template-columns: 1fr 1fr .9fr; gap: 20px; }
.partner-card { display: grid; gap: 14px; align-content: start; padding: clamp(24px, 3vw, 34px); border-radius: 28px; background: var(--white); box-shadow: inset 0 0 0 2px var(--line); transition: transform .35s var(--ease), box-shadow .35s; }
.partner-card .shape-icon { border-radius: 58px 58px 0 0; }
.partner-card-tint { background: var(--tint-lil); box-shadow: none; }
.partner-card-tint .shape-icon { --c: var(--lil); --on: var(--ink); border-radius: 0 0 0 58px; }
.partner-card h3 { font-size: 1.3rem; font-weight: 700; }
.partner-card p { color: var(--muted); font-size: .98rem; }
.partner-card:hover { transform: translateY(-3px); box-shadow: inset 0 0 0 2px var(--pet), 0 22px 40px -26px rgba(0, 50, 70, .5); }
.partner-card-tint:hover { box-shadow: inset 0 0 0 2px var(--lil), 0 22px 40px -26px rgba(0, 50, 70, .5); }
.partner-card:hover .shape-icon { translate: 0 -2px; }
.partner-cta { position: relative; overflow: hidden; display: flex; flex-direction: column; justify-content: flex-end; gap: 18px; min-height: 260px; padding: clamp(24px, 3vw, 34px); border-radius: 28px; background: var(--lar); }
.partner-cta-title { position: relative; font-size: clamp(1.5rem, 2.4vw, 2rem); font-weight: 800; line-height: 1.08; letter-spacing: -.03em; max-width: 10ch; }
.partner-cta .button { position: relative; align-self: flex-start; }
.partner-cta .chip { background: var(--lar); }
.partner-cta-shapes i { position: absolute; display: block; }
.partner-cta-shapes i:nth-child(1) { right: -40px; top: -40px; width: 160px; height: 160px; border-radius: 50%; background: var(--pet-d); }
.partner-cta-shapes i:nth-child(2) { right: 110px; top: 26px; width: 44px; height: 44px; background: var(--verm); clip-path: polygon(0 100%, 100% 0, 100% 100%); }

/* ---------- transparência (início) ---------- */
.transparency-panel { position: relative; overflow: hidden; display: grid; grid-template-columns: 1fr; gap: clamp(32px, 4vw, 48px); padding: clamp(32px, 5vw, 64px); border-radius: 36px; background: var(--pet-d); color: var(--white); }
.transparency-head { position: relative; max-width: 760px; }
.transparency-head h2 { font-size: clamp(2.3rem, 4.4vw, 3.6rem); font-weight: 800; line-height: 1.04; }
.transparency-head .section-subtitle { margin-top: 16px; color: var(--lar); font-size: clamp(1.1rem, 1.5vw, 1.3rem); line-height: 1.38; font-weight: 600; }
.transparency-head p:not(.section-subtitle) { margin-top: 14px; max-width: 46ch; color: #d9eef5; }
.transparency-head .button { margin-top: 28px; }
.about-shapes, .transparency-shapes, .partner-cta-shapes { position: absolute; inset: 0; pointer-events: none; }
.transparency-shapes i { position: absolute; display: block; }
.transparency-shapes i:nth-child(1) { right: -70px; bottom: -70px; width: 220px; height: 220px; border-radius: 50%; background: var(--pet); }
.transparency-shapes i:nth-child(2) { left: -1px; top: -1px; width: 56px; height: 56px; border-radius: 0 0 100% 0; background: var(--lar); }
.transparency-shapes i:nth-child(3) { right: 34%; top: 0; width: 56px; height: 28px; border-radius: 0 0 56px 56px; background: var(--verm); }
.doc-tiles { position: relative; display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.doc-tile { display: grid; grid-template-columns: auto 1fr; grid-template-rows: auto auto; align-items: center; column-gap: 18px; row-gap: 2px; min-height: 92px; padding: 16px 22px 16px 16px; border-radius: 22px; background: var(--white); color: var(--ink); text-decoration: none; transition: transform .3s var(--ease), box-shadow .3s; }
.doc-tile .shape-icon { width: 58px; height: 58px; }
.doc-tile.tone-lar .shape-icon { border-radius: 58px 58px 0 0; }
.doc-tile.tone-pet .shape-icon { border-radius: 50%; }
.doc-tile.tone-verm .shape-icon { border-radius: 0 0 0 58px; }
.doc-tile .shape-icon { grid-row: 1 / 3; }
.doc-title { align-self: end; font-size: 1.08rem; font-weight: 700; letter-spacing: -.01em; line-height: 1.25; }
.doc-tile small { align-self: start; display: inline-flex; align-items: center; gap: 6px; font-size: .8125rem; font-weight: 600; color: var(--pet-d); white-space: nowrap; }
.doc-tile small .icon { width: 16px; height: 16px; }
.doc-tile:hover, .doc-tile:focus-visible { transform: translateY(-3px); box-shadow: 0 16px 30px -20px rgba(0, 0, 0, .45); }
.doc-tile:hover .shape-icon, .doc-tile:focus-visible .shape-icon { translate: 0 -2px; }

/* ---------- páginas internas (Parcerias e 404) ---------- */
.inner-hero { padding-top: clamp(32px, 5vw, 64px); }
.inner-hero-grid { display: grid; grid-template-columns: 1.3fr .7fr; gap: 48px; align-items: center; }
.inner-hero h1 { font-size: clamp(2.9rem, 6.4vw, 5.6rem); font-weight: 800; line-height: .98; letter-spacing: -.045em; }
.inner-hero .hero-lead { max-width: 30ch; }
.inner-hero-text { max-width: 56ch; margin-top: 14px; color: var(--muted); }
.shape-stack { position: relative; display: grid; grid-template-columns: repeat(3, 1fr); grid-template-rows: repeat(3, 1fr); gap: 10px; aspect-ratio: 1; max-width: 360px; justify-self: end; width: 100%; }
.shape-stack i { display: block; }
.shape-stack i:nth-child(1) { grid-area: 1 / 1 / 3 / 3; background: var(--pet-d); border-radius: 999px 999px 0 0; }
.shape-stack i:nth-child(2) { grid-area: 1 / 3 / 2 / 4; background: var(--lar); border-radius: 0 0 0 100%; }
.shape-stack i:nth-child(3) { grid-area: 2 / 3 / 3 / 4; background: var(--verm); clip-path: polygon(0 100%, 100% 0, 100% 100%); }
.shape-stack i:nth-child(4) { grid-area: 3 / 1 / 4 / 2; background: var(--lil); border-radius: 50%; }
.shape-stack i:nth-child(5) { grid-area: 3 / 2 / 4 / 4; background: var(--pet); border-radius: 0 0 999px 999px; }
.js .shape-stack i { opacity: 0; scale: .5; rotate: -10deg; transition: opacity .5s var(--ease), scale .6s var(--ease), rotate .6s var(--ease); transition-delay: calc(var(--i) * 80ms + 200ms); }
.js .shape-stack.is-in i { opacity: 1; scale: 1; rotate: 0deg; }

.partnership-form-section { display: grid; grid-template-columns: minmax(310px, .7fr) minmax(0, 1.3fr); gap: var(--space-12); align-items: start; }
.partnership-copy { position: sticky; top: calc(var(--header-height) + 16px); display: grid; gap: 0; padding: clamp(24px, 3vw, 34px); border-radius: 28px; background: var(--tint); }
.partnership-copy .shape-icon { border-radius: 58px 58px 0 0; margin-bottom: 20px; }
.partnership-copy h2 { font-size: clamp(1.8rem, 2.6vw, 2.3rem); font-weight: 800; }
.partnership-copy > p { color: var(--muted); }
.partnership-help { position: relative; overflow: hidden; margin-top: var(--space-8); padding: 24px; border-radius: 22px; background: var(--pet-d); color: var(--white); }
.partnership-help .help-shape { position: absolute; right: -24px; top: -24px; width: 80px; height: 80px; border-radius: 50%; background: var(--lar); }
.partnership-help h3 { position: relative; font-size: 1.15rem; font-weight: 700; }
.partnership-help p { margin-top: var(--space-2); color: #d9eef5; }
.partnership-help a { display: block; font-size: .92rem; width: fit-content; max-width: 100%; margin-top: var(--space-3); color: var(--white); font-weight: 600; overflow-wrap: anywhere; }
.partnership-help a:hover { color: var(--lar); }
.partnership-form-wrap { min-width: 0; padding: var(--panel-padding); border-radius: 28px; background: var(--white); box-shadow: 0 0 0 1px var(--line), 0 30px 60px -40px rgba(0, 50, 70, .45); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-6); }
.field { display: flex; flex-direction: column; gap: var(--space-3); min-width: 0; }
.field-wide { grid-column: 1 / -1; }
.field > span { font-size: .875rem; font-weight: 500; }
.field em { color: var(--danger); font-style: normal; }
.field small { font-size: .875rem; color: var(--muted); font-weight: 400; }
.field input, .field select, .field textarea, .document-search input { width: 100%; min-width: 0; min-height: 52px; padding: 12px 16px; border: 1px solid var(--field-border); border-radius: var(--radius-input); background: var(--surface-inset); color: var(--ink); caret-color: var(--pet-d); font-weight: 400; line-height: 1.5; }
.field input { transition: border-color .2s, box-shadow .2s, background .2s; }
.field input:hover { border-color: var(--pet); }
.field input:focus { outline: none; border-color: var(--pet-d); background: var(--white); box-shadow: 0 0 0 4px rgba(0, 133, 172, .18); }
.field textarea { min-height: 136px; resize: vertical; }
.field input::placeholder, .field textarea::placeholder, .document-search input::placeholder { color: #626b63; opacity: 1; }
.field input:user-invalid, .field select:user-invalid, .field textarea:user-invalid { border-color: var(--danger); }
.field input[type="file"] { padding: 8px 16px 8px 8px; cursor: pointer; }
.field input[type="file"]::file-selector-button { height: 36px; margin-right: var(--space-4); padding: 0 var(--space-5); border: 1px solid var(--field-border); border-radius: 999px; background: var(--white); color: var(--ink); font-family: inherit; font-size: .875rem; font-weight: 500; cursor: pointer; }
.field input[type="file"]::file-selector-button:hover { border-color: var(--pet); }
.form-intro h2 { font-size: clamp(1.65rem, 2.5vw, 2rem); font-weight: 800; }
.form-intro p { margin-top: var(--space-4); color: var(--muted); font-size: .9375rem; }
.form-notice { margin-top: var(--space-6); padding: var(--space-4) var(--space-5); border-left: 4px solid var(--lar); border-radius: 0 12px 12px 0; background: var(--tint); font-size: .875rem; }
.form-section { min-width: 0; margin: var(--space-10) 0 0; padding: 0; border: 0; }
.form-section legend { display: flex; align-items: center; width: 100%; padding: 0 0 var(--space-5); margin-bottom: var(--space-6); border-bottom: 1px solid var(--line); font-size: 1.0625rem; font-weight: 600; line-height: 1.4; }
.form-section-number { display: inline-grid; place-items: center; width: 34px; height: 34px; margin-right: var(--space-3); border-radius: 50%; background: var(--pet-d); color: var(--white); font-size: .8rem; font-variant-numeric: tabular-nums; }
.form-section:nth-of-type(2) .form-section-number { background: var(--lar); color: var(--ink); border-radius: 34px 34px 0 0; }
.form-section:nth-of-type(3) .form-section-number { background: var(--lil); color: var(--ink); border-radius: 0 0 0 34px; }
.form-section:nth-of-type(4) .form-section-number { background: var(--lil); color: var(--ink); }
.field .field-hint { line-height: 1.5; }
.field-error, .field .field-error { color: var(--danger); font-size: .875rem; line-height: 1.5; }
.field-error:empty { display: none; }
.field [aria-invalid="true"] { border-color: var(--danger); }
.form-privacy { margin-top: var(--space-10); padding-top: var(--space-6); border-top: 1px solid var(--line); }
.form-privacy > p { font-size: .875rem; color: var(--muted); }
.form-privacy a { overflow-wrap: anywhere; }
.consent-field { display: flex; align-items: flex-start; gap: var(--space-3); min-height: 44px; margin-top: var(--space-5); padding-block: var(--space-2); font-size: .9375rem; cursor: pointer; }
.consent-field input { flex-shrink: 0; width: 20px; height: 20px; margin: 3px 0 0; accent-color: var(--pet-d); }
.consent-field em { font-style: normal; color: var(--danger); }
.consent-field input[aria-invalid="true"] { outline: 2px solid var(--danger); outline-offset: 2px; }
.form-actions { display: flex; flex-direction: column; align-items: flex-start; gap: var(--space-4); margin-top: var(--space-8); }
.form-status { font-size: .9375rem; }
.form-status:empty { display: none; }
.form-status[data-state="success"] { color: var(--success); }
.form-status[data-state="error"] { color: var(--danger); }
.website-field { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.cf-turnstile { max-width: 100%; overflow: hidden; }

.not-found { position: relative; max-width: 860px; min-height: 55vh; margin: var(--space-20) auto 0; padding-inline: var(--gutter); text-align: center; }
.not-found h1 { font-size: clamp(3rem, 6vw, 5rem); font-weight: 800; }
.not-found p { margin-top: var(--space-6); }
.not-found .button { margin-top: var(--space-8); }
.not-found-shapes { display: flex; justify-content: center; gap: 10px; margin-bottom: 28px; }
.not-found-shapes i { display: block; width: 56px; height: 56px; }
.not-found-shapes i:nth-child(1) { background: var(--pet); border-radius: 56px 56px 0 0; }
.not-found-shapes i:nth-child(2) { background: var(--lar); border-radius: 50%; }
.not-found-shapes i:nth-child(3) { background: var(--verm); clip-path: polygon(0 100%, 100% 0, 100% 100%); }

/* ---------- Transparência: mesma estrutura, textos e comportamento; identidade da Direção A (25/09/2026) ---------- */
.page-hero { position: relative; text-align: center; margin-top: var(--space-16); padding-block: var(--space-10); }
.page-hero > div { position: relative; }
.page-hero h1 { font-size: clamp(3rem, 7.5vw, 6.5rem); font-weight: 800; letter-spacing: -.045em; overflow-wrap: anywhere; color: var(--ink); }
.page-hero .page-lead { max-width: 30ch; margin: var(--space-6) auto 0; font-size: clamp(1.4rem, 2.7vw, 2rem); line-height: 1.4; letter-spacing: -.025em; color: var(--pet-d); }
.page-hero p:not(.page-lead) { max-width: 65ch; margin: var(--space-5) auto 0; color: var(--muted); }
.transparency-hero-shapes { position: absolute; inset: 0; pointer-events: none; }
.transparency-hero-shapes i { position: absolute; display: block; }
.transparency-hero-shapes i:nth-child(1) { left: 0; top: 0; width: 120px; height: 60px; border-radius: 120px 120px 0 0; background: var(--pet); }
.transparency-hero-shapes i:nth-child(2) { left: 0; top: 68px; width: 60px; height: 60px; border-radius: 0 0 0 100%; background: var(--lar); }
.transparency-hero-shapes i:nth-child(3) { left: 68px; top: 68px; width: 52px; height: 52px; background: var(--verm); clip-path: polygon(0 0, 100% 0, 0 100%); }
.transparency-hero-shapes i:nth-child(4) { display: none; right: 0; bottom: 0; width: 120px; height: 60px; border-radius: 0 0 120px 120px; background: var(--lar); }
.transparency-hero-shapes i:nth-child(5) { right: 0; bottom: 68px; width: 60px; height: 60px; border-radius: 50%; background: var(--lil); }
.transparency-hero-shapes i:nth-child(6) { display: none; right: 68px; bottom: 68px; width: 52px; height: 52px; border-radius: 52px 0 0 0; background: var(--pet); }
.js .transparency-hero-shapes i { opacity: 0; scale: .4; transition: opacity .5s var(--ease), scale .6s var(--ease); transition-delay: calc(var(--i) * 70ms + 150ms); }
.js .transparency-hero-shapes.is-in i { opacity: 1; scale: 1; }

.document-toolbar { display: grid; grid-template-columns: 1.2fr .8fr; gap: var(--space-12); align-items: end; }
.document-toolbar .toolbar-icon { margin-bottom: 18px; border-radius: 58px 58px 0 0; }
.document-toolbar h2 { font-size: clamp(1.8rem, 3vw, 2.5rem); font-weight: 800; }
.document-toolbar p { margin-top: var(--space-4); color: var(--muted); }
.document-search { display: flex; flex-direction: column; gap: var(--space-3); font-size: .875rem; font-weight: 600; }
.document-search input { background: var(--white); border-width: 2px; border-color: var(--line); padding-left: 48px; background-image: radial-gradient(circle at 24px 50%, #cfdbe1 0 6px, transparent 6.5px); }
.document-search input:hover { border-color: var(--pet); }
.document-search input:focus { outline: none; border-color: var(--pet-d); box-shadow: 0 0 0 4px rgba(0, 133, 172, .18); }
.results-count { display: inline-flex; align-items: center; gap: 8px; margin-block: var(--space-8) var(--space-4); font-size: .875rem; font-weight: 600; color: var(--pet-d); }
.results-count::before { content: ""; width: 14px; height: 7px; border-radius: 14px 14px 0 0; background: var(--pet); }

.grant-list { display: flex; flex-direction: column; gap: var(--space-4); }
.grant { position: relative; overflow: hidden; border-radius: 20px; background: var(--white); box-shadow: inset 0 0 0 1px var(--line); transition: box-shadow .4s var(--soft), transform .4s var(--soft); }
.grant::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 5px; background: var(--c); }
.grant summary { position: relative; display: grid; grid-template-columns: 124px 1fr 100px 44px; gap: var(--space-6); align-items: center; padding: var(--space-6) var(--space-8) var(--space-6) calc(var(--space-8) + 5px); list-style: none; border-radius: 20px; }
.grant summary::-webkit-details-marker { display: none; }
.grant:hover { transform: translateY(-2px); box-shadow: inset 0 0 0 1px #cfdbe1, 0 14px 28px -22px rgba(0, 50, 70, .35); }
.grant[open] { box-shadow: inset 0 0 0 1px #cfdbe1, 0 18px 34px -26px rgba(0, 50, 70, .4); }
.grant-area { justify-self: start; display: inline-flex; align-items: center; gap: 8px; font-size: .8125rem; font-weight: 700; color: var(--ink); white-space: nowrap; }
.grant-area::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--c); }
.grant-object { font-size: 1rem; font-weight: 600; }
.grant-number { color: var(--muted); font-size: .8125rem; font-variant-numeric: tabular-nums; white-space: nowrap; }
.grant-toggle { position: relative; z-index: 1; display: flex; justify-content: center; align-items: center; width: 44px; height: 44px; border: 1px solid #cfdbe1; border-radius: 50%; background: var(--white); color: var(--pet-d); transition: background .4s var(--soft), color .4s var(--soft), border-color .4s var(--soft); }
.grant-toggle .icon { width: 20px; height: 20px; transition: transform .4s var(--soft); }
.grant summary:hover .grant-toggle, .grant summary:focus-visible .grant-toggle { border-color: var(--pet-d); }
.grant[open] .grant-toggle { background: var(--pet-d); border-color: var(--pet-d); color: var(--white); }
.grant[open] .grant-toggle .icon { transform: rotate(45deg); }
.grant-body { padding: 0 var(--space-8) var(--space-8) calc(var(--space-8) + 5px); }
.grant-body dl { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-6) var(--space-10); margin: 0; padding-block: var(--space-6); border-top: 1px solid var(--line); }
.grant-body dl > div { min-width: 0; }
.grant-body dt { margin-bottom: var(--space-2); color: var(--muted); font-size: .8125rem; }
.grant-body dd { margin: 0; font-size: .9375rem; font-weight: 500; font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
.grant-documents { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-4); }
.document-link { display: flex; align-items: center; justify-content: space-between; gap: var(--space-6); padding-block: var(--space-5); border-block: 1px solid var(--line); text-decoration: none; font-size: .9375rem; }
.grant .document-link { padding: 16px 18px; border: 1px solid var(--line); border-radius: 14px; font-weight: 600; transition: border-color .4s var(--soft), background .4s var(--soft), transform .4s var(--soft); }
.grant .document-link:hover, .grant .document-link:focus-visible { border-color: #cfdbe1; background: var(--tint); transform: translateY(-2px); }
.document-link:hover > span { text-decoration: underline; }
.document-link small { display: inline-flex; align-items: center; gap: var(--space-2); flex-shrink: 0; padding: 3px 10px; border: 1px solid #cfdbe1; border-radius: 999px; color: var(--pet-d); font-size: .75rem; font-weight: 700; }
.document-link .icon { width: 16px; height: 16px; }
.grant-note { margin-top: var(--space-6); color: var(--muted); font-size: .8125rem; }
.grant-group + .grant-group { margin-top: var(--space-12); }
.grant-group-head { display: flex; align-items: baseline; justify-content: space-between; gap: var(--space-4); margin-bottom: var(--space-4); padding-bottom: var(--space-3); border-bottom: 1px solid var(--line); }
.grant-group-head h3 { font-size: clamp(1.25rem, 2vw, 1.6rem); font-weight: 800; }
.grant-group-count { color: var(--muted); font-size: .875rem; font-weight: 600; font-variant-numeric: tabular-nums; white-space: nowrap; }
.grant-group-note { margin: 0 0 var(--space-4); color: var(--muted); font-size: .9375rem; }
.grant-group.is-empty .grant-group-note { display: none; }
.grant-empty { margin: 0 0 var(--space-2); color: var(--muted); font-size: .9375rem; }
.grant-group.is-empty .grant-group-head { margin-bottom: var(--space-3); }
.grant-group.is-empty + .grant-group { margin-top: var(--space-8); }
.grant-state summary { grid-template-columns: 124px 1fr minmax(100px, max-content) 44px; }
.grant-state .grant-number { text-align: right; }

.institutional-docs h2 { font-size: clamp(2rem, 3.5vw, 3rem); font-weight: 800; }
.institutional-docs .section-subtitle { margin-top: var(--space-4); color: var(--pet-d); }
.doc-cards { display: grid; grid-template-columns: repeat(3, 1fr); grid-auto-rows: minmax(170px, auto); gap: 18px; margin-top: var(--space-8); }
.doc-card { position: relative; overflow: hidden; display: grid; grid-template-rows: auto 1fr auto; gap: 14px; padding: 24px; border-radius: 22px; background: var(--white); box-shadow: inset 0 0 0 1px var(--line); color: var(--ink); text-decoration: none; transition: transform .4s var(--soft), box-shadow .4s var(--soft); }
.doc-card .shape-icon { --c: var(--tint); --on: var(--pet-d); border-radius: 16px; }
.doc-card:last-child:nth-child(7) { grid-column: span 2; }
.doc-card-lead { grid-column: span 2; grid-template-rows: auto 1fr auto; background: var(--pet-d); color: var(--white); box-shadow: none; }
.doc-card.doc-card-lead .shape-icon { --c: rgba(255, 255, 255, .14); --on: var(--white); width: 72px; height: 72px; border-radius: 50%; }
.doc-card-lead .doc-card-title { font-size: clamp(1.4rem, 2.2vw, 1.8rem); }
.doc-card-title { align-self: start; font-size: 1.05rem; font-weight: 700; line-height: 1.3; letter-spacing: -.01em; }
.doc-card-subtitle { display: block; margin-top: 5px; font-size: .8rem; font-weight: 500; letter-spacing: 0; color: var(--muted); }
.doc-card-lead .doc-card-subtitle { color: #d9eef5; }
.doc-card-type { justify-self: start; align-self: end; display: inline-flex; align-items: center; gap: 6px; padding: 5px 12px; border: 1px solid #cfdbe1; border-radius: 999px; color: var(--pet-d); font-size: .85rem; font-weight: 800; letter-spacing: .04em; }
.doc-card-lead .doc-card-type { position: relative; z-index: 1; border-color: transparent; background: var(--lar); color: var(--ink); }
.doc-card-type .icon { width: 16px; height: 16px; }
.doc-card-corner { display: none; }
.doc-card-shapes { position: absolute; right: 22px; bottom: 22px; display: grid; grid-template-columns: 44px 44px; gap: 6px; pointer-events: none; }
.doc-card-shapes i { display: block; width: 44px; height: 44px; background: rgba(255, 255, 255, .14); }
.doc-card-shapes i:nth-child(1) { border-radius: 44px 44px 0 0; }
.doc-card-shapes i:nth-child(2) { border-radius: 50%; }
.doc-card-shapes i:nth-child(3) { grid-column: 1 / 3; width: 94px; height: 47px; border-radius: 0 0 94px 94px; background: var(--lar); }
.doc-card:hover, .doc-card:focus-visible { transform: translateY(-3px); box-shadow: inset 0 0 0 1px #cfdbe1, 0 16px 30px -22px rgba(0, 50, 70, .4); }
.doc-card-lead:hover, .doc-card-lead:focus-visible { box-shadow: 0 16px 30px -20px rgba(0, 50, 70, .5); }
.doc-card:hover .shape-icon, .doc-card:focus-visible .shape-icon { translate: 0 -2px; }

.accountability-note { position: relative; overflow: hidden; display: grid; grid-template-columns: auto 1fr; gap: var(--space-8); align-items: start; padding: var(--panel-padding); border-radius: 28px; background: var(--tint); }
.accountability-shapes { position: absolute; inset: 0; pointer-events: none; }
.accountability-shapes i { position: absolute; display: block; }
.accountability-shapes i:nth-child(1) { display: none; }
.accountability-shapes i:nth-child(2) { display: none; }
.accountability-shapes i:nth-child(3) { right: 34px; top: 34px; width: 40px; height: 40px; background: var(--lar); clip-path: polygon(0 100%, 100% 0, 100% 100%); }
.accountability-icon { --c: var(--white); --on: var(--pet-d); position: relative; width: 72px; height: 72px; border-radius: 72px 72px 0 0; }
.accountability-copy { position: relative; max-width: 74ch; }
.accountability-note h2 { font-size: clamp(1.75rem, 3vw, 2.4rem); font-weight: 800; }
.accountability-note p { margin-top: var(--space-5); }
.accountability-note .button { margin-top: var(--space-6); }

/* ---------- Política de Privacidade ---------- */
.policy-date { margin-top: 16px; font-size: .9rem; font-weight: 600; color: var(--muted); }
.placeholder { display: inline-block; padding: 1px 8px; border: 2px dashed var(--verm); border-radius: 8px; background: var(--tint-verm); color: var(--verm); font-weight: 700; font-size: .92em; }
.policy-index { padding: clamp(22px, 3vw, 30px); border-radius: 24px; background: var(--tint); }
.policy-index-title { font-size: .875rem; font-weight: 700; color: var(--pet-d); }
.policy-index ol { display: flex; flex-wrap: wrap; gap: 10px; margin: 14px 0 0; padding: 0; list-style: none; counter-reset: none; }
.policy-index a { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 8px 16px; border-radius: 999px; background: var(--white); box-shadow: inset 0 0 0 2px var(--line); font-size: .9rem; font-weight: 600; text-decoration: none; transition: box-shadow .25s, transform .25s var(--ease), color .25s; }
.policy-index a::before { content: ""; width: 12px; height: 6px; border-radius: 12px 12px 0 0; background: var(--lar); transition: rotate .35s var(--ease); }
.policy-index li:nth-child(3n + 2) a::before { background: var(--pet); }
.policy-index li:nth-child(3n) a::before { background: var(--verm); }
.policy-index a:hover, .policy-index a:focus-visible { color: var(--pet-d); box-shadow: inset 0 0 0 2px var(--pet); transform: translateY(-2px); }
.policy-index a:hover::before, .policy-index a:focus-visible::before { translate: 0 -1px; }
.policy { display: grid; gap: 18px; margin-top: var(--space-10); max-width: 900px; }
.policy-section { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 22px; align-items: start; padding: clamp(22px, 3vw, 34px); border-radius: 24px; box-shadow: inset 0 0 0 2px var(--line); scroll-margin-top: calc(var(--header-height) + 20px); }
.policy-section:nth-child(3n + 1) .shape-icon { --c: var(--pet); border-radius: 50%; }
.policy-section:nth-child(3n + 2) .shape-icon { --c: var(--lar); --on: var(--ink); border-radius: 58px 58px 0 0; }
.policy-section:nth-child(3n) .shape-icon { --c: var(--verm); border-radius: 0 0 0 58px; }
.policy-section:target { box-shadow: inset 0 0 0 3px var(--lar); }
.policy-body { max-width: 68ch; }
.policy-body h2 { font-size: clamp(1.35rem, 2.2vw, 1.7rem); font-weight: 800; line-height: 1.2; letter-spacing: -.025em; margin-top: 10px; }
.policy-body p { margin-top: 14px; color: #34434c; line-height: 1.75; }
.policy-body ul { margin: 14px 0 0; padding-left: 0; list-style: none; display: grid; gap: 10px; }
.policy-body li { position: relative; padding-left: 26px; color: #34434c; line-height: 1.7; }
.policy-body li::before { content: ""; position: absolute; left: 0; top: .55em; width: 12px; height: 12px; border-radius: 50%; background: var(--lar); }
.policy-body a { color: var(--pet-d); font-weight: 600; }
.footer-legal { display: inline-flex; gap: 20px; }
@media (max-width: 640px) {
  .policy-section { grid-template-columns: 1fr; gap: 12px; }
}

/* ---------- rodapé ---------- */
.site-footer { position: relative; margin-top: var(--section-gap); padding: var(--space-16) var(--gutter) var(--space-6); background: var(--pet-d); color: var(--white); }
.site-footer :focus-visible { outline-color: var(--lar); }
.footer-shapes { position: absolute; left: 0; right: 0; top: -28px; display: flex; justify-content: center; gap: 8px; pointer-events: none; }
.footer-shapes i { display: block; width: 56px; height: 28px; }
.footer-shapes i:nth-child(1) { background: var(--pet); border-radius: 56px 56px 0 0; }
.footer-shapes i:nth-child(2) { background: var(--lar); border-radius: 56px 56px 0 0; }
.footer-shapes i:nth-child(3) { width: 28px; background: var(--verm); clip-path: polygon(0 100%, 100% 0, 100% 100%); }
.footer-shapes i:nth-child(4) { width: 28px; background: var(--lil); border-radius: 28px 0 0 0; }
.footer-shapes i:nth-child(5) { background: var(--salv); border-radius: 56px 56px 0 0; }
.footer-shapes i:nth-child(6) { width: 28px; background: var(--azul); border-radius: 0 28px 0 0; }
.footer-inner { max-width: var(--content); margin-inline: auto; }
.footer-grid { display: grid; grid-template-columns: 1.2fr 1fr .55fr; gap: var(--space-16); }
.footer-brand img { width: 256px; }
.footer-brand p { max-width: 34ch; margin-top: var(--space-6); font-size: .9375rem; color: #d9eef5; }
.footer-grid h2 { font-size: 1.125rem; font-weight: 600; letter-spacing: 0; margin-bottom: var(--space-5); color: var(--lar); }
.footer-grid a { display: flex; align-items: center; gap: var(--space-2); min-height: 40px; width: fit-content; max-width: 100%; font-size: .9375rem; text-decoration: none; overflow-wrap: anywhere; transition: color .2s, translate .25s var(--ease); }
.footer-grid a:hover, .footer-grid a:focus-visible { color: var(--lar); translate: 3px 0; }
.footer-grid .icon { width: 16px; height: 16px; }
.footer-bottom { display: flex; justify-content: space-between; gap: var(--space-6); margin-top: var(--space-12); padding-top: var(--space-6); border-top: 1px solid #3f8ea3; font-size: .8125rem; }

/* ---------- telas menores ---------- */
@media (max-width: 1159px) {
  .menu-toggle { display: inline-flex; }
  .header-cta { margin-left: auto; }
  .menu-toggle { margin-left: 0; }
  .site-navigation { display: grid; gap: 0; position: absolute; top: calc(100% + 10px); left: 0; right: 0; padding: var(--space-4); border-radius: 24px; background: var(--white); box-shadow: 0 24px 50px -20px rgba(0, 60, 80, .4), 0 0 0 1px var(--line); }
  .site-navigation a { min-height: 50px; padding: 8px 16px; font-size: 1rem; border-radius: 14px; }
  .site-navigation a[aria-current]::after { left: auto; right: 16px; bottom: calc(50% - 3px); }
  .js .site-navigation:not([data-open="true"]) { visibility: hidden; pointer-events: none; }
  html:not(.js) .header-inner { flex-wrap: wrap; border-radius: 28px; background: var(--white); }
  html:not(.js) .site-navigation { order: 3; position: static; display: flex; flex-wrap: wrap; width: 100%; box-shadow: none; padding: 4px 0 6px; }
  html:not(.js) .site-navigation a { min-height: 44px; font-size: .9rem; }
  html:not(.js) .menu-toggle { display: none; }
  .site-header[data-scrolled="true"] .header-inner { width: calc(100% - 32px); }
  .footer-grid { gap: var(--space-8); }
}
@media (max-width: 1100px) {
  .transparency-hero-shapes i:nth-child(n+4) { display: none; }
  .page-hero { padding-top: 150px; }
  .transparency-hero-shapes i:nth-child(1) { left: calc(50% - 90px); }
  .transparency-hero-shapes i:nth-child(2) { left: calc(50% + 38px); top: 0; }
  .transparency-hero-shapes i:nth-child(3) { left: calc(50% - 26px); top: 76px; }
}
@media (max-width: 1180px) {
  .partner-grid { grid-template-columns: 1fr 1fr; }
  .partner-cta { grid-column: 1 / -1; min-height: 200px; }
  .doc-tiles { grid-template-columns: 1fr; }
}
@media (max-width: 980px) {
  .doc-cards { grid-template-columns: 1fr 1fr; }
  .doc-card-lead { grid-column: 1 / -1; grid-row: auto; }
  .doc-card:last-child:nth-child(7) { grid-column: auto; }
  .hero-grid, .inner-hero-grid { grid-template-columns: 1fr; }
  .collage { max-width: 540px; }
  .photo-credit { text-align: left; max-width: 540px; }
  .shape-stack { justify-self: start; max-width: 260px; }
  .about-main { grid-template-columns: 1fr; }
  .about-body { padding-left: 0; padding-top: clamp(24px, 4vw, 32px); border-left: 0; border-top: 1px solid rgba(255, 255, 255, .2); }
  .purpose-card { grid-column: span 6; }
  .bento { grid-template-columns: 1fr 1fr; }
  .activity-card, .activity-card-wide { grid-column: span 1; }
  .activity-card:first-child { grid-column: span 2; }
  .principle-grid { grid-template-columns: 1fr 1fr; }
  .partner-grid { grid-template-columns: 1fr 1fr; }
  .partner-cta { grid-column: 1 / -1; min-height: 200px; }
  .doc-tiles { grid-template-columns: 1fr; }
  .partnership-form-section { grid-template-columns: 1fr; }
  .partnership-copy { position: static; }
}
@media (max-width: 820px) {
  :root { --header-height: 88px; }
  .page-hero { margin-top: var(--space-10); }
  .document-toolbar { grid-template-columns: 1fr; gap: var(--space-8); }
  .grant summary { grid-template-columns: 110px 1fr 44px; gap: var(--space-4); padding: var(--space-6) var(--space-6) var(--space-6) calc(var(--space-6) + 8px); }
  .grant-state summary { grid-template-columns: 110px 1fr 44px; }
  .grant-number, .grant-state .grant-number { grid-column: 2; grid-row: 2; text-align: left; }
  .grant-toggle { grid-column: 3; grid-row: 1 / 3; }
  .grant-body { padding: 0 var(--space-6) var(--space-6) calc(var(--space-6) + 8px); }
  .footer-grid { grid-template-columns: 1fr 1fr; row-gap: var(--space-10); }
  .footer-brand { grid-column: 1 / -1; }
  .footer-brand p { max-width: 50ch; }
}
@media (max-width: 640px) {
  :root { --section-gap: 72px; --panel-padding: 24px; --radius-panel: 28px; }
  .site-header { inset: 10px 0 auto; }
  .header-inner { width: calc(100% - 20px); padding: 8px 10px 8px 18px; background: var(--white); box-shadow: 0 10px 30px -16px rgba(0, 60, 80, .35); }
  .site-header[data-scrolled="true"] .header-inner { width: calc(100% - 20px); }
  .brand img, .site-header[data-scrolled="true"] .brand img { width: 136px; }
  .header-cta { display: none; }
  .menu-toggle { margin-left: auto; }
  .hero-actions { flex-direction: column; align-items: flex-start; }
  .bento, .principle-grid, .partner-grid { grid-template-columns: 1fr; }
  .activity-card:first-child { grid-column: span 1; }
  .purpose-card { grid-column: 1 / -1; }
  .about-main { padding-top: 120px; }
  .about-shapes i:nth-child(1) { right: -40px; top: -40px; width: 140px; height: 140px; }
  .about-shapes i:nth-child(2) { right: 26px; top: 26px; width: 56px; height: 28px; }
  .about-shapes i:nth-child(3) { right: 92px; top: 26px; width: 28px; height: 28px; }
  .compliance { padding-top: 170px; }
  .compliance-deco { width: 200px; height: 200px; right: -40px; top: 30px; }
  .compliance-deco i:nth-child(1), .compliance-deco i:nth-child(2) { width: 100px; height: 100px; }
  .compliance-deco i:nth-child(2) { left: 100px; }
  .compliance-deco i:nth-child(3) { top: 100px; width: 100px; height: 50px; }
  .signature { padding-right: 70px; }
  .signature::before { width: 72px; height: 72px; right: -26px; top: -26px; }
  .signature::after { display: none; }
  .partner-cta { padding-top: 120px; }
  .inner-hero h1 { font-size: clamp(2.4rem, 11.5vw, 2.9rem); }
  .shape-stack { max-width: 200px; }
  .partnership-help { padding: 20px; }
  .partnership-help a { font-size: .84rem; }
  .transparency-panel { padding-top: 88px; }
  .transparency-shapes i:nth-child(3) { right: 24px; }
  .form-grid { grid-template-columns: 1fr; gap: var(--space-5); }
  .button { font-size: .9rem; }
  h2 { overflow-wrap: anywhere; }
  .page-hero h1 { font-size: clamp(2.75rem, 10vw, 3.6rem); letter-spacing: -.04em; }
  .page-hero .page-lead { font-size: 1.4rem; }
  .document-toolbar { gap: var(--space-6); }
  .grant summary { grid-template-columns: 1fr 44px; gap: var(--space-2) var(--space-4); }
  .grant-area { grid-column: 1; grid-row: 1; }
  .grant-object { grid-column: 1; grid-row: 2; }
  .grant-state summary { grid-template-columns: 1fr 44px; }
  .grant-number, .grant-state .grant-number { grid-column: 1; grid-row: 3; }
  .grant-toggle { grid-column: 2; grid-row: 1 / 4; }
  .grant-body dl, .grant-documents, .institutional-list { grid-template-columns: 1fr; }
  .grant-documents { gap: var(--space-4); }
  .doc-cards { grid-template-columns: 1fr; }
  .accountability-note { grid-template-columns: 1fr; gap: var(--space-5); padding-top: 40px; }
  .document-link { gap: var(--space-4); }
  .footer-grid { grid-template-columns: 1fr; gap: var(--space-8); }
  .footer-bottom { flex-direction: column; gap: var(--space-3); }
}

@media (max-width: 400px) {
  .button { gap: 10px; padding-left: 18px; }
  .button-outline { padding-inline: 18px; }
  .partner-cta { padding-inline: 20px; }
}

/* ---------- Suavidade, entrada ao rolar e movimento do hero (Gabriel, 25/09/2026) ---------- */
.activity-card, .principle, .purpose-card, .partner-card, .doc-tile, .ccm-card, .policy-index a { transition: transform .4s var(--soft), box-shadow .4s var(--soft), background-color .4s var(--soft), color .3s var(--soft); }
.button { transition: background-color .35s var(--soft), color .35s var(--soft), transform .35s var(--soft), box-shadow .35s var(--soft); }
.shape-icon, .activity-icon, .chip::before, .text-link .mark, .photo-slot i, .corner, .activity-visual img { transition: translate .4s var(--soft), scale .45s var(--soft), border-radius .4s var(--soft); }
.activity-card::after { transition: scale .45s var(--soft); }

.js .auto-reveal { opacity: 0; }
.js .auto-reveal.is-in { animation: reveal-up .6s var(--soft) var(--d, 0ms) both; }
@keyframes reveal-up { from { opacity: 0; translate: 0 14px; } to { opacity: 1; translate: 0 0; } }

/* formas e fotos do hero flutuam devagar, cada uma no seu tempo */
@keyframes drift-a { 0%, 100% { transform: translate(0, 0) rotate(0deg); } 50% { transform: translate(4px, -7px) rotate(.6deg); } }
@keyframes drift-b { 0%, 100% { transform: translate(0, 0) scale(1); } 50% { transform: translate(-5px, 4px) scale(1.015); } }
@keyframes drift-c { 0%, 100% { transform: translate(0, 0); } 33% { transform: translate(3px, 5px); } 66% { transform: translate(-4px, -3px); } }
.collage .tile { animation: drift-a 11s ease-in-out infinite; will-change: transform; }
.collage .t2, .collage .t5, .collage .t8 { animation-name: drift-b; animation-duration: 13s; }
.collage .t3, .collage .t6 { animation-name: drift-c; animation-duration: 15s; }
.collage .t1 { animation-delay: -2s; } .collage .t2 { animation-delay: -5s; } .collage .t3 { animation-delay: -1s; }
.collage .t4 { animation-delay: -7s; } .collage .t5 { animation-delay: -3s; } .collage .t6 { animation-delay: -9s; }
.collage .t7 { animation-delay: -4s; } .collage .t8 { animation-delay: -6s; }
.shape-stack i { animation: drift-c 14s ease-in-out infinite; }
.shape-stack i:nth-child(2n) { animation-name: drift-b; animation-duration: 12s; animation-delay: -4s; }

/* Somos o Instituto: os dois cards de Missão/Visão dividem a linha em duas colunas */
.about-main { margin-bottom: 20px; }
.about-grid .purpose-card { grid-column: span 6; }

/* ---------- CCM² ---------- */
.ccm-hero-grid { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, .65fr); gap: 48px; align-items: center; }
.ccm-hero h1 .ccm-pair { white-space: normal; }
@media (min-width: 1024px) { .ccm-hero h1 .ccm-pair { white-space: nowrap; } }
.ccm-hero h1 { font-size: clamp(2.5rem, 4.1vw, 3.6rem); font-weight: 800; line-height: 1; letter-spacing: -.045em; }
.ccm-hero .hero-lead { max-width: 40ch; }
.ccm-photo { position: relative; margin: 0; }
.ccm-photo img { width: 100%; aspect-ratio: 841 / 505; object-fit: cover; border-radius: 999px 999px 24px 24px; }
.ccm-photo::after { content: ""; position: absolute; left: -14px; bottom: 36px; width: 56px; height: 56px; border-radius: 50%; background: var(--lar); }
.ccm-photo figcaption { margin-top: 10px; font-size: .75rem; color: #6d7a83; text-align: right; }
.ccm-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.ccm-card { display: grid; gap: 12px; align-content: start; padding: clamp(22px, 3vw, 32px); border-radius: 24px; background: var(--white); box-shadow: inset 0 0 0 1px var(--line); }
.ccm-card:hover { transform: translateY(-3px); box-shadow: inset 0 0 0 1px #cfdbe1, 0 16px 30px -22px rgba(0, 50, 70, .4); }
.ccm-card-wide { grid-column: span 2; }
.ccm-card h2 { font-size: 1.35rem; font-weight: 800; letter-spacing: -.02em; }
.ccm-card p { color: var(--muted); }
.ccm-card p + p { margin-top: 0; }
.ccm-grid .ccm-card:nth-child(2) .shape-icon { --c: var(--lar); --on: var(--ink); border-radius: 58px 58px 0 0; }
.ccm-grid .ccm-card:nth-child(3) .shape-icon { --c: var(--verm); border-radius: 0 0 0 58px; }
.ccm-where { grid-column: span 2; background: var(--tint); box-shadow: none; }
.ccm-where .ccm-address { font-size: 1.1rem; font-weight: 700; color: var(--ink); }
.ccm-where .button { justify-self: start; }
.ccm-where { grid-template-columns: auto 1fr; column-gap: 20px; }
.ccm-where > .shape-icon { grid-row: span 4; }
.partnership-edital { padding: 14px 16px; border-left: 4px solid var(--lar); border-radius: 0 12px 12px 0; background: var(--white); color: var(--ink) !important; font-weight: 500; }

/* O CCM² em uso: fotos da Escola Criativa do Trabalho e da inauguração (27/09/2026) */
.ccm-uso-group { margin-top: var(--space-12); }
.ccm-uso-group:first-of-type { margin-top: 0; }
.ccm-uso-head { display: flex; gap: 18px; align-items: flex-start; margin-bottom: var(--space-6); }
.ccm-uso-head .shape-icon { flex: 0 0 auto; }
.ccm-uso-head h3 { font-size: 1.3rem; font-weight: 700; letter-spacing: -.01em; }
.ccm-uso-head p { margin-top: 6px; max-width: 56ch; color: var(--muted); font-size: .96rem; }
.ccm-gallery { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.ccm-gallery-item { position: relative; margin: 0; overflow: hidden; border-radius: 20px; background: var(--tint); aspect-ratio: 4 / 3; }
.ccm-gallery-tall { aspect-ratio: auto; grid-row: span 2; }
.ccm-gallery-item img { display: block; width: 100%; height: 100%; object-fit: cover; transition: scale .6s var(--soft); }
.ccm-gallery-item:hover img { scale: 1.045; }

@media (max-width: 980px) {
  .ccm-hero-grid { grid-template-columns: minmax(0, 1fr); }
  .ccm-grid { grid-template-columns: 1fr 1fr; }
  .ccm-card-wide, .ccm-where { grid-column: 1 / -1; }
  .ccm-gallery { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 640px) {
  .ccm-grid { grid-template-columns: 1fr; }
  .ccm-where { grid-template-columns: 1fr; }
  .ccm-where > .shape-icon { grid-row: auto; }
  .about-grid .purpose-card { grid-column: 1 / -1; }
  .ccm-gallery { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .ccm-gallery-item { border-radius: 16px; }
  .ccm-uso-head { gap: 14px; }
}

/* ---------- sem movimento: tudo parado e visível ---------- */
.reveal-all .auto-reveal, .reveal-all [data-split] .word-inner, .reveal-all [data-reveal], .reveal-all [data-stagger-group]:not(.grant-list):not(.institutional-list) > *, .reveal-all .collage .tile, .reveal-all .compliance-deco i, .reveal-all .shape-stack i, .reveal-all [data-split] .dot {
  opacity: 1 !important; translate: none !important; scale: none !important; rotate: none !important;
}
@media (prefers-reduced-motion: no-preference) {
  @view-transition { navigation: auto; }
  ::view-transition-old(root) { animation-duration: 140ms; }
  ::view-transition-new(root) { animation-duration: 200ms; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .auto-reveal, .js [data-split] .word-inner, .js [data-reveal], .js [data-stagger-group]:not(.grant-list):not(.institutional-list) > *, .js .collage .tile, .js .compliance-deco i, .js .shape-stack i, .js [data-split] .dot {
    opacity: 1 !important; translate: none !important; scale: none !important; rotate: none !important;
  }
  .button:hover, .text-link:hover .icon { transform: none; }
  ::view-transition-group(*), ::view-transition-old(*), ::view-transition-new(*) { animation: none !important; }
}
