/* ==========================================================================
   NERO IT Solutions · site institucional
   Fonte da verdade: Brand Book v1.0 (vault braim › Nero — Arquivos da Marca)
   Conceito: "uma linha que evolui sem se quebrar" — faixa W, dobra tangente,
   45° como ângulo único, fenda 0,175 W, ponta cortada a 45°.
   ========================================================================== */

/* ---------- Tokens (colors/palette.md) ---------- */
:root {
  /* Marca */
  --menta: #02D1A4;          /* assinatura — só sobre fundo escuro */
  --verde: #0B4A3E;          /* símbolo e títulos no claro */
  --grafite: #0B1513;        /* base escura */
  /* Neutros */
  --nevoa: #F3F6F5;
  --branco: #FFFFFF;
  --pedra: #E9ECEB;
  --linha: #CFD6D4;
  --cinza: #495957;          /* texto secundário no claro */
  --cinza-nevoa: #99A4A2;    /* texto secundário no escuro */
  --sup-escura: #0F1F1D;
  --painel-escuro: #1F2F2D;
  --borda-escura: #344543;
  /* Estado */
  --link-claro: #097C61;
  --foco-claro: #0D9877;
  --sucesso-escuro: #C8D73D;
  --erro-escuro: #D7506E;

  /* Tipografia (typography/typography.md) */
  --font: "Archivo", system-ui, "Segoe UI", Roboto, sans-serif;
  --mono: "Martian Mono", ui-monospace, "SF Mono", Consolas, monospace;

  /* Grade: módulo = W/2. No site, W = 24px */
  --w: 24px;
  --gutter: 16px;
  --max: 1240px;
  --ease: cubic-bezier(.2, .7, .1, 1);
  --corte: 10px;             /* ponta cortada a 45° em botões e cartões */
}
@media (min-width: 720px) { :root { --gutter: 40px; } }

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  font: 400 16px/26px var(--font);
  font-stretch: 100%;
  color: var(--grafite);
  background: var(--nevoa);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
button, input, textarea { font: inherit; color: inherit; }
::selection { background: var(--menta); color: var(--grafite); }
:focus-visible { outline: 2px solid var(--foco-claro); outline-offset: 3px; }
.on-dark :focus-visible { outline-color: var(--menta); }

.wrap { width: 100%; max-width: calc(var(--max) + var(--gutter) * 2); margin: 0 auto; padding: 0 var(--gutter); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: var(--gutter); top: -60px; z-index: 100; background: var(--menta); color: var(--grafite); padding: 10px 16px; font-weight: 600; text-decoration: none; }
.skip:focus { top: 12px; }

/* Superfícies */
.on-dark { background: var(--grafite); color: var(--nevoa); }
.on-verde { background: var(--verde); color: var(--branco); }

/* ---------- Hierarquia ---------- */
.display, .t1, .t2 { margin: 0; font-weight: 600; text-wrap: balance; }
.display { font-size: 40px; line-height: 46px; font-stretch: 118%; font-weight: 560; letter-spacing: -.015em; }
.t1 { font-size: 32px; line-height: 40px; font-stretch: 118%; letter-spacing: -.01em; }
.t2 { font-size: 26px; line-height: 34px; font-stretch: 112%; letter-spacing: -.005em; }
.t3 { margin: 0; font-size: 20px; line-height: 28px; font-weight: 600; }
@media (min-width: 900px) {
  .display { font-size: 64px; line-height: 72px; }
  .t1 { font-size: 48px; line-height: 56px; }
  .t2 { font-size: 32px; line-height: 40px; }
  .t3 { font-size: 22px; line-height: 30px; }
}
.lede { font-size: 17px; line-height: 26px; margin: 0; max-width: 34em; }
@media (min-width: 900px) { .lede { font-size: 18px; line-height: 28px; } }
.muted { color: var(--cinza); }
.on-dark .muted { color: var(--cinza-nevoa); }
.on-verde .muted { color: rgba(255,255,255,.78); }

/* Sobretítulo com marcador (ponta a 45°) */
.eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  margin: 0; font: 500 12px/16px var(--font); font-stretch: 125%;
  letter-spacing: .18em; text-transform: uppercase; color: var(--verde);
}
.eyebrow::before {
  content: ""; width: 7px; height: 16px; flex: none; background: currentColor;
  clip-path: polygon(0 7px, 7px 0, 7px 100%, 0 100%); /* marcador.svg */
}
.on-dark .eyebrow, .on-verde .eyebrow { color: var(--menta); }
.eyebrow.plain::before { display: none; }

.mono { font-family: var(--mono); font-stretch: 87%; font-variant-numeric: tabular-nums; font-size: 13px; line-height: 20px; }
@media (min-width: 900px) { .mono { font-size: 14px; line-height: 22px; } }

/* ---------- Botões: ponta superior esquerda cortada a 45° ---------- */
.btn {
  --bg: var(--verde); --fg: var(--branco);
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  min-height: 52px; padding: 0 24px 0 26px; border: 0; cursor: pointer;
  font: 600 15px/20px var(--font); letter-spacing: .01em; text-decoration: none;
  background: var(--bg); color: var(--fg);
  clip-path: polygon(var(--corte) 0, 100% 0, 100% 100%, 0 100%, 0 var(--corte));
  transition: background-color .25s var(--ease), color .25s var(--ease), transform .25s var(--ease);
}
.btn svg { width: 18px; height: 18px; flex: none; transition: transform .35s var(--ease); }
.btn:hover svg { transform: translateX(4px); }
.btn:active { transform: translateY(1px); }
.btn:disabled { cursor: not-allowed; opacity: .45; }
.btn:disabled:hover svg { transform: none; }
.on-dark .btn, .on-verde .btn { --bg: var(--menta); --fg: var(--grafite); }
.on-dark .btn:hover:not(:disabled), .on-verde .btn:hover:not(:disabled) { --bg: var(--nevoa); }
.btn:hover:not(:disabled) { --bg: var(--grafite); }
.btn-ghost { --bg: transparent; --fg: currentColor; box-shadow: inset 0 0 0 1px var(--linha); clip-path: none; }
.on-dark .btn-ghost { --bg: transparent; --fg: var(--nevoa); box-shadow: inset 0 0 0 1px var(--borda-escura); }
.on-dark .btn-ghost:hover { --bg: transparent; box-shadow: inset 0 0 0 1px var(--nevoa); }

/* Link com sublinhado que cresce */
.ulink { text-decoration: none; background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat; transition: background-size .35s var(--ease); }
.ulink:hover { background-size: 100% 1px; }

/* Divisor com fenda (divisor.svg): linha interrompida por um corte a 45° */
.divisor { position: relative; height: 1px; border: 0; margin: 0; background: linear-gradient(90deg, currentColor 0 calc(30% - 3px), transparent calc(30% - 3px) calc(30% + 3px), currentColor calc(30% + 3px)); color: var(--linha); }
.on-dark .divisor { color: var(--borda-escura); }
.divisor::after { content: ""; position: absolute; left: calc(30% - 4px); top: -5px; width: 1px; height: 11px; background: currentColor; transform: rotate(45deg); }

/* ---------- Navegação ---------- */
.nav { position: fixed; inset: 0 0 auto; z-index: 50; color: var(--nevoa); transition: transform .45s var(--ease), background-color .3s; }
.nav::before { content: ""; position: absolute; inset: 0; background: rgba(11,21,19,.86); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); opacity: 0; transition: opacity .3s; border-bottom: 1px solid var(--borda-escura); }
.nav.scrolled::before, .nav.open::before { opacity: 1; }
.nav.hide:not(.open) { transform: translateY(-100%); }
.nav .wrap { position: relative; display: flex; align-items: center; gap: 32px; height: 72px; }
@media (min-width: 900px) { .nav .wrap { height: 84px; } }
.nav-logo { flex: none; padding: 6px 0; }
.nav-logo img { height: 30px; width: auto; }
@media (min-width: 900px) { .nav-logo img { height: 34px; } }
.nav-links { display: flex; gap: 32px; margin-left: auto; }
.nav-links a { font-size: 15px; text-decoration: none; color: var(--nevoa); opacity: .82; transition: opacity .2s; }
.nav-links a:hover, .nav-links a[aria-current="true"] { opacity: 1; }
.nav-links a[aria-current="true"] { box-shadow: 0 1px 0 var(--menta); }
.nav-links .n { display: none; }
.nav-cta { min-height: 44px; padding: 0 18px 0 20px; font-size: 14px; }
.nav-toggle { display: none; margin-left: auto; width: 44px; height: 44px; border: 0; background: none; cursor: pointer; position: relative; }
.nav-toggle span { position: absolute; left: 10px; right: 10px; height: 2px; background: var(--nevoa); transition: transform .35s var(--ease), top .35s var(--ease); }
.nav-toggle span:first-child { top: 17px; }
.nav-toggle span:last-child { top: 25px; left: 18px; }
.nav.open .nav-toggle span:first-child { top: 21px; transform: rotate(45deg); }
.nav.open .nav-toggle span:last-child { top: 21px; left: 10px; transform: rotate(-45deg); }

@media (max-width: 899px) {
  .nav-toggle { display: block; }
  .nav-cta { display: none; }
  .nav-links {
    position: fixed; inset: 72px 0 0; flex-direction: column; gap: 0; margin: 0;
    padding: 24px var(--gutter) 40px; background: var(--grafite);
    visibility: hidden; opacity: 0; transform: translateY(-8px);
    transition: opacity .3s var(--ease), transform .3s var(--ease), visibility 0s .3s;
  }
  .nav.open .nav-links { visibility: visible; opacity: 1; transform: none; transition-delay: 0s; }
  .nav-links a { display: flex; align-items: baseline; gap: 16px; padding: 18px 0; border-bottom: 1px solid var(--borda-escura); font-size: 26px; line-height: 34px; font-weight: 600; font-stretch: 112%; opacity: 1; }
  .nav-links a[aria-current="true"] { box-shadow: none; color: var(--menta); }
  .nav-links .n { display: inline; font-family: var(--mono); font-size: 12px; font-weight: 400; color: var(--menta); font-stretch: 87%; }
  .nav-links .mobile-cta { margin-top: 32px; border: 0; justify-content: center; font-size: 15px; font-weight: 600; font-stretch: 100%; }
}
@media (min-width: 900px) { .nav-links .mobile-cta { display: none; } }

/* ---------- Hero ---------- */
.hero { position: relative; min-height: 100svh; display: flex; flex-direction: column; overflow: hidden; isolation: isolate; }
.hero-body { position: relative; z-index: 2; flex: 1; display: flex; flex-direction: column; justify-content: center; padding-top: 128px; padding-bottom: 56px; }
.hero .display { max-width: 11.5em; margin-top: 24px; }
.hero .lede { margin-top: 24px; max-width: 32em; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 40px; }

/* Fita: o supergráfico — uma por composição, entra por uma borda e sai por outra,
   nunca encosta no texto (sistema-visual.md). Faixa = 40 de 472 × 384 unidades do viewBox.
   Celular/retrato: haste esquerda sai pela base, zigue-zague sai pela direita.
   Faixa ≈ 0,24vw × 40 = 1/10,4 da largura (regra: entre 1/12 e 1/6 do lado menor). */
.fita {
  position: absolute; z-index: 1; pointer-events: none; max-width: none;
  width: 113.3vw; height: auto; left: -4.8vw; bottom: -12vw;
  clip-path: inset(0 100% 0 0);
  animation: fita-in 1.9s var(--ease) .25s forwards;
  will-change: clip-path, transform;
}
.hero .hero-body { padding-bottom: 60vw; }
.hero-rail { display: none; }
/* Paisagem: a Fita ocupa a metade direita; haste esquerda sai pela base, haste direita pelo topo.
   Altura = 105% da seção → faixa ≈ 1/9 da altura. */
@media (min-width: 900px) and (min-aspect-ratio: 1/1) {
  .fita { height: 105%; width: auto; top: -2.5%; bottom: auto; left: calc(50% + var(--w)); }
  .hero .hero-body { padding-bottom: 48px; }
  .hero-rail { display: block; }
  /* O texto começa na margem do .wrap (centralizado acima de --max), não na borda da tela */
  .hero .hero-body > *, .hero .hero-rail > *, .standalone .wrap > * { max-width: calc(50vw - var(--w) * 2 - max(var(--gutter), (100vw - var(--max)) / 2)); }
  .hero .display, .standalone .display { font-size: clamp(44px, 4.6vw, 64px); line-height: 1.125; }
}
@keyframes fita-in { to { clip-path: inset(0 0 0 0); } }

.hero-rail { position: relative; z-index: 2; padding-bottom: 28px; }
.hero-rail ol { list-style: none; margin: 20px 0 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 12px 24px; color: var(--cinza-nevoa); }
.hero-rail li { display: flex; gap: 10px; }
.hero-rail li b { color: var(--menta); font-weight: 400; }


/* Entrada do hero */
.rise { opacity: 0; transform: translateY(18px); animation: rise .9s var(--ease) forwards; animation-delay: calc(var(--i, 0) * 90ms + 150ms); }
@keyframes rise { to { opacity: 1; transform: none; } }

/* ---------- Seções ---------- */
.section { position: relative; padding: 88px 0; }
@media (min-width: 900px) { .section { padding: 136px 0; } }
.section-head { display: grid; gap: 20px; max-width: 820px; }
.section-head .lede { margin-top: 4px; }

/* Revelar ao rolar */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: calc(var(--i, 0) * 80ms); }
.reveal.in { opacity: 1; transform: none; }

/* ---------- Princípio ---------- */
.principle-grid { display: grid; gap: 40px; }
@media (min-width: 1000px) { .principle-grid { grid-template-columns: 7fr 5fr; gap: 72px; align-items: end; } }
.principle-copy p { margin: 0; max-width: 34em; }

.diagram { margin: 64px 0 0; padding: 28px 0 0; border-top: 1px solid var(--linha); }
.diagram svg { width: 100%; height: auto; overflow: visible; }
.diagram .steps-line { fill: none; stroke: var(--cinza-nevoa); stroke-width: 2; stroke-dasharray: 6 6; }
.diagram .break { stroke: var(--erro-claro, #B4312B); stroke-width: 2; }
.diagram .nero-line { fill: none; stroke: var(--verde); stroke-width: 8; stroke-linejoin: round; stroke-linecap: butt; stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset 2.4s var(--ease) .2s; }
.diagram.in .nero-line { stroke-dashoffset: 0; }
.diagram .lbl { font: 400 13px/1 var(--mono); font-stretch: 87%; fill: var(--cinza); letter-spacing: .02em; }
.diagram .lbl-nero { fill: var(--verde); font-weight: 600; }
.diagram figcaption { display: flex; flex-wrap: wrap; gap: 8px 28px; margin-top: 20px; color: var(--cinza); }
.diagram figcaption span { display: inline-flex; align-items: center; gap: 10px; }
.diagram figcaption i { width: 24px; height: 0; border-top: 2px dashed var(--cinza-nevoa); }
.diagram figcaption i.n { border-top: 6px solid var(--verde); }
.diagram-mobile { display: block; }
.diagram-desktop { display: none; }
@media (min-width: 720px) { .diagram-mobile { display: none; } .diagram-desktop { display: block; } }

.commitments { display: grid; gap: 0; margin-top: 72px; border-top: 1px solid var(--linha); }
@media (min-width: 900px) { .commitments { grid-template-columns: repeat(3, 1fr); } }
.commitment { padding: 32px 0; border-bottom: 1px solid var(--linha); }
@media (min-width: 900px) { .commitment { padding: 36px 36px 8px 0; border-bottom: 0; } .commitment + .commitment { padding-left: 36px; border-left: 1px solid var(--linha); } }
.commitment svg { width: 28px; height: 28px; color: var(--verde); }
.commitment h3 { margin: 20px 0 8px; font-size: 19px; line-height: 26px; font-weight: 600; }
.commitment p { margin: 0; color: var(--cinza); }

/* ---------- Soluções ---------- */
.services { background: var(--branco); }
.service-list { list-style: none; margin: 64px 0 0; padding: 0; border-top: 1px solid var(--linha); counter-reset: s; }
.service {
  position: relative; display: grid; gap: 16px 24px; padding: 32px 0 36px;
  border-bottom: 1px solid var(--linha); grid-template-columns: auto 1fr;
}
.service::before { /* marcador que avança no hover */
  content: ""; position: absolute; left: calc(var(--gutter) * -1); top: -1px; bottom: -1px; width: 6px;
  background: var(--verde); clip-path: polygon(0 6px, 6px 0, 6px 100%, 0 100%);
  transform: scaleY(0); transform-origin: top; transition: transform .5s var(--ease);
}
.service:hover::before, .service:focus-within::before { transform: scaleY(1); }
.service .num { color: var(--cinza); padding-top: 4px; }
.service .icon { width: 32px; height: 32px; color: var(--verde); }
.service-head { display: flex; align-items: center; gap: 16px; }
.service-body { grid-column: 1 / -1; display: grid; gap: 16px; }
.service-body p { margin: 0; max-width: 36em; color: var(--cinza); }
.tags { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin: 4px 0 0; padding: 0; }
.tags li { font: 400 12px/18px var(--mono); font-stretch: 87%; padding: 5px 10px; background: var(--nevoa); color: var(--grafite); }
.service .go { display: none; }
@media (min-width: 900px) {
  .service { grid-template-columns: 72px minmax(260px, 4fr) 6fr 48px; align-items: start; padding: 44px 0; }
  .service-body { grid-column: auto; }
  .service .t2 { transition: transform .5s var(--ease); }
  .service:hover .t2 { transform: translateX(8px); }
  .service .go {
    display: grid; place-items: center; width: 48px; height: 48px; color: var(--verde);
    box-shadow: inset 0 0 0 1px var(--linha); transition: background .3s, color .3s, box-shadow .3s;
    clip-path: polygon(10px 0, 100% 0, 100% 100%, 0 100%, 0 10px);
  }
  .service .go svg { width: 20px; height: 20px; transition: transform .35s var(--ease); }
  .service:hover .go { background: var(--verde); color: var(--branco); box-shadow: none; }
  .service:hover .go svg { transform: translateX(3px); }
}

/* ---------- Método (Verde Profundo, número em Mono Menta, Dobra tom sobre tom) ---------- */
.method { overflow: hidden; }
.method .dobra { position: absolute; top: -1px; right: -1px; width: 220px; opacity: .14; pointer-events: none; }
@media (min-width: 900px) { .method .dobra { width: 360px; } }
.method .section-head .lede { color: rgba(255,255,255,.8); }
.steps-wrap { position: relative; margin-top: 72px; }
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; }
.steps-track { position: absolute; left: 11px; top: 0; bottom: 0; width: 2px; background: rgba(255,255,255,.16); }
.steps-fill { position: absolute; inset: 0; background: var(--menta); transform-origin: top; transform: scaleY(var(--p, 0)); }
.step { position: relative; padding: 0 0 48px 52px; }
.step:last-child { padding-bottom: 0; }
.step::before { /* nó: ponta cortada a 45° */
  content: ""; position: absolute; left: 4px; top: 4px; width: 16px; height: 16px;
  background: var(--verde); box-shadow: inset 0 0 0 2px rgba(255,255,255,.35);
  clip-path: polygon(0 5px, 5px 0, 100% 0, 100% 100%, 0 100%); transition: background .4s, box-shadow .4s;
}
.step.on::before { background: var(--menta); box-shadow: none; }
.step .k { display: block; font-family: var(--mono); font-stretch: 87%; font-size: 40px; line-height: 44px; color: var(--menta); font-weight: 400; }
.step h3 { margin: 12px 0 8px; font-size: 22px; line-height: 30px; font-weight: 600; color: var(--branco); }
.step p { margin: 0; max-width: 28em; color: rgba(255,255,255,.8); }
.step .mono { display: block; margin-top: 14px; color: rgba(255,255,255,.6); font-size: 12px; letter-spacing: .04em; text-transform: uppercase; }
@media (min-width: 1000px) {
  .steps { grid-template-columns: repeat(4, 1fr); gap: 32px; padding-top: 40px; }
  .steps-track { left: 0; right: 0; top: 11px; bottom: auto; width: auto; height: 2px; }
  .steps-fill { transform-origin: left; transform: scaleX(var(--p, 0)); }
  .step { padding: 0; }
  .step::before { left: 0; top: -37px; }
  .step .k { font-size: 56px; line-height: 60px; }
}

/* ---------- Quando chamar a NERO ---------- */
.signals-grid { display: grid; gap: 48px; }
@media (min-width: 1000px) {
  .signals-grid { grid-template-columns: 5fr 7fr; gap: 80px; align-items: start; }
  .signals-head { position: sticky; top: 132px; }
}
.signals-head { display: grid; gap: 20px; justify-items: start; }
.signals-head .btn { margin-top: 12px; }
.signal-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--linha); }
.signal { border-bottom: 1px solid var(--linha); }
.signal a {
  position: relative; display: grid; gap: 14px; padding: 28px 0 28px 28px; text-decoration: none;
  transition: background-color .35s var(--ease), padding .45s var(--ease);
}
.signal a::before { /* marcador: ponta cortada a 45° */
  content: ""; position: absolute; left: 0; top: 32px; width: 8px; height: 20px; background: var(--verde);
  clip-path: polygon(0 8px, 8px 0, 8px 100%, 0 100%); transition: height .45s var(--ease);
}
.signal-text { font-size: 19px; line-height: 28px; font-weight: 500; max-width: 32em; }
.signal-tag { display: inline-flex; align-items: center; gap: 8px; color: var(--verde); font-size: 12px; line-height: 18px; letter-spacing: .04em; text-transform: uppercase; }
.signal-tag svg { width: 16px; height: 16px; transition: transform .35s var(--ease); }
.signal a:hover, .signal a:focus-visible { background: var(--branco); padding-left: 40px; }
.signal a:hover::before, .signal a:focus-visible::before { left: 16px; height: calc(100% - 64px); min-height: 20px; }
.signal a:hover .signal-tag svg { transform: translateX(4px); }
@media (min-width: 900px) { .signal-text { font-size: 22px; line-height: 32px; } .signal a { padding: 36px 24px 36px 32px; } .signal a:hover { padding-left: 48px; } }

/* ---------- Contato (Grafite + textura Fendas tom sobre tom) ---------- */
.contact { overflow: hidden; }
.fendas { position: absolute; top: 0; right: 0; width: 50%; height: 100%; pointer-events: none; opacity: .9; }
.fendas { object-fit: cover; }
@media (max-width: 899px) { .fendas { width: 100%; height: 50%; } }
.contact-grid { position: relative; display: grid; gap: 56px; }
@media (min-width: 1000px) { .contact-grid { grid-template-columns: 5fr 6fr; gap: 80px; align-items: start; } }
.contact .lede { margin-top: 24px; }
.channels { list-style: none; margin: 48px 0 0; padding: 0; border-top: 1px solid var(--borda-escura); }
.channels a { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 20px 0; border-bottom: 1px solid var(--borda-escura); text-decoration: none; transition: padding .35s var(--ease), color .2s; }
.channels a:hover { padding-left: 10px; color: var(--menta); }
.channels .mono { color: var(--cinza-nevoa); }
.channels strong { display: block; font-size: 18px; font-weight: 600; margin-top: 2px; }
.channels svg { width: 20px; height: 20px; flex: none; color: var(--menta); }

.form { position: relative; padding: 28px 20px; background: var(--sup-escura); box-shadow: inset 0 0 0 1px var(--borda-escura); clip-path: polygon(20px 0, 100% 0, 100% 100%, 0 100%, 0 20px); }
@media (min-width: 720px) { .form { padding: 44px 40px; } }
.form-grid { display: grid; gap: 20px; margin-top: 28px; }
@media (min-width: 720px) { .form-grid { grid-template-columns: 1fr 1fr; } .form-grid .full { grid-column: 1 / -1; } }
.field { display: grid; gap: 8px; }
.field label, .field legend { font-size: 14px; line-height: 20px; font-weight: 600; color: var(--nevoa); padding: 0; }
.field input, .field textarea {
  width: 100%; padding: 14px 16px; border: 0; border-radius: 0; background: var(--grafite); color: var(--nevoa);
  box-shadow: inset 0 0 0 1px var(--borda-escura); font-size: 16px; line-height: 24px; transition: box-shadow .2s;
}
.field textarea { resize: vertical; min-height: 128px; }
.field input::placeholder, .field textarea::placeholder { color: #6B7876; }
.field input:hover, .field textarea:hover { box-shadow: inset 0 0 0 1px #4B5D5A; }
.field input:focus, .field textarea:focus { outline: none; box-shadow: inset 0 0 0 2px var(--menta); }
.field input:user-invalid, .field textarea:user-invalid { box-shadow: inset 0 0 0 2px var(--erro-escuro); }
.field .hint { font-size: 13px; line-height: 18px; color: var(--cinza-nevoa); }
fieldset.field { border: 0; margin: 0; padding: 0; min-width: 0; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; }
.chip input { position: absolute; opacity: 0; pointer-events: none; }
.chip span {
  display: inline-flex; align-items: center; min-height: 40px; padding: 0 14px; cursor: pointer;
  font-size: 14px; line-height: 20px; color: var(--nevoa); box-shadow: inset 0 0 0 1px var(--borda-escura);
  transition: background .2s, color .2s, box-shadow .2s;
}
.chip span:hover { box-shadow: inset 0 0 0 1px var(--cinza-nevoa); }
.chip input:checked + span { background: var(--menta); color: var(--grafite); box-shadow: none; clip-path: polygon(8px 0, 100% 0, 100% 100%, 0 100%, 0 8px); }
.chip input:focus-visible + span { outline: 2px solid var(--menta); outline-offset: 2px; }
.form-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 24px; margin-top: 28px; }
.form-foot small { font-size: 13px; line-height: 18px; color: var(--cinza-nevoa); max-width: 30em; }
.form-foot small a { color: var(--menta); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }

/* ---------- Rodapé ---------- */
.footer { padding: 72px 0 32px; border-top: 1px solid var(--borda-escura); }
.footer-top { display: grid; gap: 48px; }
@media (min-width: 900px) { .footer-top { grid-template-columns: 5fr 2fr 2fr 2fr; gap: 40px; } }
.footer-brand img { width: 220px; height: auto; }
.footer-brand p { margin: 24px 0 0; color: var(--cinza-nevoa); max-width: 22em; }
.footer h2 { margin: 0 0 16px; font: 500 12px/16px var(--font); font-stretch: 125%; letter-spacing: .18em; text-transform: uppercase; color: var(--cinza-nevoa); }
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.footer ul a { text-decoration: none; color: var(--nevoa); }
.footer-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 40px 24px; }
@media (min-width: 900px) { .footer-cols { display: contents; } }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; margin-top: 64px; padding-top: 24px; border-top: 1px solid var(--borda-escura); color: var(--cinza-nevoa); }

/* ---------- Páginas internas (legal, obrigado, 404) ---------- */
.page-hero { position: relative; overflow: hidden; padding: 152px 0 72px; }
@media (min-width: 900px) { .page-hero { padding: 184px 0 96px; } }
.page-hero .t1 { margin-top: 20px; max-width: 16em; }
.page-hero .mono { margin-top: 20px; color: var(--cinza-nevoa); }
.legal { padding: 72px 0 120px; }
.legal-body { max-width: 720px; }
.legal-body h2 { margin: 56px 0 12px; font-size: 22px; line-height: 30px; font-weight: 600; font-stretch: 112%; color: var(--verde); }
.legal-body h2:first-child { margin-top: 0; }
.legal-body p, .legal-body li { color: #233230; }
.legal-body ul { padding-left: 20px; }
.legal-body li { margin: 6px 0; }
.legal-body li::marker { color: var(--verde); }
.legal-body a { color: var(--link-claro); }

.standalone { position: relative; min-height: 100svh; display: flex; align-items: center; overflow: hidden; }
.standalone .wrap { position: relative; z-index: 2; padding-top: 120px; padding-bottom: 120px; }
.standalone .display { margin-top: 24px; }
.standalone .lede { margin-top: 20px; }
.standalone .hero-actions { margin-top: 36px; }
.standalone .wrap { padding-bottom: 60vw; }
@media (min-width: 900px) and (min-aspect-ratio: 1/1) { .standalone .wrap { padding-bottom: 120px; } }
.state { display: flex; align-items: center; gap: 10px; color: var(--sucesso-escuro); }
.state svg { width: 20px; height: 20px; }

/* ---------- Movimento reduzido ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .rise, .reveal { opacity: 1; transform: none; }
  .fita { clip-path: none; }
  .diagram .nero-line { stroke-dashoffset: 0; }
}
