/* HALTEN · Site comercial do SaaS · Conceito visual: Registro
   Sem regras de importação, sem fonte remota, sem URL externa, sem dependência externa. */

:root {
  /* Paleta petróleo · identidade ratificada. Base institucional em azul,
     grafite de apoio, papel frio e ouro exclusivamente como assinatura. */
  --hlt-petrol-950: #071E29;
  --hlt-petrol-900: #0C2E3E;
  --hlt-petrol-700: #155067;
  --hlt-petrol-500: #2E7089;
  --hlt-petrol-300: #7FA6B8;
  --hlt-petrol-100: #D8E4EA;
  --hlt-grafite-900: #131B20;
  --hlt-grafite-700: #43525B;
  --hlt-grafite-500: #687983;
  --hlt-paper-50: #F4F6F7;
  --hlt-paper-0: #FFFFFF;
  --hlt-brass-500: #C6A96B;
  --hlt-brass-700: #8A6F39;
  --hlt-brass-100: #EFE6D4;
  --hlt-erro-600: #A6402D;

  /* Semânticos: nome estável, valor trocável. Nenhum componente referencia a
     cor base diretamente — trocar a paleta é trocar valor, não redesenhar. */
  --hlt-bg: var(--hlt-paper-50);
  --hlt-surface: var(--hlt-paper-0);
  --hlt-ink: var(--hlt-grafite-900);
  --hlt-ink-2: var(--hlt-grafite-700);
  /* --hlt-ink-3 fica 4,16:1 sobre papel: proibido como cor de texto até que
     uma regra prove tamanho >= 19px ou rótulo mono em caixa alta. */
  --hlt-ink-3: var(--hlt-grafite-500);
  --hlt-dark-bg: var(--hlt-petrol-900);
  --hlt-dark-bg-2: var(--hlt-petrol-950);
  --hlt-dark-ink: var(--hlt-paper-50);
  --hlt-dark-ink-2: #B9CDD8;
  --hlt-dark-ink-3: var(--hlt-petrol-300);
  --hlt-action: var(--hlt-petrol-700);
  --hlt-action-hover: var(--hlt-petrol-900);
  --hlt-accent: var(--hlt-brass-500);
  --hlt-accent-ink: var(--hlt-brass-700);
  --hlt-accent-halo: rgba(198, 169, 107, 0.25);
  --hlt-danger: var(--hlt-erro-600);
  --hlt-focus: var(--hlt-brass-700);
  --hlt-hairline: rgba(12, 46, 62, 0.12);
  --hlt-hairline-2: rgba(12, 46, 62, 0.24);
  --hlt-hairline-dark: rgba(244, 246, 247, 0.16);
  --hlt-slot-bg: rgba(198, 169, 107, 0.08);
  --hlt-slot-border: rgba(138, 111, 57, 0.45);

  /* Famílias declaradas por NOME, com fallback de sistema. Nenhum arquivo de
     fonte no repositório, nenhuma regra de importação e nenhum host remoto.
     O eixo de
     largura do Archivo Expanded só existe com o arquivo variável, que fica
     para o corte de self-hosting. */
  --hlt-fonte-texto: "Archivo", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --hlt-fonte-titulo: var(--hlt-fonte-texto);
  --hlt-fonte-dado: "Spline Sans Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;

  --hlt-container: 72.5rem;
  --hlt-largura-texto: 42.5rem;
  --hlt-largura-formulario: 35rem;

  --hlt-margem: 2.5rem;
  --hlt-ritmo-secao: 6rem;
  --hlt-ritmo-curto: 1.5rem;

  --hlt-raio: 6px;
  --hlt-raio-curto: 2px;
  --hlt-altura-cabecalho: 4.5rem;
  --hlt-altura-toque: 2.75rem;
}

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

html {
  font-size: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--hlt-altura-cabecalho) + 1rem);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--hlt-bg);
  color: var(--hlt-ink);
  font-family: var(--hlt-fonte-texto);
  font-size: 1.125rem;
  font-weight: 400;
  line-height: 1.6;
  overflow-x: hidden;
}

[hidden] {
  display: none !important;
}

img,
picture,
svg {
  max-width: 100%;
  height: auto;
}

p {
  margin: 0 0 1.25rem;
  overflow-wrap: break-word;
}

h1,
h2,
h3 {
  margin: 0 0 1.5rem;
  font-weight: 700;
  letter-spacing: -0.015em;
  overflow-wrap: break-word;
}

ol,
ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

a {
  color: inherit;
}

:focus-visible {
  outline: 2px solid var(--hlt-accent);
  outline-offset: 2px;
}

.secao--clara :focus-visible,
.secao--alternada :focus-visible,
.rodape :focus-visible {
  outline-color: var(--hlt-focus);
}

/* ---------- Skip link ---------- */

.pular-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 100;
  padding: 0.75rem 1.25rem;
  background: var(--hlt-dark-bg);
  color: var(--hlt-bg);
  font-size: 0.9375rem;
  text-decoration: none;
}

.pular-link:focus {
  left: 0.5rem;
  top: 0.5rem;
}

/* ---------- Cabeçalho ---------- */

.cabecalho {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 50;
  width: 100%;
  background: transparent;
  border-bottom: 1px solid transparent;
}

.cabecalho--transicao {
  transition: background-color 200ms ease-out, border-color 200ms ease-out;
}

.cabecalho--solido {
  background: var(--hlt-dark-bg);
  border-bottom-color: var(--hlt-hairline-dark);
}

.cabecalho__interno {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  width: 100%;
  max-width: var(--hlt-container);
  min-height: var(--hlt-altura-cabecalho);
  margin: 0 auto;
  padding: 0 var(--hlt-margem);
}

.cabecalho__marca {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}

.cabecalho__marca img {
  display: block;
  width: auto;
  height: 1.75rem;
}

.cabecalho__nav {
  display: flex;
  align-items: center;
  gap: 1.75rem;
}

.cabecalho__ancora {
  color: var(--hlt-dark-ink-2);
  font-size: 0.9375rem;
  font-weight: 500;
  text-decoration: none;
  padding: 0.5rem 0;
}

.cabecalho__ancora:hover {
  color: var(--hlt-bg);
}

.cabecalho__cta {
  flex: none;
}

/* ---------- Botões ---------- */

.botao {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: var(--hlt-altura-toque);
  padding: 0.75rem 1.5rem;
  border: 1px solid transparent;
  border-radius: var(--hlt-raio);
  background: var(--hlt-dark-bg);
  color: var(--hlt-bg);
  font-family: inherit;
  font-size: 1rem;
  font-weight: 500;
  line-height: 1.25;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
}

.botao--primario {
  background: var(--hlt-action);
  color: var(--hlt-bg);
  border-top: 2px solid var(--hlt-accent);
}

/* O botão secundário é transparente e por isso herda o contraste do fundo em
   que está. A regra base serve o fundo claro; a variante escura é declarada
   junto das demais inversões. Sem isso, texto em papel sobre papel dá 1:1. */
.botao--secundario {
  background: transparent;
  color: var(--hlt-ink);
  border: 1px solid var(--hlt-hairline-2);
}

.secao--escura .botao--secundario {
  color: var(--hlt-bg);
  border-color: var(--hlt-hairline-dark);
}

.botao--contorno {
  background: transparent;
  color: var(--hlt-bg);
  border: 1px solid var(--hlt-accent);
  padding: 0.5rem 1.125rem;
  font-size: 0.9375rem;
}

.secao--escura .botao--primario,
.botao--forte,
.cta-fixo .botao--primario {
  background: var(--hlt-bg);
  color: var(--hlt-dark-bg);
  border-top: 2px solid var(--hlt-accent-ink);
  font-weight: 700;
}

.botao--largo {
  width: 100%;
}

.botao:hover {
  opacity: 0.92;
}

.botao[disabled],
.botao[aria-disabled="true"] {
  opacity: 0.45;
  cursor: not-allowed;
}

.acoes {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin: 0 0 var(--hlt-ritmo-curto);
}

.acoes--discreta {
  margin-top: var(--hlt-ritmo-curto);
}

/* ---------- Layout de seção ---------- */

.secao {
  padding: var(--hlt-ritmo-secao) 0;
}

.secao--escura {
  background: var(--hlt-dark-bg);
  color: var(--hlt-bg);
}

.secao--clara {
  background: var(--hlt-bg);
  color: var(--hlt-ink);
}

.secao--alternada {
  background: var(--hlt-surface);
  color: var(--hlt-ink);
}

.retrato,
.cadeia,
.necessidades,
.registrado,
.programa,
.conversa {
  scroll-margin-top: var(--hlt-altura-cabecalho);
}

.secao__titulo {
  font-size: 2.375rem;
  line-height: 1.15;
  margin-bottom: 2rem;
}

.conteudo {
  width: 100%;
  max-width: var(--hlt-container);
  margin: 0 auto;
  padding: 0 var(--hlt-margem);
}

.conteudo--estreito {
  max-width: var(--hlt-largura-texto);
  margin: 0 auto;
}

.conteudo.conteudo--estreito {
  max-width: calc(var(--hlt-largura-texto) + var(--hlt-margem) * 2);
}

.legal h2 {
  margin-top: 2.75rem;
}

.legal h3 {
  margin-top: 2rem;
  font-size: 1.125rem;
}

.legal ul {
  margin: 0 0 1.5rem;
  padding-left: 1.5rem;
  list-style: disc;
}

.legal li + li {
  margin-top: 0.5rem;
}

.legal a:not(.botao) {
  color: var(--hlt-action);
  text-underline-offset: 0.18em;
}

.conteudo.conteudo--formulario {
  max-width: calc(var(--hlt-largura-formulario) + var(--hlt-margem) * 2);
}

.destaque {
  font-size: 1.25rem;
  font-weight: 500;
  line-height: 1.5;
}

/* ---------- Hero ---------- */

.hero {
  padding-top: calc(var(--hlt-altura-cabecalho) + 2rem);
}

.eyebrow {
  margin: 0 0 1.5rem;
  color: var(--hlt-accent-ink);
  font-family: var(--hlt-fonte-dado);
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero__titulo {
  font-size: 3.75rem;
  line-height: 1.08;
  letter-spacing: -0.02em;
  margin-bottom: 1.75rem;
}

.hero__linha {
  display: block;
}

.hero__subtitulo {
  max-width: var(--hlt-largura-texto);
  font-size: 1.3125rem;
  line-height: 1.45;
  color: var(--hlt-dark-ink-2);
  margin-bottom: 2.25rem;
}

.hero__subtitulo--curto {
  display: none;
}

.hero__qualificador {
  margin: 0 0 0.5rem;
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--hlt-dark-ink-2);
}

.hero__micro {
  margin: 0;
  font-size: 0.875rem;
  color: var(--hlt-dark-ink-3);
}

/* ---------- O retrato ---------- */

.cena {
  padding-bottom: 1.75rem;
  border-bottom: 1px solid var(--hlt-hairline);
  margin-bottom: 1.75rem;
}

.virada {
  border-left: 2px solid var(--hlt-accent-ink);
  padding-left: 1.5rem;
  margin-top: 2.5rem;
}

.virada p {
  font-size: 1.3125rem;
  line-height: 1.5;
  font-weight: 500;
}

.virada p:last-child {
  margin-bottom: 0;
}

/* ---------- Cadeia conectada ---------- */

.fio {
  position: relative;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1.5rem;
  margin: 3.5rem 0 2rem;
}

.fio::before {
  content: "";
  position: absolute;
  top: 0.3125rem;
  left: 10%;
  width: 80%;
  height: 1px;
  background: var(--hlt-hairline);
}

.fio__elo {
  position: relative;
  padding-top: 2rem;
}

.fio__no {
  position: absolute;
  top: 0;
  left: 0;
  width: 0.625rem;
  height: 0.625rem;
  border-radius: 50%;
  background: var(--hlt-dark-bg);
}

.fio__elo--final .fio__no {
  background: var(--hlt-accent-ink);
  box-shadow: 0 0 0 3px var(--hlt-accent-halo);
}

.fio__titulo {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
}

.fio__preservado {
  font-size: 1rem;
  margin-bottom: 0.75rem;
}

.fio__consequencia {
  font-size: 0.9375rem;
  color: var(--hlt-ink-2);
  margin-bottom: 0;
}

.fio__legenda {
  max-width: var(--hlt-largura-texto);
  font-size: 0.9375rem;
  color: var(--hlt-ink-2);
  border-top: 1px solid var(--hlt-hairline);
  padding-top: 1.25rem;
  margin: 0;
}

/* ---------- Duas necessidades ---------- */

.par {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 3rem;
  margin: 2.5rem 0 3rem;
}

.par__bloco {
  border-top: 1px solid var(--hlt-hairline);
  padding-top: 1.75rem;
}

.par__rotulo {
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--hlt-ink-2);
  margin-bottom: 1.25rem;
}

.blindagem {
  font-weight: 500;
  margin-bottom: 0;
}

.fecho {
  font-size: 1.25rem;
  line-height: 1.5;
  border-top: 1px solid var(--hlt-hairline);
  padding-top: 1.75rem;
}

/* ---------- Programa Fundador ---------- */

.bloco__titulo {
  font-size: 1.4375rem;
  margin-top: 3rem;
  margin-bottom: 1.25rem;
}

.bloco__titulo--menor {
  font-size: 1.0625rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--hlt-dark-ink-2);
}

.momentos {
  counter-reset: momento;
  border-left: 1px solid var(--hlt-hairline-dark);
  padding-left: 1.75rem;
  margin-bottom: 1rem;
}

.momentos__item {
  counter-increment: momento;
  position: relative;
  padding-bottom: 1.25rem;
  color: var(--hlt-dark-ink-2);
}

.momentos__item::before {
  content: counter(momento);
  position: absolute;
  left: -2.4375rem;
  top: 0.0625rem;
  width: 1.375rem;
  height: 1.375rem;
  border-radius: 50%;
  background: var(--hlt-action);
  color: var(--hlt-bg);
  font-size: 0.8125rem;
  font-weight: 700;
  line-height: 1.375rem;
  text-align: center;
}

.momentos__item strong {
  color: var(--hlt-bg);
}

.nota {
  color: var(--hlt-dark-ink-2);
  font-size: 1rem;
}

.fundador {
  background: var(--hlt-action);
  border-radius: var(--hlt-raio);
  padding: 2rem;
  margin: 3rem 0;
}

.fundador__titulo {
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--hlt-bg);
  margin-bottom: 1.5rem;
}

.fundador__corpo {
  display: flex;
  align-items: flex-start;
  gap: 1.75rem;
}

.fundador__figura {
  flex: 0 0 13rem;
  margin: 0;
}

.fundador__figura img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: var(--hlt-raio-curto);
}

.fundador__texto {
  flex: 1 1 auto;
  min-width: 0;
  color: var(--hlt-dark-ink-2);
}

.fundador__texto p:last-of-type {
  margin-bottom: 0;
}

.fundador__nome {
  margin-bottom: 0.25rem;
  color: var(--hlt-bg);
  font-size: 1.375rem;
  font-weight: 700;
  line-height: 1.2;
}

.fundador__papel {
  margin-bottom: 1.25rem;
  color: var(--hlt-bg);
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.fundador__mais {
  margin-top: 1.5rem;
  border-top: 1px solid var(--hlt-hairline-dark);
  padding-top: 1rem;
}

.fundador__mais summary {
  display: flex;
  align-items: center;
  min-height: var(--hlt-altura-toque);
  cursor: pointer;
  color: var(--hlt-bg);
  font-size: 0.9375rem;
  font-weight: 500;
}

.fundador__mais p {
  margin-top: 1rem;
  font-size: 1rem;
}

/* ---------- Conversa e formulário ---------- */

.triade {
  margin-bottom: 1.75rem;
  font-size: 1.25rem;
  font-weight: 500;
  line-height: 1.4;
}

.triade__linha {
  display: block;
}

.formulario {
  margin: 2.5rem 0 1.5rem;
}

.campo {
  margin-bottom: 1.25rem;
}

.campo__rotulo {
  display: block;
  margin-bottom: 0.4375rem;
  font-size: 0.875rem;
  font-weight: 500;
}

.campo__controle {
  display: block;
  width: 100%;
  min-height: 3.25rem;
  padding: 0.75rem 0.875rem;
  border: 1px solid var(--hlt-hairline-2);
  border-radius: var(--hlt-raio);
  background: var(--hlt-surface);
  color: var(--hlt-ink);
  font-family: inherit;
  font-size: 1rem;
  line-height: 1.4;
}

.campo__controle::placeholder {
  color: var(--hlt-ink-2);
  opacity: 1;
}

.campo__controle:focus {
  border-color: var(--hlt-action);
  outline: 2px solid var(--hlt-focus);
  outline-offset: 2px;
}

select.campo__controle {
  appearance: none;
  -webkit-appearance: none;
  padding-right: 2.25rem;
  background-image: linear-gradient(45deg, transparent 50%, var(--hlt-dark-bg) 50%),
    linear-gradient(135deg, var(--hlt-dark-bg) 50%, transparent 50%);
  background-position: calc(100% - 1.125rem) 1.4375rem, calc(100% - 0.75rem) 1.4375rem;
  background-size: 0.375rem 0.375rem, 0.375rem 0.375rem;
  background-repeat: no-repeat;
}

.privacidade {
  font-size: 0.875rem;
  color: var(--hlt-ink-2);
  margin-bottom: 0;
}

.confirmacao {
  margin: 0;
  font-size: 1rem;
  font-weight: 500;
}

/* ---------- Rodapé ---------- */

.rodape {
  background: var(--hlt-bg);
  border-top: 1px solid var(--hlt-hairline);
  padding: 3rem 0;
  color: var(--hlt-ink-2);
  font-size: 0.9375rem;
}

.rodape__marca {
  margin-bottom: 0.5rem;
  color: var(--hlt-dark-bg);
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: 0.06em;
}

.rodape__descricao {
  margin-bottom: 1.25rem;
  color: var(--hlt-ink);
}

.rodape__contato,
.rodape__legais {
  margin-bottom: 0.5rem;
}

.rodape__aviso {
  margin-bottom: 0;
  font-size: 0.875rem;
}

/* ---------- CTA fixo no mobile ---------- */

.cta-fixo {
  display: none;
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 40;
  padding: 0.75rem 1.25rem;
  background: var(--hlt-dark-bg);
  border-top: 1px solid var(--hlt-hairline-dark);
}

/* ---------- Tablet ---------- */

@media (max-width: 1023px) {
  :root {
    --hlt-ritmo-secao: 6rem;
  }

  .hero__titulo {
    font-size: 3rem;
  }

  .fio {
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
  }

  .fio::before {
    display: none;
  }
}

/* ---------- Mobile ---------- */

@media (max-width: 767px) {
  :root {
    --hlt-margem: 1.25rem;
    --hlt-ritmo-secao: 5rem;
    --hlt-altura-cabecalho: 3.75rem;
  }

  body {
    font-size: 1.0625rem;
  }

  .cabecalho__nav {
    gap: 0.75rem;
  }

  .cabecalho__ancora {
    display: none;
  }

  .hero {
    padding-top: calc(var(--hlt-altura-cabecalho) + 2rem);
  }

  .hero__titulo {
    font-size: 2.25rem;
    line-height: 1.1;
  }

  .hero__subtitulo {
    display: none;
  }

  .hero__subtitulo--curto {
    display: block;
    font-size: 1.125rem;
  }

  .acoes {
    flex-direction: column;
    align-items: stretch;
  }

  .acoes .botao {
    width: 100%;
  }

  .secao__titulo {
    font-size: 1.6875rem;
  }

  .cena--reduzivel {
    font-size: 1rem;
    color: var(--hlt-ink-2);
  }

  .virada p {
    font-size: 1.125rem;
  }

  .destaque {
    font-size: 1.125rem;
  }

  .fio {
    grid-template-columns: 1fr;
    gap: 0;
    border-left: 1px solid var(--hlt-hairline);
    padding-left: 1.75rem;
    margin: 2.5rem 0 1.5rem;
  }

  .fio__elo {
    padding-top: 0;
    padding-bottom: 1.75rem;
  }

  .fio__no {
    left: -2.1875rem;
    top: 0.5rem;
  }

  .fio__consequencia {
    display: none;
  }

  .par {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .par__reduzivel {
    font-size: 1rem;
  }

  .fecho {
    font-size: 1.125rem;
  }

  .momentos {
    padding-left: 1.5rem;
  }

  .momentos__item::before {
    left: -2.1875rem;
  }

  .fundador {
    padding: 1.5rem;
  }

  .fundador__corpo {
    flex-direction: column;
    gap: 1.25rem;
  }

  .fundador__figura {
    flex: none;
    width: 6.5rem;
  }

  .fundador__figura img {
    aspect-ratio: 1 / 1;
  }

  .triade {
    font-size: 1.125rem;
  }

  .cta-fixo--visivel {
    display: block;
  }

  body.tem-cta-fixo {
    padding-bottom: 5.25rem;
  }
}

/* ---------- Telas estreitas: 390 px e 360 px ---------- */

@media (max-width: 400px) {
  :root {
    --hlt-margem: 1.25rem;
  }

  .hero__titulo {
    font-size: 2.125rem;
  }

  .cabecalho__marca img {
    height: 1.5rem;
  }
}

@media (max-width: 365px) {
  :root {
    --hlt-margem: 1rem;
  }

  .hero__titulo {
    font-size: 1.9375rem;
  }

  .secao__titulo {
    font-size: 1.5rem;
  }

  .botao {
    padding: 0.75rem 1rem;
    font-size: 0.9375rem;
  }

  .cabecalho__cta {
    padding: 0.5rem 0.875rem;
    font-size: 0.875rem;
  }
}

/* ---------- Redução de movimento ---------- */

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* ---------- Formulário: campos acrescentados pelo receptor ---------- */

/* Honeypot. Oculto por CSS e não por type="hidden": robôs preenchem campos
   ocultos por atributo com muito mais frequência. O nome do campo é escolhido
   para não atrair preenchimento automático de gerenciador de senhas. */
.campo--oculto {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.campo__controle--area {
  min-height: 5.5rem;
  resize: vertical;
  font-family: inherit;
}

.campo__opcional {
  color: var(--hlt-ink-2);
  font-weight: 400;
}

.campo--consentimento {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
}

/* 24px é o alvo mínimo de ponteiro; o rótulo associado amplia a área efetiva. */
.campo__caixa {
  margin-top: 0.125rem;
  width: 1.5rem;
  height: 1.5rem;
  flex: 0 0 auto;
}

.campo__rotulo--caixa {
  margin: 0;
  font-weight: 400;
  line-height: 1.45;
}

.campo__controle:user-invalid {
  border-color: var(--hlt-action);
}

.acoes--paralela {
  margin-bottom: var(--hlt-ritmo-curto);
  color: var(--hlt-ink-2);
}

/* ---------- Cabeçalho claro · páginas internas sobre papel ---------- */

.cabecalho--claro {
  background: var(--hlt-bg);
  border-bottom-color: var(--hlt-hairline);
}

/* ---------- Eyebrow sobre escuro ---------- */

.secao--escura .eyebrow {
  color: var(--hlt-accent);
}

/* ---------- Slot · dado pendente com contrato visual ----------
   Todo dado ainda nao confirmado aparece marcado. Nenhum valor e inventado e
   nenhuma ausencia e escondida: o slot e linguagem, nao improviso. */

.slot {
  display: inline-block;
  padding: 0.1em 0.45em;
  border: 1px dashed var(--hlt-slot-border);
  border-radius: var(--hlt-raio-curto);
  background: var(--hlt-slot-bg);
  color: var(--hlt-ink-2);
  font-family: var(--hlt-fonte-dado);
  font-size: 0.9em;
  letter-spacing: 0.02em;
}

/* Sobre escuro o slot inverte: texto claro e borda em ouro-500, que só é
   legível nesse fundo. O rodapé é claro e por isso usa a regra base. */
.secao--escura .slot {
  color: var(--hlt-dark-ink-2);
  border-color: var(--hlt-accent);
}

/* ---------- Cabeçalho claro com navegação ----------
   O cabeçalho do layout SITE nasceu transparente sobre o Hero escuro. Página
   que abre em papel usa o tema claro, e aí a navegação precisa de tinta — não
   do texto pensado para fundo escuro. */

.cabecalho--claro .cabecalho__ancora {
  color: var(--hlt-ink-2);
}

.cabecalho--claro .cabecalho__ancora:hover,
.cabecalho--claro .cabecalho__ancora[aria-current="page"] {
  color: var(--hlt-ink);
}

.cabecalho--claro .cabecalho__ancora[aria-current="page"] {
  box-shadow: inset 0 -2px 0 0 var(--hlt-accent-ink);
}

.cabecalho--claro .botao--contorno {
  color: var(--hlt-ink);
  border-color: var(--hlt-accent-ink);
}

/* ---------- Chip de estado ----------
   Cor nunca informa sozinha: o chip carrega rótulo textual e um ponto de forma
   distinta — cheio para o que está em conclusão, vazado para o planejado. */

.chip {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin: 0 0 1rem;
  padding: 0.25rem 0.7rem;
  border: 1px solid var(--hlt-slot-border);
  border-radius: 999px;
  background: var(--hlt-slot-bg);
  color: var(--hlt-ink-2);
  font-family: var(--hlt-fonte-dado);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.chip__ponto {
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  background: var(--hlt-accent-ink);
}

.chip--futuro .chip__ponto {
  background: transparent;
  border: 1px solid var(--hlt-ink-2);
}

/* ---------- Moldura de captura pendente ----------
   Captura que ainda não existe aparece como moldura identificada. Nunca uma
   imagem quebrada, nunca a tela de outro produto no lugar. */

.moldura {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0;
  padding: 2rem 1rem;
  min-height: 12rem;
  /* A moldura ocupa a MESMA proporção da captura que vai substituí-la. Sem
     isto, o layout se desloca no dia em que a imagem real chega — e o contrato
     é que ela entre sem redesenho. */
  aspect-ratio: 16 / 10;
  border: 1px dashed var(--hlt-slot-border);
  border-radius: var(--hlt-raio);
  background: var(--hlt-slot-bg);
}

.moldura[data-ratio="4/3"] {
  aspect-ratio: 4 / 3;
}

.moldura[data-ratio="1/1"] {
  aspect-ratio: 1 / 1;
}

.moldura__rotulo {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.35rem;
  color: var(--hlt-ink-2);
  font-family: var(--hlt-fonte-dado);
  font-size: 0.8125rem;
  letter-spacing: 0.06em;
  text-align: center;
}

.moldura__id {
  font-weight: 600;
  text-transform: uppercase;
}

.captura {
  display: block;
  width: 100%;
  height: auto;
  border-radius: var(--hlt-raio);
}

/* ---------- Página de produto ---------- */

.modulos {
  display: grid;
  gap: 4rem;
  margin-top: 3.5rem;
}

.modulo {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 2.5rem;
  align-items: center;
}

.modulo--texto-direita .modulo__texto {
  order: 2;
}

.modulo__ordem {
  margin: 0 0 0.75rem;
  color: var(--hlt-ink-2);
  font-family: var(--hlt-fonte-dado);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.modulo__titulo {
  font-size: 1.75rem;
  line-height: 1.2;
  margin-bottom: 1rem;
}

.modulo__descricao {
  margin-bottom: 1.25rem;
  color: var(--hlt-ink-2);
}

.modulo__bullets {
  display: grid;
  gap: 0.75rem;
  margin: 0 0 1.25rem;
}

.modulo__bullets li {
  position: relative;
  padding-left: 1.25rem;
}

.modulo__bullets li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.6em;
  width: 0.4rem;
  height: 0.4rem;
  border-radius: 50%;
  background: var(--hlt-accent-ink);
}

.modulo__pendencia {
  margin: 0;
  font-size: 0.9375rem;
  color: var(--hlt-ink-2);
}

.produto .fecho,
.solucoes .destaque,
.segmento .destaque {
  margin-top: 3rem;
}

.acoes--fechamento {
  margin-top: 1.5rem;
}

/* ---------- Página de soluções ---------- */

.pares {
  display: grid;
  gap: 2rem;
  margin: 3rem 0;
}

.par-problema {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 2rem;
  padding: 2rem;
  border: 1px solid var(--hlt-hairline);
  border-radius: var(--hlt-raio);
  background: var(--hlt-surface);
}

.par-problema__lado--resposta {
  border-left: 2px solid var(--hlt-accent-ink);
  padding-left: 2rem;
}

.par-problema__rotulo {
  margin: 0 0 0.75rem;
  color: var(--hlt-ink-2);
  font-family: var(--hlt-fonte-dado);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.par-problema__titulo {
  font-size: 1.25rem;
  line-height: 1.3;
  margin-bottom: 0.75rem;
}

/* ---------- Cards de segmento ---------- */

.segmentos {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
  margin: 3rem 0;
}

.segmento-card {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  min-height: var(--hlt-altura-toque);
  padding: 1.5rem;
  border: 1px solid var(--hlt-hairline);
  border-radius: var(--hlt-raio);
  background: var(--hlt-surface);
  text-decoration: none;
}

.segmento-card:hover {
  border-color: var(--hlt-accent-ink);
}

.segmento-card__ordem {
  color: var(--hlt-ink-2);
  font-family: var(--hlt-fonte-dado);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
}

.segmento-card__rotulo {
  font-size: 1.25rem;
  font-weight: 700;
}

.segmento-card__resumo {
  color: var(--hlt-ink-2);
  font-size: 0.9375rem;
}

/* ---------- Página de segmento ---------- */

.segmento__visual {
  margin: 2.5rem auto;
}

.dores {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
  margin: 3rem 0;
}

.dor {
  padding: 1.5rem;
  border-top: 2px solid var(--hlt-hairline-2);
}

.dor__rotulo {
  margin: 0 0 0.5rem;
  color: var(--hlt-ink-2);
  font-family: var(--hlt-fonte-dado);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
}

.dor__titulo {
  font-size: 1.125rem;
  line-height: 1.35;
  margin-bottom: 0.75rem;
}

.dor__resposta {
  margin: 0;
  color: var(--hlt-ink-2);
}

/* ---------- Adaptação para telas estreitas ---------- */

@media (max-width: 1023px) {
  .modulo,
  .par-problema {
    grid-template-columns: minmax(0, 1fr);
  }

  .modulo--texto-direita .modulo__texto {
    order: 0;
  }

  .par-problema__lado--resposta {
    border-left: 0;
    border-top: 2px solid var(--hlt-accent-ink);
    padding-left: 0;
    padding-top: 1.5rem;
  }

  .segmentos,
  .dores {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* ---------- Menu de navegação no mobile ----------
   Painel em <details>: abre e fecha sem JavaScript. No desktop ele some por
   completo e a navegação em linha continua exatamente como era. */

.menu-mobile {
  display: none;
}

.menu-mobile__botao {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-width: var(--hlt-altura-toque);
  min-height: var(--hlt-altura-toque);
  padding: 0 0.75rem;
  border: 1px solid var(--hlt-hairline-2);
  border-radius: var(--hlt-raio);
  cursor: pointer;
  list-style: none;
  font-family: var(--hlt-fonte-dado);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.menu-mobile__botao::-webkit-details-marker {
  display: none;
}

.menu-mobile__icone {
  position: relative;
  width: 1rem;
  height: 2px;
  background: currentColor;
}

.menu-mobile__icone::before,
.menu-mobile__icone::after {
  content: "";
  position: absolute;
  left: 0;
  width: 1rem;
  height: 2px;
  background: currentColor;
}

.menu-mobile__icone::before {
  top: -0.35rem;
}

.menu-mobile__icone::after {
  top: 0.35rem;
}

/* Aberto, o traço do meio some e os outros dois cruzam: vira o × do desenho. */
.menu-mobile[open] .menu-mobile__icone {
  background: transparent;
}

.menu-mobile[open] .menu-mobile__icone::before {
  top: 0;
  transform: rotate(45deg);
}

.menu-mobile[open] .menu-mobile__icone::after {
  top: 0;
  transform: rotate(-45deg);
}

/* O painel é `position: fixed` e portanto sai do fluxo — o estado fechado do
   <details> não o esconde sozinho. Sem esta regra ele permanece renderizado,
   focável e presente na árvore de acessibilidade com o menu fechado. */
.menu-mobile:not([open]) .menu-mobile__painel {
  display: none;
}

.menu-mobile__painel {
  position: fixed;
  left: 0;
  right: 0;
  top: var(--hlt-altura-cabecalho);
  bottom: 0;
  z-index: 60;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  padding: 1.5rem var(--hlt-margem) 2rem;
  background: var(--hlt-bg);
  border-top: 1px solid var(--hlt-hairline);
  overflow-y: auto;
}

.menu-mobile__link {
  display: flex;
  align-items: center;
  min-height: var(--hlt-altura-toque);
  padding: 0.5rem 0;
  border-bottom: 1px solid var(--hlt-hairline);
  color: var(--hlt-ink);
  font-size: 1.125rem;
  font-weight: 500;
  text-decoration: none;
}

.menu-mobile__link[aria-current="page"] {
  color: var(--hlt-accent-ink);
}

.menu-mobile__cta {
  margin-top: 1rem;
}

/* Trava a rolagem do corpo enquanto o painel estiver aberto. */
.tem-menu-aberto {
  overflow: hidden;
}

@media (max-width: 767px) {
  .menu-mobile {
    display: block;
  }

  /* No mobile a navegação inteira migra para o painel: os três elementos do
     cabeçalho não cabem lado a lado em 320px. */
  .cabecalho__nav {
    display: none;
  }
}

/* No cabeçalho escuro o botão herda a tinta clara da barra. */
.cabecalho:not(.cabecalho--claro) .menu-mobile__botao {
  color: var(--hlt-bg);
  border-color: var(--hlt-hairline-dark);
}
