/* ---------------------------------------------------------------------------
   Paleta

   Os nomes dizem o papel, não a cor: o mesmo token é preto no tema escuro e
   quase branco no claro. Nomear por cor ("--black") obrigaria a escrever
   `--black: #f7f8fc` no bloco claro, que é uma linha que mente.

   O escuro é o tema de origem e segue sendo o padrão de sistema da maioria.
   O claro inverte os papéis, não a marca: o azul #001ffe é o mesmo nos dois,
   porque é a cor da marca e não um enfeite de interface.
--------------------------------------------------------------------------- */

:root {
  color-scheme: dark;

  --fundo: #000000;
  --fundo-2: #0a0b10;

  /* Azul da marca. Forma, nunca letra: contraste 2.6:1 sobre preto reprova
     em texto. Ver identidade/design-guide.md. */
  --azul: #001ffe;
  --azul-fundo: #0018c4;
  /* Único azul permitido em tipografia: 4.7:1 sobre preto, passa em AA. No
     tema claro ele troca de valor, porque sobre branco esse mesmo tom cai
     para 3.2:1 e reprova. */
  --azul-tinta: #4569ff;
  /* A chapa do botão é azul escura nos dois temas, então o rótulo é claro nos
     dois. Sem isto, no tema claro o rótulo herdaria a tinta escura e sumiria
     dentro do azul. */
  --sobre-azul: #f7f8fc;

  --tinta: #f7f8fc;
  --tinta-2: #a6aab5;
  --tinta-3: #737985;
  --tinta-rgb: 247 248 252;

  --linha: rgb(var(--tinta-rgb) / 0.1);

  /* O que cobre a imagem do herói, o fundo da barra fixa e a vinheta. No
     escuro é sombra; no claro é a mesma operação com o sinal trocado, névoa
     clara por cima. */
  --veu-rgb: 0 0 0;
  /* Luz aplicada por cima de uma superfície. No claro, luz sobre branco é
     invisível, então vira sombra. */
  --brilho-rgb: 255 255 255;

  --card-a: rgb(26 28 34 / 0.82);
  --card-b: rgb(10 11 16 / 0.84);
  --card-a-forte: rgb(32 35 45 / 0.88);
  --card-b-forte: rgb(10 11 16 / 0.9);
  --painel: rgb(26 28 34 / 0.5);
  --citacao-a: #15171d;
  --citacao-b: #050506;
  --menu: rgb(10 11 16 / 0.98);
  --botao-2: rgb(10 11 16 / 0.45);
  --botao-2-forte: #0a0b10;

  --hero-arte: url("assets/hero-mapa.webp?v=2");
  --hero-filtro: brightness(0.92) contrast(1.05) saturate(1);
  --hero-filtro-estreito: brightness(0.68) contrast(1.09) saturate(0.9);

  --shell: min(1320px, calc(100vw - 96px));
}

/* Tema claro. Mesma estrutura, papéis invertidos.

   Duas coisas não são simétricas, e por isso estão escritas à mão. A primeira
   é o azul de texto: #4569ff passa sobre preto e reprova sobre branco, então
   o claro usa o azul de chapa (#0018c4), que dá 10:1. A segunda é a tinta
   média, que no escuro pode ser um cinza claro discreto e no claro precisa
   descer bastante para continuar legível. */
@media (prefers-color-scheme: light) {
  :root {
    color-scheme: light;

    --fundo: #f7f8fc;
    --fundo-2: #ffffff;

    --azul-tinta: #0018c4;

    --tinta: #0a0b10;
    --tinta-2: #4a4f5a;
    --tinta-3: #5c6270;
    --tinta-rgb: 10 11 16;

    --linha: rgb(var(--tinta-rgb) / 0.13);

    --veu-rgb: 247 248 252;
    --brilho-rgb: 10 11 16;

    --card-a: rgb(255 255 255 / 0.92);
    --card-b: rgb(238 240 246 / 0.88);
    --card-a-forte: rgb(255 255 255 / 0.98);
    --card-b-forte: rgb(232 235 243 / 0.94);
    --painel: rgb(255 255 255 / 0.55);
    --citacao-a: #ffffff;
    --citacao-b: #eceff5;
    --menu: rgb(255 255 255 / 0.98);
    --botao-2: rgb(255 255 255 / 0.8);
    --botao-2-forte: #ffffff;

    --hero-arte: url("assets/hero-mapa-claro.webp?v=2");
    /* A arte clara já nasce quase estourada: repetir o brilho do escuro
       apagaria o traço do mapa. Aqui quem trabalha é o contraste. */
    --hero-filtro: brightness(1) contrast(1.08) saturate(1.05);
    /* No celular a arte aparece pequena e por trás de um véu quase opaco:
       sem um empurrão de contraste e de saturação, o cubo some. */
    --hero-filtro-estreito: brightness(1) contrast(1.22) saturate(1.25);
  }
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  background: var(--fundo);
}

body {
  margin: 0;
  background: var(--fundo);
  color: var(--tinta);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

body::selection {
  color: var(--tinta);
  background: var(--azul);
}

a {
  color: inherit;
  text-decoration: none;
}

button,
summary,
a {
  -webkit-tap-highlight-color: transparent;
}

/* Foco de teclado. Existia só para a navegação do topo: botões, CTA, menu do
   celular e links do rodapé ficavam com o anel padrão do navegador, que sobre
   preto quase não aparece. O azul de texto é o único azul da marca legível
   nos dois temas. */
:focus-visible {
  outline: 2px solid var(--azul-tinta);
  outline-offset: 3px;
  border-radius: 2px;
}

img,
svg {
  display: block;
}

.section-shell {
  width: var(--shell);
  margin-inline: auto;
}

.site-header {
  position: fixed;
  z-index: 100;
  top: 0;
  left: 0;
  right: 0;
  height: 76px;
  padding: 0 max(48px, calc((100vw - 1320px) / 2));
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 40px;
  border-bottom: 1px solid rgb(var(--tinta-rgb) / 0.08);
  background: rgb(var(--veu-rgb) / 0.5);
  backdrop-filter: blur(18px) saturate(120%);
}

.brand {
  /* A marca é um link, e a assinatura sozinha fica abaixo do alvo mínimo de
     toque. O padding aumenta a área clicável e a margem negativa cancela o
     deslocamento no layout.

     A altura fica na imagem, não aqui: o site usa box-sizing border-box, então
     definir height no link faria o padding comer a altura do conteúdo. */
  line-height: 0;
  display: inline-block;
  padding-block: 6px;
  margin-block: -6px;
}

.brand img {
  /* Assinatura abreviada (MARC), proporção ~6,8:1. Dimensionar pela altura,
     não pela largura: trocar de versão muda a proporção e a largura fixa
     esmagaria a marca. */
  height: 20px;
  width: auto;
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: 34px;
}

.desktop-nav a {
  color: var(--tinta-2);
  font-size: 13px;
  font-weight: 600;
  transition: color 180ms ease;
}

.desktop-nav a:hover,
.desktop-nav a:focus-visible {
  color: var(--tinta);
}

.header-cta {
  justify-self: end;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.header-cta svg,
.button svg {
  width: 17px;
  height: 17px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform 180ms ease;
}

.header-cta:hover svg,
.button:hover svg {
  transform: translateX(3px);
}

.mobile-menu {
  display: none;
}

.hero {
  position: relative;
  min-height: max(900px, 100svh);
  padding-top: 76px;
  overflow: hidden;
  isolation: isolate;
  background: var(--fundo);
}

.hero-media {
  position: absolute;
  z-index: -3;
  inset: 0;
  background-image: var(--hero-arte);
  background-size: cover;
  /* Alinhado à esquerda de propósito. No mapa, o cubo e o brilho ao redor
     ocupam 43–66% da largura da imagem; centralizado, ele cairia atrás da
     coluna de texto. Com a imagem à esquerda, o corte joga o cubo para a
     direita do texto em todas as larguras. Ver o comentário em .hero-copy. */
  background-position: left center;
  filter: var(--hero-filtro);
  transform: scale(1.02);
}

.hero-media::before,
.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
}

.hero-media::before {
  background:
    linear-gradient(90deg, rgb(var(--veu-rgb) / 0.92) 0%, rgb(var(--veu-rgb) / 0.72) 22%, rgb(var(--veu-rgb) / 0.3) 40%, rgb(var(--veu-rgb) / 0) 60%, rgb(var(--veu-rgb) / 0.22) 100%),
    linear-gradient(180deg, rgb(var(--veu-rgb) / 0.58) 0%, transparent 24%, transparent 68%, rgb(var(--veu-rgb) / 0.92) 100%);
}

.hero-media::after {
  box-shadow: inset 0 0 180px 42px rgb(var(--veu-rgb) / 0.78);
}

.hero-atmosphere {
  position: absolute;
  z-index: -2;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 53% 56%, rgba(0, 31, 254, 0.11), transparent 13%),
    radial-gradient(circle at 76% 36%, rgb(var(--brilho-rgb) / 0.045), transparent 22%);
}

.hero-inner {
  position: relative;
  z-index: 3;
  min-height: calc(max(900px, 100svh) - 76px);
  display: flex;
  align-items: center;
}

.hero-copy {
  position: relative;
  z-index: 4;
  /* A largura é limitada para o texto nunca cobrir o cubo do mapa. O cubo e
     o brilho ao redor ocupam 43–66% da largura da imagem. Com a imagem à
     esquerda, a borda esquerda desse conjunto cai por volta de 620px em 1024
     e de 830px em 1920; esta coluna termina antes disso em toda a faixa.
     Conferir de novo se a arte do herói mudar. */
  width: min(500px, 40vw);
  padding: 72px 0 78px;
}

.eyebrow,
.section-kicker {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--tinta-2);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.eyebrow > span,
.section-kicker > span {
  display: grid;
  width: 24px;
  height: 24px;
  place-items: center;
  color: var(--azul-tinta);
  border: 1px solid rgba(0, 31, 254, 0.3);
  background: rgba(0, 31, 254, 0.05);
  font-size: 9px;
  letter-spacing: 0;
}

.eyebrow > span {
  width: 7px;
  height: 7px;
  border: 0;
  background: var(--azul);
  box-shadow: 0 0 22px rgba(0, 31, 254, 0.5);
}

.hero h1 {
  margin: 34px 0 26px;
  /* Teto de 62px: acima disso a primeira linha passa da largura da coluna e
     volta a alcançar o cubo do mapa. */
  font-size: clamp(46px, 4.6vw, 62px);
  line-height: 0.98;
  letter-spacing: -0.058em;
  font-weight: 700;
}

.hero h1 strong {
  color: var(--azul-tinta);
  font-weight: inherit;
  text-shadow: 0 0 38px rgba(0, 31, 254, 0.16);
}

.hero-copy > p {
  max-width: 460px;
  margin: 0;
  color: rgb(var(--tinta-rgb) / 0.74);
  font-size: 17px;
  line-height: 1.75;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.button {
  min-height: 48px;
  padding: 0 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 11px;
  border: 1px solid transparent;
  border-radius: 3px;
  font-size: 12px;
  font-weight: 750;
  transition: transform 180ms ease, background 180ms ease, border-color 180ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button-primary {
  color: var(--sobre-azul);
  background: var(--azul-fundo);
  box-shadow: 0 12px 34px rgba(0, 24, 196, 0.17), inset 0 1px rgba(255, 255, 255, 0.2);
}

.button-primary:hover {
  background: var(--azul);
}

.button-secondary {
  color: var(--tinta);
  border-color: rgb(var(--tinta-rgb) / 0.18);
  background: var(--botao-2);
}

.button-secondary:hover {
  border-color: rgb(var(--tinta-rgb) / 0.35);
  background: var(--botao-2-forte);
}

.hero-proof {
  margin-top: 37px;
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

.hero-proof span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  /* Era 0.5: dava 3,6:1 no tema claro, abaixo do mínimo para 10px. */
  color: rgb(var(--tinta-rgb) / 0.62);
  font-size: 10px;
  white-space: nowrap;
}

.hero-proof svg {
  width: 14px;
  height: 14px;
  fill: none;
  stroke: var(--azul-tinta);
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.hero-grid {
  position: absolute;
  z-index: 1;
  right: 4%;
  bottom: -11%;
  width: 72%;
  height: 50%;
  opacity: 0.18;
  background-image:
    linear-gradient(rgba(0, 31, 254, 0.2) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 31, 254, 0.18) 1px, transparent 1px);
  background-size: 54px 54px;
  transform: perspective(680px) rotateX(67deg) rotateZ(-7deg);
  transform-origin: center bottom;
  mask-image: radial-gradient(ellipse at center, #000 0, transparent 70%);
}

/* Uma coluna, não duas. A legenda tem três termos separados por ponto médio e
   a coluna de rótulo tinha 62px: cada termo caía numa linha e a tríade virava
   uma escada de quatro linhas. Empilhado, o rótulo ocupa a largura inteira e
   quebra no máximo em duas. */
.hero-caption {
  position: absolute;
  z-index: 4;
  right: max(48px, calc((100vw - 1320px) / 2));
  bottom: 12%;
  width: 300px;
  padding-top: 14px;
  display: grid;
  gap: 9px;
  border-top: 1px solid rgb(var(--tinta-rgb) / 0.18);
}

.hero-caption > span {
  color: var(--azul-tinta);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  line-height: 1.5;
}

.hero-caption p {
  margin: 0;
  color: rgb(var(--tinta-rgb) / 0.62);
  font-size: 11px;
  line-height: 1.5;
}

.hero-scroll {
  position: absolute;
  z-index: 4;
  left: 50%;
  bottom: 28px;
  display: flex;
  align-items: center;
  gap: 10px;
  color: rgb(var(--tinta-rgb) / 0.6);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  transform: translateX(-50%);
}

.hero-scroll span {
  width: 6px;
  height: 6px;
  background: var(--azul);
  box-shadow: 0 0 14px rgba(0, 31, 254, 0.6);
}

.trust-strip {
  min-height: 88px;
  padding: 0 4px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  align-items: center;
  border-top: 1px solid var(--linha);
  border-bottom: 1px solid var(--linha);
}

.trust-strip > span {
  min-height: 34px;
  padding-left: 30px;
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--tinta-2);
  border-left: 1px solid var(--linha);
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.07em;
}

.trust-strip > span:first-child {
  padding-left: 0;
  border-left: 0;
}

.trust-strip i {
  color: var(--tinta);
  font-style: normal;
}

.statement,
.services,
.process {
  padding-block: 150px;
}

.section-kicker {
  margin-bottom: 32px;
}

.section-kicker > span {
  border-color: rgba(0, 31, 254, 0.45);
}

.statement-grid {
  display: grid;
  grid-template-columns: 1.08fr 0.72fr;
  gap: 9vw;
  align-items: end;
}

h2 {
  margin: 0;
  font-size: clamp(42px, 4.6vw, 70px);
  line-height: 1.03;
  letter-spacing: -0.05em;
}

h2 em {
  color: var(--azul-tinta);
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 400;
}

.statement-grid > div {
  max-width: 480px;
  padding-bottom: 5px;
}

.statement-grid p,
.section-heading.horizontal > p,
.audience-panel > p,
.principles-copy > p {
  margin: 0;
  color: var(--tinta-2);
  font-size: 15px;
  line-height: 1.8;
}

.statement-grid p + p {
  margin-top: 20px;
}

.services {
  position: relative;
  border-top: 1px solid var(--linha);
}

.section-heading {
  margin-bottom: 58px;
}

.section-heading h2 {
  max-width: 820px;
}

/* Tríade da seção 02. O traço entre as palavras é desenhado em CSS, não um
   caractere de seta: seta como texto quebra de fonte e de peso no mobile. */
.section-heading h2.triad {
  max-width: none;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  column-gap: clamp(20px, 2.4vw, 40px);
  row-gap: 6px;
  font-size: clamp(34px, 3.5vw, 52px);
  line-height: 1.1;
}

.triad span + span::before {
  content: "";
  display: inline-block;
  width: clamp(30px, 3.4vw, 62px);
  height: 1px;
  margin-right: clamp(20px, 2.4vw, 40px);
  vertical-align: middle;
  background: linear-gradient(90deg, rgba(0, 31, 254, 0), var(--azul-tinta));
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.service-card {
  position: relative;
  min-height: 430px;
  padding: 32px;
  display: flex;
  flex-direction: column;
  border: 1px solid var(--linha);
  border-radius: 4px;
  background: linear-gradient(145deg, var(--card-a), var(--card-b));
  overflow: hidden;
  transition: border-color 220ms ease, transform 220ms ease, background 220ms ease;
}

.service-card::after {
  content: "";
  position: absolute;
  width: 170px;
  height: 170px;
  top: -105px;
  right: -90px;
  border: 1px solid rgba(0, 31, 254, 0.24);
  transform: rotate(45deg);
  transition: transform 400ms ease;
}

.service-card:hover {
  transform: translateY(-4px);
  border-color: rgba(0, 31, 254, 0.42);
  background: linear-gradient(145deg, var(--card-a-forte), var(--card-b-forte));
}

.service-card:hover::after {
  transform: rotate(54deg) translate(-8px, 8px);
}

.service-number {
  color: var(--azul-tinta);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
}

.service-icon {
  width: 48px;
  height: 48px;
  margin: 62px 0 28px;
  display: grid;
  place-items: center;
  border: 1px solid rgb(var(--tinta-rgb) / 0.15);
  background: rgb(var(--veu-rgb) / 0.25);
}

.service-icon span {
  width: 10px;
  height: 10px;
  background: var(--azul);
  box-shadow: 0 0 18px rgba(0, 31, 254, 0.42);
}

.service-card h3,
.process-list h3 {
  margin: 0;
  font-size: 21px;
  letter-spacing: -0.025em;
}

.service-card > p {
  margin: 16px 0 28px;
  color: var(--tinta-2);
  font-size: 13px;
  line-height: 1.75;
}

.tags {
  margin-top: auto;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.tags span {
  padding: 6px 9px;
  color: var(--tinta-3);
  border: 1px solid var(--linha);
  font-size: 9px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.audience {
  min-height: 780px;
  display: grid;
  grid-template-columns: 1.18fr 0.82fr;
  border: 1px solid var(--linha);
  background: var(--fundo-2);
}

.audience-panel {
  padding: 92px 72px;
  border-right: 1px solid var(--linha);
}

.audience-panel h2 {
  font-size: clamp(42px, 4.1vw, 63px);
}

.audience-panel > p {
  max-width: 600px;
  margin-top: 28px;
}

.audience-list {
  margin-top: 58px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-top: 1px solid var(--linha);
  border-left: 1px solid var(--linha);
}

.audience-list > div {
  min-height: 115px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 9px;
  border-right: 1px solid var(--linha);
  border-bottom: 1px solid var(--linha);
}

.audience-list span {
  color: var(--tinta);
  font-size: 15px;
  font-weight: 700;
}

.audience-list small {
  /* Estava em 10px com --tinta-3: passava em contraste por pouco (4.8:1) e
     ainda assim era ilegível. Tamanho e cor subiram juntos. */
  color: var(--tinta-2);
  font-size: 13px;
  line-height: 1.6;
}

.audience-quote {
  position: relative;
  padding: 90px 62px 78px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  overflow: hidden;
  background:
    radial-gradient(circle at 50% 28%, rgba(0, 31, 254, 0.12), transparent 26%),
    linear-gradient(145deg, var(--citacao-a), var(--citacao-b) 70%);
}

.audience-quote::before,
.audience-quote::after {
  content: "";
  position: absolute;
  width: 110%;
  height: 1px;
  left: -5%;
  background: linear-gradient(90deg, transparent, rgba(0, 31, 254, 0.32), transparent);
  transform-origin: center;
}

.audience-quote::before { top: 35%; transform: rotate(-19deg); }
.audience-quote::after { top: 52%; transform: rotate(24deg); }

.quote-mark {
  position: absolute;
  top: 40px;
  right: 48px;
  color: rgba(0, 31, 254, 0.42);
  font-family: Georgia, serif;
  font-size: 170px;
  line-height: 1;
}

.audience-quote blockquote {
  position: relative;
  z-index: 2;
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(29px, 3.1vw, 46px);
  line-height: 1.2;
  letter-spacing: -0.03em;
}

.quote-rule {
  position: relative;
  z-index: 2;
  width: 100%;
  height: 1px;
  margin-top: 42px;
  background: var(--linha);
}

.quote-rule i {
  display: block;
  width: 32%;
  height: 1px;
  background: var(--azul);
}

.section-heading.horizontal {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 70px;
}

.section-heading.horizontal > p {
  max-width: 420px;
  padding-bottom: 7px;
}

.process-list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--linha);
  border-left: 1px solid var(--linha);
}

.process-list article {
  position: relative;
  min-height: 315px;
  padding: 30px 28px 38px;
  border-right: 1px solid var(--linha);
  border-bottom: 1px solid var(--linha);
  overflow: hidden;
}

.process-number {
  display: block;
  margin-bottom: 72px;
  color: var(--azul-tinta);
  font-size: 10px;
  font-weight: 700;
}

.process-list p {
  margin: 16px 0 0;
  color: var(--tinta-3);
  font-size: 11px;
  line-height: 1.7;
}

.process-line {
  position: absolute;
  right: -35%;
  bottom: 39px;
  width: 70%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--azul));
  opacity: 0;
  transition: right 300ms ease, opacity 300ms ease;
}

.process-list article:hover .process-line {
  right: 0;
  opacity: 0.65;
}

.principles {
  min-height: 720px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-top: 1px solid var(--linha);
  border-bottom: 1px solid var(--linha);
}

.principles-art {
  position: relative;
  overflow: hidden;
  border-right: 1px solid var(--linha);
  background:
    radial-gradient(circle at 50% 50%, rgba(0, 31, 254, 0.09), transparent 20%),
    linear-gradient(145deg, var(--painel), transparent 62%);
}

.principles-art::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.2;
  background-image:
    linear-gradient(rgba(0, 31, 254, 0.18) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 31, 254, 0.18) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(circle, #000, transparent 68%);
}

.principles-square {
  position: absolute;
  z-index: 2;
  top: calc(50% - 25px);
  left: calc(50% - 25px);
  width: 50px;
  height: 50px;
  background: var(--azul);
  box-shadow: 0 0 55px rgba(0, 31, 254, 0.26), inset 0 1px rgba(255, 255, 255, 0.3);
}

.principles-line {
  position: absolute;
  z-index: 1;
  left: 50%;
  width: 65%;
  height: 1px;
  background: linear-gradient(90deg, rgba(0, 31, 254, 0.52), transparent);
  transform-origin: left;
}

.line-one { top: 50%; transform: rotate(-28deg); }
.line-two { top: 50%; transform: rotate(18deg); }
.line-three { top: 50%; left: -15%; transform: rotate(-8deg); }

.principles-copy {
  padding: 105px 72px;
}

.principles-copy h2 {
  font-size: clamp(42px, 4vw, 60px);
}

.principles-copy > p {
  max-width: 570px;
  margin-top: 30px;
}

.principles-copy dl {
  margin: 55px 0 0;
  border-top: 1px solid var(--linha);
}

.principles-copy dl > div {
  padding: 17px 0;
  display: grid;
  grid-template-columns: 130px 1fr;
  border-bottom: 1px solid var(--linha);
}

.principles-copy dt {
  color: var(--tinta-3);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.09em;
}

.principles-copy dd {
  margin: 0;
  color: var(--tinta);
  font-size: 12px;
}

.contact {
  position: relative;
  min-height: 660px;
  padding: 110px 80px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
}

.contact::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.16;
  background-image:
    linear-gradient(rgba(0, 31, 254, 0.2) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 31, 254, 0.2) 1px, transparent 1px);
  background-size: 62px 62px;
  mask-image: radial-gradient(circle at center, #000, transparent 67%);
}

.contact-glow {
  position: absolute;
  width: 480px;
  height: 260px;
  top: 50%;
  left: 50%;
  background: rgba(0, 31, 254, 0.12);
  filter: blur(110px);
  transform: translate(-50%, -50%);
}

.contact > *:not(.contact-glow) {
  position: relative;
  z-index: 2;
}

.section-kicker.light {
  color: var(--tinta);
}

.contact h2 {
  max-width: 980px;
  font-size: clamp(44px, 5.3vw, 76px);
}

.contact > p {
  max-width: 590px;
  margin: 27px 0 32px;
  color: var(--tinta-2);
  font-size: 15px;
  line-height: 1.7;
}

.button-large {
  min-height: 56px;
  padding-inline: 28px;
}

.contact small {
  margin-top: 15px;
  color: var(--tinta-3);
  font-size: 9px;
}

.footer {
  min-height: 190px;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 12px 30px;
  border-top: 1px solid var(--linha);
}

.footer > p {
  justify-self: end;
  margin: 0;
  color: var(--tinta-2);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 14px;
}

.footer > div {
  grid-column: 1 / -1;
  padding-top: 20px;
  display: flex;
  justify-content: space-between;
  color: var(--tinta-3);
  border-top: 1px solid var(--linha);
  font-size: 9px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

/* ---------------------------------------------------------------------------
   Alvo mínimo de toque
   Links de navegação e CTA do topo tinham 17px de altura. O padding aumenta a
   área clicável e a margem negativa cancela o deslocamento no layout. Não usar
   `height` nestes elementos: o site é box-sizing border-box e o padding
   passaria a descontar da altura do conteúdo.

   Este bloco fica ANTES das faixas responsivas de propósito. Ele declara
   `display`, e no fim do arquivo essa declaração vencia o `display: none` que
   esconde o CTA do topo e o link de rolagem no celular — os dois reapareciam
   por cima do menu sanduíche.
--------------------------------------------------------------------------- */

.desktop-nav a,
.header-cta,
.hero-scroll {
  display: inline-flex;
  align-items: center;
  padding-block: 6px;
  margin-block: -6px;
}

/* O link de rolagem é uma linha curta: precisa de mais folga que os outros. */
.hero-scroll {
  padding-block: 8px;
  margin-block: -8px;
}


@media (max-width: 1100px) {
  :root { --shell: min(100% - 56px, 980px); }

  .site-header {
    padding-inline: 28px;
    grid-template-columns: 1fr auto;
  }

  .desktop-nav,
  .header-cta { display: none; }

  .mobile-menu {
    position: relative;
    display: block;
    justify-self: end;
  }

  .mobile-menu summary {
    width: 42px;
    height: 42px;
    display: grid;
    place-content: center;
    gap: 6px;
    cursor: pointer;
    list-style: none;
    border: 1px solid var(--linha);
  }

  .mobile-menu summary::-webkit-details-marker { display: none; }
  .mobile-menu summary span { width: 18px; height: 1px; background: var(--tinta); }

  .mobile-menu nav {
    position: absolute;
    top: 51px;
    right: 0;
    width: 220px;
    padding: 12px;
    display: flex;
    flex-direction: column;
    border: 1px solid var(--linha);
    background: var(--menu);
  }

  .mobile-menu nav a { padding: 14px; color: var(--tinta-2); font-size: 13px; }

  .hero {
    min-height: max(820px, 100svh);
  }

  .hero-copy {
    width: 60%;
  }

  /* Mesmo motivo do desktop: em 58% o cubo caía inteiro atrás do texto.
     Em 22% ele fica à direita da coluna em toda a faixa de tablet, tanto em
     telas altas quanto baixas. */
  .hero-media { background-position: 22% center; }

  .trust-strip { grid-template-columns: 1fr 1fr; padding-block: 16px; }
  .trust-strip > span { margin-block: 8px; }
  .trust-strip > span:nth-child(3) { padding-left: 0; border-left: 0; }

  .statement-grid { grid-template-columns: 1fr; gap: 45px; }
  .statement-grid > div { margin-left: auto; }

  .service-grid { grid-template-columns: 1fr; }
  .service-card { min-height: 350px; }
  .service-icon { margin-top: 40px; }

  .audience { grid-template-columns: 1fr; }
  .audience-panel { border-right: 0; border-bottom: 1px solid var(--linha); }
  .audience-quote { min-height: 520px; }

  .process-list { grid-template-columns: 1fr 1fr; }

  .principles { grid-template-columns: 0.8fr 1.2fr; }
  .principles-copy { padding-inline: 48px; }
}

@media (max-width: 720px) {
  :root { --shell: calc(100% - 32px); }

  .site-header { height: 68px; padding-inline: 16px; }
  .brand img { height: 17px; }

  .hero {
    min-height: max(820px, 100svh);
    padding-top: 68px;
  }

  .hero-inner {
    min-height: calc(max(820px, 100svh) - 68px);
    align-items: flex-end;
  }

  .hero-copy {
    width: 100%;
    padding: 210px 0 72px;
  }

  .hero h1 {
    margin-top: 24px;
    font-size: clamp(44px, 14vw, 62px);
  }

  .hero-copy > p { font-size: 14px; }

  .hero-media {
    /* No celular a coluna ocupa 100%, então não dá para desviar do cubo na
       horizontal — e escondê-lo seria esconder a própria mensagem. A saída é
       colocá-lo acima do texto, que aqui fica alinhado embaixo.

       Para isso o cover precisa sair: com cover a imagem casa exatamente com
       a altura e não sobra nada para deslocar na vertical. Com largura fixa em
       190% e topo alinhado, o cubo fica na metade de cima e o texto entra
       livre embaixo. */
    background-size: 190% auto;
    background-position: 32% 0;
    background-repeat: no-repeat;
    filter: var(--hero-filtro-estreito);
  }

  .hero-media::before {
    background:
      linear-gradient(180deg, rgb(var(--veu-rgb) / 0.42) 0%, rgb(var(--veu-rgb) / 0.14) 23%, rgb(var(--veu-rgb) / 0.76) 54%, rgb(var(--veu-rgb) / 1) 87%),
      linear-gradient(90deg, rgb(var(--veu-rgb) / 0.74), rgb(var(--veu-rgb) / 0.18));
  }

  .hero-caption,
  .hero-scroll { display: none; }

  .hero-grid { width: 130%; right: -42%; bottom: -6%; opacity: 0.12; }

  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-proof { gap: 10px 16px; }

  .trust-strip { grid-template-columns: 1fr; }
  .trust-strip > span { padding: 12px 0; border-left: 0; border-bottom: 1px solid var(--linha); }
  .trust-strip > span:last-child { border-bottom: 0; }

  .statement,
  .services,
  .process { padding-block: 92px; }

  h2 { font-size: 42px; }

  .section-heading { margin-bottom: 38px; }

  .section-heading h2.triad { display: block; font-size: 38px; }
  .triad span { display: block; }
  .triad span + span::before {
    display: block;
    width: 1px;
    height: 24px;
    margin: 10px 0 10px 3px;
    background: linear-gradient(180deg, rgba(0, 31, 254, 0), var(--azul-tinta));
  }

  .service-card { min-height: 370px; padding: 26px; }

  .audience { width: 100%; border-left: 0; border-right: 0; }
  .audience-panel { padding: 72px 24px; }
  .audience-list { grid-template-columns: 1fr; }
  .audience-quote { min-height: 480px; padding: 70px 28px 58px; }

  .section-heading.horizontal { display: block; }
  .section-heading.horizontal > p { margin-top: 28px; }

  .process-list { grid-template-columns: 1fr; }
  .process-list article { min-height: 250px; }
  .process-number { margin-bottom: 48px; }

  .principles {
    width: 100%;
    grid-template-columns: 1fr;
    border-left: 0;
    border-right: 0;
  }

  .principles-art { min-height: 390px; border-right: 0; border-bottom: 1px solid var(--linha); }
  .principles-copy { padding: 74px 24px; }
  .principles-copy dl > div { grid-template-columns: 100px 1fr; }

  .contact {
    width: 100%;
    min-height: 640px;
    padding: 90px 24px;
  }

  .contact h2 { font-size: 43px; }
  .button-large { width: 100%; }

  .footer { min-height: 230px; grid-template-columns: 1fr; padding-block: 48px; }
  .footer > p { justify-self: start; }
  .footer > div { gap: 24px; }
}

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


/* ---------------------------------------------------------------------------
   Revelação em rolagem
   Portado de sites/kevin-marcacini (useScrollReveal + .reveal), reescrito em
   CSS puro. O JS só adiciona .is-visible; toda a animação vive aqui.
--------------------------------------------------------------------------- */

/* A classe que esconde depende de `html.reveal-armado`, que quem põe é o
   script.js. Se ele não carregar, não rodar ou falhar, nada fica escondido e a
   página aparece inteira. O atributo `class="no-js"` do HTML cobria só o caso
   de JavaScript desligado, e não o de um arquivo que não chegou. */
.reveal-armado .reveal {
  opacity: 0;
  transform: translateY(28px);
}

.reveal {
  transition:
    opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1),
    transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

.reveal-1 { transition-delay: 0.08s; }
.reveal-2 { transition-delay: 0.16s; }
.reveal-3 { transition-delay: 0.24s; }
.reveal-4 { transition-delay: 0.32s; }

@media (prefers-reduced-motion: reduce) {
  .reveal,
  .reveal-1,
  .reveal-2,
  .reveal-3,
  .reveal-4 {
    opacity: 1;
    transform: none;
    transition: none;
    transition-delay: 0s;
  }
}
