:root {
  --inst-navy: #061127;
  --inst-navy-2: #082640;
  --inst-cyan: #08b9cf;
  --inst-teal: #19c7b4;
  --inst-ink: #071b35;
  --inst-muted: #455a70;
  --inst-border: #dce7ee;
  --inst-soft: #f3f8fb;
}

html { scroll-padding-top: 88px; }
body.institution-page { background: #fff; color: var(--inst-ink); }
.institution-page .skip-link {
  position: fixed; top: -60px; left: 1rem; z-index: 3000;
  padding: .75rem 1rem; border-radius: 10px; background: linear-gradient(135deg,var(--inst-teal),var(--inst-cyan));
  color: #041127; font-size: .8rem; font-weight: 800; transition: top .2s ease;
}
.institution-page .skip-link:focus { top: 1rem; }
.institution-page .navbar-wrapper { top: 0 !important; padding: 0 var(--px); background: rgba(255,255,255,.96); border-bottom: 1px solid #e5edf2; backdrop-filter: blur(18px); }
.institution-page .navbar-capsule,
.institution-page .navbar-capsule.scrolled {
  min-height: 80px; padding-block: .45rem; background: transparent; border: 0; border-radius: 0; box-shadow: none;
}
.institution-page .nav-link { color: #111b4f; }
.institution-page .nav-link:hover,
.institution-page .nav-link.active { color: #008dab; }
.institution-page .nav-link.active::after { width: 100%; }
.institution-page .hamburger span { background: #111b4f; }

.institution-main { padding-top: 80px; background: #fff; }
.inner-hero {
  position: relative; overflow: hidden; min-height: 520px; display: flex; align-items: center;
  padding: clamp(4.75rem,8vw,6.75rem) 0 clamp(4rem,7vw,5.75rem);
  background: linear-gradient(115deg,#030a18 0%,#06152b 58%,#073044 100%);
}
.inner-hero::before {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background-image: linear-gradient(rgba(76,160,190,.09) 1px,transparent 1px),linear-gradient(90deg,rgba(76,160,190,.09) 1px,transparent 1px);
  background-size: 58px 58px; mask-image: radial-gradient(circle at 64% 46%,#000,transparent 74%);
}
.inner-hero::after {
  content: ''; position: absolute; width: 600px; height: 600px; right: -12%; top: -35%; border-radius: 50%;
  background: radial-gradient(circle,rgba(20,200,198,.22),transparent 68%); filter: blur(22px); pointer-events: none;
}
.inner-hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0,1fr) minmax(340px,.82fr); gap: clamp(2rem,5vw,5rem); align-items: center; }
.inner-hero-copy { max-width: 720px; }
.inner-eyebrow { display: inline-flex; align-items: center; gap: .55rem; margin-bottom: 1.25rem; color: #42e1df; font: 800 .71rem/1.3 var(--mono); letter-spacing: .09em; text-transform: uppercase; }
.inner-eyebrow::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: #27d2c0; box-shadow: 0 0 14px #27d2c0; }
.inner-hero h1 { max-width: 720px; color: #fff; font-size: clamp(2.35rem,4.15vw,4.1rem); line-height: 1.04; letter-spacing: -.05em; }
.inner-hero-copy > p { max-width: 620px; margin-top: 1.25rem; color: #c3d3df; font-size: clamp(.94rem,1.15vw,1.04rem); line-height: 1.72; }
.inner-actions { display: flex; gap: .8rem; flex-wrap: wrap; margin-top: 2rem; }
.inner-actions .btn { min-height: 48px; }
.inner-visual { position: relative; display: flex; align-items: center; justify-content: center; min-height: 340px; }
.inner-visual img { position: relative; z-index: 1; display: block; width: 100%; max-height: 390px; object-fit: contain; filter: drop-shadow(0 24px 38px rgba(0,0,0,.38)); }
.inner-visual::before { content:''; position:absolute; inset: 12% 7%; border-radius: 50%; background: radial-gradient(circle,rgba(24,198,205,.22),transparent 68%); filter: blur(20px); }
.inner-visual-card { min-height: 300px; display: grid; align-content: center; gap: .9rem; padding: clamp(1.8rem,3.4vw,3rem); border: 1px solid rgba(101,217,229,.25); border-radius: 28px; background: rgba(5,26,48,.72); box-shadow: 0 26px 58px rgba(0,0,0,.3); backdrop-filter: blur(14px); }
.inner-visual-card span { color: #4ce0dd; font: 800 .7rem var(--mono); letter-spacing: .1em; }
.inner-visual-card strong { color: #fff; font-size: clamp(1.45rem,2.4vw,2.15rem); line-height: 1.16; letter-spacing: -.035em; }
.inner-visual-card p { color: #a9bfce; line-height: 1.7; }

.institution-section { padding: clamp(4rem,7vw,6rem) 0; background: #fff; }
.institution-section--soft { background: linear-gradient(180deg,#f7fafc 0%,#eef6fa 100%); }
.institution-section--dark { background: linear-gradient(135deg,var(--inst-navy),var(--inst-navy-2)); color: #fff; }
.institution-head { max-width: 760px; margin: 0 auto clamp(2.25rem,4vw,3.4rem); text-align: center; }
.institution-kicker { display: block; margin-bottom: .7rem; color: #078fac; font: 800 .7rem var(--mono); letter-spacing: .12em; text-transform: uppercase; }
.institution-head h2,
.split-copy h2 { color: var(--inst-ink); font-size: clamp(1.95rem,3.35vw,3.15rem); line-height: 1.09; letter-spacing: -.044em; }
.institution-head p,
.split-copy > p { max-width: 720px; margin: 1rem auto 0; color: var(--inst-muted); font-size: .98rem; line-height: 1.75; }
.institution-section--dark .institution-head h2,
.institution-section--dark .split-copy h2 { color: #fff; }
.institution-section--dark .institution-head p,
.institution-section--dark .split-copy > p { color: #b8ccda; }
.split-grid { display: grid; grid-template-columns: minmax(0,.9fr) minmax(0,1.1fr); gap: clamp(2.5rem,6vw,5.5rem); align-items: center; }
.split-copy .institution-kicker { margin-bottom: 1rem; }
.split-visual img { display: block; width: 100%; max-height: 570px; object-fit: cover; border-radius: 28px; box-shadow: 0 28px 65px rgba(6,27,53,.15); }
.fact-list { display: grid; gap: .9rem; margin-top: 1.8rem; }
.fact-list li { display: flex; gap: .85rem; color: #4d6076; line-height: 1.6; list-style: none; }
.fact-list li::before { content: '✓'; flex: 0 0 26px; height: 26px; display: grid; place-items: center; border-radius: 50%; background: #e5fbfa; color: #06998e; font-weight: 900; }

.three-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 1.1rem; }
.institution-card { min-height: 245px; padding: clamp(1.45rem,2.4vw,1.9rem); border: 1px solid var(--inst-border); border-radius: 22px; background: #fff; box-shadow: 0 16px 42px rgba(6,27,53,.07); transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease; }
.institution-card:hover { transform: translateY(-5px); border-color: rgba(14,174,196,.32); box-shadow: 0 24px 52px rgba(6,27,53,.11); }
.institution-card .card-index { display: grid; place-items: center; width: 44px; height: 44px; margin-bottom: 1.5rem; border-radius: 14px; background: #e8faff; color: #078fac; font: 800 .68rem var(--mono); }
.institution-card h3 { color: var(--inst-ink); font-size: 1.2rem; letter-spacing: -.025em; }
.institution-card p { margin-top: .75rem; color: var(--inst-muted); font-size: .9rem; line-height: 1.72; }
.values-grid { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 1rem; }
.value-card { position: relative; overflow: hidden; min-height: 205px; padding: 1.55rem; border: 1px solid rgba(98,205,217,.2); border-radius: 22px; background: linear-gradient(145deg,rgba(255,255,255,.075),rgba(255,255,255,.035)); transition: transform .25s ease, border-color .25s ease; }
.value-card::after { content: ''; position: absolute; width: 92px; height: 92px; right: -34px; top: -34px; border-radius: 50%; background: rgba(34,211,207,.11); }
.value-card:hover { transform: translateY(-4px); border-color: rgba(98,225,225,.42); }
.value-card span { color: #47e0dc; font: 800 .69rem var(--mono); }
.value-card h3 { margin-top: 1rem; color: #fff; font-size: 1.08rem; }
.value-card p { margin-top: .65rem; color: #b8ccda; font-size: .86rem; line-height: 1.68; }

.project-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 1.1rem; counter-reset: projectcard; }
.project-card { overflow: hidden; border: 1px solid var(--inst-border); border-radius: 23px; background: #fff; box-shadow: 0 16px 40px rgba(6,27,53,.065); counter-increment: projectcard; transition: transform .25s ease, box-shadow .25s ease; }
.project-card:hover { transform: translateY(-5px); box-shadow: 0 24px 50px rgba(6,27,53,.11); }
.project-card-top { position: relative; overflow: hidden; min-height: 116px; display: flex; align-items: flex-end; padding: 1.35rem 1.45rem; background: linear-gradient(140deg,#07172f,#075069); }
.project-card-top::before { content: '0' counter(projectcard); position: absolute; top: 1rem; right: 1.2rem; color: rgba(255,255,255,.16); font: 900 2.6rem/1 var(--mono); }
.project-card-top::after { content: ''; position: absolute; width: 140px; height: 140px; left: -58px; top: -80px; border: 1px solid rgba(75,225,225,.28); border-radius: 50%; box-shadow: 0 0 0 18px rgba(75,225,225,.035),0 0 0 38px rgba(75,225,225,.025); }
.project-card-top span { color: #55e3e1; font: 800 .68rem var(--mono); letter-spacing: .08em; }
.project-card-body { padding: 1.45rem; }
.project-card h3 { color: var(--inst-ink); font-size: 1.08rem; line-height: 1.32; }
.project-card p { margin-top: .65rem; color: var(--inst-muted); font-size: .84rem; line-height: 1.68; }
.project-tags { display: flex; flex-wrap: wrap; gap: .45rem; margin-top: 1.2rem; }
.project-tags span { padding: .4rem .62rem; border-radius: 999px; background: #eef8fb; color: #087f9b; font: 700 .61rem var(--mono); }
.project-steps { display: grid; grid-template-columns: repeat(5,minmax(0,1fr)); gap: .85rem; counter-reset: projectstep; }
.project-step { position: relative; min-height: 200px; padding: 1.35rem; border-radius: 19px; background: #fff; border: 1px solid var(--inst-border); counter-increment: projectstep; }
.project-step::before { content: '0' counter(projectstep); color: #08a7c1; font: 800 .7rem var(--mono); }
.project-step h3 { margin-top: 1.1rem; color: var(--inst-ink); font-size: 1rem; }
.project-step p { margin-top: .6rem; color: var(--inst-muted); font-size: .82rem; line-height: 1.65; }
.project-note { margin-top: 2rem; padding: 1.35rem 1.5rem; border-left: 4px solid var(--inst-cyan); border-radius: 0 16px 16px 0; background: #eaf8fb; color: #3f566d; font-size: .87rem; line-height: 1.7; }

.policy-layout { display: grid; grid-template-columns: 260px minmax(0,1fr); gap: clamp(2rem,6vw,5rem); align-items: start; }
.policy-nav { position: sticky; top: 108px; padding: 1.25rem; border: 1px solid var(--inst-border); border-radius: 18px; background: #f8fbfc; }
.policy-nav strong { display: block; margin-bottom: .8rem; color: var(--inst-ink); font-size: .78rem; }
.policy-nav a { display: block; padding: .55rem .6rem; border-radius: 8px; color: #5d6f86; font-size: .76rem; line-height: 1.35; }
.policy-nav a:hover { color: #087f9b; background: #eaf8fb; }
.policy-content { max-width: 860px; }
.policy-intro { margin-bottom: 2.5rem; padding: 1.35rem 1.5rem; border-radius: 18px; background: #eaf8fb; color: #3f566d; font-size: .9rem; line-height: 1.72; }
.policy-block { padding: 0 0 2.3rem; margin-bottom: 2.3rem; border-bottom: 1px solid #e5edf2; scroll-margin-top: 110px; }
.policy-block:last-child { border-bottom: 0; }
.policy-block h2 { color: var(--inst-ink); font-size: clamp(1.35rem,2.4vw,1.9rem); letter-spacing: -.025em; }
.policy-block p,
.policy-block li { margin-top: .8rem; color: #53677d; font-size: .91rem; line-height: 1.75; }
.policy-block ul { padding-left: 1.15rem; }
.policy-block a { color: #078fac; font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }

.institution-cta { padding: clamp(4rem,8vw,7rem) 0; background: linear-gradient(130deg,#061127,#083651); }
.institution-cta-inner { max-width: 860px; margin: 0 auto; text-align: center; }
.institution-cta h2 { color: #fff; font-size: clamp(2rem,3.7vw,3.2rem); line-height: 1.07; letter-spacing: -.045em; }

/* About page */
.about-hero-card { overflow: hidden; }
.about-pillar-list { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: .55rem; margin-top: .45rem; padding: 0; list-style: none; }
.about-pillar-list li { padding: .72rem .65rem; border: 1px solid rgba(94,215,225,.18); border-radius: 12px; background: rgba(255,255,255,.045); color: #d8e8ef; font-size: .72rem; font-weight: 700; text-align: center; }
.about-purpose { background: linear-gradient(180deg,#fff 0%,#f8fbfc 100%); }
.about-purpose-visual { position: relative; }
.about-purpose-visual img { aspect-ratio: 4/3; object-position: center; }
.about-visual-caption { position: absolute; z-index: 2; right: 1.25rem; bottom: 1.25rem; padding: .7rem .9rem; border-radius: 12px; background: rgba(4,23,46,.9); color: #fff; font: 700 .68rem var(--mono); box-shadow: 0 12px 28px rgba(5,26,48,.2); }
.about-principles .institution-card { border-top: 3px solid #16b7c8; }
.about-values { position: relative; overflow: hidden; }
.about-values::before { content: ''; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(circle at 80% 15%,rgba(24,202,198,.16),transparent 34%); }
.about-values .container { position: relative; z-index: 1; }
.about-platform-visual { padding: clamp(1.2rem,3vw,2.4rem); border-radius: 30px; background: linear-gradient(145deg,#06152b,#07384d); }
.about-platform-visual img { filter: drop-shadow(0 20px 36px rgba(0,0,0,.42)); }

/* Projects page */
.projects-page .inner-hero .inner-visual { min-height: 320px; padding: 1rem; border: 1px solid rgba(92,213,224,.22); border-radius: 28px; background: rgba(255,255,255,.045); box-shadow: inset 0 1px rgba(255,255,255,.06),0 28px 55px rgba(0,0,0,.22); }
.projects-page .inner-hero .inner-visual img { max-height: 350px; border-radius: 18px; background: #f7fafc; }
.projects-page #aplicacoes { background: linear-gradient(180deg,#fff 0%,#f9fbfc 100%); }
.projects-page .institution-section--soft .project-step { box-shadow: 0 12px 30px rgba(6,27,53,.045); }
.projects-page .institution-section--dark .inner-visual-card { min-height: 260px; }
.institution-cta p { max-width: 680px; margin: 1rem auto 0; color: #bad0dc; line-height: 1.7; }
.institution-cta .inner-actions { justify-content: center; }

.institution-page .footer { background: #21303a; }
.institution-page .footer-top { padding-top: 4rem; }
.institution-page .footer-bottom { padding-bottom: 1.4rem; }

@media (max-width: 1100px) {
  .inner-hero-grid,
  .split-grid { grid-template-columns: 1fr; }
  .inner-hero-copy { margin-inline: auto; text-align: center; }
  .inner-hero-copy > p { margin-inline: auto; }
  .inner-actions { justify-content: center; }
  .inner-visual { max-width: 740px; width: 100%; margin: 0 auto; }
  .values-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .project-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .project-steps { grid-template-columns: repeat(3,minmax(0,1fr)); }
}

@media (max-width: 768px) {
  .institution-main { padding-top: 70px; }
  .institution-page .navbar-capsule,
  .institution-page .navbar-capsule.scrolled { min-height: 70px; }
  .inner-hero { min-height: auto; padding-top: 4.8rem; }
  .inner-hero h1 { font-size: clamp(2.15rem,9.5vw,3.25rem); }
  .inner-visual { min-height: 280px; }
  .inner-visual-card { min-height: 280px; }
  .three-grid,
  .project-grid,
  .values-grid,
  .project-steps { grid-template-columns: 1fr; }
  .institution-card { min-height: auto; }
  .value-card { min-height: auto; }
  .policy-layout { grid-template-columns: 1fr; }
  .policy-nav { position: static; }
  .policy-nav a { min-height: 42px; display: flex; align-items: center; }
  .split-visual img { max-height: 420px; }
  .institution-page .footer-col a { min-height: 44px; }
}

@media (max-width: 430px) {
  .inner-actions { flex-direction: column; }
  .inner-actions .btn { width: 100%; justify-content: center; }
  .inner-hero-copy { text-align: left; }
  .inner-hero-copy .inner-actions { align-items: stretch; }
  .inner-eyebrow { font-size: .62rem; }
  .inner-visual-card { padding: 1.5rem; border-radius: 22px; }
  .institution-section { padding-block: 4rem; }
  .about-pillar-list { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  *,*::before,*::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}

/* INSTITUTIONAL READABILITY — 2026-08-14 */
.inner-hero-copy > p { color: #d7e2ea; }
.inner-visual-card p,
.institution-section--dark .institution-head p,
.institution-section--dark .split-copy > p,
.value-card p,
.institution-cta p { color: #d0dde6; }
.institution-head p,
.split-copy > p {
  color: #455a70;
  font-size: 1rem;
}
.fact-list li { color: #40566d; font-size: .94rem; }
.institution-card p {
  color: #455a70;
  font-size: .94rem;
}
.value-card p { font-size: .92rem; line-height: 1.72; }
.project-card p {
  color: #455a70;
  font-size: .9rem;
  line-height: 1.72;
}
.project-step p {
  color: #455a70;
  font-size: .88rem;
  line-height: 1.7;
}
.project-note,
.policy-intro,
.policy-block p,
.policy-block li {
  color: #40566d;
  font-size: .94rem;
}
.policy-nav a {
  color: #40566d;
  font-size: .82rem;
}
.projects-page .inner-hero .inner-visual img {
  max-height: 380px;
  background: #fff;
}
/* Company innovation project showcases */
.company-projects { background: linear-gradient(180deg, #f7fbfe 0%, #fff 100%); }
.company-projects > .container { display: grid; gap: clamp(2rem, 4vw, 3.5rem); }
.company-project {
  scroll-margin-top: 110px;
  padding: clamp(1.1rem, 2.5vw, 2rem);
  border: 1px solid #d7e5ee;
  border-radius: 28px;
  background: #fff;
  box-shadow: 0 20px 52px rgba(8, 31, 57, .08);
}
.company-project__heading { display: grid; grid-template-columns: 190px 1fr; gap: 2rem; align-items: center; margin-bottom: 1.5rem; }
.company-project__heading > img { width: 100%; height: 92px; object-fit: contain; }
.company-project__heading span { color: #058ca7; font: 800 .7rem/1.2 'JetBrains Mono', monospace; letter-spacing: .12em; }
.company-project__heading h3 { margin: .45rem 0 .55rem; color: #081a35; font-size: clamp(1.45rem, 2.5vw, 2.2rem); letter-spacing: -.035em; }
.company-project__heading p { max-width: 800px; color: #344b63; line-height: 1.7; }
.company-project__media, .company-project__gallery figure { margin: 0; }
.company-project__media img, .company-project__gallery img { display: block; width: 100%; height: auto; border-radius: 20px; border: 1px solid #dce8ef; }
.company-project__media figcaption { padding: .85rem .3rem 0; color: #52667b; font-size: .8rem; }
.company-project__video { position: relative; overflow: hidden; aspect-ratio: 16 / 9; border-radius: 20px; background: #061127; box-shadow: 0 16px 38px rgba(6, 17, 39, .18); }
.company-project__video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.company-project__video video { display: block; width: 100%; height: 100%; object-fit: contain; background: #061127; }
.company-project__gallery { display: grid; grid-template-columns: 1fr; gap: 1.25rem; align-items: stretch; }
.company-project__gallery figure { display: flex; }
.company-project__gallery img { object-fit: cover; }
.company-project__video-link { min-height: clamp(280px, 44vw, 560px); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .8rem; padding: 2rem; border-radius: 20px; color: #fff; text-align: center; text-decoration: none; background: radial-gradient(circle at 50% 35%, rgba(20,184,166,.24), transparent 35%), linear-gradient(145deg, #061127, #0a2840); box-shadow: 0 16px 38px rgba(6,17,39,.18); transition: transform .25s ease, box-shadow .25s ease; }
.company-project__video-link:hover { transform: translateY(-4px); box-shadow: 0 22px 48px rgba(6,17,39,.26); }
.company-project__video-link:focus-visible { outline: 3px solid #20d5df; outline-offset: 4px; }
.company-project__play { width: 82px; height: 82px; display: grid; place-items: center; padding-left: 5px; border-radius: 50%; color: #04131f; font-size: 2rem; background: linear-gradient(135deg, #14b8a6, #38c8ed); box-shadow: 0 0 34px rgba(32,213,223,.42); }
.company-project__video-link strong { font-size: clamp(1.25rem, 2.2vw, 1.8rem); }
.company-project__video-link small { color: #b9ccda; font-size: .88rem; }
@media (max-width: 760px) {
  .company-project__heading { grid-template-columns: 1fr; gap: 1rem; }
  .company-project__heading > img { width: min(210px, 70%); height: 72px; object-position: left center; }
  .company-project__gallery { grid-template-columns: 1fr; }
  .company-project { border-radius: 21px; }
}
