@font-face {
  font-family: "Space Grotesk";
  src: url("fonts/SpaceGrotesk-VF.woff2") format("woff2");
  font-weight: 300 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --noite: #0B2140;
  --noite2: #17345E;
  --azul: #1269B2;
  --nevoa: #DCE4EC;
  --papel: #F4F2EC;
  --branco: #FFFFFF;
  --lima: #C8F03C;
  --verde: #0E5A43;
  --sol: #FFC857;
  --u: 8px;
  --pad: clamp(24px, 5vw, 64px);
  --sec: clamp(64px, 11vw, 160px);
}

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

html {
  background: var(--noite);
  color-scheme: dark;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  min-width: 320px;
  overflow-x: hidden;
  background: var(--noite);
  color: var(--nevoa);
  font-family: "Space Grotesk", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 1rem;
  line-height: 1.6;
  font-weight: 400;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

@media (min-width: 900px) { body { font-size: 1.125rem; } }

img, svg, canvas { display: block; max-width: 100%; }
h1, h2, h3, p, ul, ol, address, figure { margin: 0; padding: 0; }
ul, ol { list-style: none; }
address { font-style: normal; }
a { color: inherit; }

/* ---------- acessibilidade ---------- */
:focus-visible { outline: 3px solid var(--lima); outline-offset: 4px; }
.claro :focus-visible { outline-color: var(--noite); }
main:focus { outline: none; }

.pular {
  position: absolute;
  left: 16px;
  top: -80px;
  z-index: 100;
  padding: 12px 16px;
  background: var(--lima);
  color: var(--noite);
  font-weight: 600;
  text-decoration: none;
}
.pular:focus { top: 16px; outline-color: var(--branco); }

.defs { position: absolute; width: 0; height: 0; overflow: hidden; }

/* ---------- estrutura ---------- */
.contido {
  width: 100%;
  max-width: 1360px;
  margin-inline: auto;
  padding-inline: var(--pad);
  position: relative;
  z-index: 2;
}
.topo { position: relative; z-index: 20; }
main, .rodape { position: relative; z-index: 1; }

/* ---------- notação de laboratório ---------- */
.pontos {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background-image: radial-gradient(circle at 4px 4px, rgba(220, 228, 236, 0.2) 0.9px, transparent 1.3px);
  background-size: 8px 8px;
  opacity: 0.7;
  -webkit-mask-image: linear-gradient(180deg, #000 0%, rgba(0, 0, 0, 0.15) 100%);
  mask-image: linear-gradient(180deg, #000 0%, rgba(0, 0, 0, 0.15) 100%);
}
.pontos--baixo {
  -webkit-mask-image: linear-gradient(0deg, #000 0%, rgba(0, 0, 0, 0.1) 100%);
  mask-image: linear-gradient(0deg, #000 0%, rgba(0, 0, 0, 0.1) 100%);
}

.regua {
  --c: rgba(220, 228, 236, 0.5);
  position: relative;
  height: 24px;
  background:
    linear-gradient(90deg, var(--c) 1px, transparent 1px) 0 100% / 8px 6px repeat-x,
    linear-gradient(90deg, var(--c) 1px, transparent 1px) 0 100% / 64px 14px repeat-x,
    linear-gradient(90deg, var(--c) 1px, transparent 1px) 0 100% / 256px 24px repeat-x,
    linear-gradient(var(--c), var(--c)) 0 100% / 100% 1px no-repeat;
}

.cota {
  display: block;
  flex: 1 1 0;
  height: 16px;
  color: inherit;
  background:
    linear-gradient(currentColor, currentColor) 0 50% / 100% 1px no-repeat,
    linear-gradient(currentColor, currentColor) 0 50% / 1px 16px no-repeat,
    linear-gradient(currentColor, currentColor) 100% 50% / 1px 16px no-repeat;
}
.cotas { display: flex; gap: 16px; margin-top: 16px; color: rgba(220, 228, 236, 0.55); }
.cotas--enc { color: rgba(11, 33, 64, 0.6); gap: 0; }
.cotas--enc .cota:first-child { flex: 600 1 0; margin-right: 0; }
.cotas--enc .cota:last-child { flex: 480 1 0; }

.cruz { position: absolute; z-index: 2; color: rgba(220, 228, 236, 0.6); }
.nota { color: rgba(220, 228, 236, 0.6); }

.linha-fina { fill: none; stroke: rgba(220, 228, 236, 0.35); stroke-width: 1.5; }
.ticks-base { fill: none; stroke: rgba(220, 228, 236, 0.5); stroke-width: 12; stroke-dasharray: 1.5 6.5; }
.cota-s { fill: none; stroke: rgba(220, 228, 236, 0.55); stroke-width: 2; }

.marcas { fill: none; stroke: rgba(220, 228, 236, 0.4); }
.marcas--f { stroke-width: 6; stroke-dasharray: 0.3 5.7; }
.marcas--g { stroke-width: 16; stroke-dasharray: 0.45 35.55; stroke: rgba(220, 228, 236, 0.6); }
.marcas--m { stroke-width: 10; stroke-dasharray: 0.8 4.2; }

/* ---------- topo ---------- */
.topo__in {
  display: flex;
  flex-direction: column;
  gap: 0;
  padding-block: 16px 0;
}
.topo__marca { display: block; width: 192px; }
.topo__marca img { width: 100%; height: auto; }

.menu { margin-inline: calc(var(--pad) * -1); padding-inline: var(--pad); }
.nq { white-space: nowrap; }
.menu ul {
  display: flex;
  gap: 0 16px;
  overflow-x: auto;
  white-space: nowrap;
  scrollbar-width: none;
}
.menu ul::-webkit-scrollbar { display: none; }
.menu a {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-size: 0.875rem;
  font-weight: 500;
  text-decoration: none;
  color: var(--nevoa);
}
.menu a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 6px;
  height: 4px;
  background: var(--lima);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.menu a:hover, .menu a[aria-current] { color: var(--branco); }
.menu a:hover::after, .menu a[aria-current]::after { transform: scaleX(1); }

@media (min-width: 960px) {
  .topo {
    position: sticky;
    top: 0;
    background: rgba(11, 33, 64, 0.96);
    border-bottom: 1px solid var(--noite2);
  }
  .topo__in { flex-direction: row; align-items: center; justify-content: space-between; padding-block: 16px; }
  .topo__marca { width: 240px; }
  .menu { margin-inline: 0; padding-inline: 0; }
  .menu ul { gap: 0 32px; overflow: visible; }
  .menu a { font-size: 1rem; }
  main section[id] { scroll-margin-top: 96px; }
}

/* ---------- títulos ---------- */
.titulo {
  font-size: clamp(1.75rem, 1rem + 2.6vw, 3.25rem);
  line-height: 1.08;
  font-weight: 500;
  letter-spacing: -0.025em;
  text-wrap: balance;
  color: var(--branco);
  max-width: 16em;
}
.titulo::after {
  content: "";
  display: block;
  width: min(100%, 24rem);
  height: 8px;
  margin-top: 24px;
  background: var(--lima);
}
.titulo--g {
  font-size: clamp(2.25rem, 0.6rem + 5.8vw, 6.25rem);
  line-height: 1;
  font-weight: 500;
  letter-spacing: -0.04em;
  max-width: 11em;
}
.titulo--g::after { height: 12px; margin-top: 32px; width: min(100%, 32rem); }
.claro .titulo { color: var(--noite); }
.claro .titulo::after { box-shadow: 0 3px 0 var(--noite); margin-bottom: 3px; }

.corpo {
  max-width: 26em;
  font-size: clamp(1.0625rem, 0.9rem + 0.7vw, 1.5rem);
  line-height: 1.42;
  font-weight: 300;
  letter-spacing: -0.01em;
  text-wrap: pretty;
  overflow-wrap: break-word;
  color: var(--nevoa);
}
.claro .corpo { color: var(--noite); font-weight: 400; }
.corpo--g { font-size: clamp(1.25rem, 0.9rem + 1.4vw, 2.125rem); line-height: 1.3; color: var(--branco); max-width: 24em; }

.duplo { display: grid; gap: 32px; }
@media (min-width: 900px) {
  .duplo { grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: 80px; align-items: end; }
}

/* ---------- botões ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  min-height: 56px;
  padding: 0 32px;
  background: var(--lima);
  color: var(--noite);
  font-size: 1.0625rem;
  font-weight: 600;
  text-decoration: none;
  transition: none;
}
.btn:hover { background: var(--branco); gap: 24px; }
.btn--vazado { background: transparent; color: var(--branco); box-shadow: inset 0 0 0 3px var(--lima); }
.btn--vazado:hover { background: var(--lima); color: var(--noite); }

/* ---------- hero ---------- */
.hero {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: min(100svh, 900px);
  padding-block: 48px 296px;
  overflow: hidden;
}
.rede { position: absolute; inset: 0; z-index: 0; width: 100%; height: 100%; }
.hero__in { position: relative; z-index: 2; }
.hero__texto { display: grid; justify-items: start; gap: 24px; }

.h1 {
  font-size: clamp(2.5rem, 0.5rem + 6.6vw, 7rem);
  line-height: 1;
  font-weight: 600;
  letter-spacing: -0.04em;
  text-wrap: balance;
  max-width: 8.6em;
  color: var(--branco);
  overflow-wrap: break-word;
}
.ult {
  padding-bottom: 0.07em;
  background: linear-gradient(var(--lima), var(--lima)) 0 100% / 100% 0.1em no-repeat;
}
.sub {
  max-width: 21em;
  font-size: clamp(1.25rem, 0.9rem + 1.1vw, 2rem);
  line-height: 1.3;
  font-weight: 300;
  letter-spacing: -0.015em;
  color: var(--nevoa);
}
.hero .btn { margin-top: 8px; }

.anel-sol {
  position: absolute;
  z-index: 1;
  width: 440px;
  right: -220px;
  bottom: -90px;
}
.regua--hero { position: absolute; z-index: 2; left: 0; right: 0; bottom: 0; }
.cruz--a { left: var(--pad); top: 16px; }
.cruz--b { right: var(--pad); bottom: 48px; }

@media (min-width: 960px) {
  .hero { padding-block: 64px 96px; }
  .anel-sol { width: 920px; right: -460px; top: 50%; bottom: auto; transform: translateY(-50%); }
  .hero__texto { gap: 40px; }
}

/* ---------- tese ---------- */
.tese { position: relative; z-index: 1; padding-block: var(--sec) calc(var(--sec) * 0.7); background: var(--noite); overflow: hidden; }
.tese__in { display: grid; gap: 40px; }
.tese__p {
  max-width: 30em;
  font-size: clamp(1.0625rem, 0.9rem + 0.7vw, 1.5rem);
  line-height: 1.45;
  font-weight: 300;
  text-wrap: pretty;
  color: var(--nevoa);
}
.tese__p .lead {
  display: block;
  margin-bottom: 16px;
  font-size: clamp(1.5rem, 1rem + 2vw, 2.75rem);
  line-height: 1.12;
  font-weight: 400;
  letter-spacing: -0.025em;
  color: var(--branco);
}
.tese__fig { margin-top: clamp(48px, 8vw, 112px); }
.tese__fig svg { width: 100%; height: auto; overflow: visible; }
@media (min-width: 900px) {
  .tese__in { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 80px; align-items: end; }
}

/* ---------- seções ---------- */
.sec { position: relative; z-index: 1; padding-block: var(--sec); }
.sec--papel { background: var(--papel); color: var(--noite); padding-bottom: calc(var(--sec) + 40px); }
.sec--nevoa { background: var(--nevoa); color: var(--noite); padding-bottom: calc(var(--sec) + 40px); }
.sec--noite2 { background: var(--noite2); color: var(--nevoa); overflow: hidden; }

.faixa { position: absolute; left: 0; bottom: 0; width: 100%; height: 68px; }
.faixa--baixo { transform: scaleY(-1); }

/* ---------- método: três instrumentos numa régua ---------- */
.instr { margin-top: clamp(40px, 6vw, 88px); }
.regua--instr { --c: rgba(220, 228, 236, 0.55); background-color: var(--noite); }
.instrumentos { display: grid; background: var(--noite); color: var(--nevoa); }
.instrumentos li {
  display: grid;
  grid-template-columns: 96px minmax(0, 1fr);
  gap: 16px;
  align-items: center;
  padding: 16px;
  border-top: 1px solid var(--noite2);
}
.instrumentos li:first-child { border-top: 0; }
.instrumentos svg { width: 96px; height: 96px; overflow: hidden; background: var(--noite2); }
.instrumentos h3 {
  font-size: 1.125rem;
  line-height: 1.2;
  font-weight: 500;
  letter-spacing: -0.01em;
  color: var(--branco);
}
.instrumentos p { margin-top: 4px; font-size: 0.9375rem; line-height: 1.45; color: var(--nevoa); }

@media (min-width: 720px) {
  .instrumentos { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .instrumentos li {
    display: block;
    padding: 40px;
    border-top: 0;
    border-left: 1px solid var(--noite2);
  }
  .instrumentos li:first-child { border-left: 0; }
  .instrumentos svg { width: 100%; height: auto; aspect-ratio: 1; max-width: 280px; }
  .instrumentos h3 { margin-top: 32px; font-size: clamp(1.25rem, 0.8rem + 0.9vw, 1.625rem); }
  .instrumentos p { margin-top: 8px; font-size: 1rem; max-width: 22em; }
}

/* ---------- bancada ---------- */
.bancada__in { display: grid; gap: 48px; align-items: center; }
.bancada__texto { display: grid; justify-items: start; gap: 32px; }
.bancada__texto .corpo { color: var(--nevoa); }
.espiral-box { width: min(100%, 560px); justify-self: center; }
.espiral { width: 100%; height: auto; overflow: visible; }
@media (min-width: 900px) {
  .bancada__in { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 96px; }
  .espiral-box { justify-self: end; }
}

/* ---------- cantinas ---------- */
.encaixe { margin-top: clamp(40px, 6vw, 88px); }
.encaixe svg { width: 100%; height: auto; }

/* ---------- horizonte ---------- */
.hz { padding-block: var(--sec) 0; background: var(--noite); overflow: hidden; }
.hz__texto { display: grid; gap: 32px; padding-bottom: clamp(48px, 8vw, 96px); }
.hz__cena {
  --p: 1;
  position: relative;
  z-index: 1;
  height: clamp(440px, 52vw, 680px);
  overflow: hidden;
}
.hz__b { position: absolute; left: 0; right: 0; transform-origin: 50% 100%; }
.hz__b--ceu { top: 0; height: 61%; background: var(--noite2); }
.hz__b--azul { bottom: 56%; height: 22%; background: var(--azul); transform: scaleY(clamp(0, calc((var(--p) - 0.3) * 2.2), 1)); }
.hz__b--nevoa { bottom: 47%; height: 9%; background: var(--nevoa); transform: scaleY(clamp(0, calc((var(--p) - 0.12) * 3), 1)); }
.hz__b--sol { bottom: 39%; height: 8%; background: var(--sol); transform: scaleY(clamp(0, calc(var(--p) * 4), 1)); }
.hz__anel {
  position: absolute;
  left: 50%;
  top: 36%;
  width: min(72vw, 440px);
  transform: translate(-50%, -50%);
}
.hz__terra {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 39%;
  background: var(--verde);
}
.hz__terra::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 24px;
  --c: rgba(200, 240, 60, 0.7);
  background:
    linear-gradient(90deg, var(--c) 1px, transparent 1px) 0 0 / 8px 6px repeat-x,
    linear-gradient(90deg, var(--c) 1px, transparent 1px) 0 0 / 64px 14px repeat-x,
    linear-gradient(90deg, var(--c) 1px, transparent 1px) 0 0 / 256px 24px repeat-x;
}
.hz__plantas { position: absolute; inset: 0; width: 100%; height: 100%; }

/* ---------- rodapé ---------- */
.rodape { background: var(--noite); padding-bottom: 64px; }
.regua--rodape { margin-bottom: 56px; }
.rodape__in { display: grid; gap: 40px; }
.rodape img { width: 200px; height: auto; }
.rodape address { display: grid; gap: 4px; font-size: 0.9375rem; line-height: 1.6; color: var(--nevoa); }
.rodape a { color: var(--branco); text-underline-offset: 4px; text-decoration-thickness: 2px; }
.rodape a:hover { text-decoration-color: var(--lima); }
@media (min-width: 800px) {
  .rodape__in { grid-template-columns: auto 1fr; gap: 96px; align-items: start; }
  .rodape address { font-size: 1rem; }
}

/* ---------- grafismos ---------- */
.fio { fill: none; stroke-width: 16; stroke-linecap: butt; }
.c-azul { stroke: var(--azul); }
.c-azul-f { stroke: var(--azul); opacity: 0.5; }
.c-lima { stroke: var(--lima); }
.c-nevoa { stroke: var(--nevoa); }
.c-papel { stroke: var(--papel); }
.f-nevoa { fill: var(--nevoa); }
.f-lima { fill: var(--lima); }
.f-sol { fill: var(--sol); }
.f-azul { fill: var(--azul); }

/* ---------- micromovimento (CSS puro, desligado em reduced-motion) ---------- */
.gira { transform-origin: 120px 120px; animation: gira 16s linear infinite; }
.balanco { transform-origin: 120px 100px; animation: balanco 3.6s ease-in-out infinite alternate; }
.onda { animation: acende 5.2s ease-in-out infinite; animation-delay: calc(var(--k, 0) * 0.65s); }
.fluxo { stroke-dasharray: 96 24; animation: fluxo 3.2s linear infinite; }

@keyframes gira { to { transform: rotate(360deg); } }
@keyframes balanco { from { transform: rotate(-52deg); } to { transform: rotate(52deg); } }
@keyframes acende {
  0%, 100% { stroke: var(--azul); }
  14%, 24% { stroke: var(--lima); }
  42% { stroke: var(--azul); }
}
@keyframes fluxo { to { stroke-dashoffset: -120; } }

/* ---------- revelação e desenho (só existe depois que o script cria .js) ---------- */
.js .rv {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.9s cubic-bezier(0.2, 0.7, 0.2, 1), transform 0.9s cubic-bezier(0.2, 0.7, 0.2, 1);
  transition-delay: calc(var(--i, 0) * 120ms);
}
.js .rv.is-in { opacity: 1; transform: none; }
.js .titulo.rv::after {
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 1s cubic-bezier(0.2, 0.7, 0.2, 1) 0.2s;
}
.js .titulo.rv.is-in::after { transform: scaleX(1); }

.js .tese__fig .arco {
  stroke-dasharray: 1;
  stroke-dashoffset: 1;
  transition: stroke-dashoffset 1.8s cubic-bezier(0.3, 0.6, 0.2, 1) calc(var(--k, 0) * 200ms + 300ms);
}
.js .tese__fig.is-in .arco { stroke-dashoffset: 0; }
.js .tese__fig .cusp {
  transform-box: fill-box;
  transform-origin: center;
  transform: scale(0);
  transition: transform 0.8s cubic-bezier(0.3, 1.4, 0.4, 1) 2.2s;
}
.js .tese__fig.is-in .cusp { transform: scale(1); }

/* last touch: espiral sempre visível (no WebKit o traço oculto por dash não era repintado na rolagem) */
.js .miolo { transform-box: fill-box; transform-origin: center; transform: scale(var(--m, 0)); }

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

@media (max-width: 30rem) { .menu ul { gap: 10px; } .menu a { font-size: .8125rem; } }

/* ---------- v3: laboratório ---------- */
.menu--4 ul { display: grid; grid-template-columns: auto auto; justify-content: start; gap: 0 28px; white-space: nowrap; }
.menu--4 a { min-height: 40px; }
.hero__texto { gap: 32px; }
.h1 { max-width: 9.4em; }
.rubrica { display: flex; align-items: center; gap: 20px; margin: 0; font-size: 1.125rem; line-height: 1.2; font-weight: 500; letter-spacing: 0; color: var(--branco); }
.rubrica::before { content: ""; flex: none; width: 48px; height: 8px; background: var(--lima); }
.rubrica::after { content: ""; flex: 1; height: 1px; background: currentColor; opacity: .35; }
.claro .rubrica { color: var(--noite); }
.claro .rubrica::before { background: var(--azul); }
.objeto { padding-bottom: var(--sec); }
.objeto .cruz { color: rgba(11, 33, 64, .5); }
.resumo { margin-top: clamp(32px, 5vw, 72px); max-width: 27em; font-size: clamp(1.375rem, .9rem + 1.9vw, 2.625rem); line-height: 1.28; font-weight: 400; letter-spacing: -.02em; text-wrap: pretty; color: var(--noite); }
.linhas { background: var(--noite); overflow: hidden; }
.linhas__corpo { display: grid; gap: 56px; margin-top: clamp(32px, 5vw, 64px); }
.indice { display: grid; }
.indice li { display: grid; grid-template-columns: 64px minmax(0, 1fr); gap: 8px; padding-block: 28px; border-top: 1px solid rgba(220, 228, 236, .3); }
.indice li:last-child { border-bottom: 1px solid rgba(220, 228, 236, .3); }
.num { font-size: 1.5rem; line-height: 1.2; font-weight: 300; font-variant-numeric: tabular-nums; color: var(--nevoa); }
.indice h3 { font-size: clamp(1.375rem, 1rem + 1.1vw, 2rem); line-height: 1.15; font-weight: 500; letter-spacing: -.02em; color: var(--branco); }
.indice p { margin-top: 10px; font-size: clamp(1.0625rem, .95rem + .3vw, 1.25rem); line-height: 1.42; color: var(--nevoa); text-wrap: pretty; }
.linhas__fig { max-width: 560px; width: 100%; justify-self: center; }
.sistema { width: 100%; height: auto; overflow: visible; }
.sistema .no { fill: var(--noite); stroke: var(--nevoa); stroke-width: 4; }
.sistema text { fill: var(--branco); font-family: "Space Grotesk", sans-serif; font-size: 34px; font-weight: 400; }
.sistema .frag { fill: none; stroke: var(--verde); stroke-width: 16; }
.sistema .seta { fill: none; stroke: var(--lima); stroke-width: 8; }
.metodo { padding-bottom: var(--sec); }
.passos { display: grid; gap: 40px; margin-top: clamp(40px, 5vw, 72px); }
.passo { position: relative; display: grid; grid-template-columns: 96px minmax(0, 1fr); gap: 24px; align-items: center; }
.passo__g { position: relative; z-index: 1; width: 96px; height: 96px; padding: 18px; background: var(--noite); fill: none; stroke: var(--branco); stroke-width: 16; }
.passo__g .cheio { fill: var(--branco); stroke: none; }
.passo h3 { font-size: clamp(1.375rem, 1rem + .9vw, 1.875rem); line-height: 1.15; font-weight: 500; letter-spacing: -.02em; color: var(--noite); }
.passo:not(:last-child)::before { content: ""; position: absolute; left: 40px; top: 96px; height: 24px; width: 16px; background: var(--azul); }
.passo:not(:last-child)::after { content: ""; position: absolute; left: 32px; top: 116px; border: 16px solid transparent; border-top: 18px solid var(--azul); border-bottom: 0; }
.fichas { display: grid; gap: 32px; margin-top: clamp(32px, 5vw, 64px); }
.ficha { display: flex; flex-direction: column; background: var(--papel); color: var(--noite); border-top: 8px solid var(--azul); padding: clamp(24px, 3vw, 48px); }
.ficha__cod { font-size: 1.0625rem; font-weight: 500; font-variant-numeric: tabular-nums; }
.ficha__nome { margin-top: 4px; font-size: clamp(1.75rem, 1.2rem + 1.6vw, 2.75rem); line-height: 1.05; font-weight: 500; letter-spacing: -.03em; }
.ficha__desc { margin-top: 20px; font-size: clamp(1.1875rem, 1rem + .6vw, 1.5rem); line-height: 1.3; text-wrap: pretty; }
.ficha dl { margin: 28px 0 0; }
.ficha dl > div { padding-block: 20px; border-top: 1px solid rgba(11, 33, 64, .3); }
.ficha dt { font-weight: 600; }
.ficha dd { margin: 6px 0 0; line-height: 1.45; text-wrap: pretty; }
.ficha .eixo { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); margin-top: 12px; border-top: 2px solid var(--noite); list-style: none; padding: 0; }
.ficha .eixo li { position: relative; padding-top: 14px; font-variant-numeric: tabular-nums; font-weight: 500; }
.ficha .eixo li::before { content: ""; position: absolute; left: 0; top: -2px; width: 2px; height: 12px; background: var(--noite); }
.ficha__fim { margin-top: auto; padding-top: 24px; }
.ficha a { font-weight: 600; text-underline-offset: .25em; text-decoration-thickness: 2px; }
.ficha :focus-visible { outline-color: var(--noite); }
.hz--fecho { padding-top: 0; }
@media (min-width: 900px) {
  .objeto__in { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 9fr); gap: 48px; }
  .objeto__in .rubrica, .objeto__in .resumo { align-self: start; margin-top: 0; }
  .objeto__in .rubrica::after { display: none; }
  .objeto__in .rubrica { padding-top: 14px; }
  .linhas__corpo { grid-template-columns: minmax(0, 7fr) minmax(0, 6fr); gap: 80px; align-items: center; }
  .fichas { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px; }
}
@media (min-width: 960px) {
  .menu--4 ul { display: flex; gap: 0 28px; }
  .menu--4 a { font-size: 1rem; }
  .passos { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px; }
  .passo { display: block; }
  .passo h3 { margin-top: 24px; max-width: 9em; }
  .passo__g { width: 128px; height: 128px; padding: 24px; }
  .passo:not(:last-child)::before { left: 128px; right: -14px; top: 56px; width: auto; height: 16px; }
  .passo:not(:last-child)::after { left: auto; right: -32px; top: 48px; border: 16px solid transparent; border-left: 18px solid var(--azul); border-right: 0; }
}
.btn--claro { color: var(--noite); box-shadow: inset 0 0 0 3px var(--noite); }
.btn--claro:hover { background: var(--noite); color: var(--branco); }
.ficha a.btn { text-decoration: none; }
.ficha dl { flex: 1; display: flex; flex-direction: column; }
.h1 { font-size: clamp(2.5rem, .6rem + 5.2vw, 6rem); }
.resumo { border-top: 2px solid var(--noite); padding-top: 24px; }
@media (max-width: 30rem) { .ficha .btn { padding-inline: 20px; } .topo__marca { margin-bottom: 8px; } }
@media (min-width: 900px) {
  .objeto__in { grid-template-columns: minmax(0, 1fr); gap: 40px; }
  .objeto__in .rubrica::after { display: block; }
  .objeto__in .rubrica { padding-top: 0; }
  .resumo { max-width: none; font-size: clamp(1.75rem, .6rem + 2.35vw, 2.5rem); line-height: 1.3; letter-spacing: -.02em; }
}
@media (min-width: 960px) { .anel-sol { width: 820px; right: -430px; } }
