/* Fontes hospedadas no próprio site (Inter e Libre Caslon Text, licença SIL OFL), sem chamar o Google a cada visita. */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(../fontes/inter-latin-ext-0.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(../fontes/inter-latin-1.woff2) format('woff2');
  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;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(../fontes/inter-latin-ext-0.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(../fontes/inter-latin-1.woff2) format('woff2');
  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;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(../fontes/inter-latin-ext-0.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(../fontes/inter-latin-1.woff2) format('woff2');
  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;
}
@font-face {
  font-family: 'Libre Caslon Text';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(../fontes/libre-caslon-text-latin-ext-2.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Libre Caslon Text';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(../fontes/libre-caslon-text-latin-3.woff2) format('woff2');
  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;
}
@font-face {
  font-family: 'Libre Caslon Text';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(../fontes/libre-caslon-text-latin-ext-4.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Libre Caslon Text';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(../fontes/libre-caslon-text-latin-5.woff2) format('woff2');
  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;
}

/* =========================================================================
   SIGA / site institucional, versão 5
   Cores e tipos seguem o Brandbook SIGA (nov. 2026). Gradiente só na logo.
   Movimento: um momento orquestrado na abertura (Motion) e animações que
   respondem à pessoa (rolagem, hover, escolhas). Sem entradas genéricas.
   Sem JavaScript, ou com movimento reduzido, tudo aparece no estado final.
   ========================================================================= */

:root {
  --navy: #071C37;
  --navy-2: #0B2546;
  --branco: #FFFFFF;
  --gelo: #F3F5F8;
  --ouro-claro: #F8CF97;
  --ouro: #C99A5B;
  --ouro-escuro: #8B653C;
  --texto-suave: rgba(7, 28, 55, .74);
  --texto-apagado: rgba(7, 28, 55, .24);
  --linha: rgba(7, 28, 55, .14);
  --linha-forte: rgba(7, 28, 55, .3);
  --claro-suave: rgba(255, 255, 255, .78);
  --claro-linha: rgba(255, 255, 255, .16);

  --fonte-titulo: "Libre Caslon Text", Georgia, "Times New Roman", serif;
  --fonte-ui: Inter, "Segoe UI", Arial, sans-serif;
  --fonte-texto: Inter, "Segoe UI", Arial, sans-serif;
  --t-display: clamp(2.5rem, 1.55rem + 3.7vw, 4.5rem);
  --t-titulo: clamp(2rem, 1.45rem + 2.1vw, 3.25rem);
  --t-item: clamp(1.1875rem, 1.1rem + .35vw, 1.375rem);
  --t-subtitulo: clamp(1.125rem, 1.05rem + .35vw, 1.3125rem);
  --t-texto: 1.0625rem;
  --t-nota: .9375rem;

  --largura: 1200px;
  --respiro: clamp(20px, 5vw, 40px);
  --secao: clamp(88px, 11vw, 144px);
  --topo: 84px;
  --raio: 4px;
  --rapido: .25s;
  --saida: cubic-bezier(.2, .8, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: var(--topo); -webkit-text-size-adjust: 100%; }
button, select, summary, label[for], [role="button"] { cursor: pointer; }
body { margin: 0; font: 400 var(--t-texto)/1.65 var(--fonte-texto); color: var(--navy); background: var(--branco); overflow-x: clip; text-wrap: pretty; } /* quebra de linha sem palavra sozinha na última linha */
img, svg { display: block; max-width: 100%; }
h1, h2, h3, h4, p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
a { color: inherit; }
button, select { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--ouro); outline-offset: 3px; }
.secao :focus-visible, .contato :focus-visible { outline-color: var(--navy); }
.processo-secao :focus-visible { outline-color: var(--ouro); }

.container { width: min(100% - 2 * var(--respiro), var(--largura)); margin-inline: auto; }
.pular { position: absolute; left: 16px; top: -60px; z-index: 100; padding: 10px 16px; background: var(--ouro-claro); color: var(--navy); font-weight: 600; text-decoration: none; }
.pular:focus { top: 12px; }

/* ---------- Tipografia ---------- */
.titulo-display { font: 400 var(--t-display)/1.08 var(--fonte-titulo); letter-spacing: -.015em; text-wrap: balance; }
.titulo { font: 400 var(--t-titulo)/1.12 var(--fonte-titulo); letter-spacing: -.01em; text-wrap: balance; }
.titulo-item { display: block; font: 400 var(--t-item)/1.35 var(--fonte-titulo); letter-spacing: 0; }
.subtitulo { font: 400 var(--t-subtitulo)/1.55 var(--fonte-texto); color: var(--texto-suave); max-width: 46ch; margin-top: 20px; text-wrap: pretty; }
.subtitulo--claro { color: var(--claro-suave); }
.texto { display: block; color: var(--texto-suave); text-wrap: pretty; }
.nota { font-size: var(--t-nota); line-height: 1.5; color: var(--texto-suave); }
.cabeca { margin-bottom: clamp(40px, 6vw, 72px); }

/* ---------- Botões e links ---------- */
.botao {
  --b-fundo: transparent; --b-texto: var(--navy); --b-borda: transparent; --b-fill: var(--branco); --b-fill-texto: var(--navy);
  position: relative; isolation: isolate; overflow: hidden; display: inline-flex; align-items: center; justify-content: center;
  min-height: 52px; padding: 0 24px; border-radius: var(--raio); background: var(--b-fundo); color: var(--b-texto); border: 1.5px solid var(--b-borda);
  font: 600 1rem var(--fonte-ui); text-decoration: none; cursor: pointer;
  transition: color var(--rapido) ease-in-out, border-color var(--rapido) ease-in-out;
}
.botao::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--b-fill); transform: scaleX(0); transform-origin: left; transition: transform .3s ease-in-out; }
.botao:hover, .botao:focus-visible { color: var(--b-fill-texto); border-color: var(--b-fill); }
.botao:hover::before, .botao:focus-visible::before { transform: scaleX(1); }
.botao--ouro { --b-fundo: var(--ouro); --b-texto: var(--navy); --b-borda: var(--ouro); }
.botao--linha-clara { --b-texto: var(--branco); --b-borda: rgba(255, 255, 255, .45); }
.abertura .botao--linha-clara { --b-fundo: rgba(7, 28, 55, .6); }
.botao--pequeno { min-height: 44px; padding: 0 20px; font-size: .9375rem; }
.acoes { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 40px; }
.link-seta { display: inline-flex; align-items: center; min-height: 44px; font: 600 .9375rem var(--fonte-ui); color: var(--navy); text-decoration: underline; text-decoration-thickness: 1.5px; text-underline-offset: 6px; text-decoration-color: var(--linha-forte); transition: text-decoration-color var(--rapido), text-underline-offset var(--rapido); }
.link-seta:hover, .link-seta:focus-visible { text-decoration-color: currentColor; text-underline-offset: 4px; }
.link-animado { text-decoration: none; background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat; transition: background-size var(--rapido) ease-in-out, color var(--rapido); }
.link-animado:hover, .link-animado:focus-visible { background-size: 100% 1px; color: var(--branco); }

/* ---------- Cabeçalho ---------- */
.topo { position: fixed; inset: 0 0 auto; z-index: 50; color: var(--branco); border-bottom: 1px solid transparent; transition: background-color .3s ease-in-out, border-color .3s ease-in-out; }
.topo.is-rolado { background: var(--navy); border-bottom-color: var(--claro-linha); }
.topo__linha { display: flex; align-items: center; justify-content: space-between; height: var(--topo); }
.topo__marca { display: inline-flex; align-items: center; min-height: 44px; }
.topo__marca img { width: auto; height: 24px; }
.nav { display: flex; align-items: center; gap: 32px; }
.nav__lista { display: flex; gap: 32px; }
.nav__link { position: relative; display: block; padding: 8px 0; font: 500 .9375rem var(--fonte-ui); color: var(--claro-suave); text-decoration: none; transition: color var(--rapido) ease-in-out; }
.nav__link::after { content: ""; position: absolute; left: 0; right: 0; bottom: 2px; height: 1.5px; background: var(--ouro-claro); transform: scaleX(0); transform-origin: center; transition: transform var(--rapido) ease-in-out; }
.nav__link:hover, .nav__link.is-atual { color: var(--branco); }
.nav__link:hover::after, .nav__link.is-atual::after { transform: scaleX(1); }
.topo__menu { display: none; }

/* ---------- Abertura: logo grande ao fundo, montada por uma seta ---------- */
.abertura { position: relative; isolation: isolate; overflow: hidden; container-type: inline-size; display: flex; align-items: center; min-height: max(640px, 100svh); padding: calc(var(--topo) + 48px) 0 96px; background: var(--navy); color: var(--branco); }
.abertura::before { content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none; opacity: var(--veu, 1); background: linear-gradient(90deg, rgba(7, 28, 55, .94) 0%, rgba(7, 28, 55, .7) 32%, rgba(7, 28, 55, 0) 50%); }
/* A logo ocupa o espaço livre à direita do texto (--texto-direita vem do site.js; sem JS, metade da tela). */
.abertura__palco { --livre: calc(100cqw - var(--texto-direita, 50cqw) - 48px); --d: clamp(400px, min(72vh, var(--livre) - 40px), 680px); position: absolute; z-index: 0; width: var(--d); aspect-ratio: 1; left: calc(var(--texto-direita, 50cqw) + 40px + (var(--livre) - var(--d)) / 2); top: calc(50% - var(--d) / 2 + 24px); }
.orbita { position: absolute; left: 50%; top: 50%; width: 161.3%; max-width: none; height: 161.3%; translate: calc(-50% + var(--ox, 0px)) calc(-50% + var(--oy, 0px)); overflow: visible; pointer-events: none; }
.marca { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; translate: var(--mx, 0px) var(--my, 0px); cursor: pointer; -webkit-tap-highlight-color: transparent; }
.marca__letra, .marca__triangulo { transform-box: fill-box; transform-origin: 50% 100%; }
.marca__cometa { stroke-dasharray: 4 96; }
.marca__cometa--rastro { stroke-dasharray: 14 86; stroke-opacity: .4; }
.abertura__grade { position: relative; z-index: 2; }
.abertura__texto { max-width: 640px; }
.abertura .titulo-display { max-width: 13ch; }
.abertura .subtitulo { max-width: 38ch; }
.palavra { display: inline-block; overflow: hidden; vertical-align: top; padding: .04em .04em .38em; margin: -.04em -.04em -.38em; }
.palavra > .palavra__in { display: inline-block; }

/* Sem o Motion (ou com movimento reduzido) a logo aparece pronta e inteira. */
.marca__rastro, .marca__seta, .marca__clarao, .marca__luz { display: none; }
.mv-svg .marca__rastro, .mv-svg .marca__seta, .mv-svg .marca__clarao, .mv-svg .marca__luz { display: inline; }

/* Antes do módulo carregar, esconde o que vai ser montado (depois o módulo usa atributos). */
.mv:not(.mv-svg) .marca__anel, .mv:not(.mv-svg) .marca__letra, .mv:not(.mv-svg) .marca__triangulo, .mv:not(.mv-svg) .marca__descritor { opacity: 0; }
.mv:not(.mv-svg) .orbita__ondas, .mv:not(.mv-svg) .orbita__marcas, .mv:not(.mv-svg) .orbita__ponta { opacity: 0; }
.mv:not(.mv-svg) .orbita__arco { stroke-dashoffset: 100; }

@property --fx { syntax: "<length>"; inherits: false; initial-value: 0px; }
@property --fy { syntax: "<length>"; inherits: false; initial-value: 0px; }
@property --furo { syntax: "<length>"; inherits: false; initial-value: 0px; }

/* Entrada: com movimento, o hero fica preso na tela por mais 100% de rolagem;
   nesse trecho a logo cresce e o miolo do anel vira uma janela para a próxima seção, que já está por baixo. */
.mv .entrada { height: calc(100vh + 100vh); height: calc(100lvh + 100vh); }
/* Altura da tela com a barra do navegador recolhida (100lvh): no celular, ao rolar, a barra encolhe e o topo continua cobrindo a tela inteira */
.mv .abertura { position: sticky; top: 0; z-index: 2; height: 100vh; height: 100lvh; min-height: 0; }
/* A seção seguinte sobe por baixo do hero; o miolo do anel vira uma janela para ela (--fx, --fy, --furo vêm do efeitos.js). */
.mv .entrada + .secao { z-index: 1; margin-top: -100vh; scroll-margin-top: calc(-1 * var(--topo)); min-height: 100vh; min-height: 100lvh; display: flex; flex-direction: column; justify-content: center; } /* o link do menu cai no fim da travessia */
.abertura.tem-janela { -webkit-mask-image: radial-gradient(circle at var(--fx) var(--fy), transparent var(--furo), #000 calc(var(--furo) + 1px)); mask-image: radial-gradient(circle at var(--fx) var(--fy), transparent var(--furo), #000 calc(var(--furo) + 1px)); }

/* ---------- Seções ---------- */
.secao { padding: var(--secao) 0; }
.secao--gelo { background: var(--gelo); }

/* ---------- Para quem: três perfis, cada um com o seu título ---------- */
/* O triângulo de dentro do A (a única forma dourada da seção) marca o perfil em foco. */
.publicos { position: relative; }
.publicos__lista { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: clamp(28px, 4vw, 56px); }
.publico { position: relative; display: grid; grid-row: span 3; grid-template-rows: subgrid; row-gap: 0; padding-top: 32px; border-top: 1px solid var(--linha-forte); }
.publico::before { content: ""; position: absolute; left: 0; right: 0; top: -1px; height: 2px; background: var(--navy); transform: scaleX(0); transform-origin: left; transition: transform .9s var(--saida); }
.publico.is-ativo::before, :root:not(.mv) .publico:hover::before, :root:not(.mv) .publico:focus-within::before { transform: scaleX(1); }
.publico__titulo { font: 400 clamp(1.625rem, 1.05rem + 1.3vw, 2.25rem)/1.12 var(--fonte-titulo); letter-spacing: -.01em; text-wrap: balance; align-self: end; }
.publico__texto { margin-top: 14px; max-width: 32ch; color: var(--texto-suave); text-wrap: pretty; }
.publico__link { justify-self: start; align-self: start; margin-top: 18px; transition-duration: .6s; }
.publico__link::after { content: ""; position: absolute; inset: 0; } /* a coluna inteira leva aos serviços */
.publicos__marca { position: absolute; z-index: 1; left: 0; top: -16.5px; width: 18px; height: 16.5px; opacity: 0; pointer-events: none; }
.publicos__marca svg { width: 100%; height: 100%; }
:root:not(.mv) .publicos__marca { opacity: 1; }
@media (min-width: 961px) { .publicos__lista { container-type: inline-size; } .publico__titulo { font-size: clamp(1.5rem, 2.7cqi, 2.25rem); } }

/* ---------- Serviços: índice tipográfico ---------- */
.filtros { display: flex; flex-wrap: wrap; align-items: center; gap: 0 32px; border-bottom: 1px solid var(--linha-forte); margin-bottom: 8px; }
.filtro { position: relative; min-height: 52px; padding: 0; border: 0; background: none; font: 600 1rem var(--fonte-ui); color: var(--texto-suave); cursor: pointer; transition: color var(--rapido); }
.filtro::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 3px; background: var(--navy); transform: scaleX(0); transform-origin: left; transition: transform .3s ease-in-out; }
.filtro:hover, .filtro[aria-pressed="true"] { color: var(--navy); }
.filtro[aria-pressed="true"]::after { transform: scaleX(1); }
.so-leitor { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.servico[hidden] { display: none; }
.servico__linha { position: relative; isolation: isolate; display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 24px; padding: 24px 16px; border-bottom: 1px solid var(--linha); text-decoration: none; transition: color .35s ease .12s; }
.servico__linha::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--navy); transform: scaleX(0); transform-origin: left; transition: transform .85s cubic-bezier(.65, 0, .25, 1); }
.servico__nome { font: 400 clamp(1.25rem, 1rem + 1vw, 1.875rem)/1.25 var(--fonte-titulo); letter-spacing: -.01em; transition: transform .8s var(--saida); }
.servico__linha:hover, .servico__linha:focus-visible { color: var(--branco); }
.servico__linha:hover::before, .servico__linha:focus-visible::before { transform: scaleX(1); }
.servico__linha:hover .servico__nome, .servico__linha:focus-visible .servico__nome { transform: translateX(12px); }

/* ---------- Como trabalhamos: linha do tempo fixa na rolagem ---------- */
.processo-secao { position: relative; background: var(--navy); color: var(--branco); height: 300vh; }
.processo-fixo { position: sticky; top: 0; height: 100vh; display: flex; align-items: center; padding-top: var(--topo); overflow: hidden; }
.processo { position: relative; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 40px; padding-top: 48px; }
.processo__linha { position: absolute; left: 0; right: 0; top: 0; height: 2px; background: var(--claro-linha); }
.processo__linha span { display: block; height: 100%; background: var(--ouro); transform: scaleX(var(--progresso, 1)); transform-origin: left; }
.etapa { position: relative; opacity: .66; transition: opacity .45s ease; }
.etapa::before { content: ""; position: absolute; top: -55px; left: 0; width: 16px; height: 16px; border-radius: 50%; background: var(--navy); border: 2px solid var(--claro-linha); transition: background-color .3s ease, border-color .3s ease, transform .4s var(--saida); }
.etapa.is-ativa { opacity: 1; }
.etapa.is-ativa::before { background: var(--ouro); border-color: var(--ouro); transform: scale(1.25); }
.etapa__ordem { font: 600 var(--t-nota) var(--fonte-ui); color: var(--ouro-claro); }
.etapa__titulo { margin-top: 8px; font: 400 clamp(1.5rem, 1.1rem + 1.2vw, 2.25rem)/1.12 var(--fonte-titulo); letter-spacing: -.01em; }
.etapa__texto { margin-top: 12px; color: var(--claro-suave); max-width: 24ch; }
.processo__fim { margin-top: 64px; font: 400 clamp(1.25rem, 1rem + 1vw, 1.75rem) var(--fonte-titulo); color: var(--ouro-claro); opacity: var(--fim, 1); transform: translateY(calc((1 - var(--fim, 1)) * 16px)); }
:root:not(.mv) .processo-secao { height: auto; }
:root:not(.mv) .processo-fixo { position: static; height: auto; padding: var(--secao) 0; }
:root:not(.mv) .etapa { opacity: 1; }
:root:not(.mv) .etapa::before { background: var(--ouro); border-color: var(--ouro); }

/* ---------- Como trabalhamos: o anel do ciclo ---------- */
/* Um mostrador com o anel da logo no pé da tela fixa. O arco dourado, com a ponta da seta da logo,
   percorre o anel com a rolagem e acende um ponto embaixo de cada etapa; no fim, segue em frente. */
.processo-fixo { container-type: inline-size; --vis: min(28vh, 250px); padding-bottom: var(--vis); }
.processo-fixo > .container { position: relative; z-index: 1; }
.ciclo { --w: min(150cqw, 2400px); position: absolute; z-index: 0; left: 50%; top: calc(100% - var(--vis) - var(--w) * .06 + 8px); width: var(--w); max-width: none; height: auto; aspect-ratio: 1; translate: -50% 0; overflow: visible; pointer-events: none; }
:root:not(.mv) .processo-fixo { position: relative; padding-bottom: calc(var(--secao) + var(--vis)); }

/* ---------- Quem somos ---------- */
.quem__palavra { margin: 0 0 clamp(24px, 4vw, 48px) -.04em; font: 700 clamp(5rem, 2.4rem + 9.5vw, 11rem)/1.05 var(--fonte-titulo); letter-spacing: -.05em; }
.quem__siga { --fill: 1; display: inline-block; padding: 0 .04em .1em; color: transparent; -webkit-text-stroke: 2px var(--ouro); background: linear-gradient(var(--ouro), var(--ouro)) 0 100% / 100% calc(var(--fill) * 100%) no-repeat; -webkit-background-clip: text; background-clip: text; }
.mv .quem__siga { --fill: 0; }
.quem { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: clamp(40px, 7vw, 112px); align-items: start; }
.pessoas { padding-top: 6px; }
.pessoas__titulo { font: 600 var(--t-nota) var(--fonte-ui); color: var(--texto-suave); padding-bottom: 12px; border-bottom: 2px solid var(--navy); }
.pessoa { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 20px 0; border-bottom: 1px solid var(--linha); }
.pessoa .nota { font-variant-numeric: tabular-nums; margin-top: 2px; }

/* ---------- Dúvidas ---------- */
.editorial { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(40px, 7vw, 112px); align-items: start; }
.editorial__cabeca { position: sticky; top: calc(var(--topo) + 40px); }
.editorial__cabeca .link-seta { margin-top: 20px; }
.faq__item { border-top: 1px solid var(--linha-forte); }
.faq__item:last-child { border-bottom: 1px solid var(--linha-forte); }
.faq__item summary { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 24px 0; cursor: pointer; list-style: none; }
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item .titulo-item { font-size: clamp(1.0625rem, 1rem + .25vw, 1.1875rem); transition: color var(--rapido); }
.faq__item summary:hover .titulo-item { color: var(--ouro-escuro); }
.faq__icone { position: relative; flex: none; width: 16px; height: 16px; }
.faq__icone::before, .faq__icone::after { content: ""; position: absolute; left: 0; top: 7px; width: 16px; height: 2px; background: var(--navy); transition: transform .3s ease; }
.faq__icone::after { transform: rotate(90deg); }
.faq__item[open] .faq__icone::after { transform: rotate(0deg); }
.faq__resposta { padding: 0 40px 24px 0; }

/* ---------- Contato ---------- */
.contato { background: var(--ouro); color: var(--navy); padding: var(--secao) 0; }
.contato__grade { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(40px, 7vw, 112px); align-items: end; }
.contato__titulo { display: block; overflow: hidden; padding-bottom: .12em; min-height: 3.4em; }
.contato__frase { display: inline-block; }
.campo { display: grid; gap: 8px; }
.campo__rotulo { font: 600 .9375rem var(--fonte-ui); }
.campo select { appearance: none; width: 100%; min-height: 56px; padding: 0 48px 0 16px; border: 1.5px solid var(--navy); border-radius: var(--raio); background: var(--branco) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='9' viewBox='0 0 14 9'%3E%3Cpath d='M1 1l6 6 6-6' fill='none' stroke='%23071C37' stroke-width='2'/%3E%3C/svg%3E") no-repeat right 18px center; color: var(--navy); cursor: pointer; }
/* Assunto: onde o navegador permite (Chrome e Edge), a lista abre num painel navy da SIGA;
   a opção escolhida leva o triângulo do A. Nos outros, fica a lista nativa. */
@supports (appearance: base-select) {
  .campo select, .campo select::picker(select) { appearance: base-select; }
  .campo select { display: flex; align-items: center; gap: 12px; padding: 0 18px 0 16px; background-image: none; font: 500 1rem var(--fonte-texto); transition: border-color .2s ease; }
  .campo select:hover { border-color: var(--navy-2); }
  .campo select::picker-icon { content: ""; width: 14px; height: 9px; margin-left: auto; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='9' viewBox='0 0 14 9'%3E%3Cpath d='M1 1l6 6 6-6' fill='none' stroke='%23071C37' stroke-width='2'/%3E%3C/svg%3E") no-repeat center / contain; transition: rotate .35s var(--saida); }
  .campo select:open::picker-icon { rotate: 180deg; }
  .campo select::picker(select) { margin-top: 8px; padding: 8px; max-height: min(70vh, 520px); overflow-y: auto; border: 1px solid rgba(201, 154, 91, .45); border-radius: var(--raio); background: var(--navy); color: var(--branco); opacity: 0; translate: 0 -10px; transition: opacity .22s ease, translate .32s var(--saida), display .32s allow-discrete, overlay .32s allow-discrete; }
  .campo select:open::picker(select) { opacity: 1; translate: 0 0; }
  @starting-style { .campo select:open::picker(select) { opacity: 0; translate: 0 -10px; } }
  .campo option { display: flex; align-items: center; gap: 12px; min-height: 46px; padding: 0 14px; border-radius: 2px; color: var(--claro-suave); font: 500 1rem var(--fonte-texto); cursor: pointer; transition: background-color .2s ease, color .2s ease; }
  .campo option[value=""] { display: none; }
  .campo option:hover, .campo option:focus-visible { background: rgba(255, 255, 255, .07); color: var(--branco); outline: none; }
  .campo option:checked { color: var(--ouro-claro); }
  .campo option::checkmark { content: ""; order: -1; flex: none; width: 11px; height: 10px; background: var(--ouro); clip-path: polygon(0 100%, 48.2% 0, 100% 100%); }
  .campo option:not(:checked)::checkmark { visibility: hidden; }
}
.contato__pessoas { margin-top: 28px; border-top: 2px solid var(--navy); }
.contato__link { position: relative; isolation: isolate; overflow: hidden; display: grid; grid-template-columns: 1fr auto; gap: 2px 20px; align-items: center; padding: 20px 16px; border-bottom: 1px solid rgba(7, 28, 55, .35); text-decoration: none; transition: color .3s ease-in-out; }
.contato__link::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--navy); transform: scaleX(0); transform-origin: left; transition: transform .4s var(--saida); }
.contato__link:hover, .contato__link:focus-visible { color: var(--branco); }
.contato__link:hover::before, .contato__link:focus-visible::before { transform: scaleX(1); }
.contato__nome { font: 400 1.25rem var(--fonte-titulo); }
.contato__tel { grid-column: 1; font-size: var(--t-nota); font-variant-numeric: tabular-nums; }
.contato__acao { grid-column: 2; grid-row: 1 / span 2; font: 600 .9375rem var(--fonte-ui); }

/* ---------- Contato: ondas e arco em navy sobre o dourado ---------- */
/* Versão Dourado do fundo do brandbook ("destaques e aberturas, com arco em navy"), sem as 12 marcas.
   O círculo envolve a pergunta como o anel envolve o nome na logo; o arco com seta é o próximo passo.
   --centro e --largura vêm do efeitos.js (o círculo acompanha a altura do título); sem JS, 50% e 150%. */
.contato { position: relative; overflow: hidden; }
.contato__cabeca { position: relative; isolation: isolate; }
.contato__painel { position: relative; } /* fica acima das ondas; o select branco as cobre */
.contato__orbita { position: absolute; z-index: -1; left: 41%; top: var(--orbita-centro, 50%); translate: -50% -50%; width: var(--orbita-largura, 150%); height: auto; aspect-ratio: 1; max-width: none; overflow: visible; pointer-events: none; transition: top .9s cubic-bezier(.65, 0, .35, 1), width .9s cubic-bezier(.65, 0, .35, 1); }

/* ---------- Efeitos: fundos com parallax e progresso ---------- */
/* Camadas de fundo feitas com os elementos da marca (ondas, tiques, arco com ponta, triângulo do A).
   O efeitos.js move cada uma com a rolagem (data-vel) e gira (data-giro); sem movimento, ficam paradas. */
.secao { position: relative; isolation: isolate; overflow: clip; }
.fundo { position: absolute; z-index: -1; aspect-ratio: 1; pointer-events: none; }
.fundo svg { display: block; width: 100%; height: 100%; overflow: visible; }
.fundo--para-quem { width: min(68vw, 880px); right: -22%; top: -14%; }
.fundo--servicos { width: min(72vw, 940px); right: -20%; top: 6%; }
.fundo--quem { width: min(78vw, 860px); left: -26%; top: -12%; }
.fundo--tri { aspect-ratio: 47.65 / 43.64; }
.fundo--tri-1 { width: min(24vw, 330px); left: 9%; top: 46%; }
.fundo--tri-2 { width: min(44vw, 600px); left: -14%; bottom: -26%; }
.fundo--tri-3 { width: min(4vw, 56px); left: 30%; top: 70%; }

/* Barra de progresso da página, no pé do cabeçalho */
.topo__progresso { position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; background: linear-gradient(90deg, var(--ouro-claro), var(--ouro) 60%, var(--ouro-escuro)); transform: scaleX(0); transform-origin: left; pointer-events: none; }
:root:not(.mv) .topo__progresso { display: none; }

/* ---------- Rodapé ---------- */
.rodape { background: var(--navy); color: var(--claro-suave); padding: clamp(56px, 7vw, 88px) 0 32px; }
.rodape__grade { display: grid; grid-template-columns: 1.2fr 1fr 1.2fr; gap: 40px; padding-bottom: 40px; border-bottom: 1px solid var(--claro-linha); }
.rodape__marca { width: 180px; height: 180px; }
.rodape__titulo { font: 600 var(--t-nota) var(--fonte-ui); color: var(--ouro-claro); margin-bottom: 16px; }
.rodape ul { display: grid; gap: 12px; }
.rodape__nome { display: block; color: var(--branco); }
.rodape__base { display: flex; justify-content: space-between; gap: 16px; padding-top: 24px; font-size: .875rem; }

/* ---------- Botão flutuante ---------- */
/* Botão do WhatsApp: cresce com a tela e, nas telas largas, fica perto da borda do conteúdo, não no canto. */
.flutuante { --tam: clamp(64px, 3.8vw, 88px); position: fixed; right: max(20px, calc((100vw - var(--largura)) / 2 - var(--tam) - 48px)); bottom: clamp(20px, 3.5vh, 40px); z-index: 40; display: block; width: var(--tam); height: var(--tam); padding: 5px; border-radius: 50%; background: var(--navy); opacity: 0; visibility: hidden; transform: translateY(16px) scale(.9); pointer-events: none; transition: opacity .3s ease-in-out, transform .35s var(--saida), visibility 0s .3s; }
.flutuante__icone { display: grid; place-items: center; width: 100%; height: 100%; border-radius: 50%; background: #25D366; }
.flutuante__icone img { display: block; width: 54%; height: auto; }
.flutuante::after { content: ""; position: absolute; inset: 0; border: 2px solid #25D366; border-radius: 50%; opacity: 0; pointer-events: none; }
.flutuante.is-visivel { opacity: 1; visibility: visible; transform: none; pointer-events: auto; transition: opacity .3s ease-in-out, transform .35s var(--saida), visibility 0s; }
.flutuante.is-visivel::after { animation: chamar 1.4s ease-out .4s 2; }
.flutuante.is-visivel:hover { transform: scale(1.08); }
@keyframes chamar { from { opacity: .9; transform: scale(1); } to { opacity: 0; transform: scale(1.6); } }

/* ---------- Tablet ---------- */
@media (max-width: 960px) {
  .topo__menu { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; padding: 0 16px; border: 1.5px solid rgba(255, 255, 255, .4); border-radius: var(--raio); background: transparent; color: var(--branco); font: 600 .9375rem var(--fonte-ui); cursor: pointer; }
  .topo__menu-icone, .topo__menu-icone::before, .topo__menu-icone::after { display: block; width: 18px; height: 2px; background: currentColor; transition: transform .2s ease, background-color .2s ease; }
  .topo__menu-icone { position: relative; }
  .topo__menu-icone::before, .topo__menu-icone::after { content: ""; position: absolute; left: 0; }
  .topo__menu-icone::before { top: -6px; }
  .topo__menu-icone::after { top: 6px; }
  .topo__menu[aria-expanded="true"] .topo__menu-icone { background: transparent; }
  .topo__menu[aria-expanded="true"] .topo__menu-icone::before { transform: translateY(6px) rotate(45deg); }
  .topo__menu[aria-expanded="true"] .topo__menu-icone::after { transform: translateY(-6px) rotate(-45deg); }
  .nav { max-height: calc(100vh - var(--topo)); max-height: calc(100dvh - var(--topo)); overflow-y: auto; overscroll-behavior: contain; position: fixed; inset: var(--topo) 0 auto; flex-direction: column; align-items: stretch; gap: 20px; padding: 16px var(--respiro) 32px; background: var(--navy); border-bottom: 1px solid var(--claro-linha); visibility: hidden; opacity: 0; translate: 0 -8px; transition: opacity .2s ease, translate .2s ease, visibility 0s .2s; }
  .nav.is-aberto { visibility: visible; opacity: 1; translate: 0 0; transition: opacity .2s ease, translate .2s ease; }
  .nav__lista { flex-direction: column; gap: 0; }
  .nav__link { padding: 14px 0; font-size: 1.0625rem; border-bottom: 1px solid var(--claro-linha); }
  .nav__link::after { display: none; }
  .topo.menu-aberto { background: var(--navy); }

  .abertura { min-height: 0; }
  .quem, .contato__grade, .editorial { grid-template-columns: 1fr; }
  /* Celular e tablet: o texto vem primeiro e a logo inteira ocupa o espaço que sobra embaixo dele,
     sem nada por cima (--abertura-texto vem do site.js). */
  .abertura { flex-direction: column; align-items: stretch; justify-content: flex-start; min-height: max(640px, 100svh); padding: calc(var(--topo) + 16px) 0 28px; }
  .abertura::before { display: none; }
  .abertura__grade { order: 1; }
  /* a logo usa o que sobra da tela visível (100svh, com a barra do navegador aberta) depois do cabeçalho e do texto */
  .abertura__palco { --d: clamp(150px, min(100vw - 56px, 100svh - var(--topo) - var(--texto-alto, 320px) - 116px), 380px); position: relative; order: 0; flex: none; left: auto; top: auto; margin: 6px auto 50px; }
  /* Texto centralizado no eixo da logo */
  .abertura__texto { margin-inline: auto; text-align: center; }
  .abertura .titulo-display { font-size: 2.75rem; line-height: 1.06; max-width: none; margin-inline: auto; text-wrap: balance; }
  .abertura .subtitulo { font-size: .9375rem; line-height: 1.55; margin: 14px auto 0; max-width: 30ch; }
  /* Botões: um principal dourado, com largura contida, e "Ver serviços" como link discreto embaixo */
  .abertura .acoes { margin-top: 26px; flex-direction: column; align-items: center; gap: 6px; }
  .abertura .acoes .botao { flex: none; width: min(100%, 300px); min-height: 52px; padding: 0 24px; font-size: 1rem; letter-spacing: .01em; }
  .abertura .acoes .botao--linha-clara { --b-fundo: transparent; --b-borda: transparent; --b-fill: transparent; --b-fill-texto: var(--ouro-claro); width: auto; min-height: 44px; padding: 0 8px; font-weight: 500; text-decoration: underline; text-decoration-color: var(--ouro); text-decoration-thickness: 1.5px; text-underline-offset: 6px; }
  .editorial__cabeca { position: static; }
  .processo-secao { height: auto; }
  .processo-fixo { position: static; height: auto; padding: var(--secao) 0; }
  .processo { grid-template-columns: 1fr; row-gap: 40px; padding: 0 0 0 36px; }
  .processo__linha { left: 7px; right: auto; top: 8px; bottom: 8px; width: 2px; height: auto; }
  .processo__linha span { width: 100%; height: 100%; transform: scaleY(var(--progresso, 1)); transform-origin: top; }
  .etapa::before { top: 6px; left: -36px; }
  .servico__linha { grid-template-columns: 1fr; gap: 6px; }
  .contato__titulo { min-height: 0; }
  .rodape__grade { grid-template-columns: 1fr 1fr; }
  .rodape__marca { grid-column: 1 / -1; }
}

/* ---------- Tablet e celular: padrões (depois do bloco @media (max-width: 960px) existente) ---------- */
@media (max-width: 960px) {
  /* Para quem: perfis empilhados, cada um com a sua linha */
  .publicos__lista { grid-template-columns: minmax(0, 1fr); row-gap: 44px; }
  .publico { display: block; grid-row: auto; padding-top: 24px; }
  .publico__link { margin-top: 12px; }

  /* Como trabalhamos: a escada fica no pé da seção */
  .processo-fixo, :root:not(.mv) .processo-fixo { position: relative; --vis: 38vw; padding-bottom: calc(var(--secao) * .5 + var(--vis)); }
  .ciclo { --w: 150vw; }

  /* Contato: o círculo fica centrado e o arco passa por cima do título, como uma cúpula */
  .contato { --r-orbita: min(60vw - 19px, 232px); padding-top: max(var(--secao), calc(var(--r-orbita) - var(--t-titulo) * 1.7 + 32px)); }
  .contato__orbita { left: 50%; top: calc(var(--t-titulo) * 1.7); width: calc(var(--r-orbita) / .3625); transition: none; }
  .contato:not(.is-pronto) .contato__arco, .contato:not(.is-pronto) .contato__ponta { visibility: hidden; }

  /* Dúvidas: em uma coluna os triângulos menores cairiam sobre as perguntas */
  .fundo--tri-1, .fundo--tri-3 { display: none; }
}

@media (max-width: 960px) and (max-height: 780px) {
  .abertura .titulo-display { font-size: 2.5rem; }
  .abertura .acoes { margin-top: 18px; }
  .abertura__palco { margin-bottom: 44px; }
}

/* Tablet em pé: o topo cresce junto com a tela */
@media (min-width: 600px) and (max-width: 960px) {
  .abertura__palco { --d: min(46vw, 340px); margin-bottom: 40px; }
  .abertura .titulo-display { font-size: 3.75rem; }
  .abertura .subtitulo { font-size: 1.125rem; max-width: 34ch; }
  .abertura .acoes { margin-top: 32px; }
}

/* Telas de toque: links do rodapé com área de toque de 44 px */
@media (pointer: coarse) {
  .rodape .link-animado { display: inline-flex; align-items: center; min-height: 44px; }
}

/* Celular deitado: logo à esquerda e texto à direita, tudo na altura da tela */
@media (max-width: 960px) and (orientation: landscape) and (max-height: 520px) {
  .abertura { flex-direction: row; align-items: center; justify-content: center; gap: clamp(24px, 5vw, 56px); padding: calc(var(--topo) + 8px) var(--respiro) 16px; }
  .abertura__palco { --d: min(100svh - var(--topo) - 48px, 38vw); order: 0; margin: 0; }
  .abertura__grade { order: 1; width: auto; margin: 0; flex: 0 1 380px; }
  .abertura__texto { text-align: left; margin: 0; }
  .abertura .titulo-display { font-size: 2.125rem; margin: 0; }
  .abertura .subtitulo { font-size: .9375rem; margin: 10px 0 0; }
  .abertura .acoes { margin-top: 16px; align-items: flex-start; }
}

/* ---------- Celular ---------- */
@media (max-width: 640px) {
  .filtros { gap: 0 20px; }
  .acoes .botao { flex: 1 1 100%; }
  .faq__resposta { padding-right: 0; }
  .rodape__grade { grid-template-columns: 1fr; }
  .rodape__marca { width: 150px; height: 150px; }
  .rodape__base { flex-direction: column; }
}

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