/* =========================================================
   Edgar Magalhães · Fábrica de Software
   CSS puro, mobile-first. Ajuste a identidade nos tokens abaixo.
   ========================================================= */

:root {
  /* Neutros (zinc levemente aquecido) */
  --bg: #f5f5f3;
  --surface: #ffffff;
  --ink: #18181b;
  --ink-2: #3f3f46;
  --muted: #71717a;
  --line: #e4e4e2;
  --line-2: #d4d4d1;

  /* Primary contido: verde-tecnológico acinzentado */
  --primary: #2f6b5b;
  --primary-ink: #1f4a3f;
  --primary-soft: #e7efec;

  /* Faixa escura */
  --night: #111113;
  --night-2: #18181b;
  --night-line: #2a2a2e;
  --night-ink: #e4e4e7;
  --night-muted: #a1a1aa;

  /* Estados (usados nos mockups) */
  --amber: #a26a1b;
  --amber-soft: #f6eddc;

  /* Tipografia */
  --f-display: "Newsreader", "Iowan Old Style", Georgia, serif;
  --f-sans: "IBM Plex Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --f-mono: "IBM Plex Mono", ui-monospace, "SFMono-Regular", Consolas, monospace;

  /* Ritmo */
  --wrap: 1240px;
  --gutter: clamp(16px, 4vw, 40px);
  --section: clamp(72px, 11vw, 144px);
  --radius: 6px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 84px; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 400 1rem/1.65 var(--f-sans);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
h1, h2, h3, p, ul, ol, dl, dd, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: inherit; text-decoration: none; }
img, svg { display: block; max-width: 100%; }
button, input, textarea { font: inherit; color: inherit; }
::selection { background: var(--primary); color: #fff; }
:focus-visible { outline: 2px solid var(--primary); outline-offset: 3px; border-radius: 2px; }

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.muted { color: var(--muted); }

.skip {
  position: absolute; left: 12px; top: -60px; z-index: 100;
  background: var(--ink); color: #fff; padding: 10px 14px; border-radius: var(--radius);
}
.skip:focus { top: 12px; }

/* ---------- Tipografia ---------- */
.display {
  font-family: var(--f-display);
  font-weight: 400;
  font-size: clamp(2.5rem, 7.2vw, 5.4rem);
  line-height: 1.02;
  letter-spacing: -0.025em;
  font-variation-settings: "opsz" 72;
  text-wrap: balance;
}
.display em { font-style: italic; color: var(--primary-ink); }
.display--md { font-size: clamp(2.2rem, 5.2vw, 4rem); }

.h2 {
  font-family: var(--f-display);
  font-weight: 400;
  font-size: clamp(2rem, 4.4vw, 3.25rem);
  line-height: 1.08;
  letter-spacing: -0.02em;
  text-wrap: balance;
}
.lead { font-size: clamp(1.05rem, 1.6vw, 1.2rem); color: var(--ink-2); max-width: 58ch; }

.eyebrow, .kicker {
  font: 500 .75rem/1.4 var(--f-mono);
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--muted);
}
.eyebrow { display: inline-flex; align-items: center; gap: 10px; }
.eyebrow .dot { width: 6px; height: 6px; background: var(--primary); border-radius: 50%; }
.kicker { margin-bottom: 18px; }

/* ---------- Botões ---------- */
.btn {
  --h: 52px;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: var(--h); padding: 0 22px;
  border: 1px solid transparent; border-radius: var(--radius);
  font-weight: 500; font-size: .975rem; letter-spacing: -.005em;
  cursor: pointer; white-space: nowrap;
  transition: background-color .2s var(--ease), border-color .2s var(--ease), transform .2s var(--ease), color .2s var(--ease);
}
.btn svg { width: 18px; height: 18px; }
.btn:active { transform: translateY(1px); }
.btn--primary { background: var(--primary); color: #fff; }
.btn--primary:hover { background: var(--primary-ink); }
.btn--ink { background: var(--ink); color: #fff; }
.btn--ink:hover { background: #000; }
.btn--ghost { border-color: var(--line-2); color: var(--ink); background: transparent; }
.btn--ghost:hover { border-color: var(--ink); }
.btn--sm { --h: 40px; padding: 0 16px; font-size: .9rem; }
.btn--block { width: 100%; }

/* ---------- Cabeçalho ---------- */
.topbar {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--bg) 86%, transparent);
  backdrop-filter: saturate(1.4) blur(12px);
  -webkit-backdrop-filter: saturate(1.4) blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color .25s var(--ease);
}
.topbar.is-scrolled { border-bottom-color: var(--line); }
.topbar__in { display: flex; align-items: center; justify-content: space-between; height: 68px; }

.brand { display: flex; align-items: center; gap: 12px; }
.brand__mark { width: 30px; height: 30px; color: var(--ink); }
.brand__txt { display: flex; flex-direction: column; line-height: 1.15; }
.brand__txt strong { font-weight: 600; font-size: .95rem; letter-spacing: -.01em; }
.brand__txt span { font: 400 .68rem var(--f-mono); color: var(--muted); letter-spacing: .06em; text-transform: uppercase; }

.burger {
  display: grid; place-content: center; gap: 6px;
  width: 44px; height: 44px; margin-right: -10px;
  background: none; border: 0; cursor: pointer;
}
.burger span { display: block; width: 20px; height: 1.5px; background: var(--ink); transition: transform .25s var(--ease); }
.burger[aria-expanded="true"] span:first-child { transform: translateY(3.75px) rotate(45deg); }
.burger[aria-expanded="true"] span:last-child { transform: translateY(-3.75px) rotate(-45deg); }

/* Menu mobile: painel que desce sob o cabeçalho */
.nav {
  position: fixed; inset: 68px 0 auto 0;
  background: var(--bg); border-bottom: 1px solid var(--line);
  padding: 8px var(--gutter) 24px;
  display: flex; flex-direction: column; gap: 16px;
  transform: translateY(-8px); opacity: 0; visibility: hidden;
  transition: opacity .2s var(--ease), transform .2s var(--ease), visibility .2s;
}
.nav.is-open { transform: none; opacity: 1; visibility: visible; }
.nav ul { display: flex; flex-direction: column; }
.nav li a { display: block; padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 1.05rem; }
.nav .btn { width: 100%; --h: 50px; }

@media (min-width: 900px) {
  .burger { display: none; }
  .nav {
    position: static; flex-direction: row; align-items: center; gap: 32px;
    padding: 0; background: none; border: 0;
    transform: none; opacity: 1; visibility: visible;
  }
  .nav ul { flex-direction: row; gap: 28px; }
  .nav li a { padding: 0; border: 0; font-size: .92rem; color: var(--ink-2); position: relative; }
  .nav li a::after {
    content: ""; position: absolute; left: 0; right: 0; bottom: -4px; height: 1px;
    background: currentColor; transform: scaleX(0); transform-origin: left;
    transition: transform .25s var(--ease);
  }
  .nav li a:hover { color: var(--ink); }
  .nav li a:hover::after { transform: scaleX(1); }
  .nav .btn { width: auto; --h: 40px; }
}

/* ---------- Hero ---------- */
.hero { padding-top: clamp(40px, 8vw, 104px); }
.hero__grid { display: grid; gap: 56px; }
.hero__copy .eyebrow { margin-bottom: 28px; }
.hero__copy .display { margin-bottom: 28px; max-width: 14ch; }
.hero__copy .lead { margin-bottom: 36px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 44px; }
.hero__actions .btn { flex: 1 1 220px; }

.hero__facts { display: flex; flex-wrap: wrap; border-top: 1px solid var(--line); }
.hero__facts li {
  flex: 1 1 33%; min-width: 120px;
  padding: 16px 16px 0 0; font-size: .85rem; color: var(--muted);
}
.hero__facts li + li { padding-left: 16px; border-left: 1px solid var(--line); }
.hero__facts strong {
  display: block; font: 400 1.75rem/1.1 var(--f-display); color: var(--ink); letter-spacing: -.02em; margin-bottom: 4px;
}

/* Ficha técnica */
.spec {
  align-self: end;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  font-family: var(--f-mono);
  font-size: .82rem;
  box-shadow: 0 1px 0 rgba(0,0,0,.02), 0 24px 48px -32px rgba(24,24,27,.25);
}
.spec__head, .spec__foot { display: flex; justify-content: space-between; align-items: center; padding: 14px 18px; }
.spec__head { border-bottom: 1px solid var(--line); text-transform: uppercase; letter-spacing: .08em; font-size: .7rem; color: var(--muted); }
.spec__rows > div { display: flex; justify-content: space-between; gap: 16px; padding: 11px 18px; border-bottom: 1px dashed var(--line); }
.spec__rows dt { color: var(--muted); }
.spec__rows dd { color: var(--ink); text-align: right; }
.spec__foot { justify-content: flex-start; gap: 10px; color: var(--ink-2); font-size: .76rem; }
.pulse { position: relative; width: 8px; height: 8px; border-radius: 50%; background: var(--primary); flex: none; }
.pulse::after {
  content: ""; position: absolute; inset: -4px; border-radius: 50%;
  border: 1px solid var(--primary); opacity: 0;
  animation: pulse 2.4s var(--ease) infinite;
}
@keyframes pulse { 0% { transform: scale(.6); opacity: .8; } 100% { transform: scale(1.6); opacity: 0; } }

/* Índice de soluções */
.index {
  display: flex; overflow-x: auto; scrollbar-width: none;
  margin-top: clamp(56px, 9vw, 112px);
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
}
.index::-webkit-scrollbar { display: none; }
.index a {
  flex: 1 0 auto; display: flex; align-items: baseline; gap: 10px;
  padding: 18px 24px 18px 0; font-size: .92rem; color: var(--ink-2);
  transition: color .2s var(--ease);
}
.index a + a { padding-left: 24px; border-left: 1px solid var(--line); }
.index a span { font: 400 .72rem var(--f-mono); color: var(--muted); }
.index a:hover { color: var(--primary-ink); }

@media (min-width: 1000px) {
  .hero__grid { grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr); gap: 72px; align-items: end; }
  .hero__actions .btn { flex: 0 0 auto; }
}

/* ---------- Seções ---------- */
.section { padding-block: var(--section); }
.section--line { border-top: 1px solid var(--line); }
.section__head { margin-bottom: clamp(40px, 6vw, 72px); max-width: 760px; }
.section__head .h2 { margin-bottom: 20px; }
.section__intro { color: var(--ink-2); max-width: 56ch; }
.section__head--row { max-width: none; display: grid; gap: 20px; }
@media (min-width: 900px) {
  .section__head--row { grid-template-columns: 1fr 1fr; align-items: end; }
  .section__head--row .h2 { margin-bottom: 0; }
}

/* ---------- Bento de soluções ---------- */
.bento { display: grid; gap: 16px; }

.sol {
  position: relative;
  display: flex; flex-direction: column; gap: 20px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(24px, 3.4vw, 40px);
  transition: border-color .3s var(--ease), box-shadow .3s var(--ease);
}
.sol:hover { border-color: var(--line-2); box-shadow: 0 30px 60px -40px rgba(24,24,27,.3); }
.sol__head { display: flex; justify-content: space-between; align-items: center; gap: 12px; font: 400 .72rem var(--f-mono); color: var(--muted); letter-spacing: .06em; text-transform: uppercase; }
.sol__idx { color: var(--primary); }
.sol__name { font: 400 clamp(1.9rem, 3.4vw, 2.6rem)/1 var(--f-display); letter-spacing: -.02em; }
.sol__pitch { font-size: 1.05rem; color: var(--ink-2); max-width: 46ch; }
.sol__list { display: grid; gap: 10px; font-size: .94rem; color: var(--ink-2); }
.sol__list li { position: relative; padding-left: 20px; }
.sol__list li::before { content: ""; position: absolute; left: 0; top: .72em; width: 10px; height: 1px; background: var(--primary); }
.sol__cta {
  margin-top: auto; padding-top: 18px; border-top: 1px solid var(--line);
  display: flex; justify-content: space-between; align-items: center;
  font-weight: 500; font-size: .94rem; color: var(--ink);
}
.sol__cta span { transition: transform .25s var(--ease); }
.sol__cta:hover { color: var(--primary-ink); }
.sol__cta:hover span { transform: translateX(4px); }

/* ChefOS: fluxo PDV → KDS → NFC-e */
.sol--chefos .sol__name { font-size: clamp(2.4rem, 5vw, 3.6rem); }
.flow { display: flex; align-items: center; padding: 20px 0 4px; }
.flow__node {
  flex: none; display: flex; flex-direction: column; gap: 2px;
  padding: 10px 14px; border: 1px solid var(--line-2); border-radius: 4px;
  font: 500 .9rem var(--f-mono); background: var(--bg);
}
.flow__node small { font-size: .62rem; font-weight: 400; color: var(--muted); text-transform: uppercase; letter-spacing: .08em; }
.flow__node--ok { border-color: var(--primary); background: var(--primary-soft); color: var(--primary-ink); }
.flow__wire { flex: 1; height: 1px; min-width: 16px; background: repeating-linear-gradient(90deg, var(--line-2) 0 4px, transparent 4px 8px); position: relative; overflow: hidden; }
.flow__wire::after {
  content: ""; position: absolute; top: -1px; left: -20%; width: 20%; height: 3px;
  background: var(--primary); border-radius: 2px;
  animation: wire 2.8s var(--ease) infinite;
}
.flow__wire + .flow__node + .flow__wire::after { animation-delay: 1.4s; }
@keyframes wire { 0% { left: -20%; } 60%, 100% { left: 110%; } }

/* Loteamentos: espelho de lotes (gerado via JS) */
.lots { display: grid; grid-template-columns: repeat(12, 1fr); gap: 4px; }
.lots i { aspect-ratio: 1; border-radius: 2px; background: var(--bg); border: 1px solid var(--line-2); transition: transform .2s var(--ease); }
.lots i.s { background: var(--ink-2); border-color: var(--ink-2); }
.lots i.h { background: var(--amber-soft); border-color: var(--amber); }
.lots i:hover { transform: scale(1.25); }
.lots__legend { display: flex; flex-wrap: wrap; gap: 16px; font: 400 .72rem var(--f-mono); color: var(--muted); margin-top: -8px; }
.lots__legend span::before { content: ""; display: inline-block; width: 9px; height: 9px; margin-right: 6px; border-radius: 2px; border: 1px solid var(--line-2); background: var(--bg); vertical-align: -1px; }
.lots__legend .l-hold::before { background: var(--amber-soft); border-color: var(--amber); }
.lots__legend .l-sold::before { background: var(--ink-2); border-color: var(--ink-2); }

/* Clínicas: agenda */
.agenda { border: 1px solid var(--line); border-radius: 4px; font-size: .86rem; }
.agenda li { display: grid; grid-template-columns: auto 1fr auto; gap: 14px; align-items: center; padding: 11px 14px; }
.agenda li + li { border-top: 1px solid var(--line); }
.agenda time { font: 500 .8rem var(--f-mono); color: var(--muted); }
.agenda span { color: var(--ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.agenda b { font: 500 .66rem var(--f-mono); text-transform: uppercase; letter-spacing: .06em; padding: 3px 7px; border-radius: 3px; }
.agenda .ok { color: var(--primary-ink); background: var(--primary-soft); }
.agenda .wait { color: var(--amber); background: var(--amber-soft); }

/* Oficinas: ordens de serviço */
.os { display: grid; gap: 8px; }
.os__row {
  display: grid; grid-template-columns: auto 1fr; gap: 4px 14px; align-items: center;
  padding: 12px 14px; border-left: 2px solid var(--line-2); background: var(--bg); font-size: .88rem;
}
.os__row code { font: 500 .78rem var(--f-mono); color: var(--muted); }
.os__row .st { grid-column: 2; font: normal 500 .66rem var(--f-mono); text-transform: uppercase; letter-spacing: .06em; }
.os__row:has(.st--run) { border-left-color: var(--amber); }
.os__row:has(.st--done) { border-left-color: var(--primary); }
.st--run { color: var(--amber); }
.st--wait { color: var(--muted); }
.st--done { color: var(--primary-ink); }
@media (min-width: 560px) {
  .os__row { grid-template-columns: 76px 1fr auto; }
  .os__row .st { grid-column: auto; }
  .sol__list--cols { grid-template-columns: 1fr 1fr; column-gap: 24px; }
}

/* Infraestrutura: card escuro, horizontal */
.sol--infra { background: var(--night); border-color: var(--night); color: var(--night-ink); }
.sol--infra:hover { border-color: var(--night-line); }
.sol--infra .sol__head { color: var(--night-muted); }
.sol--infra .sol__idx { color: #8fbfb0; }
.sol--infra .sol__pitch { color: var(--night-muted); }
.sol--infra .sol__cta { color: #fff; border-top-color: var(--night-line); }
.sol--infra .sol__cta:hover { color: #8fbfb0; }
.infra__copy { display: flex; flex-direction: column; gap: 20px; }
.infra__specs { display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--night-line); }
.infra__specs > div { padding: 18px 16px 18px 0; border-bottom: 1px solid var(--night-line); }
.infra__specs > div:nth-child(even) { padding-left: 16px; border-left: 1px solid var(--night-line); }
.infra__specs dt { font: 400 .68rem var(--f-mono); text-transform: uppercase; letter-spacing: .08em; color: var(--night-muted); margin-bottom: 6px; }
.infra__specs dd { font: 400 1.15rem/1.25 var(--f-display); color: #fff; }

/* Grade assimétrica no desktop: 7/5, depois 5/7, depois faixa inteira */
@media (min-width: 960px) {
  .bento { grid-template-columns: repeat(12, 1fr); gap: 20px; }
  .sol--chefos { grid-column: span 7; }
  .sol--lote   { grid-column: span 5; }
  .sol--clin   { grid-column: span 5; }
  .sol--ofic   { grid-column: span 7; }
  .sol--infra  { grid-column: span 12; flex-direction: row; gap: 64px; align-items: stretch; }
  .infra__copy { flex: 0 0 38%; }
  .infra__specs { flex: 1; grid-template-columns: repeat(3, 1fr); align-content: start; border-top: 0; }
  .infra__specs > div,
  .infra__specs > div:nth-child(even) { padding: 22px 20px; border-left: 1px solid var(--night-line); }
  .infra__specs > div:nth-child(-n+3) { border-top: 0; }
  .infra__specs > div:nth-child(n+4) { border-bottom: 0; }
}

/* ---------- Diferenciais (faixa escura) ---------- */
.section--night { background: var(--night); color: var(--night-ink); }
.section--night .kicker { color: var(--night-muted); }
.section--night .section__intro { color: var(--night-muted); }
.dif { display: grid; gap: 56px; }
.dif__aside .h2 { margin-bottom: 20px; color: #fff; }

.proofs { border-top: 1px solid var(--night-line); }
.proofs li {
  display: grid; grid-template-columns: 1fr; gap: 12px;
  padding: 32px 0; border-bottom: 1px solid var(--night-line);
}
.proofs__n {
  font: 400 clamp(2.4rem, 5vw, 3.4rem)/.95 var(--f-display); letter-spacing: -.03em;
  color: #8fbfb0;
}
.proofs h3 { font-size: 1.12rem; font-weight: 500; color: #fff; margin-bottom: 8px; letter-spacing: -.01em; }
.proofs p { color: var(--night-muted); max-width: 54ch; }

@media (min-width: 720px) {
  .proofs li { grid-template-columns: 150px 1fr; gap: 32px; }
}
@media (min-width: 1000px) {
  .dif { grid-template-columns: 5fr 7fr; gap: 96px; align-items: start; }
  .dif__aside { position: sticky; top: 120px; }
}

/* ---------- Método ---------- */
.steps { display: grid; gap: 0; counter-reset: s; border-top: 1px solid var(--line); }
.steps li { padding: 28px 0; border-bottom: 1px solid var(--line); display: grid; grid-template-columns: 56px 1fr; column-gap: 16px; }
.steps__n { grid-row: span 2; font: 400 .8rem var(--f-mono); color: var(--primary); padding-top: 6px; }
.steps h3 { font: 400 1.6rem/1.15 var(--f-display); letter-spacing: -.015em; margin-bottom: 8px; }
.steps p { color: var(--ink-2); font-size: .96rem; }

@media (min-width: 900px) {
  .steps { grid-template-columns: repeat(4, 1fr); border-top: 0; }
  .steps li {
    display: block; padding: 28px 28px 0 0; border-bottom: 0;
    border-top: 1px solid var(--line-2); position: relative;
  }
  .steps li + li { padding-left: 28px; }
  /* marcador sobre a linha do tempo */
  .steps li::before {
    content: ""; position: absolute; top: -4px; left: 0;
    width: 7px; height: 7px; background: var(--bg); border: 1px solid var(--primary); border-radius: 50%;
    transition: background-color .3s var(--ease);
  }
  .steps li + li::before { left: 28px; }
  .steps li:hover::before { background: var(--primary); }
  .steps__n { display: block; margin-bottom: 40px; padding: 0; }
}

/* ---------- FAQ ---------- */
.faq { display: grid; gap: 40px; }
.faq__list { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none; cursor: pointer;
  display: flex; justify-content: space-between; align-items: center; gap: 24px;
  padding: 24px 0; font-size: 1.08rem; font-weight: 500; letter-spacing: -.01em;
  transition: color .2s var(--ease);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; flex: none; font: 300 1.5rem/1 var(--f-mono); color: var(--muted);
  transition: transform .25s var(--ease);
}
.faq details[open] summary::after { transform: rotate(45deg); color: var(--primary); }
.faq summary:hover { color: var(--primary-ink); }
.faq details p { padding: 0 0 26px; color: var(--ink-2); max-width: 64ch; }
@media (min-width: 900px) { .faq { grid-template-columns: 5fr 7fr; gap: 96px; } }

/* ---------- CTA final ---------- */
.cta { padding-block: var(--section); background: var(--surface); border-top: 1px solid var(--line); }
.cta__grid { display: grid; gap: 56px; }
.cta__copy .display { margin-bottom: 24px; }
.cta__copy .lead { margin-bottom: 36px; }
.cta__contacts { border-top: 1px solid var(--line); }
.cta__contacts li { display: flex; justify-content: space-between; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line); font-size: .95rem; }
.cta__contacts span { font: 400 .72rem var(--f-mono); text-transform: uppercase; letter-spacing: .08em; color: var(--muted); align-self: center; }
.cta__contacts a { font-weight: 500; overflow-wrap: anywhere; text-align: right; }
.cta__contacts a:hover { color: var(--primary-ink); }

.composer {
  background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius);
  padding: clamp(20px, 3vw, 32px); display: grid; gap: 22px; align-self: start;
}
.composer fieldset { border: 0; padding: 0; margin: 0; min-width: 0; }
.composer legend, .field > span {
  display: block; font: 500 .7rem var(--f-mono); text-transform: uppercase; letter-spacing: .08em; color: var(--muted); margin-bottom: 10px; padding: 0;
}
.field small { text-transform: none; letter-spacing: 0; font-weight: 400; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips label { position: relative; }
.chips input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.chips span {
  display: inline-flex; align-items: center; min-height: 40px; padding: 0 14px;
  border: 1px solid var(--line-2); border-radius: 999px; background: var(--surface);
  font-size: .88rem; transition: all .2s var(--ease);
}
.chips label:hover span { border-color: var(--ink-2); }
.chips input:checked + span { background: var(--ink); border-color: var(--ink); color: #fff; }
.chips input:focus-visible + span { outline: 2px solid var(--primary); outline-offset: 2px; }

.fields { display: grid; gap: 16px; }
@media (min-width: 560px) { .fields { grid-template-columns: 1fr 1fr; } }
.field input, .field textarea {
  width: 100%; background: var(--surface); border: 1px solid var(--line-2); border-radius: 4px;
  padding: 12px 14px; font-size: 1rem; transition: border-color .2s var(--ease), box-shadow .2s var(--ease);
}
.field textarea { resize: vertical; min-height: 128px; font: 400 .9rem/1.6 var(--f-mono); color: var(--ink-2); }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 3px var(--primary-soft); }
.composer__note { font-size: .8rem; color: var(--muted); text-align: center; }

@media (min-width: 1000px) {
  .cta__grid { grid-template-columns: 1fr 1fr; gap: 96px; align-items: start; }
}

/* ---------- Rodapé ---------- */
.foot { background: var(--night); color: var(--night-muted); padding-top: 64px; font-size: .9rem; }
.foot__grid { display: grid; gap: 32px; padding-bottom: 48px; }
.foot__brand { color: #fff; font: 400 1.5rem var(--f-display); letter-spacing: -.01em; margin-bottom: 6px; }
.foot__brand span { display: block; font: 400 .7rem var(--f-mono); text-transform: uppercase; letter-spacing: .08em; color: var(--night-muted); margin-top: 4px; }
.foot address { font-style: normal; }
.foot nav { display: flex; flex-wrap: wrap; gap: 10px 24px; }
.foot a { transition: color .2s var(--ease); }
.foot a:hover { color: #fff; }
.foot__base { display: flex; justify-content: space-between; gap: 16px; padding-block: 22px; border-top: 1px solid var(--night-line); font: 400 .76rem var(--f-mono); }
@media (min-width: 900px) {
  .foot__grid { grid-template-columns: 2fr 1fr 1fr; }
  .foot nav { flex-direction: column; }
}

/* ---------- Revelação no scroll (só com JS ativo) ---------- */
.js [data-reveal] { opacity: 0; transform: translateY(16px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.js [data-reveal].is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js [data-reveal] { opacity: 1; transform: none; }
}
