@font-face {
  font-family: "Inter";
  src: url("../fonts/inter-latin.woff2") format("woff2");
  font-weight: 400 800;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --roxo: #5b3df5;
  --roxo-escuro: #3a22c4;
  --lavanda: #ece8ff;
  --ambar: #ffb547;
  --tinta: #16132b;
  --texto: #1d1b2c;
  --suave: #57546b;
  --papel: #faf9f6;
  --linha: #e4e1ec;
  --branco: #fff;
  --largura: 1180px;
  --topo-altura: 72px;
  --raio: 4px;
}

*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--topo-altura) + 16px);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--texto);
  background: var(--branco);
  -webkit-font-smoothing: antialiased;
  overflow-wrap: break-word;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; }

h1, h2, h3, h4 { margin: 0 0 .5em; line-height: 1.12; letter-spacing: -0.02em; color: var(--tinta); }
h1 { font-size: clamp(2.35rem, 6.2vw, 4.4rem); font-weight: 800; letter-spacing: -0.035em; }
h2 { font-size: clamp(1.75rem, 3.6vw, 2.6rem); font-weight: 750; }
h3 { font-size: 1.2rem; font-weight: 700; letter-spacing: -0.01em; }
h4 { font-size: 1.05rem; font-weight: 700; letter-spacing: 0; }

:focus-visible { outline: 3px solid var(--roxo); outline-offset: 3px; border-radius: 2px; }
.secao--escura :focus-visible, .rodape :focus-visible { outline-color: var(--ambar); }
main:focus { outline: none; }

.container { width: min(100% - 2.5rem, var(--largura)); margin-inline: auto; }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

.pular {
  position: absolute; left: 1rem; top: -100px; z-index: 100;
  padding: .7rem 1rem; background: var(--tinta); color: var(--branco);
  font-weight: 600; text-decoration: none; border-radius: var(--raio);
}
.pular:focus { top: 1rem; }

/* Elementos base */
.rotulo {
  margin-bottom: 1rem;
  font-size: .78rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  color: var(--roxo);
}
.rotulo--claro { color: var(--ambar); }

.btn {
  display: inline-flex; align-items: center; min-height: 48px;
  padding: .8rem 1.5rem;
  background: var(--tinta); color: var(--branco);
  font-weight: 600; text-decoration: none;
  border-radius: var(--raio);
  transition: background-color .2s;
}
.btn:hover { background: var(--roxo-escuro); }

.link {
  font-weight: 600; color: var(--roxo-escuro);
  text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 4px;
}
.link:hover { text-decoration-thickness: 2px; }
.link::after { content: " →"; }
.secao--escura .link { color: var(--branco); }

/* Topo */
.topo {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, .96);
  border-bottom: 1px solid var(--linha);
}
.topo__inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: var(--topo-altura); }

.logo { display: inline-flex; align-items: center; gap: .7rem; text-decoration: none; color: var(--tinta); }
.logo__marca {
  display: grid; place-items: center; flex: none;
  width: 42px; height: 42px; border-radius: 12px;
  background: linear-gradient(135deg, var(--roxo), #8f6bff); color: var(--branco);
  font-weight: 800; font-size: 1.05rem; letter-spacing: -0.02em;
}
.logo__nome { font-size: .74rem; font-weight: 700; line-height: 1.2; letter-spacing: .08em; text-transform: uppercase; }
.logo--claro { color: var(--branco); }

.nav ul { display: flex; flex-wrap: wrap; gap: .25rem 1.75rem; list-style: none; }
.nav a {
  display: inline-block; padding: .4rem 0;
  font-size: .95rem; font-weight: 500; color: var(--suave); text-decoration: none;
  border-bottom: 2px solid transparent;
}
.nav a:hover { color: var(--tinta); }
.nav a[aria-current="page"] { color: var(--tinta); border-bottom-color: var(--roxo); }

.menu-btn {
  display: none;
  width: 48px; height: 48px; margin-right: -10px;
  background: none; border: 0; border-radius: var(--raio); cursor: pointer; color: var(--tinta);
}
.menu-btn__linhas, .menu-btn__linhas::before, .menu-btn__linhas::after {
  display: block; width: 22px; height: 2px; margin: 0 auto;
  background: currentColor; transition: transform .2s, opacity .2s;
}
.menu-btn__linhas { position: relative; }
.menu-btn__linhas::before, .menu-btn__linhas::after { content: ""; position: absolute; left: 0; }
.menu-btn__linhas::before { top: -7px; }
.menu-btn__linhas::after { top: 7px; }
.menu-btn[aria-expanded="true"] .menu-btn__linhas { background: transparent; }
.menu-btn[aria-expanded="true"] .menu-btn__linhas::before { transform: translateY(7px) rotate(45deg); }
.menu-btn[aria-expanded="true"] .menu-btn__linhas::after { transform: translateY(-7px) rotate(-45deg); }

/* Hero */
.hero {
  padding: clamp(3rem, 8vw, 6.5rem) 0;
  border-bottom: 1px solid var(--linha);
  background:
    radial-gradient(circle at 85% 20%, rgba(143, 107, 255, .16), transparent 45%),
    radial-gradient(circle at 10% 90%, rgba(255, 181, 71, .12), transparent 40%);
}
.hero__grid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: clamp(2rem, 6vw, 5rem); align-items: center; }
.hero h1 { font-size: clamp(2rem, 5.2vw, 4rem); max-width: 12ch; hyphens: manual; }
.hero__sub { max-width: 34em; font-size: clamp(1.08rem, 1.6vw, 1.25rem); color: var(--suave); }
.hero__acoes { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.75rem; margin-top: 2rem; }

.hero__visual { position: relative; display: grid; place-items: center; }
.cubo {
  width: min(360px, 80vw); aspect-ratio: 1;
  display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: 1fr 1fr; gap: 14px;
  list-style: none;
}
.cubo__d {
  display: grid; place-items: center;
  border-radius: 16px;
  font-weight: 700; font-size: 1.05rem; color: var(--branco);
  box-shadow: 0 10px 30px rgba(29, 27, 44, .08);
  animation: flutuar 6s ease-in-out infinite;
}
.d1 { background: linear-gradient(135deg, #5b3df5, #7d63ff); }
.d2 { background: linear-gradient(135deg, #8f6bff, #b49bff); animation-delay: -1.5s; }
.d3 { background: linear-gradient(135deg, #ff9f43, #ffb547); color: var(--tinta); animation-delay: -3s; }
.d4 { background: linear-gradient(135deg, #16132b, #3a3558); animation-delay: -4.5s; }
.cubo__centro {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  width: 96px; height: 96px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--branco); color: var(--roxo);
  font-weight: 800; font-size: 1.8rem;
  box-shadow: 0 10px 30px rgba(91, 61, 245, .3);
}
@keyframes flutuar { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-6px); } }

/* Seções */
.secao { padding: clamp(4rem, 9vw, 7rem) 0; }
.secao + .secao:not(.secao--escura):not(.secao--suave) { border-top: 1px solid var(--linha); }
.secao--suave { background: var(--papel); }
.secao--escura { background: var(--tinta); color: #d9d6ea; }
.secao--escura h2, .secao--escura h3 { color: var(--branco); }

.cabecalho { max-width: 720px; margin-bottom: clamp(2.5rem, 5vw, 3.5rem); }
.cabecalho > p:last-child { color: var(--suave); font-size: 1.1rem; }
.cabecalho--split { max-width: none; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 1.5rem 4rem; align-items: end; }
.secao--escura .cabecalho > p:last-child { color: #c3bfd9; margin-bottom: .4em; }

/* Sobre */
.sobre { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: 2rem 5rem; }
.sobre h2 { max-width: 14ch; }
.sobre__texto > p:first-child { font-size: 1.15rem; color: var(--texto); }
.sobre__texto p { color: var(--suave); }

.estrutura { list-style: none; margin: 2rem 0; border-left: 2px solid var(--tinta); }
.estrutura li {
  position: relative; padding: .7rem 0 .7rem 1.5rem;
  font-weight: 600; color: var(--tinta);
}
.estrutura li + li { margin-left: 1.25rem; border-left: 1px dashed var(--linha); }
.estrutura li + li + li { margin-left: 2.5rem; }
.estrutura li::before {
  content: ""; position: absolute; left: -6px; top: 1.2rem;
  width: 10px; height: 10px; background: var(--roxo);
}
.estrutura span {
  display: block;
  font-size: .72rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--suave);
}

/* Método 4D */
.dimensoes { list-style: none; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; }
.dimensao {
  position: relative;
  padding: 2.75rem 1.75rem 0 0;
  border-top: 1px solid rgba(255, 255, 255, .22);
}
.dimensao::before {
  content: ""; position: absolute; top: -6px; left: 0;
  width: 11px; height: 11px; background: var(--ambar);
  transition: width .3s ease;
}
.dimensao:hover::before { width: 48px; }
.dimensao__num {
  display: block; margin-bottom: 1.25rem;
  font-size: clamp(2.8rem, 5vw, 4rem); font-weight: 800; line-height: 1; letter-spacing: -0.04em;
  color: transparent; -webkit-text-stroke: 1px rgba(255, 255, 255, .55);
}
.dimensao__nome { font-size: 1.5rem; }
.dimensao__lead { font-weight: 600; color: var(--branco); }
.dimensao p { font-size: .98rem; }
.dimensao__chaves { margin-top: 1.25rem; font-size: .85rem !important; color: #a9a4c7; }

.nota {
  margin: clamp(2.5rem, 5vw, 4rem) 0 0; padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, .15);
  max-width: 60em; font-size: .92rem; color: #a9a4c7;
}

/* Atuação */
.eixos { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border-top: 2px solid var(--tinta); }
.eixo { padding: 2.25rem 3rem 0 0; }
.eixo + .eixo { padding: 2.25rem 0 0 3rem; border-left: 1px solid var(--linha); }
.eixo__num { margin-bottom: .75rem; font-size: .78rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--roxo); }
.eixo h3 { font-size: clamp(1.4rem, 2.4vw, 1.75rem); }
.eixo > p { color: var(--suave); }
.lista-colunas {
  list-style: none; margin-top: 1.5rem;
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 1.5rem;
}
.lista-colunas li { padding: .6rem 0; border-bottom: 1px solid var(--linha); font-size: .96rem; font-weight: 500; }

/* Organizações */
.organizacoes { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); gap: 2.5rem 5rem; align-items: start; }
.organizacoes__intro p { color: var(--suave); }
.organizacoes__intro p:nth-of-type(2) { font-size: 1.1rem; color: var(--texto); }
.frentes { list-style: none; border-top: 2px solid var(--tinta); }
.frente { display: grid; grid-template-columns: 3.25rem minmax(0, 1fr); gap: 1rem; padding: 1.4rem 0; border-bottom: 1px solid var(--linha); }
.frente__num { font-size: .85rem; font-weight: 700; color: var(--roxo); padding-top: .15rem; }
.frente h3 { margin-bottom: .3rem; }
.frente p { margin: 0; color: var(--suave); font-size: .98rem; }

.segmentos__titulo { margin: clamp(3rem, 6vw, 4.5rem) 0 1.5rem; font-size: .78rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--suave); }
.segmentos { list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2rem; }
.segmento { padding-top: 1.25rem; border-top: 3px solid var(--roxo); }
.segmento:nth-child(2) { border-top-color: var(--tinta); }
.segmento:nth-child(3) { border-top-color: var(--ambar); }
.segmento p { margin: 0; color: var(--suave); font-size: .96rem; }

/* Matriz */
.matriz-wrap { border-top: 2px solid var(--tinta); }
.matriz { width: 100%; border-collapse: collapse; font-size: .96rem; }
.matriz th, .matriz td { padding: 1.25rem 1.25rem 1.25rem 0; text-align: left; vertical-align: top; border-bottom: 1px solid var(--linha); }
.matriz thead th { font-size: .78rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--suave); }
.matriz tbody th { width: 18%; font-size: 1.1rem; font-weight: 700; color: var(--tinta); white-space: nowrap; }
.matriz td { color: var(--suave); }
.matriz__num { display: inline-block; min-width: 2rem; font-size: .8rem; color: var(--roxo); }
.matriz tbody tr { transition: background-color .2s; }
.matriz tbody tr:hover { background: var(--papel); }

/* Projetos */
.projetos-intro { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: 1.5rem 5rem; }
.projetos-intro p { color: var(--suave); }
.projetos-intro p:first-child { font-size: 1.1rem; color: var(--texto); }
.projetos { list-style: none; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 280px), 1fr)); gap: 2rem; margin-top: 3rem; }
.projeto { padding-top: 1.25rem; border-top: 2px solid var(--tinta); }
.projeto img { margin-bottom: 1rem; border-radius: var(--raio); }
.projeto__meta { font-size: .78rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--roxo); }
.projeto h3 a { text-decoration: none; }

/* Responsável */
.responsavel__corpo { max-width: 760px; }
.responsavel__corpo--foto { display: grid; grid-template-columns: 160px minmax(0, 1fr); gap: 2rem; }
.responsavel__foto { border-radius: var(--raio); }
.responsavel h2 { margin-bottom: .25rem; }
.responsavel__cargo { font-weight: 600; color: var(--roxo-escuro); }
.responsavel__bio { font-size: 1.2rem; color: var(--texto); max-width: 36em; }

/* Páginas internas */
.breadcrumb { padding-top: 1.25rem; font-size: .85rem; color: var(--suave); }
.breadcrumb ol { display: flex; flex-wrap: wrap; gap: .4rem; list-style: none; }
.breadcrumb li + li::before { content: "/"; margin-right: .4rem; color: var(--linha); }
.breadcrumb a { color: var(--suave); }

.pagina-topo { padding: clamp(2.5rem, 6vw, 4.5rem) 0 clamp(2rem, 5vw, 3.5rem); border-bottom: 1px solid var(--linha); }
.pagina-topo h1 { font-size: clamp(2.1rem, 5vw, 3.4rem); max-width: 18ch; }
.pagina-topo__sub { font-size: 1.05rem; color: var(--suave); }
.pagina-topo--404 { border-bottom: 0; min-height: 50vh; }

.secao--texto { padding-top: clamp(2.5rem, 6vw, 4rem); }
.texto { max-width: 760px; }
.texto h2 { margin-top: 2.5rem; font-size: clamp(1.3rem, 2.4vw, 1.6rem); }
.texto h2:first-child { margin-top: 0; }
.texto p, .texto li { color: #3c3a4d; }
.texto ul, .texto ol { margin: 0 0 1em; padding-left: 1.25rem; }
.texto li { margin-bottom: .4rem; }

/* Rodapé */
.rodape { background: var(--tinta); color: #b9b5d1; font-size: .93rem; }
.rodape__grid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr) minmax(0, 1fr); gap: 2.5rem; padding: clamp(3rem, 6vw, 4.5rem) 0; }
.rodape__marca p { margin-top: 1.25rem; max-width: 22em; }
.rodape__titulo { margin-bottom: .75rem; font-weight: 700; color: var(--branco); }
.rodape__links { list-style: none; }
.rodape__links li { margin-bottom: .45rem; }
.rodape a { color: #d9d6ea; }
.rodape__links a { text-decoration: none; }
.rodape__links a:hover { color: var(--branco); text-decoration: underline; }
.rodape__base { padding: 1.25rem 0 1.75rem; border-top: 1px solid rgba(255, 255, 255, .12); font-size: .85rem; }
.rodape__base p { margin: 0; }
.social { list-style: none; display: flex; flex-wrap: wrap; gap: 1rem; margin-top: 1rem; }

/* Responsivo */
@media (max-width: 1024px) {
  .dimensoes { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 3rem; }
}

@media (max-width: 900px) {
  .hero__grid, .sobre, .organizacoes, .projetos-intro, .cabecalho--split { grid-template-columns: minmax(0, 1fr); }
  .hero h1 { font-size: clamp(1.8rem, 9vw, 3.6rem); }
  .hero__visual { order: -1; }
  .cubo { width: min(280px, 70vw); }
  .eixos { grid-template-columns: minmax(0, 1fr); }
  .eixo, .eixo + .eixo { padding: 2rem 0; border-left: 0; }
  .eixo + .eixo { border-top: 1px solid var(--linha); }
  .segmentos { grid-template-columns: minmax(0, 1fr); }
  .rodape__grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .rodape__marca { grid-column: 1 / -1; }

  .matriz, .matriz tbody, .matriz tr, .matriz th, .matriz td { display: block; width: 100%; }
  .matriz thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .matriz tbody tr { padding: 1.25rem 0; border-bottom: 1px solid var(--linha); }
  .matriz th, .matriz td { padding: .35rem 0; border: 0; }
  .matriz tbody th { white-space: normal; margin-bottom: .4rem; }
  .matriz td::before {
    content: attr(data-rotulo); display: block;
    font-size: .72rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--tinta);
  }
}

@media (max-width: 860px) {
  .js .menu-btn { display: inline-grid; place-items: center; }
  .js .nav {
    position: absolute; top: 100%; left: 0; right: 0;
    background: var(--branco); border-bottom: 1px solid var(--linha);
    box-shadow: 0 12px 24px rgba(22, 19, 43, .08);
    display: none;
  }
  .js .nav.aberto { display: block; }
  .js .nav ul { flex-direction: column; gap: 0; width: min(100% - 2.5rem, var(--largura)); margin: 0 auto; padding: .5rem 0 1rem; }
  .js .nav li + li { border-top: 1px solid var(--linha); }
  .js .nav a { display: block; padding: .9rem 0; font-size: 1rem; color: var(--tinta); border-bottom: 0; }
  .js .nav a[aria-current="page"] { color: var(--roxo-escuro); }
  html:not(.js) .topo__inner { flex-wrap: wrap; padding: .75rem 0; }
}

@media (max-width: 560px) {
  body { font-size: 1rem; }
  .container { width: min(100% - 2rem, var(--largura)); }
  .dimensoes { grid-template-columns: minmax(0, 1fr); row-gap: 2.5rem; }
  .dimensao { padding-right: 0; }
  .lista-colunas { grid-template-columns: minmax(0, 1fr); }
  .frente { grid-template-columns: 2.5rem minmax(0, 1fr); }
  .rodape__grid { grid-template-columns: minmax(0, 1fr); }
  .responsavel__corpo--foto { grid-template-columns: minmax(0, 1fr); }
}

@media (max-width: 360px) {
  .logo__nome { font-size: .66rem; }
  .cubo__d { font-size: .9rem; }
  .cubo__centro { width: 76px; height: 76px; font-size: 1.5rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 0s !important; animation: none !important; }
}
