/* ============================================================
   Zero Trust Experts
   Sistema independente, endossado pela NowCy.
   Contrato visual: 00_marca/comunidade/design.md

   Regra da medida de leitura (2026-08-12, corrigida a pedido do Rodrigo):
   1. Limite em `ch` só no elemento que renderiza o texto. `ch` resolve contra a
      fonte do PRÓPRIO elemento, então `max-width: 22ch` num invólucro de 16px
      espreme um H1 de 92px numa coluna de 220px. Foi exatamente esse o bug.
   2. Abaixo de 700px nenhum título ou lead tem limite de largura. O texto usa a
      coluna inteira, e quem controla a margem é o padding do container.
   3. Todo limite novo passa pela medição em 320, 390, 768 e 1440 antes de subir.
      Título com menos de 70% da coluna disponível no celular é bug, não estilo.
   ============================================================ */

:root {
  --zte-papel: #f2efe7;
  --zte-tinta: #151922;
  --zte-cobalt: #2d4bff;
  --zte-cobalt-profundo: #15257a;
  --zte-nevoa: #d9e2ff;
  --zte-coral: #f25b3d;
  --zte-branco: #fff;
  --zte-linha: rgba(21, 25, 34, 0.22);
  --zte-linha-inversa: rgba(242, 239, 231, 0.32);
  --zte-fonte: "IBM Plex Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --zte-mono: "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  --zte-corpo: clamp(1rem, 0.97rem + 0.18vw, 1.075rem);
  --zte-lead: clamp(1.1rem, 1rem + 0.55vw, 1.42rem);
  --zte-h3: clamp(1.35rem, 1.15rem + 0.75vw, 1.85rem);
  --zte-h2: clamp(2.15rem, 1.45rem + 3vw, 4.5rem);
  --zte-h1: clamp(3rem, 1.7rem + 5.8vw, 7.25rem);
  --zte-container: 1200px;
  --zte-container-estreito: 790px;
  --zte-respiro: clamp(5rem, 9vw, 9rem);
  --zte-gutter: clamp(1.25rem, 3.5vw, 3rem);
  --zte-hero-passo: 84px;
}

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

html {
  color-scheme: light;
  scroll-behavior: smooth;
  scroll-padding-top: 5.5rem;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  overflow-x: hidden;
  background: var(--zte-papel);
  color: var(--zte-tinta);
  font-family: var(--zte-fonte);
  font-size: var(--zte-corpo);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

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

h1,
h2,
h3,
p,
ul,
ol,
figure,
blockquote {
  margin: 0;
}

a {
  color: var(--zte-cobalt-profundo);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.2em;
}

a:hover {
  color: var(--zte-cobalt);
}

:focus-visible {
  outline: 3px solid var(--zte-cobalt);
  outline-offset: 4px;
}

@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;
  }
}

.zte-skip {
  position: fixed;
  z-index: 200;
  top: 0.75rem;
  left: 0.75rem;
  padding: 0.65rem 1rem;
  background: var(--zte-coral);
  color: var(--zte-tinta);
  font-weight: 600;
  transform: translateY(-160%);
}

.zte-skip:focus {
  transform: translateY(0);
}

.zte-container {
  width: min(100%, var(--zte-container));
  margin-inline: auto;
  padding-inline: var(--zte-gutter);
}

.zte-container--estreito {
  width: min(100%, var(--zte-container-estreito));
}

/* Mesma largura de leitura do estreito, mas presa à borda esquerda do container largo (home). */
.zte-container--alinhado > * {
  max-width: calc(var(--zte-container-estreito) - 2 * var(--zte-gutter));
}

main {
  counter-reset: zte-dobra;
}

.zte-secao {
  position: relative;
  counter-increment: zte-dobra;
  padding-block: var(--zte-respiro);
  border-top: 1px solid var(--zte-linha);
  background: var(--zte-papel);
}

.zte-secao::before {
  content: counter(zte-dobra, decimal-leading-zero);
  position: absolute;
  top: 1.25rem;
  left: var(--zte-gutter);
  font-family: var(--zte-mono);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  color: var(--zte-cobalt-profundo);
}

.zte-secao--surface {
  background: var(--zte-nevoa);
}

.zte-secao--cobalt {
  background: var(--zte-cobalt);
  color: var(--zte-papel);
}

.zte-secao--cobalt::before {
  color: var(--zte-papel);
}

.zte-secao--cobalt :is(.zte-h2, .zte-lead, .zte-corpo--apoio, p) {
  color: inherit;
}

.zte-secao--cobalt .zte-btn--secundario {
  color: var(--zte-papel);
  border-color: var(--zte-papel);
}

.zte-secao--cobalt .zte-btn--secundario:hover {
  background: var(--zte-papel);
  color: var(--zte-cobalt-profundo);
}

.zte-cartao__rotulo,
.zte-aeo__rotulo,
.zte-patrocinio {
  font-family: var(--zte-mono);
  font-size: 0.72rem;
  line-height: 1.4;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

/* Medida de leitura: os limites em `ch` vivem no bloco @media (min-width: 700px).
   No celular o texto usa a coluna inteira. Ver "Regra da medida de leitura" no topo. */
.zte-h1 {
  font-size: var(--zte-h1);
  font-weight: 600;
  line-height: 0.92;
  letter-spacing: -0.055em;
  text-wrap: balance;
}

.zte-h2 {
  margin-bottom: clamp(1.25rem, 2vw, 2rem);
  font-size: var(--zte-h2);
  font-weight: 600;
  line-height: 1;
  letter-spacing: -0.045em;
  text-wrap: balance;
}

.zte-h3,
.zte-cartao__titulo {
  font-size: var(--zte-h3);
  font-weight: 600;
  line-height: 1.12;
  letter-spacing: -0.025em;
  text-wrap: balance;
}

.zte-lead {
  max-width: 62ch;
  color: rgba(21, 25, 34, 0.8);
  font-size: var(--zte-lead);
  line-height: 1.45;
}

.zte-corpo--apoio,
.zte-cartao__texto,
.zte-nota,
.zte-campo__dica,
.zte-form__legenda {
  color: rgba(21, 25, 34, 0.72);
}

.zte-texto-longo p {
  max-width: 70ch;
}

.zte-texto-longo p + p {
  margin-top: 1.35rem;
}

.zte-mt-lg {
  margin-top: 1.5rem;
}

.zte-btn {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.78rem 1.25rem;
  border: 1px solid transparent;
  border-radius: 0;
  font: 600 0.96rem/1.2 var(--zte-fonte);
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 160ms ease, color 160ms ease, border-color 160ms ease;
}

.zte-btn--primario {
  background: var(--zte-coral);
  color: var(--zte-tinta);
  border-color: var(--zte-coral);
}

.zte-btn--primario:hover {
  background: var(--zte-tinta);
  color: var(--zte-papel);
  border-color: var(--zte-tinta);
}

.zte-btn--secundario {
  background: transparent;
  color: var(--zte-cobalt-profundo);
  border-color: currentColor;
}

.zte-btn--secundario:hover {
  background: var(--zte-cobalt-profundo);
  color: var(--zte-papel);
  border-color: var(--zte-cobalt-profundo);
}

.zte-btn--lg {
  min-height: 54px;
  padding: 0.95rem 1.55rem;
}

.zte-acoes {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.75rem;
}

.zte-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-weight: 600;
  text-decoration: underline;
}

.zte-seta {
  transition: transform 160ms ease;
}

.zte-cta:hover .zte-seta {
  transform: translateX(0.25rem);
}

/* Cabeçalho */
.zte-cabecalho {
  position: sticky;
  z-index: 80;
  top: 0;
  background: rgba(242, 239, 231, 0.96);
  border-bottom: 1px solid var(--zte-tinta);
  backdrop-filter: blur(12px);
}

.zte-cabecalho .zte-container {
  display: flex;
  min-height: 72px;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.zte-marca {
  display: block;
  flex: 0 0 auto;
  color: var(--zte-tinta);
  text-decoration: none;
}

.zte-marca:hover {
  color: var(--zte-tinta);
}

.zte-marca__logo {
  display: block;
  width: clamp(172px, 18vw, 218px);
  height: auto;
}

.zte-nav {
  display: none;
  align-items: center;
}

.zte-nav__lista {
  display: flex;
  align-items: center;
  gap: 0.15rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.zte-nav__item {
  position: relative;
}

.zte-nav__link,
.zte-nav__gatilho {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.55rem 0.68rem;
  border: 0;
  background: transparent;
  color: var(--zte-tinta);
  font: 500 0.9rem/1.2 var(--zte-fonte);
  white-space: nowrap;
  text-decoration: none;
  cursor: pointer;
}

.zte-nav__link:hover,
.zte-nav__gatilho:hover,
.zte-nav__link[aria-current="page"] {
  color: var(--zte-cobalt);
  text-decoration: underline;
  text-underline-offset: 0.35rem;
}

.zte-nav__cta {
  min-height: 40px;
  white-space: nowrap;
  margin-left: 0.65rem;
  padding: 0.62rem 0.9rem;
  font-size: 0.88rem;
}

.zte-submenu {
  position: absolute;
  top: calc(100% + 1rem);
  left: 0;
  min-width: 270px;
  margin: 0;
  padding: 0;
  background: var(--zte-papel);
  border: 1px solid var(--zte-tinta);
  list-style: none;
  box-shadow: 8px 8px 0 var(--zte-cobalt);
}

.zte-submenu__link {
  display: block;
  padding: 0.78rem 0.9rem;
  border-bottom: 1px solid var(--zte-linha);
  color: var(--zte-tinta);
  text-decoration: none;
}

.zte-submenu li:last-child .zte-submenu__link {
  border-bottom: 0;
}

.zte-submenu__link:hover {
  background: var(--zte-nevoa);
  color: var(--zte-cobalt-profundo);
}

.zte-menu-btn {
  display: inline-flex;
  flex-direction: column;
  gap: 5px;
  padding: 0.55rem;
  border: 1px solid var(--zte-tinta);
  background: transparent;
  cursor: pointer;
}

.zte-menu-btn span {
  width: 24px;
  height: 2px;
  background: var(--zte-tinta);
}

.zte-menu-mobile {
  background: var(--zte-papel);
  border-top: 1px solid var(--zte-linha);
}

.zte-menu-mobile ul {
  margin: 0;
  padding: 0 var(--zte-gutter);
  list-style: none;
}

.zte-menu-mobile a {
  display: block;
  padding: 0.85rem 0;
  border-bottom: 1px solid var(--zte-linha);
  color: var(--zte-tinta);
  font-weight: 500;
  text-decoration: none;
}

/* Hero: texto sobre fundo, sem coluna de imagem */
.zte-hero {
  position: relative;
  overflow: hidden;
  background: var(--zte-cobalt);
  color: var(--zte-papel);
  isolation: isolate;
}

.zte-hero__fundo {
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    url("/assets/grafismo-campo-de-decisao.svg") no-repeat right -12% center / auto 150%,
    repeating-linear-gradient(
      to right,
      var(--zte-linha-inversa) 0 1px,
      transparent 1px var(--zte-hero-passo)
    ),
    radial-gradient(120% 90% at 8% 0%, var(--zte-cobalt) 0%, var(--zte-cobalt-profundo) 68%);
  opacity: 1;
  animation: zte-hero-fundo-entra 900ms cubic-bezier(0.2, 0.75, 0.25, 1) both;
}

.zte-hero__fundo::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to right,
    var(--zte-cobalt-profundo) 0%,
    var(--zte-cobalt-profundo) 42%,
    rgba(21, 37, 122, 0) 78%
  );
}

.zte-hero .zte-container {
  position: relative;
  z-index: 1;
  padding-top: clamp(3rem, 7vw, 6rem);
  padding-bottom: clamp(3rem, 7vw, 6rem);
}

.zte-hero__corpo {
  max-width: 100%;
}

.zte-hero .zte-h1 {
  font-size: clamp(2.6rem, 1.6rem + 4.4vw, 5.75rem);
  line-height: 0.96;
}

.zte-hero__lead {
  max-width: 44ch;
  margin-top: clamp(1.35rem, 2.4vw, 2rem);
  color: var(--zte-papel);
}

.zte-hero__corpo .zte-acoes {
  margin-top: clamp(1.6rem, 3vw, 2.5rem);
}

.zte-hero .zte-btn--secundario {
  color: var(--zte-papel);
  border-color: var(--zte-papel);
}

.zte-hero .zte-btn--secundario:hover {
  background: var(--zte-papel);
  color: var(--zte-cobalt-profundo);
}

.zte-hero__resposta {
  max-width: 82ch;
  margin-top: clamp(2rem, 4vw, 3rem);
  padding-top: clamp(1.25rem, 2.5vw, 2rem);
  border-top: 1px solid var(--zte-linha-inversa);
  color: var(--zte-nevoa);
}

@keyframes zte-hero-fundo-entra {
  from {
    opacity: 0;
    transform: scale(1.04);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

.zte-aeo {
  display: grid;
  gap: 1rem;
  padding: clamp(1.25rem, 2.5vw, 2rem) 0;
  border-top: 1px solid var(--zte-linha);
  border-bottom: 1px solid var(--zte-linha);
}

.zte-aeo__rotulo {
  color: var(--zte-cobalt-profundo);
}

/* Grades editoriais */
.zte-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  margin-top: clamp(2rem, 4vw, 3.5rem);
  padding: 0;
  border-top: 1px solid var(--zte-tinta);
  border-left: 1px solid var(--zte-tinta);
  list-style: none;
}

.zte-cartao {
  display: flex;
  min-width: 0;
  min-height: 280px;
  flex-direction: column;
  gap: 0.9rem;
  padding: clamp(1.5rem, 3vw, 2.4rem);
  background: transparent;
  border-right: 1px solid var(--zte-tinta);
  border-bottom: 1px solid var(--zte-tinta);
  transition: background-color 180ms ease;
}

.zte-cartao:hover {
  background: var(--zte-nevoa);
}

.zte-secao--surface .zte-cartao:hover {
  background: var(--zte-papel);
}

.zte-cartao__rotulo {
  color: var(--zte-cobalt-profundo);
}

.zte-cartao__texto {
  font-size: 0.98rem;
}

.zte-cartao__link {
  margin-top: auto;
  padding-top: 1rem;
}

.zte-oferta--destaque {
  background: var(--zte-cobalt);
  color: var(--zte-papel);
}

.zte-oferta--destaque:hover {
  background: var(--zte-cobalt-profundo);
}

.zte-oferta--destaque :is(.zte-cartao__rotulo, .zte-cartao__texto, .zte-preco__periodo) {
  color: var(--zte-papel);
}

.zte-oferta--destaque .zte-preco__valor {
  color: var(--zte-papel);
}

.zte-preco {
  display: flex;
  align-items: baseline;
  gap: 0.4rem;
  font-family: var(--zte-mono);
}

.zte-preco__valor {
  color: var(--zte-cobalt);
  font-size: 2.25rem;
  font-weight: 600;
}

.zte-preco__periodo {
  font-size: 0.85rem;
}

/* Prova */
.zte-secao--prova {
  background: var(--zte-tinta);
  color: var(--zte-papel);
}

.zte-secao--prova::before {
  color: var(--zte-coral);
}

.zte-prova {
  display: grid;
  border-top: 1px solid var(--zte-linha-inversa);
  border-bottom: 1px solid var(--zte-linha-inversa);
}

.zte-prova__item {
  display: grid;
  align-content: space-between;
  gap: 2rem;
  min-height: 220px;
  padding: 1.5rem 0;
  border-bottom: 1px solid var(--zte-linha-inversa);
}

.zte-prova__item:last-child {
  border-bottom: 0;
}

.zte-prova--quatro .zte-prova__num {
  font-size: clamp(2.4rem, 4.4vw, 3.9rem);
}

.zte-prova__num {
  color: var(--zte-coral);
  font-size: clamp(2.6rem, 5vw, 5.4rem);
  font-weight: 600;
  line-height: 0.9;
  letter-spacing: -0.06em;
}

.zte-prova__rotulo {
  color: var(--zte-papel);
  font-family: var(--zte-mono);
  font-size: 0.76rem;
  line-height: 1.5;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

/* Manifesto (home) */
.zte-secao--manifesto {
  background: var(--zte-tinta);
  color: var(--zte-papel);
}

.zte-secao--manifesto :is(.zte-h2, p) {
  color: var(--zte-papel);
}

.zte-manifesto {
  display: grid;
  gap: clamp(1.75rem, 3.5vw, 3rem);
  padding-bottom: clamp(2.5rem, 5vw, 4rem);
}

.zte-manifesto__texto {
  display: grid;
  gap: 1.15rem;
  max-width: 68ch;
}

.zte-manifesto__texto p {
  font-size: var(--zte-corpo);
}

/* Seção com ilustração à esquerda do título (home). No celular a peça sobe e encolhe. */
.zte-ilustrada {
  display: grid;
  align-items: center;
  gap: clamp(2rem, 5vw, 5rem);
}

.zte-ilustrada__visual img {
  display: block;
  width: min(100%, 15rem);
  height: auto;
}

/* Mentores (home) */
.zte-mentor {
  gap: 0.6rem;
}

.zte-mentor__sigla {
  display: grid;
  place-items: center;
  width: 3.25rem;
  height: 3.25rem;
  margin-bottom: 0.85rem;
  background: var(--zte-cobalt);
  color: var(--zte-papel);
  font-family: var(--zte-mono);
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.zte-mentor .zte-cartao__rotulo {
  order: 0;
  color: var(--zte-cobalt-profundo);
}

.zte-mentor__certificacoes {
  margin-top: auto;
  padding-top: 1.25rem;
  color: var(--zte-tinta);
  font-family: var(--zte-mono);
  font-size: 0.74rem;
  line-height: 1.6;
}

/* Curadoria NowCy (home): prova escura com título, texto e link de saída */
.zte-curadoria .zte-prova {
  margin-block: clamp(2rem, 4vw, 3.5rem) 1.75rem;
}

.zte-curadoria .zte-cta {
  color: var(--zte-papel);
}

.zte-curadoria .zte-cta:hover {
  color: var(--zte-nevoa);
}

/* Listas e processos */
.zte-lista,
.zte-passos {
  display: grid;
  gap: 0;
  margin: clamp(2rem, 4vw, 3.5rem) 0 0;
  padding: 0;
  border-top: 1px solid var(--zte-tinta);
  list-style: none;
}

.zte-lista__item,
.zte-passos li {
  display: grid;
  grid-template-columns: 2.5rem 1fr;
  gap: 1rem;
  padding: 1.25rem 0;
  border-bottom: 1px solid var(--zte-linha);
}

.zte-lista__marca {
  width: 2.5rem;
  color: transparent;
  font-size: 0;
}

.zte-lista__marca::before {
  content: "↳";
  color: var(--zte-cobalt);
  font-family: var(--zte-mono);
  font-size: 1.1rem;
}

.zte-lista__texto {
  color: var(--zte-tinta);
}

.zte-passos {
  counter-reset: zte-passo;
}

.zte-passos li {
  counter-increment: zte-passo;
}

.zte-passos li::before {
  content: counter(zte-passo, decimal-leading-zero);
  color: var(--zte-cobalt);
  font-family: var(--zte-mono);
  font-size: 0.78rem;
  letter-spacing: 0.08em;
}

/* Passos sobre o cobalt (convite da home) */
.zte-secao--cobalt .zte-passos {
  border-top-color: var(--zte-papel);
}

.zte-secao--cobalt .zte-passos li {
  border-bottom-color: var(--zte-linha-inversa);
}

.zte-secao--cobalt .zte-passos li::before {
  color: var(--zte-nevoa);
}

/* Protocolo visual da home */
.zte-secao--protocolo {
  overflow: hidden;
  background: var(--zte-nevoa);
}

.zte-protocolo {
  display: grid;
  align-items: center;
  gap: clamp(2.5rem, 6vw, 6rem);
}

.zte-protocolo__visual {
  position: relative;
  min-height: 430px;
}

.zte-protocolo__visual > img {
  position: absolute;
  inset: 50% auto auto 50%;
  width: min(120%, 620px);
  transform: translate(-50%, -50%);
  opacity: 0.24;
}

.zte-protocolo__rota {
  position: relative;
  z-index: 1;
  display: grid;
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--zte-tinta);
  list-style: none;
}

.zte-protocolo__rota li {
  display: grid;
  grid-template-columns: 3rem 1fr;
  gap: 1rem;
  padding: 1.1rem 0;
  border-bottom: 1px solid var(--zte-tinta);
  background: rgba(217, 226, 255, 0.78);
}

.zte-protocolo__rota span {
  color: var(--zte-cobalt-profundo);
  font-family: var(--zte-mono);
  font-size: 0.72rem;
}

.zte-protocolo__rota strong {
  font-size: 1.05rem;
}

/* FAQ */
.zte-secao--faq {
  background: var(--zte-papel);
}

.zte-faq {
  margin-top: 2rem;
  border-top: 1px solid var(--zte-tinta);
}

.zte-faq details {
  border-bottom: 1px solid var(--zte-tinta);
}

.zte-faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.3rem 0;
  color: var(--zte-tinta);
  font-weight: 600;
  list-style: none;
  cursor: pointer;
}

.zte-faq summary::-webkit-details-marker {
  display: none;
}

.zte-faq summary:hover {
  color: var(--zte-cobalt);
}

.zte-faq__seta {
  color: var(--zte-cobalt);
  font-size: 1.5rem;
  transition: transform 180ms ease;
}

.zte-faq details[open] .zte-faq__seta {
  transform: rotate(90deg);
}

.zte-faq__texto {
  max-width: 70ch;
  padding: 0 0 1.5rem;
  color: rgba(21, 25, 34, 0.75);
}

/* Tabelas */
.zte-tabela-wrap {
  overflow-x: auto;
  margin-top: 2rem;
  border: 1px solid var(--zte-tinta);
}

.zte-tabela {
  width: 100%;
  min-width: 580px;
  border-collapse: collapse;
}

.zte-tabela th,
.zte-tabela td {
  padding: 0.85rem 1rem;
  border-right: 1px solid var(--zte-linha);
  border-bottom: 1px solid var(--zte-linha);
  text-align: left;
  vertical-align: top;
}

.zte-tabela th {
  background: var(--zte-cobalt);
  color: var(--zte-papel);
  font-size: 0.86rem;
  font-weight: 600;
}

.zte-tabela td {
  background: rgba(255, 255, 255, 0.28);
  font-size: 0.92rem;
}

/* Formulários */
.zte-secao--candidatura {
  scroll-margin-top: 72px;
  background: var(--zte-nevoa);
}

.zte-secao--pagina-candidatura {
  min-height: 75vh;
}

.zte-secao--pagina-candidatura .zte-candidatura__intro .zte-h1 {
  max-width: 11ch;
}

.zte-candidatura__nota {
  display: grid;
  gap: 0.6rem;
  margin: 2rem 0 1.5rem;
  padding-top: 1rem;
  border-top: 1px solid var(--zte-tinta);
  font-family: var(--zte-mono);
  font-size: 0.76rem;
  text-transform: uppercase;
}

.zte-candidatura {
  display: grid;
  gap: clamp(2.5rem, 6vw, 5rem);
}

.zte-candidatura__intro {
  max-width: 62ch;
}

.zte-candidatura__indice,
.zte-form__etapa {
  color: var(--zte-cobalt-profundo);
  font-family: var(--zte-mono);
  font-size: 0.72rem;
  line-height: 1.5;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.zte-candidatura__indice {
  margin-bottom: 1.5rem;
}

.zte-candidatura__captura {
  border-top: 1px solid var(--zte-tinta);
}

.zte-form {
  display: grid;
  gap: 1.15rem;
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 1px solid var(--zte-tinta);
}

.zte-form--candidatura {
  gap: 1.5rem;
  margin: 0;
  padding-top: 1.5rem;
  border-top: 0;
}

.zte-form--candidatura[hidden] {
  display: none;
}

.zte-form--candidatura .zte-campo__entrada {
  background: var(--zte-papel);
}

.zte-form__progresso {
  display: grid;
  gap: 0.7rem;
  color: var(--zte-cobalt-profundo);
  font-family: var(--zte-mono);
  font-size: 0.76rem;
}

.zte-form__trilha {
  display: block;
  height: 3px;
  background: rgba(45, 75, 255, 0.2);
}

.zte-form__trilha span {
  display: block;
  width: 50%;
  height: 100%;
  background: var(--zte-cobalt);
  transition: width 180ms ease;
}

.zte-form__passo {
  display: grid;
  gap: 1.15rem;
}

.zte-form__passo[hidden],
.zte-form__feedback[hidden] {
  display: none;
}

.zte-form__acoes {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem;
}

.zte-form__acoes .zte-btn {
  max-width: 100%;
}

.zte-form__antispam {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.zte-form__consentimento {
  display: grid;
  grid-template-columns: 1.25rem minmax(0, 1fr);
  align-items: start;
  gap: 0.8rem;
  max-width: 58ch;
  font-size: 0.91rem;
  line-height: 1.5;
  cursor: pointer;
}

.zte-form__consentimento input {
  width: 1.2rem;
  height: 1.2rem;
  margin: 0.15rem 0 0;
  accent-color: var(--zte-cobalt);
}

.zte-form__consentimento a {
  color: var(--zte-cobalt-profundo);
  text-decoration: underline;
}

.zte-form--candidatura .zte-btn {
  justify-self: start;
}

.zte-form--candidatura .zte-btn:disabled {
  cursor: wait;
  opacity: 0.7;
}

.zte-form__feedback {
  padding: 0.9rem 1rem;
  border-left: 4px solid var(--zte-coral);
  background: var(--zte-papel);
  font-size: 0.92rem;
}

.zte-candidatura__sucesso {
  display: grid;
  justify-items: start;
  gap: 1.25rem;
  padding-top: 1.5rem;
}

.zte-candidatura__sucesso[hidden] {
  display: none;
}

.zte-candidatura__sucesso h2 {
  max-width: 15ch;
  color: var(--zte-cobalt-profundo);
  font-size: clamp(2rem, 1.5rem + 2vw, 3.2rem);
  line-height: 1.05;
  letter-spacing: -0.04em;
}

.zte-candidatura__sucesso p:not(.zte-form__etapa) {
  max-width: 54ch;
}

/* Página de captura: mesmo percurso e hierarquia do formulário NowCy, na marca ZTE. */
.zte-captura {
  min-height: 100vh;
  background: var(--zte-papel);
}

.zte-captura__casca {
  width: min(100%, 1190px);
  margin-inline: auto;
  padding: 36px 34px 70px;
}

.zte-form--candidatura {
  display: block;
  margin: 0;
  padding: 0;
  border: 0;
}

.zte-captura__topo {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.zte-captura__marca {
  display: inline-block;
  flex: none;
}

.zte-captura__marca img {
  width: 200px;
  height: auto;
}

.zte-captura__etapa {
  color: var(--zte-cobalt-profundo);
  font: 400 0.75rem/1.4 var(--zte-mono);
  letter-spacing: 0.035em;
  white-space: nowrap;
}

.zte-captura__trilha {
  height: 4px;
  margin-top: 27px;
  overflow: hidden;
  background: rgba(45, 75, 255, 0.18);
}

.zte-captura__trilha span {
  display: block;
  width: 33.333%;
  height: 100%;
  background: var(--zte-cobalt);
  transition: width 180ms ease;
}

.zte-captura__conteudo,
.zte-captura__sucesso-conteudo {
  width: min(100%, 742px);
  margin-inline: auto;
}

.zte-captura__conteudo {
  margin-top: 75px;
}

.zte-captura__passo[hidden],
.zte-captura__sucesso[hidden],
.zte-captura__voltar[hidden],
.zte-captura__ajuda[hidden] {
  display: none;
}

.zte-captura__passo h1,
.zte-captura__sucesso h1 {
  margin: 0 0 17px;
  color: var(--zte-cobalt-profundo);
  font-size: clamp(36px, 4vw, 51px);
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: -0.045em;
}

.zte-captura__passo h1:focus {
  outline: none;
}

.zte-captura__descricao {
  margin-bottom: 30px;
  color: rgba(21, 25, 34, 0.72);
  font-size: 18px;
  line-height: 1.45;
}

.zte-captura__campos {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.zte-captura .zte-campo {
  gap: 8px;
  font-size: 14px;
  line-height: 1.4;
}

.zte-captura .zte-campo__entrada {
  min-height: 52px;
  padding: 13px 14px;
  border-color: rgba(21, 25, 34, 0.48);
  border-radius: 2px;
  background: var(--zte-branco);
  font-size: 16px;
  line-height: 1.5;
}

.zte-captura textarea.zte-campo__entrada {
  min-height: 160px;
}

.zte-captura .zte-campo__entrada[aria-invalid="true"],
.zte-captura .zte-form__consentimento input[aria-invalid="true"] {
  outline: 2px solid var(--zte-coral);
  outline-offset: 2px;
}

.zte-captura__resumo {
  display: grid;
  grid-template-columns: minmax(90px, 170px) minmax(0, 1fr);
  gap: 10px 16px;
  margin: 0 0 30px;
  overflow-wrap: anywhere;
}

.zte-captura__resumo dt {
  font-weight: 600;
}

.zte-captura__resumo dd {
  margin: 0;
  white-space: pre-wrap;
}

.zte-captura__acoes {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 28px;
}

.zte-captura__ajuda {
  margin: 0;
  color: rgba(21, 25, 34, 0.72);
  font-size: 14px;
  line-height: 1.45;
}

.zte-captura__voltar {
  min-height: 54px;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--zte-cobalt-profundo);
  font: 600 16px/1.4 var(--zte-fonte);
  cursor: pointer;
}

.zte-captura__voltar:hover {
  text-decoration: underline;
}

.zte-form--candidatura .zte-captura__acoes .zte-btn {
  min-width: 207px;
  min-height: 54px;
  margin-left: auto;
  padding-inline: 20px;
  font-size: 16px;
}

.zte-captura .zte-form__feedback {
  margin-top: 18px;
}

.zte-captura__sucesso-conteudo {
  margin-top: 75px;
}

.zte-captura__sucesso-conteudo p {
  max-width: 55ch;
  margin-bottom: 30px;
  font-size: 18px;
  line-height: 1.5;
}

@media (max-width: 700px) {
  .zte-captura__casca {
    padding: 26px 20px 38px;
  }

  .zte-captura__marca img {
    width: 164px;
  }

  .zte-captura__etapa {
    font-size: 11px;
  }

  .zte-captura__trilha {
    margin-top: 23px;
  }

  .zte-captura__conteudo,
  .zte-captura__sucesso-conteudo {
    margin-top: 54px;
  }

  .zte-captura__passo h1,
  .zte-captura__sucesso h1 {
    margin-bottom: 13px;
    font-size: 38px;
    line-height: 1.12;
  }

  .zte-captura__descricao {
    margin-bottom: 25px;
    font-size: 15px;
  }

  .zte-captura__campos {
    grid-template-columns: 1fr;
  }

  .zte-captura__acoes {
    display: block;
    margin-top: 21px;
  }

  .zte-captura__ajuda {
    font-size: 12px;
  }

  .zte-captura__voltar {
    min-height: 40px;
    margin-bottom: 5px;
  }

  .zte-form--candidatura .zte-captura__acoes .zte-btn {
    width: 100%;
    margin-top: 13px;
  }

  .zte-captura__resumo {
    grid-template-columns: minmax(76px, 110px) minmax(0, 1fr);
  }
}

.zte-campo {
  display: grid;
  gap: 0.4rem;
}

.zte-campo__rotulo {
  font-weight: 600;
}

.zte-campo__entrada,
.zte-campo textarea,
.zte-campo select {
  width: 100%;
  min-height: 50px;
  padding: 0.78rem 0.85rem;
  border: 1px solid var(--zte-tinta);
  border-radius: 0;
  background: var(--zte-branco);
  color: var(--zte-tinta);
  font: 1rem/1.4 var(--zte-fonte);
}

.zte-campo textarea {
  min-height: 110px;
  resize: vertical;
}

.zte-campo__entrada:focus,
.zte-campo textarea:focus,
.zte-campo select:focus {
  outline: 3px solid var(--zte-cobalt);
  outline-offset: 2px;
}

.zte-campo__entrada[aria-invalid="true"] {
  border-color: #9e2311;
}

.zte-campo__dica,
.zte-campo__erro,
.zte-form__legenda {
  font-size: 0.82rem;
}

.zte-campo__erro {
  color: #8e210f;
}

.zte-form__homologacao {
  margin: 0 0 0.5rem;
  padding: 1rem;
  border-left: 5px solid var(--zte-coral);
  background: var(--zte-nevoa);
  color: var(--zte-tinta);
  font-size: 0.88rem;
}

form[data-homologacao-inativo] :is(input, select, textarea, button):disabled {
  cursor: not-allowed;
  opacity: 0.62;
}

.zte-patrocinio {
  display: inline-flex;
  padding: 0.3rem 0.55rem;
  border: 1px solid currentColor;
  color: var(--zte-cobalt-profundo);
}

.zte-nota {
  margin-top: 0.8rem;
  font-size: 0.86rem;
}

/* Rodapé */
.zte-rodape {
  margin-top: 0;
  padding-top: clamp(4rem, 7vw, 7rem);
  background: var(--zte-tinta);
  color: var(--zte-papel);
}

.zte-rodape__cols {
  display: grid;
  gap: 2.5rem;
}

.zte-rodape__titulo {
  margin-bottom: 0.9rem;
  color: var(--zte-coral);
  font-family: var(--zte-mono);
  font-size: 0.72rem;
  font-weight: 400;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.zte-rodape__lista {
  display: grid;
  gap: 0.6rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.zte-rodape__link {
  color: var(--zte-papel);
  text-decoration: none;
}

.zte-rodape__link:hover {
  color: var(--zte-coral);
  text-decoration: underline;
}

.zte-rodape__inferior {
  margin-top: clamp(3rem, 6vw, 6rem);
  padding-block: 2rem;
  border-top: 1px solid var(--zte-linha-inversa);
}

.zte-rodape__inferior .zte-container {
  display: grid;
  gap: 2rem;
}

.zte-endosso {
  display: block;
  width: min(100%, 327px);
}

.zte-endosso img {
  width: 100%;
}

.zte-rodape__legal {
  max-width: 72ch;
  color: rgba(242, 239, 231, 0.72);
  font-size: 0.82rem;
}

.zte-rodape__legal .zte-rodape__link {
  text-decoration: underline;
}

@media (min-width: 700px) {
  .zte-aeo {
    grid-template-columns: minmax(135px, 0.28fr) 1fr;
    gap: 2rem;
  }

  .zte-grid--2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .zte-prova {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .zte-prova--quatro {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .zte-prova__item {
    padding: 1.75rem;
    border-right: 1px solid var(--zte-linha-inversa);
    border-bottom: 0;
  }

  .zte-prova__item:last-child {
    border-right: 0;
  }

  .zte-prova--quatro .zte-prova__item:nth-child(2n) {
    border-right: 0;
  }

  .zte-prova--quatro .zte-prova__item:nth-child(-n + 2) {
    border-bottom: 1px solid var(--zte-linha-inversa);
  }

  .zte-rodape__cols {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  /* Medida de leitura: só a partir daqui o texto ganha limite de largura.
     O limite em `ch` fica no elemento que renderiza o texto, nunca no invólucro,
     porque `ch` resolve contra a fonte do próprio elemento. */
  .zte-h1 {
    max-width: 15ch;
  }

  .zte-h2 {
    max-width: 22ch;
  }

  .zte-hero__corpo {
    max-width: min(100%, 46rem);
  }

  .zte-prova__rotulo {
    max-width: 24ch;
  }
}

@media (min-width: 820px) {
  .zte-candidatura {
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  }

  .zte-candidatura__captura {
    padding-left: clamp(2rem, 5vw, 5rem);
    border-top: 0;
    border-left: 1px solid var(--zte-tinta);
  }

  .zte-form--candidatura,
  .zte-candidatura__sucesso {
    padding-top: 0;
  }

  .zte-prova--quatro {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .zte-prova--quatro .zte-prova__item:nth-child(-n + 2) {
    border-bottom: 0;
  }

  .zte-prova--quatro .zte-prova__item:nth-child(2n) {
    border-right: 1px solid var(--zte-linha-inversa);
  }

  .zte-prova--quatro .zte-prova__item:last-child {
    border-right: 0;
  }

  .zte-protocolo {
    grid-template-columns: minmax(0, 0.85fr) minmax(380px, 1.15fr);
  }

  .zte-ilustrada {
    grid-template-columns: minmax(0, 0.7fr) minmax(0, 1.3fr);
  }

  .zte-ilustrada__visual img {
    width: min(100%, 26rem);
  }

  .zte-grid--3,
  .zte-grid--4 {
    grid-template-columns: repeat(12, minmax(0, 1fr));
  }

  .zte-grid--3 > :nth-child(3n + 1) {
    grid-column: span 5;
  }

  .zte-grid--3 > :nth-child(3n + 2) {
    grid-column: span 3;
  }

  .zte-grid--3 > :nth-child(3n + 3) {
    grid-column: span 4;
  }

  .zte-grid--4 > :nth-child(4n + 1),
  .zte-grid--4 > :nth-child(4n + 4) {
    grid-column: span 7;
  }

  .zte-grid--4 > :nth-child(4n + 2),
  .zte-grid--4 > :nth-child(4n + 3) {
    grid-column: span 5;
  }

  /* Três mentores pedem colunas iguais: o ritmo 5/3/4 espreme as certificações. */
  .zte-grid--3.zte-mentores > * {
    grid-column: span 4;
  }

  .zte-grid--5 {
    grid-template-columns: repeat(12, minmax(0, 1fr));
  }

  .zte-grid--5 > :nth-child(1),
  .zte-grid--5 > :nth-child(3) {
    grid-column: span 4;
  }

  .zte-grid--5 > :nth-child(2) {
    grid-column: span 4;
  }

  .zte-grid--5 > :nth-child(4) {
    grid-column: span 7;
  }

  .zte-grid--5 > :nth-child(5) {
    grid-column: span 5;
  }

  .zte-rodape__cols {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .zte-rodape__inferior .zte-container {
    grid-template-columns: 327px 1fr;
    align-items: end;
    justify-content: space-between;
  }
}

@media (min-width: 1180px) {
  .zte-nav {
    display: flex;
  }

  .zte-menu-btn,
  .zte-menu-mobile {
    display: none;
  }
}

@media (min-width: 1280px) {
  .zte-secao::before {
    left: max(1.25rem, calc(50% - 600px));
  }
}

@media (max-width: 520px) {
  .zte-marca__logo {
    width: 164px;
  }

  .zte-acoes,
  .zte-acoes .zte-btn,
  .zte-cartao__link .zte-btn,
  .zte-form .zte-btn {
    width: 100%;
  }

  .zte-cartao {
    min-height: 240px;
  }

  .zte-hero__fundo {
    background-size: auto 110%, auto, auto;
    background-position: right -40% center, 0 0, 0 0;
  }
}
