/* Home · IAJUS Brasil (#14639). Three destinations, one per band: search (the fold and its
 * example), integrations and channels, the IAJUS Studio. Each band is one short statement in the
 * display serif, one supporting line and the product itself, large: a film or the flow drawn in
 * CSS. One identity device, the «Fio de Prova»: in the demonstration only, a 1px thread runs from
 * the question through the ementa to a seal on the official source.
 * Tokens and type rules: sala-publica.css (colours frozen; no value is defined here). */
.public-br:has(#view-home:not([hidden])) { background: var(--c-papel); }
.ed-home {
  --ink: var(--c-tinta);
  --ink-soft: var(--c-tinta);
  --text-primary: var(--c-tinta);
  --text-secondary: var(--c-tinta-2);
  --text-tertiary: var(--c-tinta-2);
  --muted: var(--c-tinta-2);
  --muted-2: var(--c-tinta-2);
  --gold: var(--c-fonte);
  --gold-bright: var(--c-fonte);
  --indigo: var(--c-fonte);
  --hair: var(--c-fio);
  --rule: var(--c-fio);
  --card: var(--c-folha);
  --card-strong: var(--c-folha);
  --bg: var(--c-papel);
  --bg-2: var(--c-folha);
  --bg-3: var(--c-papel);
  color: var(--c-tinta);
  background: var(--c-papel);
  font-family: var(--t-sans);
}
.ed-home { --e-saida: cubic-bezier(.22, 1, .36, 1); } /* the one easing of the home's motion */
.ed-home :is(h1, h2, h3) { text-wrap: balance; }
.ed-home :is(a, button, summary, video, [tabindex]):focus-visible { outline: 2px solid var(--c-fonte); outline-offset: 2px; }
.ed-home :is(#pesquisa-juridica, #como-funciona, .sala-caso, #demo, #faq, #conectar, #studio, .hc-native, #cobertura-home, #planos-home) {
  scroll-margin-top: calc(var(--topbar-h, 64px) + var(--s-3));
}
.ed-home [hidden] { display: none !important; }
.ed-home p { margin: 0; }
/* Reading measure: running text never passes 62 characters (narrower rules below still win). */
:where(.ed-home) p { max-width: 62ch; }
/* Every figure, price and date reads in lining, tabular numerals. */
.ed-home :where(time, dd, [data-stat], .plano-home-valor, .hc-tempo) { font-variant-numeric: var(--t-numeros); }

/* ── Bands: same measure as the mast, a hairline between them, a generous rhythm (72px on a
 * phone to 144px on a wide screen) so each band holds one idea ── */
.casa-faixa {
  max-width: calc(var(--largura) + 2 * var(--margem));
  margin-inline: auto;
  padding: clamp(var(--s-8), 3rem + 5vw, calc(2 * var(--s-8))) var(--margem);
  position: relative;
}
.casa-faixa::before { content: ""; position: absolute; top: 0; left: var(--margem); right: var(--margem); height: 1px; background: var(--c-fio); }
.casa-cabeca { display: grid; justify-items: start; gap: var(--s-3); margin-bottom: var(--s-6); max-width: 46rem; }
.casa-sobretitulo {
  color: var(--c-tinta-2);
  font: 400 .8125rem/1 var(--t-mono);
  letter-spacing: .12em;
  text-transform: uppercase;
}
/* Section folios («§ 01 · ») are numbered by CSS, so the markup keeps no digit of its own. */
#view-home main { counter-reset: folio; }
#view-home .casa-faixa .casa-sobretitulo::before { counter-increment: folio; content: "§ " counter(folio, decimal-leading-zero) " · "; font-variant-numeric: var(--t-numeros); }
/* Band statements: 32px on a phone (390) to 56px from about 1340 up. */
.public-br #view-home .casa-faixa h2 {
  margin: 0;
  color: var(--c-tinta);
  font: var(--t-peso-titulo) clamp(2rem, 1.35rem + 2.6vw, 3.5rem)/1.08 var(--t-titulo);
  font-optical-sizing: auto; letter-spacing: -.02em; text-wrap: balance;
}
.casa-cabeca > p:not(.casa-sobretitulo, .casa-acoes) { color: var(--c-tinta-2); font: 400 clamp(1.0625rem, 1rem + .3vw, 1.25rem)/1.55 var(--t-sans); max-width: 40ch; }
/* A link to a page or a source: gold ink, always underlined, 44px tall. */
.ed-home :is(.casa-link, .casa-planos, .casa-secundaria, .ed-link, .sala-seguinte) {
  display: inline-flex; align-items: center; gap: .35em; min-height: 44px;
  color: var(--c-fonte); font: 600 1rem/1.2 var(--t-sans);
  text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: .25em;
}
.ed-home :is(.casa-link, .casa-planos, .casa-secundaria, .ed-link, .sala-seguinte):hover { text-decoration-thickness: 2px; }

/* ── Fold: the search. Proposition and its one action on the left (5), the films in their tabs on the right (7) ── */
.casa-dobra {
  max-width: calc(var(--largura) + 2 * var(--margem));
  margin-inline: auto;
  padding: var(--s-7) var(--margem) var(--s-7);
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  align-items: center;
  gap: var(--s-6) clamp(var(--s-6), 4.5vw, var(--s-8));
}
/* Top-aligned: without script both films stand open, and a centred column pushed «Começar grátis»
 * below the first screen (800px tall at 1550px wide). */
#view-home header.sala-comando { display: grid; justify-items: start; align-self: start; gap: var(--s-4); margin: 0; padding: 0; border: 0; background: none; }
/* The home's title: 40px on a phone (390) to 72px from about 1340 up. */
.public-br #view-home .sala-comando h1 {
  max-width: none; margin: 0; padding: 0; color: var(--c-tinta);
  font: var(--t-peso-titulo) clamp(2.5rem, 1.6rem + 3.6vw, 4.5rem)/1.02 var(--t-titulo);
  font-optical-sizing: auto; letter-spacing: -.03em; text-wrap: balance;
}
/* Beside the films (two columns from 1000px) the six-word title holds two lines: its size follows
   the column (about a seventh and a half of it), up to 68px. */
@media (min-width: 1000px) { .public-br #view-home .sala-comando h1 { font-size: min(4.25rem, 4.6vw); } }
.casa-sub { max-width: 48ch; color: var(--c-tinta-2); font: 400 clamp(1.0625rem, .98rem + .34vw, 1.25rem)/1.5 var(--t-sans); }
.casa-acoes { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s-3) var(--s-5); margin-top: var(--s-2) !important; }
/* «Começar grátis» (USER, 24/11/2026): the fold's dominant element. The site's gold fill, taller and
 * wider, a soft gold halo and an arrow; a light sweep crosses it now and then and the arrow nudges
 * on hover, both only where motion is welcome. */
.public-br #view-home .acao-destaque {
  position: relative; overflow: hidden; isolation: isolate;
  min-height: 56px; padding: 0 var(--s-6); gap: .5em;
  font-size: 1.125rem; font-weight: 700; letter-spacing: .005em;
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--c-acao) 22%, transparent), 0 8px 28px -10px color-mix(in srgb, var(--c-acao) 70%, transparent);
}
.public-br #view-home .acao-destaque::after { content: "→"; content: "→" / ""; font-weight: 600; transition: transform .2s var(--e-saida, ease); }
.public-br #view-home .acao-destaque:focus-visible { outline: 3px solid var(--c-fonte); outline-offset: 4px; }
@media (prefers-reduced-motion: no-preference) {
  .public-br #view-home .acao-destaque::before {
    content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
    background: linear-gradient(105deg, transparent 35%, rgb(255 255 255 / .38) 50%, transparent 65%);
    transform: translateX(-110%); animation: acao-brilho 6s ease-in-out 1.2s infinite;
  }
  .public-br #view-home .acao-destaque:is(:hover, :focus-visible)::after { transform: translateX(4px); }
}
@keyframes acao-brilho { 0%, 70% { transform: translateX(-110%); } 85%, 100% { transform: translateX(110%); } }
/* Films: home-carrossel.css. */

/* The Studio's workspace drawn in CSS: a sheet with a plate in inverted ink and a gold rule.
 * Nothing in it takes input; it names itself as an illustration. */
.tela-barra {
  display: flex; justify-content: space-between; align-items: baseline; gap: 0 var(--s-3);
  max-width: none; margin: 0; padding: var(--s-2) var(--s-4); color: var(--c-papel); background: var(--c-tinta);
  box-shadow: inset 0 -2px 0 var(--c-acao); border-radius: var(--r) var(--r) 0 0;
  font: 400 .75rem/1.5 var(--t-mono); letter-spacing: .08em; text-transform: uppercase;
}
.tela-barra b { font-weight: 600; }

/* ── The three destinations, named once right under the fold ── */
.casa-destinos { display: block; max-width: calc(var(--largura) + 2 * var(--margem)); margin-inline: auto; padding: 0 var(--margem); }
.casa-destinos ol { width: 100%; counter-reset: destino; list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--c-fio); }
.casa-destinos li + li { border-left: 1px solid var(--c-fio); }
.casa-destinos a {
  counter-increment: destino; display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: baseline; gap: var(--s-1) var(--s-3);
  min-height: 44px; padding: var(--s-4) var(--s-4) var(--s-5); color: var(--c-tinta); text-decoration: none;
  transition: background-color .18s var(--e-saida);
}
.casa-destinos li:first-child a { padding-left: 0; }
.casa-destinos a::before { content: counter(destino, decimal-leading-zero); grid-row: 1 / span 2; color: var(--c-fonte); font: 500 .8125rem/1.6 var(--t-mono); font-variant-numeric: var(--t-numeros); }
.casa-destinos b { font: var(--t-peso-titulo) clamp(1.25rem, 1.1rem + .6vw, 1.625rem)/1.15 var(--t-titulo); letter-spacing: -.01em; }
.casa-destinos span { grid-column: 2; color: var(--c-tinta-2); font: 400 .9375rem/1.4 var(--t-sans); }
.casa-destinos a:hover b { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: .2em; }
.casa-destinos a:focus-visible { outline-offset: -2px; }

/* ── Totals: four measured figures, mono and tabular, in a box reserved before the read ── */
/* One box for every state (loading, measured, neutral): figures, then the source line. */
/* The one navy band of the home: data-theme="dark" on the section scopes the dark values
 * (sala-publica.css), so in the light page it reads navy and gold, and in the dark page its sheet
 * sits one step above the paper. Hairline rules stand between the figures. */
.casa-totais { --casa-numeros-h: 5.25rem; --casa-pad: var(--s-7); --casa-fonte-h: 1.3125rem; min-height: calc(var(--casa-numeros-h) + var(--s-4) + var(--casa-fonte-h) + 2 * var(--casa-pad)); box-sizing: border-box; color: var(--c-tinta); background: var(--c-folha); color-scheme: dark; }
.casa-faixa.casa-totais { padding-block: var(--casa-pad); }
.casa-faixa.casa-totais::before { left: 0; right: 0; background: var(--c-acao); }
.casa-totais .casa-totais-fonte[hidden] { display: block !important; visibility: hidden; }
/* The band's title and its one way on to /cobertura, on one line where they fit. Static text,
 * so the reserved box below it never moves. */
.casa-totais-cabeca { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 0 var(--s-5); margin-bottom: var(--s-5); }
.public-br #view-home .casa-totais-cabeca h2 { font-size: clamp(1.5rem, 1.25rem + 1vw, 2rem); line-height: 1.15; letter-spacing: -.01em; }
.casa-numeros {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--s-4) var(--s-6);
  margin: 0; min-height: var(--casa-numeros-h); align-content: start;
}
/* Figure above its label; the count's aria-hidden copy shares the figure's cell. */
.casa-numeros > div { display: grid; grid-template-areas: "n" "r"; align-content: start; row-gap: var(--s-2); min-width: 0; padding-inline-start: var(--s-4); border-left: 1px solid var(--c-borda-ctrl); }
.casa-numeros dt { grid-area: r; color: var(--c-tinta-2); font: 400 .9375rem/1.3 var(--t-sans); }
.casa-numeros :is(dd, .casa-contagem) {
  grid-area: n; margin: 0; color: var(--c-tinta);
  font: 400 clamp(1.75rem, 1.35rem + 1.1vw, 2.5rem)/1 var(--t-mono);
  font-variant-numeric: var(--t-numeros); letter-spacing: -.02em; white-space: nowrap;
  min-height: 1em; /* stats.js empties the figure before its read: the line keeps its height */
}
/* Before the verdict the placeholder word keeps its box but is not shown. */
.casa-totais[aria-busy="true"] .casa-numeros dd, .casa-numeros [data-casa-contando] dd { visibility: hidden; }
.casa-totais-fonte { margin-top: var(--s-4) !important; color: var(--c-tinta-2); font: 400 .875rem/1.5 var(--t-sans); }
.casa-sub a, .casa-totais-fonte a, .casa-totais-falha a { color: var(--c-fonte); text-decoration: underline; text-underline-offset: .2em; }
.casa-totais-falha { display: none; color: var(--c-tinta-2); font: 400 1rem/1.5 var(--t-sans); }
/* A figure that did not arrive is omitted; when none is left, one neutral line takes the box. */
.casa-totais [data-casa-ausente] { display: none; }
/* Neutral: the figures leave sight and the reading order but keep their boxes, so stats.js still
   sees a consumer and re-reads after a failure (statsConsumerVisible). */
.casa-totais { position: relative; }
.casa-totais[data-casa-estado="neutro"] .casa-numeros { position: absolute; top: 0; left: 0; width: 100%; max-height: 100%; overflow: hidden; visibility: hidden; pointer-events: none; }
.casa-totais[data-casa-estado="neutro"] .casa-totais-falha { display: block; }
.casa-totais[data-casa-estado="neutro"] .casa-totais-fonte { display: none; }
@media (scripting: none) {
  .casa-totais .casa-numeros { display: none; }
  .casa-totais .casa-totais-falha { display: block; }
}
/* Quantities by source: one compact row under the totals, a label and its figure per line. The
 * unit sits once in each group's heading. It reserves its box from the first paint; a figure the
 * read does not carry keeps its line and reads «indisponível», never 0. */
.casa-fontes {
  display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr) minmax(0, 1fr); gap: var(--s-4) var(--s-6);
  margin-top: var(--s-6); padding-top: var(--s-5); border-top: 1px solid var(--c-borda-ctrl);
}
.casa-fonte { min-width: 0; }
.casa-fonte h4 { margin: 0 0 var(--s-3); color: var(--c-tinta); font: 600 .875rem/1.3 var(--t-sans); letter-spacing: .01em; }
.casa-fonte h4 span { color: var(--c-tinta-2); font-weight: 400; }
.casa-fonte h4 span::before { content: "· "; }
.casa-fonte dl { display: grid; gap: var(--s-1) var(--s-5); margin: 0; }
.casa-fonte--jurisprudencia dl { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.casa-fonte dl > div { display: flex; align-items: baseline; justify-content: space-between; gap: var(--s-3); min-width: 0; padding-block: var(--s-1); border-bottom: 1px solid var(--c-fio); }
.casa-fonte dt { min-width: 0; color: var(--c-tinta-2); font: 400 .875rem/1.35 var(--t-sans); }
.casa-fonte dd { margin: 0; flex: none; color: var(--c-tinta); font: 400 .9375rem/1.35 var(--t-mono); font-variant-numeric: var(--t-numeros); white-space: nowrap; }
.casa-fonte dd.v--indisponivel { color: var(--c-tinta-2); font: 400 .8125rem/1.35 var(--t-sans); }
/* The courts of accounts are not courts of law: their own line, across the group. */
.casa-fonte-contas { grid-column: 1 / -1; }
.casa-totais[aria-busy="true"] .casa-fontes dd { visibility: hidden; }
.casa-totais[data-casa-estado="neutro"] .casa-fontes { display: none; }
@media (scripting: none) {
  .casa-totais .casa-fontes { display: none; }
}
@media (prefers-reduced-motion: no-preference) {
  .casa-totais[data-casa-estado="medido"] dd { animation: casa-assenta .42s var(--e-saida) both; }
}
@keyframes casa-assenta { from { opacity: 0; transform: translateY(4px); } }
@keyframes casa-grifo { from { transform: scaleX(0); } }

/* ── The sourced example and its optional archive ── */
.sala-console { min-width: 0; max-width: 50rem; }
.ed-transcripts .sala-areas { display: flex; flex-wrap: wrap; justify-content: flex-start; align-items: flex-end; gap: 0 var(--s-1); height: auto; min-height: 0; width: auto; margin: 0 0 var(--s-5); padding: 0; border-bottom: 1px solid var(--c-fio); }
.sala-areas a {
  flex: 0 0 auto; display: inline-flex; align-items: center; min-height: 44px; padding: 0 var(--s-3);
  color: var(--c-tinta-2); background: transparent; border: 0; border-bottom: 2px solid transparent; margin-bottom: -1px;
  font: 500 .9375rem/1 var(--t-sans); text-decoration: none; white-space: nowrap;
}
.sala-areas a:hover { color: var(--c-tinta); }
.ed-home .sala-areas a:focus-visible { outline-offset: -2px; }
/* The chosen area: ink, 600 and the gold indicator, never colour alone. */
.sala-areas a[aria-current="true"],
.sala-pesquisa:not([data-pronta]):not(:has(.sala-caso:target)) [data-sala-area]:first-child,
.sala-pesquisa:not([data-pronta]):has(#sala-trabalhista:target) [data-sala-area="trabalhista"],
.sala-pesquisa:not([data-pronta]):has(#sala-penal:target) [data-sala-area="penal"],
.sala-pesquisa:not([data-pronta]):has(#sala-administrativo:target) [data-sala-area="administrativo"],
.sala-pesquisa:not([data-pronta]):has(#sala-eleitoral:target) [data-sala-area="eleitoral"],
.sala-pesquisa:not([data-pronta]):has(#sala-contas:target) [data-sala-area="contas"] {
  color: var(--c-tinta); font-weight: 600; border-bottom-color: var(--c-acao);
}
/* Without script the target picks the case; with it, the active one shows. */
.sala-caso { display: none; }
.sala-caso:first-of-type, .sala-caso:target { display: grid; }
.sala-percurso:has(.sala-caso:target) .sala-caso:first-of-type:not(:target), .sala-pesquisa[data-pronta] .sala-caso { display: none; }
.sala-pesquisa[data-pronta] .sala-caso.ativa { display: grid; }
.sala-caso { --fio-col: 20px; gap: var(--s-4); justify-items: start; }

/* The thread: an ordered list on a 20px rail. Rings sit on each step's mono label, a 1px track
 * joins them, and a concentric seal closes it on the line that names the official source. */
.fio {
  --fio-anel: 10px; --fio-selo: 12px; --fio-gap: var(--s-4); --fio-linha: 44px;
  list-style: none; margin: 0; padding: 0; display: grid; gap: var(--fio-gap); width: 100%;
}
.fio-passo { position: relative; display: grid; grid-template-columns: var(--fio-col) minmax(0, 1fr); column-gap: var(--s-3); row-gap: var(--s-2); align-items: start; }
.fio-passo > * { grid-column: 2; }
.fio-passo::before {
  content: ""; grid-column: 1; grid-row: 1; justify-self: center; position: relative; z-index: 1;
  width: var(--fio-anel); height: var(--fio-anel); margin-top: calc(.5rem - var(--fio-anel) / 2); box-sizing: border-box;
  border: 1px solid var(--c-tinta-2); border-radius: 50%; background: var(--c-papel);
}
.fio-passo:not(:last-child)::after {
  content: ""; position: absolute; left: calc(var(--fio-col) / 2 - .5px); width: 1px;
  top: .5rem; bottom: calc(-1 * var(--fio-gap) - .5rem);
  background: var(--c-borda-ctrl); transform-origin: top;
}
.fio-passo:has(+ .fio-selo)::after { bottom: calc(-1 * var(--fio-gap) - var(--fio-linha) / 2); }
.sala-marco { color: var(--c-tinta-2); font: 400 .75rem/1rem var(--t-mono); letter-spacing: .08em; text-transform: uppercase; }
/* The source step is one line: label, court, case number, date and the link, sealed. */
.fio-selo { align-items: center; }
.fio-selo::before {
  width: var(--fio-selo); height: var(--fio-selo); margin-top: 0; align-self: start;
  translate: 0 calc(var(--fio-linha) / 2 - var(--fio-selo) / 2);
  border-color: var(--c-fonte); background: var(--c-fonte); box-shadow: inset 0 0 0 2px var(--c-papel);
}
.fio-selo > .sala-marco { grid-row: 1; align-self: start; line-height: var(--fio-linha); }
.fio-selo > :not(.sala-marco) { grid-row: 1; margin-left: 4.5rem; }
#view-home .fio h3 {
  margin: 0; color: var(--c-tinta); max-width: 32ch;
  font: var(--t-peso-titulo) clamp(1.375rem, 1.15rem + .6vw, 1.75rem)/1.25 var(--t-titulo); letter-spacing: -.01em;
}
/* The ementa preview: the sourced excerpt in the serif of quoted text. */
.sala-passagem {
  margin: 0; padding: 0; border: 0; max-width: 34ch;
  color: var(--c-tinta); font: 400 clamp(1.0625rem, 1rem + .25vw, 1.1875rem)/1.5 var(--t-serif);
}
.sala-passagem [data-sala-citacao]::before { content: "“"; }
.sala-passagem [data-sala-citacao]::after { content: "”"; }
.sala-passagem [data-sala-omissao], .sala-passagem [data-sala-sem-trecho] { color: var(--c-tinta-2); }
.ed-home :is(.sala-passagem, .sala-ementa) mark { color: inherit; padding: 0 .06em; background: var(--c-grifo); }
.sala-fonte {
  display: inline-flex; flex-wrap: wrap; align-items: baseline; column-gap: var(--s-3); min-height: var(--fio-linha); align-content: center;
  color: var(--c-tinta); text-decoration: none; min-width: 0;
}
.sala-fonte strong { font: 600 1rem/1.4 var(--t-sans); }
.sala-fonte :is([data-sala-processo], time) { color: var(--c-tinta-2); font: 400 .9375rem/1.4 var(--t-mono); font-variant-numeric: var(--t-numeros); overflow-wrap: anywhere; }
.sala-fonte b { color: var(--c-fonte); font: 600 1rem/1.4 var(--t-sans); text-decoration: underline; text-underline-offset: .22em; white-space: nowrap; }
.sala-fonte:hover b { text-decoration-thickness: 2px; }
.sala-sem-registro { color: var(--c-tinta-2); line-height: var(--fio-linha); }
/* The trace: the search terms and the full ementa, one step away. */
.sala-rastro { justify-self: stretch; min-width: 0; max-width: 46rem; margin-left: calc(var(--fio-col) + var(--s-3)); border-top: 1px solid var(--c-fio); }
.sala-rastro > summary { display: list-item; min-height: 44px; padding: .75rem 0; box-sizing: border-box; color: var(--c-tinta); font: 500 .9375rem/1.2 var(--t-sans); cursor: pointer; }
.sala-rastro dl { display: grid; gap: var(--s-2); margin: 0 0 var(--s-4); }
.sala-rastro dt { color: var(--c-tinta-2); font: 400 .75rem/1rem var(--t-mono); letter-spacing: .08em; text-transform: uppercase; margin-top: var(--s-2); }
.sala-rastro dd { margin: 0; }
.sala-rastro code { display: inline-block; padding: var(--s-1) var(--s-2); color: var(--c-tinta); background: var(--c-folha); border: 1px solid var(--c-fio); border-radius: var(--r); font: 400 .9375rem/1.4 var(--t-mono); overflow-wrap: anywhere; }
.sala-ementa { color: var(--c-tinta); font: 400 1rem/1.6 var(--t-serif); max-width: 68ch; }
.sala-seguinte { margin-left: calc(var(--fio-col) + var(--s-3)); }
.sala-pesquisa:not(:has(.ed-transcripts[open])) .sala-caso:first-child .sala-seguinte { display: none; }
/* Keep the layout in place while the example reveals its three lines. */
@media (prefers-reduced-motion: no-preference) {
  .fio[data-fio="aguarda"] > :nth-child(n+2) { opacity: 0; }
  .fio[data-fio="desenha"] > .fio-passo { animation: casa-assenta .3s var(--e-saida) both; }
  .fio[data-fio="desenha"] > :nth-child(2) { animation-delay: .32s; }
  .fio[data-fio="desenha"] > :nth-child(3) { animation-delay: .75s; }
}

/* Notebook: every decision of the example, by area, closed under the thread. */
.sala-caderno { margin-top: var(--s-6); max-width: 50rem; }
.ed-transcripts { margin: 0; border-block: 1px solid var(--c-fio); }
.ed-transcripts > summary { display: list-item; min-height: 44px; padding: .7rem 0; color: var(--c-tinta); font: 500 .9375rem/1.3 var(--t-sans); cursor: pointer; }
.ed-transcripts .demo-chat { margin: var(--s-2) 0 var(--s-4); color: var(--c-tinta); background: var(--c-folha); border: 1px solid var(--c-fio); border-radius: var(--r); }
#view-home .sala-caderno .demo-query { content-visibility: auto; contain-intrinsic-block-size: auto 5rem; }
.ed-transcripts .demo-card { min-width: 0; overflow-wrap: anywhere; }
#view-home .sala-caderno .demo-query p { font-family: var(--t-sans); font-style: normal; color: var(--c-tinta); }
.ed-transcripts :is(.demo-window-title b, .demo-tab, .demo-role, .demo-excerpt-more, .demo-card-cta, .demo-card-cta span, .demo-limits summary) { font-family: var(--t-sans); }
.ed-transcripts .demo-foot + .demo-foot { margin-top: var(--s-2); }

.casa-ida { margin-top: var(--s-5) !important; }

/* ── Forms of search: four main journeys as cards (glyph and name, the app's hint, one example
 * set as a query), two per row from the tablet up; the default one carries the gold rule. The
 * other modes sit in one disclosure below. Nothing in a card is wider than the card. ── */
.casa-formas { min-width: 0; margin-top: clamp(var(--s-7), 2rem + 3vw, var(--s-8)); }
#view-home .casa-formas > h3 { margin: 0 0 var(--s-4); color: var(--c-tinta); font: var(--t-peso-titulo) clamp(1.5rem, 1.25rem + 1vw, 2rem)/1.15 var(--t-titulo); letter-spacing: -.01em; }
.formas {
  list-style: none; margin: 0; padding: 0; display: grid; gap: var(--s-3);
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 17rem), 1fr));
}
.formas > .forma {
  display: grid; grid-template-columns: auto minmax(0, 1fr); grid-template-areas: "icone nome" "dica dica" "exemplo exemplo";
  grid-template-rows: auto auto 1fr; align-items: center; gap: var(--s-2) var(--s-3); min-width: 0;
  padding: var(--s-4); background: var(--c-folha); border: 1px solid var(--c-fio); border-radius: var(--r);
}
.formas > .forma[data-forma="hibrida"] { box-shadow: inset 0 3px 0 var(--c-acao); }
.forma-icone { grid-area: icone; display: grid; place-items: center; width: 2.5rem; height: 2.5rem; border: 1px solid var(--c-fio); border-radius: 50%; color: var(--c-fonte); background: var(--c-papel); }
.forma-icone svg { display: block; width: 1.375rem; height: 1.375rem; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.forma-icone .forma-ponto { fill: currentColor; stroke: none; }
.formas > .forma > b { grid-area: nome; color: var(--c-tinta); font: var(--t-peso-titulo) 1.25rem/1.2 var(--t-titulo); letter-spacing: -.01em; }
.formas > .forma > .forma-dica { grid-area: dica; align-self: start; }
.forma-dica { color: var(--c-tinta-2); font: 400 .9375rem/1.45 var(--t-sans); overflow-wrap: anywhere; }
.forma-exemplo {
  grid-area: exemplo; align-self: end; justify-self: start; max-width: 100%; padding: var(--s-1) var(--s-3);
  color: var(--c-tinta); background: var(--c-papel); border-left: 2px solid var(--c-acao);
  font: italic 400 .9375rem/1.4 var(--t-titulo); overflow-wrap: anywhere;
}
.forma-exemplo--codigo { font: 400 .8125rem/1.4 var(--t-mono); letter-spacing: -.01em; word-break: break-all; }
.forma-exemplo mark { position: relative; z-index: 0; color: inherit; background: none; }
.forma-exemplo mark::before { content: ""; position: absolute; inset: .15em -.08em .05em; z-index: -1; background: var(--c-grifo); transform-origin: left; }
.forma-sinal { color: var(--c-tinta-2); font-family: var(--t-sans); font-style: normal; }
/* The filters the search request takes, as quiet chips under the cards. */
.formas-filtros { margin-top: var(--s-5); }
#view-home .formas-filtros > h4 { margin: 0 0 var(--s-2); color: var(--c-tinta); font: 600 1rem/1.3 var(--t-sans); }
.filtros-lista { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: var(--s-2); }
.filtros-lista > li { padding: .3rem .75rem; color: var(--c-tinta); background: var(--c-folha); border: 1px solid var(--c-fio); border-radius: 999px; font: 400 .875rem/1.4 var(--t-sans); }

/* The drawing that explains the block: a search field, the ways that answer it, the filters that
 * narrow it and the results with the court's link. Every box is reserved and its default is the
 * final frame; the loop (below, only in view and with motion welcome) moves opacity, transform and
 * clip only, so nothing around it shifts. */
.busca-cena { margin: 0 0 var(--s-5); min-width: 0; display: grid; gap: var(--s-2); }
.busca-palco {
  display: grid; gap: var(--s-3); min-width: 0; padding: var(--s-4);
  color: var(--c-tinta); background: var(--c-papel); border: 1px solid var(--c-fio); border-radius: var(--r);
  box-shadow: inset 0 3px 0 var(--c-acao);
}
.busca-palco ul, .busca-palco ol { list-style: none; margin: 0; padding: 0; }
.bp-campo { display: flex; align-items: center; gap: var(--s-2); max-width: none; margin: 0; padding: var(--s-2) var(--s-3); background: var(--c-folha); border: 1px solid var(--c-borda-ctrl, var(--c-fio)); border-radius: 999px; font: 400 .9375rem/1.4 var(--t-sans); }
.bp-campo svg { flex: none; width: 1.125rem; height: 1.125rem; fill: none; stroke: var(--c-fonte); stroke-width: 1.8; stroke-linecap: round; }
.bp-pergunta { min-width: 0; overflow-wrap: anywhere; }
.bp-modos, .bp-filtros { display: flex; flex-wrap: wrap; gap: var(--s-2); }
.bp-modos li { padding: .2rem .65rem; border: 1px solid var(--c-acao); border-radius: 999px; font: 600 .8125rem/1.4 var(--t-sans); }
.bp-modos li:last-child { color: var(--c-acao-tinta); background: var(--c-acao); }
.bp-filtros li { padding: .2rem .65rem; color: var(--c-tinta-2); border: 1px dashed var(--c-borda-ctrl, var(--c-fio)); border-radius: var(--r); font: 400 .8125rem/1.4 var(--t-sans); }
.bp-filtros li::before { content: "▾ "; color: var(--c-fonte); }
.bp-resultados { display: grid; border-top: 1px solid var(--c-fio); }
.bp-resultados li { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 0 var(--s-3); padding: var(--s-2) 0; border-bottom: 1px solid var(--c-fio); font: 400 .8125rem/1.45 var(--t-mono); }
.bp-resultados span { color: var(--c-fonte); font: 600 .8125rem/1.45 var(--t-sans); text-decoration: underline; text-underline-offset: .2em; }
@media (prefers-reduced-motion: no-preference) {
  .busca-cena[data-cena="toca"] .bp-pergunta { animation: bp-digita 12s steps(37, end) both infinite; }
  .busca-cena[data-cena="toca"] .bp-modos li { animation: bp-acende 12s ease both infinite; }
  .busca-cena[data-cena="toca"] .bp-modos li:nth-child(2) { animation-name: bp-acende-2; }
  .busca-cena[data-cena="toca"] .bp-modos li:nth-child(3) { animation-name: bp-acende-3; }
  .busca-cena[data-cena="toca"] .bp-filtros li { animation: bp-filtra 12s ease both infinite; }
  .busca-cena[data-cena="toca"] .bp-resultados li { animation: bp-chega 12s ease both infinite; }
  .busca-cena[data-cena="toca"] .bp-resultados li + li { animation-name: bp-chega-2; }
}
@keyframes bp-digita { 0%, 2% { clip-path: inset(0 100% 0 0); } 20%, 94% { clip-path: inset(0 0 0 0); } 100% { clip-path: inset(0 100% 0 0); } }
@keyframes bp-acende { 0%, 22% { opacity: .25; } 28%, 94% { opacity: 1; } 100% { opacity: .25; } }
@keyframes bp-acende-2 { 0%, 28% { opacity: .25; } 34%, 94% { opacity: 1; } 100% { opacity: .25; } }
@keyframes bp-acende-3 { 0%, 36% { opacity: .25; transform: scale(.94); } 42% { opacity: 1; transform: scale(1.06); } 46%, 94% { opacity: 1; transform: none; } 100% { opacity: .25; } }
@keyframes bp-filtra { 0%, 46% { opacity: 0; transform: translateY(-.4rem); } 54%, 94% { opacity: 1; transform: none; } 100% { opacity: 0; } }
@keyframes bp-chega { 0%, 58% { opacity: 0; transform: translateY(.4rem); } 64%, 94% { opacity: 1; transform: none; } 100% { opacity: 0; } }
@keyframes bp-chega-2 { 0%, 64% { opacity: 0; transform: translateY(.4rem); } 70%, 94% { opacity: 1; transform: none; } 100% { opacity: 0; } }

/* ── Integrations and channels: two named groups, each its list beside its film. The band sits
 * on the second sheet, edge to edge, so it reads apart from the search above it. ── */
.casa-conectores { background: var(--c-folha); box-shadow: 0 0 0 100vmax var(--c-folha); clip-path: inset(0 -100vmax); }
.canal-grupo { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--s-5); }
.canal-grupo + .canal-grupo { margin-top: clamp(var(--s-7), 2rem + 4vw, calc(1.5 * var(--s-8))); }
.canal-texto { display: grid; align-content: start; justify-items: start; gap: var(--s-4); min-width: 0; }
#view-home .canal-texto h3 { margin: 0; color: var(--c-tinta); font: var(--t-peso-titulo) clamp(1.5rem, 1.25rem + 1vw, 2rem)/1.15 var(--t-titulo); letter-spacing: -.01em; }
.conectores { list-style: none; margin: 0; padding: 0; width: 100%; display: grid; grid-template-columns: minmax(0, 1fr); border-top: 1px solid var(--c-fio); }
.conectores > li { display: grid; grid-template-columns: 1.5rem minmax(0, 1fr) auto; align-items: center; column-gap: var(--s-3); min-height: 3.5rem; border-bottom: 1px solid var(--c-fio); }
.conectores a { grid-column: 1 / -1; display: grid; grid-template-columns: subgrid; align-items: center; row-gap: var(--s-1); min-height: 3.5rem; padding-block: var(--s-2); color: inherit; text-decoration: none; }
.conectores b { color: var(--c-tinta); font: 500 1rem/1.3 var(--t-sans); }
.conectores code { color: var(--c-tinta-2); font: 400 .875rem/1.3 var(--t-mono); white-space: nowrap; }
.conector-glifo svg { display: block; width: 1.25rem; height: 1.25rem; fill: none; stroke: var(--c-tinta-2); stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.conector-ver { grid-column: 2 / -1; color: var(--c-fonte); font: 600 .9375rem/1.2 var(--t-sans); text-decoration: underline; text-underline-offset: .22em; }
.conectores a:hover .conector-ver { text-decoration-thickness: 2px; }
.ed-home .plat-strip { margin: 0; padding: 0; background: none; border: 0; box-shadow: none; }
.ed-home .plat-strip .plat-strip-more { margin: 0; padding: 0; color: inherit; font: inherit; text-decoration: inherit; }
/* The assistants as an orbit around the IAJUS mark (decorative; the legend below names them):
 * plugins on the inner solid ring, MCP connectors on the outer dashed ring, hairline spokes.
 * Every position is a share of the square, so the drawing scales with its column and never
 * leaves it; the marks keep their own colours on a paper disc (the cream ink in the dark theme). */
.orbita { position: relative; width: min(100%, 20rem); aspect-ratio: 1; container-type: inline-size; }
.orbita-fios { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; fill: none; stroke: var(--c-tinta-2); stroke-opacity: .45; }
.orbita-fios :is(circle, path) { stroke-width: 1; vector-effect: non-scaling-stroke; }
.orbita-fios .orbita-mcp { stroke-dasharray: 3 4; }
.orbita-centro, .orbita-marca { position: absolute; translate: -50% -50%; display: grid; place-items: center; }
.orbita-centro { left: 50%; top: 50%; width: clamp(2.75rem, 19cqi, 3.75rem); }
.orbita-centro svg { display: block; width: 100%; height: auto; }
.orbita-marca {
  width: 2.75rem; width: clamp(2.25rem, 14cqi, 3rem); aspect-ratio: 1; border-radius: 50%;
  background: var(--c-papel); border: 1px solid var(--c-fio); color-scheme: light;
}
html[data-theme="dark"] .orbita-marca { background: var(--c-tinta); }
.orbita-marca img { display: block; width: 56%; height: auto; max-width: 100%; }
.orbita-marca[data-pos="1"] { left: 30.95%; top: 39%; --vx: 19.05cqi; --vy: 11cqi; }
.orbita-marca[data-pos="2"] { left: 69.05%; top: 61%; --vx: -19.05cqi; --vy: -11cqi; }
.orbita-marca[data-pos="3"] { left: 50%; top: 10%; --vx: 0cqi; --vy: 40cqi; }
.orbita-marca[data-pos="4"] { left: 88.04%; top: 37.64%; --vx: -38.04cqi; --vy: 12.36cqi; }
.orbita-marca[data-pos="5"] { left: 73.51%; top: 82.36%; --vx: -23.51cqi; --vy: -32.36cqi; }
.orbita-marca[data-pos="6"] { left: 26.49%; top: 82.36%; --vx: 23.51cqi; --vy: -32.36cqi; }
.orbita-marca[data-pos="7"] { left: 11.96%; top: 37.64%; --vx: 38.04cqi; --vy: 12.36cqi; }
/* The legend: one ruled row per connection, its key the same line the orbit draws. */
.legenda-fio { display: block; width: 1.25rem; border-top: 1px solid var(--c-tinta-2); }
.legenda-fio.legenda-mcp { border-top-style: dashed; }

/* ── Platform scenes (#14639, owner 22/11/2026): the Studio as a wide workspace, WhatsApp as an
 * upright phone, the assistant as a neutral chat window. Each is a figure whose default is its
 * final frame; sala-pesquisa.js sets data-cena="toca" while it is in view and the loop below
 * replays it gently (opacity and transform only, every box reserved, so nothing below moves). ── */
.cena { margin: 0; min-width: 0; display: grid; gap: var(--s-3); }
.cena-legenda { max-width: 62ch; color: var(--c-tinta-2); font: 400 .875rem/1.5 var(--t-sans); }
.cena-legenda b { display: block; color: var(--c-tinta); font: 600 .9375rem/1.4 var(--t-sans); }
.cena-palco { min-width: 0; color: var(--c-tinta); background: var(--c-papel); border: 1px solid var(--c-fio); border-radius: var(--r); overflow: hidden; }

/* ── IAJUS Studio: the statement and its entry, beside the workspace. The workspace is one link to
 * the Studio sign-in: the whole picture is the target, its hairline turns to ink on hover and the
 * shared gold ring marks keyboard focus. ── */
.studio-print { display: block; color: inherit; text-decoration: none; border-radius: var(--r); cursor: pointer; }
.studio-capture { display: block; aspect-ratio: 1040 / 552; border: 1px solid var(--c-fio); border-radius: var(--r); overflow: hidden; }
.studio-print:hover .studio-capture { border-color: var(--c-tinta); }
/* Keep the conversation and document panel from the 1280 × 800 capture. */
.studio-capture img { display: block; width: calc(100% * 1280 / 1040); max-width: none; height: auto; transform: translateX(-18.75%); }

/* ── WhatsApp: an upright phone. Messenger shapes in the site's own ink and gold, no brand hue. ── */
.cena-whatsapp { width: min(100%, 19rem); }
.zap { display: grid; grid-template-rows: auto 1fr auto; min-height: 30rem; padding: var(--s-2); border: 1px solid var(--c-borda-ctrl); border-radius: 1.75rem; background: var(--c-folha); }
.zap > * { background: var(--c-papel); }
.zap-topo { display: flex; align-items: center; gap: var(--s-2); padding: var(--s-4) var(--s-3) var(--s-2); border-radius: 1.25rem 1.25rem 0 0; border-bottom: 1px solid var(--c-fio); }
.zap-avatar { display: grid; place-items: center; width: 2rem; height: 2rem; border-radius: 50%; color: var(--c-acao-tinta); background: var(--c-acao); font: 600 .75rem/1 var(--t-mono); }
.zap-nome { display: grid; font: 600 .875rem/1.25 var(--t-sans); }
.zap-nome span { color: var(--c-tinta-2); font-weight: 400; font-size: .75rem; }
.zap-conversa { display: grid; align-content: start; gap: var(--s-2); padding: var(--s-3); }
.zap-balao { display: grid; gap: var(--s-2); max-width: 88%; padding: var(--s-2) var(--s-3); border-radius: .75rem; font: 400 .875rem/1.45 var(--t-sans); }
.zap-sai { justify-self: end; background: color-mix(in srgb, var(--c-acao) 22%, var(--c-papel)); border-bottom-right-radius: 2px; }
.zap-entra { justify-self: start; background: var(--c-folha); border: 1px solid var(--c-fio); border-bottom-left-radius: 2px; }
.zap-audio { display: flex; align-items: center; gap: var(--s-2); }
.zap-play { width: 0; height: 0; border-block: .4rem solid transparent; border-left: .65rem solid var(--c-tinta); }
.zap-onda { display: flex; align-items: center; gap: 3px; height: 1.25rem; }
.zap-onda i { display: block; width: 3px; height: 40%; border-radius: 2px; background: var(--c-tinta-2); transform-origin: center; }
.zap-onda i:nth-child(3n+1) { height: 75%; }
.zap-onda i:nth-child(4n+2) { height: 100%; }
.zap-onda i:nth-child(5n) { height: 55%; }
.zap-visto { justify-self: end; width: 1.125rem; height: .75rem; color: var(--c-fonte); }
.zap-digitando { display: flex; gap: 4px; justify-self: start; height: 0; overflow: visible; opacity: 0; }
.zap-digitando i { width: 6px; height: 6px; border-radius: 50%; background: var(--c-tinta-2); }
.zap-fonte { display: grid; gap: 2px; padding: var(--s-2); background: var(--c-papel); border: 1px solid var(--c-fio); border-left: 2px solid var(--c-acao); border-radius: var(--r); }
.zap-fonte b { font: 500 .8125rem/1.35 var(--t-mono); }
.zap-fonte span { color: var(--c-fonte); font: 500 .75rem/1.35 var(--t-sans); }
.zap-campo { display: flex; align-items: center; justify-content: space-between; gap: var(--s-2); margin: 0; padding: var(--s-2) var(--s-3) var(--s-3); border-radius: 0 0 1.25rem 1.25rem; color: var(--c-tinta-2); font: 400 .8125rem/1.3 var(--t-sans); }
.zap-campo span { flex: 1; padding: var(--s-2) var(--s-3); border: 1px solid var(--c-fio); border-radius: 999px; }
.zap-campo svg { width: 1.25rem; height: 1.25rem; }

/* ── The assistant: a neutral chat window; the IAJUS step opens into the search it ran. ── */
.ia-barra, .ia-ferramenta-topo, .ia-ferramenta-corpo > p, .zap-campo, .zap-conversa > p { max-width: none; }
.ia-barra { display: flex; justify-content: space-between; align-items: center; gap: var(--s-3); margin: 0; padding: var(--s-2) var(--s-4); border-bottom: 1px solid var(--c-fio); font: 600 .875rem/1.4 var(--t-sans); }
.ia-barra span { padding: .125rem .5rem; color: var(--c-tinta-2); border: 1px solid var(--c-fio); border-radius: 999px; font: 500 .75rem/1.4 var(--t-mono); }
.ia-conversa { display: grid; gap: var(--s-4); padding: var(--s-4) clamp(var(--s-4), 3vw, var(--s-6)) var(--s-5); }
.ia-pergunta { justify-self: end; max-width: 34rem; padding: var(--s-2) var(--s-4); background: var(--c-folha); border-radius: 1rem 1rem 2px 1rem; font: 400 .9375rem/1.5 var(--t-sans); }
.ia-ferramenta { justify-self: start; width: min(100%, 32rem); border: 1px solid var(--c-fio); border-radius: var(--r); font-family: var(--t-sans); }
.ia-ferramenta-topo { display: flex; align-items: center; gap: var(--s-2); margin: 0; padding: var(--s-2) var(--s-3); font: 600 .8125rem/1.4 var(--t-sans); }
.ia-ponto { width: .5rem; height: .5rem; border-radius: 50%; background: var(--c-acao); }
.ia-seta { width: .875rem; height: .875rem; margin-left: auto; color: var(--c-tinta-2); transform: rotate(90deg); }
.ia-ferramenta-corpo { display: grid; gap: var(--s-2); padding: var(--s-2) var(--s-3) var(--s-3); border-top: 1px solid var(--c-fio); }
.ia-consulta { display: flex; flex-wrap: wrap; gap: 0 var(--s-2); color: var(--c-tinta); font: 400 .8125rem/1.45 var(--t-mono); overflow-wrap: anywhere; }
.ia-consulta span { color: var(--c-tinta-2); }
.ia-filtros { display: flex; flex-wrap: wrap; gap: var(--s-1) var(--s-2); }
.ia-filtros span { padding: .125rem .5rem; color: var(--c-tinta); background: var(--c-folha); border: 1px solid var(--c-fio); border-radius: 999px; font: 400 .75rem/1.4 var(--t-sans); }
.ia-resposta { display: grid; gap: var(--s-3); max-width: 40rem; font: 400 .9375rem/1.55 var(--t-sans); }
/* Plain inline boxes (not atomic): the line never breaks between the sentence and its citation. */
.ia-cita { display: inline; margin-left: .15em; padding: .1em .3em; color: var(--c-acao-tinta); background: var(--c-acao); border-radius: 2px; font: 600 .75rem/1 var(--t-mono); vertical-align: .35em; }
.ia-fontes { list-style: none; margin: 0; padding: 0; display: grid; border-top: 1px solid var(--c-fio); }
.ia-fontes li { display: flex; flex-wrap: wrap; align-items: baseline; gap: 0 var(--s-2); padding-block: var(--s-2); border-bottom: 1px solid var(--c-fio); font: 400 .8125rem/1.45 var(--t-mono); }
.ia-fontes b { color: var(--c-fonte); font-weight: 600; }
.ia-fontes span { margin-left: auto; color: var(--c-fonte); font: 500 .75rem/1.45 var(--t-sans); text-decoration: underline; text-underline-offset: .2em; }

/* ── The loops: only where motion is welcome and only while the scene is in view. Each runs its
 * beats, holds the full frame for reading and eases back; the resting frame is the final one. ── */
@media (prefers-reduced-motion: no-preference) {
  .cena[data-cena="toca"] .studio-chip { animation: cena-pousa-chip 12s ease both infinite; }
  .cena[data-cena="toca"] .studio-precedente { animation: cena-acende 12s ease both infinite; }
  .cena[data-cena="toca"] .studio-visto { animation: cena-visto 12s ease both infinite; }
  .cena[data-cena="toca"] .zap-sai { animation: cena-chega-a 11s ease both infinite; }
  .cena[data-cena="toca"] .zap-onda i { animation: cena-onda 11s ease-in-out both infinite; }
  .cena[data-cena="toca"] .zap-onda i:nth-child(even) { animation-delay: -.2s; }
  .cena[data-cena="toca"] .zap-digitando { animation: cena-digita 11s ease both infinite; }
  .cena[data-cena="toca"] .zap-entra { animation: cena-chega-b 11s ease both infinite; }
  .cena[data-cena="toca"] .zap-fonte { animation: cena-chega-c 11s ease both infinite; }
  .cena[data-cena="toca"] .ia-pergunta { animation: cena-chega-a 13s ease both infinite; }
  .cena[data-cena="toca"] .ia-ferramenta-topo { animation: cena-ferramenta 13s ease both infinite; }
  .cena[data-cena="toca"] .ia-seta { animation: cena-seta 13s ease both infinite; }
  .cena[data-cena="toca"] .ia-ferramenta-corpo { animation: cena-abre 13s ease both infinite; }
  .cena[data-cena="toca"] .ia-resposta > p { animation: cena-resposta 13s ease both infinite; }
  .cena[data-cena="toca"] .ia-fontes { animation: cena-fontes 13s ease both infinite; }
}
@keyframes cena-escreve { 0%, 6% { opacity: 0; } 18%, 92% { opacity: 1; } 98%, 100% { opacity: 0; } }
@keyframes cena-pousa-chip { 0%, 20% { opacity: 0; transform: translateY(-.5rem) scale(.8); } 27% { opacity: 1; transform: scale(1.12); } 32%, 92% { opacity: 1; transform: none; } 98%, 100% { opacity: 0; } }
@keyframes cena-acende { 0%, 24% { opacity: .45; border-left-color: var(--c-borda-ctrl); } 32%, 92% { opacity: 1; border-left-color: var(--c-acao); } 98%, 100% { opacity: .45; border-left-color: var(--c-borda-ctrl); } }
@keyframes cena-visto { 0%, 36% { opacity: 0; transform: scale(.6); } 44%, 92% { opacity: 1; transform: none; } 98%, 100% { opacity: 0; } }
@keyframes cena-chega-a { 0%, 2% { opacity: 0; transform: translateY(.5rem); } 10%, 92% { opacity: 1; transform: none; } 98%, 100% { opacity: 0; } }
@keyframes cena-onda { 0%, 4% { transform: none; } 8% { transform: scaleY(1.4); } 12% { transform: scaleY(.6); } 16%, 100% { transform: none; } }
@keyframes cena-digita { 0%, 14% { opacity: 0; } 18%, 30% { opacity: 1; } 34%, 100% { opacity: 0; } }
@keyframes cena-chega-b { 0%, 32% { opacity: 0; transform: translateY(.5rem); } 40%, 92% { opacity: 1; transform: none; } 98%, 100% { opacity: 0; } }
@keyframes cena-chega-c { 0%, 42% { opacity: 0; transform: translateY(.35rem); } 50%, 92% { opacity: 1; transform: none; } 98%, 100% { opacity: 0; } }
@keyframes cena-ferramenta { 0%, 10% { opacity: 0; } 17%, 92% { opacity: 1; } 98%, 100% { opacity: 0; } }
@keyframes cena-seta { 0%, 20% { transform: none; } 28%, 92% { transform: rotate(90deg); } 98%, 100% { transform: none; } }
@keyframes cena-abre { 0%, 20% { opacity: 0; clip-path: inset(0 0 100% 0); } 32%, 92% { opacity: 1; clip-path: inset(0); } 98%, 100% { opacity: 0; } }
@keyframes cena-resposta { 0%, 38% { opacity: 0; transform: translateY(.4rem); } 46%, 92% { opacity: 1; transform: none; } 98%, 100% { opacity: 0; } }
@keyframes cena-fontes { 0%, 52% { opacity: 0; transform: translateY(.3rem); } 60%, 92% { opacity: 1; transform: none; } 98%, 100% { opacity: 0; } }

/* ── Plans: generated by render_planos.py. A hairline grid of equal cards; the recommended one is
 * a plate in inverted ink with a gold rule; prices in tabular mono. ── */
.planos-home-garantia { max-width: 60ch; margin-bottom: var(--s-5) !important; color: var(--c-tinta-2); font: 400 1rem/1.55 var(--t-sans); }
.planos-home { list-style: none; margin: 0 0 var(--s-4); padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--c-fio); border-left: 1px solid var(--c-fio); }
.plano-home {
  display: flex; flex-direction: column; gap: var(--s-3); min-width: 0; padding: var(--s-5);
  border-right: 1px solid var(--c-fio); border-bottom: 1px solid var(--c-fio);
  transition: box-shadow .18s var(--e-saida);
}
.plano-home:is(:hover, :focus-within) { box-shadow: inset 0 0 0 1px var(--c-borda-ctrl); }
#view-home .plano-home-nome { margin: 0; color: inherit; font: var(--t-peso-titulo) 1.75rem/1.1 var(--t-titulo); letter-spacing: -.01em; }
.plano-home-selo { order: -1; color: var(--c-tinta); font: 500 .75rem/1.4 var(--t-mono); letter-spacing: .12em; text-transform: uppercase; }
.plano-home-publico { color: var(--c-tinta-2); font: 400 .9375rem/1.45 var(--t-sans); }
.plano-home-preco { display: flex; flex-wrap: wrap; align-items: baseline; gap: 0 var(--s-2); padding-block: var(--s-2); border-block: 1px solid var(--c-fio); }
.plano-home-valor { color: inherit; font: 500 1.5rem/1.2 var(--t-titulo); font-optical-sizing: auto; font-variant-numeric: var(--t-numeros); }
.plano-home-ciclo { color: var(--c-tinta-2); font: 400 .875rem/1.5 var(--t-mono); }
.plano-home-limites { display: grid; gap: var(--s-2); margin: 0; }
.plano-home-limites > div { display: grid; gap: 2px; }
.plano-home-limites dt { color: var(--c-tinta-2); font: 400 .75rem/1.4 var(--t-mono); letter-spacing: .06em; text-transform: uppercase; }
.plano-home-limites dd { margin: 0; color: inherit; font: 400 .9375rem/1.45 var(--t-sans); }
.plano-home-limites div:not(:last-child) dd { font-family: var(--t-mono); font-variant-numeric: var(--t-numeros); }
.plano-home .marca { display: inline-block; padding: 0 .35em; border: 1px solid currentColor; border-radius: 2px; font: 400 .6875rem/1.5 var(--t-mono); letter-spacing: .04em; text-transform: uppercase; white-space: nowrap; vertical-align: .1em; }
.plano-home-acao { margin-top: auto !important; padding-top: var(--s-2); }
/* The recommended plan: its eyebrow first and a 3px gold rule on top (gold only as a rule on paper). */
.plano-home--destaque { box-shadow: inset 0 3px 0 var(--c-acao); }
.plano-home--destaque:is(:hover, :focus-within) { box-shadow: inset 0 3px 0 var(--c-acao), inset 0 0 0 1px var(--c-borda-ctrl); }

/* ── Entrances (sala-pesquisa.js marks bands below the first screen): the heading rises 10px and
 * the band's hairline draws; the product settles (transform only: a film or a drawn screen is
 * never hidden while it waits) and the Studio's draft plays request, search, draft, review. ── */
@media (prefers-reduced-motion: no-preference) {
  .casa-faixa[data-entrada="espera"] :is(.casa-cabeca, .canal-texto) { opacity: 0; }
  .casa-faixa[data-entrada="espera"] .studio-capture { transform: translateY(24px) scale(.985); }
  .casa-faixa[data-entrada="espera"]::before { transform: scaleX(0); }
  .casa-faixa[data-entrada="feita"] :is(.casa-cabeca, .canal-texto) { animation: casa-sobe .42s var(--e-saida) both; }
  .casa-faixa[data-entrada="feita"] .studio-capture { animation: casa-pousa .7s var(--e-saida) .08s both; }
  .casa-faixa[data-entrada="feita"]::before { transform-origin: left; animation: casa-fio .42s var(--e-saida) both; }
  /* The orbit: the rings turn into place and each mark travels out from the IAJUS mark to its
   * ring, plugins first. Transform only, once; seen whole before and after. */
  .orbita[data-entrada="feita"] .orbita-fios { animation: orbita-gira 1.1s var(--e-saida) both; }
  .orbita[data-entrada="feita"] .orbita-marca { animation: orbita-chega .8s var(--e-saida) both; animation-delay: calc(.15s + var(--ordem, 0) * .09s); }
  .orbita-marca[data-pos="2"] { --ordem: 1; }
  .orbita-marca[data-pos="3"] { --ordem: 2; }
  .orbita-marca[data-pos="4"] { --ordem: 3; }
  .orbita-marca[data-pos="5"] { --ordem: 4; }
  .orbita-marca[data-pos="6"] { --ordem: 5; }
  .orbita-marca[data-pos="7"] { --ordem: 6; }
  /* The forms of search: each card settles in turn, the highlight is drawn, the dot lands. */
  .casa-formas[data-entrada="feita"] .formas > .forma { animation: casa-pousa .6s var(--e-saida) both; }
  .casa-formas[data-entrada="feita"] .formas > .forma:nth-child(2) { animation-delay: .06s; }
  .casa-formas[data-entrada="feita"] .formas > .forma:nth-child(3) { animation-delay: .12s; }
  .casa-formas[data-entrada="feita"] .formas > .forma:nth-child(4) { animation-delay: .18s; }
  .casa-formas[data-entrada="feita"] .forma-exemplo mark::before { animation: casa-grifo .5s var(--e-saida) .5s both; }
  .casa-formas[data-entrada="feita"] .forma-ponto { transform-box: fill-box; transform-origin: center; animation: forma-ponto .5s var(--e-saida) .45s both; }
}
@keyframes orbita-gira { from { opacity: 0; transform: rotate(-24deg) scale(.9); } }
@keyframes orbita-chega { from { transform: translate(var(--vx, 0), var(--vy, 0)) scale(.4); } }
@keyframes forma-ponto { from { transform: scale(0); } }
@keyframes casa-sobe { from { opacity: 0; transform: translateY(10px); } }
@keyframes casa-pousa { from { transform: translateY(24px) scale(.985); } }
@keyframes casa-fio { from { transform: scaleX(0); } }

/* ── Questions ── */
.casa-faq .faq-list { max-width: 52rem; margin: 0; }
.casa-faq .faq-item { margin: 0; border: 0; border-top: 1px solid var(--c-fio); border-radius: 0; background: none; }
.casa-faq .faq-item:last-child { border-bottom: 1px solid var(--c-fio); }
.casa-faq .faq-item summary { padding-inline: 0 var(--s-6); font-family: var(--t-sans); }
.casa-faq .faq-item p a { color: var(--c-fonte); text-decoration: underline; text-underline-offset: .2em; }

/* ── Desktop: the statement holds still on the left while its product scrolls on the right ── */
@media (min-width: 1000px) {
  .sala-pesquisa.casa-faixa, .casa-studio.casa-faixa { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); column-gap: clamp(var(--s-6), 4.5vw, var(--s-8)); align-items: start; }
  :is(.sala-pesquisa, .casa-studio).casa-faixa > .casa-cabeca { grid-column: 1; grid-row: 1 / span 3; margin-bottom: 0; position: sticky; top: calc(var(--topbar-h, 64px) + var(--s-6)); }
  :is(.sala-pesquisa, .casa-studio).casa-faixa > :not(.casa-cabeca) { grid-column: 2; }
  .canal-grupo { grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); column-gap: clamp(var(--s-6), 4.5vw, var(--s-8)); align-items: start; }
  .canal-texto { position: sticky; top: calc(var(--topbar-h, 64px) + var(--s-6)); }
  /* Each group's drawn scene sits beside its text column. */
  .canal-grupo > .cena { grid-column: 2; }
}
/* The Studio's sheet and its sources panel stack where the panel would be too narrow. */
@media (max-width: 760px) {
  .studio-mesa { grid-template-columns: minmax(0, 1fr); }
  .studio-fontes { border-left: 0; border-top: 1px solid var(--c-fio); }
}

/* ── Tablet ── */
@media (max-width: 999px) {
  .casa-dobra { grid-template-columns: minmax(0, 1fr); padding-block: var(--s-6) var(--s-7); gap: var(--s-6); }
  /* Two rows of two figures, a two-line label at 320px included (144px measured on 24/11/2026). */
  .casa-totais { --casa-numeros-h: 9.5rem; }
  .casa-numeros { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .casa-fontes { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .casa-fonte--jurisprudencia { grid-column: 1 / -1; }
  .planos-home { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
/* ── Phone: header, title, proposition, the one action, the film tabs and the start of the player in the first screen;
 * the three destinations right after it ── */
@media (max-width: 640px) {
  .casa-dobra { padding-block: var(--s-4) var(--s-6); gap: var(--s-4); }
  #view-home header.sala-comando { gap: var(--s-3); }
  .casa-sub { line-height: 1.45; }
  .casa-totais { --casa-pad: var(--s-6); }
  .casa-acoes { margin-top: 0 !important; }
  .casa-cabeca { margin-bottom: var(--s-5); }
  /* Two columns on a phone: an eleven-character figure («100.000.000») fits its column at any
   * width down to 320px, and wraps at a separator rather than leave the screen if a fallback face
   * is wider than Plex Mono. */
  .casa-numeros :is(dd, .casa-contagem) { font-size: min(1.75rem, calc((50vw - 3rem) / 6.6)); white-space: normal; overflow-wrap: anywhere; }
  .casa-totais { --casa-fonte-h: 2.625rem; }
  /* By source on a phone: two cells a row, the figure under its label, so twelve rows read as six. */
  .casa-fontes { grid-template-columns: minmax(0, 1fr); gap: var(--s-4); }
  .casa-fonte dl, .casa-fonte--jurisprudencia dl { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: var(--s-4); }
  .casa-fonte dl > div { display: grid; justify-content: start; gap: 2px; }
  .casa-destinos ol { grid-template-columns: minmax(0, 1fr); }
  .casa-destinos li + li { border-left: 0; border-top: 1px solid var(--c-fio); }
  .casa-destinos a { grid-template-columns: auto auto minmax(0, 1fr); padding: var(--s-3) 0; min-height: 3.25rem; align-items: baseline; }
  .casa-destinos a::before { grid-row: auto; }
  .casa-destinos span { grid-column: auto; }
  .sala-caso { --fio-col: 14px; }
  .fio { --fio-anel: 8px; --fio-gap: var(--s-3); }
  .fio-selo { align-items: start; }
  .fio-selo > .sala-marco { grid-row: 1; }
  .fio-selo > :not(.sala-marco) { grid-row: 2; margin-left: 0; }
  .fio-passo:has(+ .fio-selo)::after { bottom: calc(-1 * var(--fio-gap) - var(--fio-linha) / 2); }
  .sala-passagem { font-size: 1.0625rem; }
  .sala-areas a { padding-inline: var(--s-2); }
  .planos-home { grid-template-columns: minmax(0, 1fr); }
  .plano-home { padding: var(--s-4); }
}
/* 200% zoom on a phone (about 195px): titles step down and lists stack. */
@media (max-width: 280px) {
  .public-br #view-home .casa-faixa h2 { font-size: 1.45rem; }
  .public-br #view-home .sala-comando h1 { font-size: 2rem; }
  .casa-numeros { grid-template-columns: minmax(0, 1fr); min-height: 0; }
  .conectores > li, .conectores a { grid-template-columns: 1.25rem minmax(0, 1fr); }
  .conectores code { grid-column: 2; white-space: normal; overflow-wrap: anywhere; }
  .casa-destinos a { grid-template-columns: auto minmax(0, 1fr); }
  .casa-destinos span { grid-column: 2; }
  .ed-transcripts :is(.demo-window-badge, .demo-excerpt-more) { white-space: normal; }
  .ed-transcripts .demo-window-head { flex-wrap: wrap; }
}
