@font-face {
  font-family: "Space Grotesk";
  font-style: normal; font-weight: 300 700; font-display: swap;
  src: url("/assets/fonts/space-grotesk-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Space Grotesk";
  font-style: normal; font-weight: 300 700; font-display: swap;
  src: url("/assets/fonts/space-grotesk-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
:root {
  --noir: #0a0a0a;
  --noir-2: #141414;
  --blanc: #f5f5f3;
  --muted: #8a8a8a;
  --line: rgba(255, 255, 255, 0.1);
  --cut: cubic-bezier(0.7, 0, 0.2, 1);
}
* { box-sizing: border-box; }
html, body { margin: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--noir);
  color: var(--blanc);
  font-family: "Space Grotesk", ui-sans-serif, system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a { color: inherit; }
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 24px; }
header.top {
  display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap;
  padding: 24px 0; font-size: 12px; letter-spacing: 0.3em; text-transform: uppercase;
}
header.top nav { display: flex; flex-wrap: wrap; gap: 24px; }
header.top nav a { text-decoration: none; color: var(--muted); }
.brand { font-weight: 600; text-decoration: none; }
.label { font-size: 12px; letter-spacing: 0.4em; text-transform: uppercase; color: var(--muted); margin: 0; }
h1 { font-size: clamp(44px, 9vw, 96px); line-height: 0.95; letter-spacing: -0.02em; margin: 24px 0 0; font-weight: 700; }
h2 { font-size: clamp(34px, 5vw, 60px); line-height: 1; letter-spacing: -0.02em; margin: 16px 0 48px; font-weight: 700; }
h3 { font-size: 24px; margin: 24px 0 12px; font-weight: 700; }
.muted { color: var(--muted); }
.lead { font-size: 19px; line-height: 1.6; color: rgba(245, 245, 243, 0.8); max-width: 640px; margin: 32px 0 0; }
.btns { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 40px; }
.btn {
  display: inline-flex; align-items: center; gap: 8px; padding: 14px 24px;
  font-weight: 600; font-size: 15px; text-decoration: none;
}
.btn-primary { background: var(--blanc); color: var(--noir); }
.btn-ghost { border: 1px solid rgba(255, 255, 255, 0.3); }
section { border-top: 1px solid var(--line); padding: 96px 0; }
.hero { border-top: none; padding-top: 48px; }
.grid { display: grid; gap: 1px; background: var(--line); }
@media (min-width: 760px) {
  .grid.three { grid-template-columns: repeat(3, 1fr); }
  .grid.two { grid-template-columns: repeat(2, 1fr); }
}
.card { background: var(--noir); padding: 32px; }
.card .n { font-size: 12px; color: var(--muted); letter-spacing: 0.2em; margin: 0; }
.card p { margin: 0; line-height: 1.6; color: rgba(245, 245, 243, 0.7); }
.stat { background: var(--noir); padding: 32px; }
.stat .v { font-size: clamp(56px, 8vw, 96px); font-weight: 700; letter-spacing: -0.03em; margin: 0; }
.stat p { margin: 12px 0 0; font-size: 18px; }
.small { font-size: 14px; color: var(--muted); margin-top: 16px; line-height: 1.6; }
.chat { border: 1px solid rgba(255, 255, 255, 0.15); background: var(--noir-2); max-width: 560px; margin: 0 auto; }
.chat .head { border-bottom: 1px solid var(--line); padding: 12px 20px; font-size: 12px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--muted); }
.chat .body { padding: 24px; }
.chat .q { font-size: 22px; font-weight: 600; margin: 0 0 20px; }
.chat ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.chat li { display: flex; justify-content: space-between; align-items: center; padding: 12px 16px; background: rgba(255, 255, 255, 0.06); font-size: 15px; }
.chat li.miss { background: transparent; border: 1px dashed rgba(255, 255, 255, 0.3); color: var(--muted); }
.chat li.miss span { font-size: 12px; letter-spacing: 0.2em; text-transform: uppercase; }
.chat .foot { border-top: 1px solid var(--line); padding: 12px 20px; font-size: 13px; color: var(--muted); }
.split { display: grid; gap: 64px; align-items: center; }
@media (min-width: 900px) { .split { grid-template-columns: 1fr 1fr; } }
.steps { list-style: none; padding: 0; margin: 48px 0 0; border-top: 1px solid var(--line); }
.steps li { display: flex; gap: 20px; padding: 20px 0; border-bottom: 1px solid var(--line); font-size: 18px; }
.steps li span:first-child { color: var(--muted); min-width: 28px; }
.cta { text-align: center; }
.cta h2 { margin: 0 auto 24px; max-width: 820px; }
.cta p { color: var(--muted); font-size: 18px; margin: 0 auto; max-width: 560px; }
.cta .btns { justify-content: center; }
.disclaimer { font-size: 14px; color: var(--muted); margin-top: 24px; line-height: 1.6; }
footer { border-top: 1px solid var(--line); padding: 32px 0; text-align: center; font-size: 13px; line-height: 1.6; color: var(--muted); }
footer p { margin: 6px 0; }

::selection { background: var(--blanc); color: var(--noir); }
:focus-visible { outline: 1px solid currentColor; outline-offset: 4px; }

/* ---------- Motion: inversion, not fades ---------- */
/* Hover: a band of inverted color passes through the control, in from the left, out to the right. */
.btn, header.top nav a { position: relative; isolation: isolate; }
header.top nav a { margin: -4px -8px; padding: 4px 8px; }
.btn::after, header.top nav a::after {
  content: ""; position: absolute; inset: 0; background: #fff; mix-blend-mode: difference;
  pointer-events: none; transform: scaleX(0); transform-origin: right; transition: transform 280ms var(--cut);
}
.btn:hover::after, .btn:focus-visible::after,
header.top nav a:hover::after, header.top nav a:focus-visible::after { transform: scaleX(1); transform-origin: left; }

/* Chat demo (motion.js): the question types, names land with an inverted flash,
   a hairline searches the empty row and "não apareceu" is stamped. Loops while visible. */
.chat.live { width: 100%; }
.chat.live .q { min-height: 1.2em; line-height: 1.2; }
.chat.live .q.typing::after,
.chat.live .q.thinking::after {
  content: ""; display: inline-block; width: 0.45em; height: 1em; margin-left: 4px;
  vertical-align: -0.12em; background: currentColor;
}
.chat.live .q.thinking::after { animation: caret 0.9s steps(1) infinite; }
.chat.live li { position: relative; visibility: hidden; transition: background 600ms var(--cut), color 600ms var(--cut); }
.chat.live li.on { visibility: visible; }
.chat.live li.flash { background: var(--blanc); color: var(--noir); transition: none; }
.chat.live li.miss { overflow: hidden; }
.chat.live li.miss span { visibility: hidden; padding: 4px 8px; margin: -4px -8px; }
.chat.live li.miss.searching::after {
  content: ""; position: absolute; top: 0; bottom: 0; left: 0; width: 1px; background: var(--blanc);
  animation: search 1100ms var(--cut) both;
}
.chat.live li.miss.stamped span {
  visibility: visible; background: var(--blanc); color: var(--noir);
  animation: blink 0.36s steps(1) 2;
}
.chat.live.clearing li { visibility: hidden; }
@keyframes search { from { left: 0; } to { left: 100%; } }
@keyframes caret { 50% { opacity: 0; } }
@keyframes blink { 50% { opacity: 0; } }
@media (max-width: 520px) { .chat.live .q { min-height: 2.4em; } }

/* Hero background: a self-filling spreadsheet (sheet.js), full-bleed, faded under the copy. */
.hero { isolation: isolate; }
.hero > * { position: relative; z-index: 1; }
.hero > canvas.sheet {
  position: absolute; z-index: 0; top: 0; left: 50%; width: 100vw; height: 100%;
  transform: translateX(-50%); pointer-events: none;
  -webkit-mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.8), #000 50%, transparent),
    linear-gradient(to right, rgba(0, 0, 0, 0.18), rgba(0, 0, 0, 0.18) 45%, #000 75%);
  -webkit-mask-composite: source-in;
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.8), #000 50%, transparent),
    linear-gradient(to right, rgba(0, 0, 0, 0.18), rgba(0, 0, 0, 0.18) 45%, #000 75%);
  mask-composite: intersect;
}
@media (max-width: 900px) {
  .hero > canvas.sheet {
    -webkit-mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.35), rgba(0, 0, 0, 0.35) 55%, transparent);
    mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.35), rgba(0, 0, 0, 0.35) 55%, transparent);
  }
}

/* Modelo de mensagem (WhatsApp e e-mail) no fim das páginas de serviço. */
.tpl { max-width: 560px; margin: 24px auto 0; text-align: left; border: 1px solid var(--line); }
.tpl summary { padding: 14px 20px; cursor: pointer; font-size: 15px; font-weight: 500; }
.tpl summary:focus-visible, .tpl .btn:focus-visible { outline: 2px solid var(--blanc); outline-offset: 2px; }
.tpl-text { margin: 0; padding: 20px; border-top: 1px solid var(--line); background: var(--noir-2); font: inherit; font-size: 14px; line-height: 1.8; white-space: pre-wrap; color: rgba(245, 245, 243, 0.85); }
.tpl .btns { margin: 0; padding: 16px 20px 0; }
.tpl .cta-note { margin: 0; padding: 12px 20px 16px; max-width: none; text-align: left; }

/* Aviso curto de LGPD no fim das páginas de serviço. */
section.lgpd { padding: 32px 0; }
.lgpd .disclaimer { margin: 0; max-width: 760px; }
.lgpd strong { color: var(--blanc); font-weight: 600; }

/* Stat tiles: equal columns, the source sits at the bottom of each tile. */
.stat { display: flex; flex-direction: column; }
.stat .small:last-child { margin-top: auto; padding-top: 16px; }
/* Tile whose headline is a sentence, not a number (still the "value" the cursor selects). */
.stat h3.v.v-text { display: inline-block; align-self: flex-start; font-size: clamp(32px, 4.2vw, 52px); line-height: 1.02; letter-spacing: -0.02em; margin: 0; }
/* Illustrative mini-sheet. */
.mini { width: 100%; border-collapse: collapse; margin: 24px 0 0; font-size: 14px; font-variant-numeric: tabular-nums; }
.mini th, .mini td { border: 1px solid var(--line); padding: 10px 12px; text-align: left; vertical-align: top; }
.mini th { font-weight: 500; font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); background: rgba(255, 255, 255, 0.03); }
.mini td:first-child { color: rgba(245, 245, 243, 0.8); }
.mini td:nth-child(3) { color: var(--blanc); }
@media (max-width: 520px) { .mini th, .mini td { padding: 8px; font-size: 13px; } }

/* ---------- Causes -> fixes (landing): one row per cause, the diagram goes from broken to fixed ---------- */
.fix-rows { border-top: 1px solid var(--line); margin-top: 8px; }
.fix-row { display: grid; gap: 20px 40px; align-items: center; padding: 36px 0; border-bottom: 1px solid var(--line); }
@media (min-width: 900px) { .fix-row { grid-template-columns: 1fr 240px 1fr; } }
.fix-row h3 { margin: 0 0 10px; font-size: 22px; }
.fix-row .cause h3 { color: var(--muted); }
.fix-row p { margin: 0; line-height: 1.6; color: rgba(245, 245, 243, 0.7); }

.glyph {
  position: relative; display: grid; grid-template-columns: 64px 1fr; align-items: center; gap: 7px 12px;
  height: 72px; align-content: center;
  font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted);
}
.glyph .f { position: relative; height: 16px; border: 1px solid rgba(255, 255, 255, 0.18); }
.glyph .f i, .glyph .l i {
  position: absolute; left: 5px; top: 5px; height: 4px; width: calc((100% - 10px) * var(--w));
  background: rgba(245, 245, 243, 0.75); transform-origin: left;
}
.glyph.g-conteudo { grid-template-columns: 1fr; gap: 10px; }
.glyph .l { position: relative; height: 4px; display: block; }
.glyph .l i { left: 0; top: 0; width: calc(100% * var(--w)); }
.glyph.g-dados::after {
  content: ""; position: absolute; top: 2px; bottom: 2px; width: 1px; background: var(--blanc);
  left: calc(64px + 12px + 5px + (100% - 64px - 12px - 10px) * 0.7);
}

/* Before (motion only): the cause, drawn. */
.motion .fix-row:not(.fixed) .glyph .f { border-style: dashed; }
.motion .fix-row:not(.fixed) .g-perfil i { transform: scaleX(0); }
.motion .fix-row:not(.fixed) .g-dados i { transform: scaleX(var(--j, 1)); }
.motion .fix-row:not(.fixed) .g-dados::after { opacity: 0; }
.motion .fix-row:not(.fixed) .g-conteudo b:first-child i { transform: scaleX(0.3); }
.motion .fix-row:not(.fixed) .g-conteudo b:not(:first-child) i { transform: scaleX(0); }
.motion .fix-row:not(.fixed) .g-perfil b:first-of-type::after,
.motion .fix-row:not(.fixed) .g-conteudo b:first-child::after {
  content: ""; position: absolute; top: 3px; left: 5px; width: 1px; height: 8px; background: var(--blanc);
  animation: caret 1s steps(1) infinite;
}
.motion .fix-row:not(.fixed) .g-conteudo b:first-child::after { top: -2px; left: calc(28% + 4px); }
/* After: the fix plays once. */
.motion .fix-row.fixed .g-perfil i { animation: type-in 700ms steps(7, end) both; }
.motion .fix-row.fixed .g-perfil b:nth-of-type(2) i { animation-delay: 450ms; }
.motion .fix-row.fixed .g-perfil b:nth-of-type(3) i { animation-delay: 900ms; }
.motion .fix-row.fixed .g-dados i { transition: transform 800ms var(--cut); }
.motion .fix-row.fixed .g-dados::after { animation: fade 300ms ease 800ms both; }
.motion .fix-row.fixed .g-conteudo i { animation: type-in 520ms steps(8, end) both; }
.motion .fix-row.fixed .g-conteudo b:nth-child(2) i { animation-delay: 520ms; }
.motion .fix-row.fixed .g-conteudo b:nth-child(3) i { animation-delay: 1040ms; }
.motion .fix-row.fixed .g-conteudo b:nth-child(4) i { animation-delay: 1560ms; }
.motion .fix-row .cause h3, .motion .fix-row .fix h3 { transition: color 400ms var(--cut); }
.motion .fix-row:not(.fixed) .fix h3 { color: var(--muted); }
@keyframes type-in { from { transform: scaleX(0); } }
@keyframes fade { from { opacity: 0; } }

/* CTA clarity */
.btn .ico { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.75; stroke-linejoin: round; flex: none; }
.cta-note { font-size: 14px; line-height: 1.6; color: var(--muted); max-width: 520px; margin: 16px 0 0; }
.cta .cta-note { margin: 16px auto 0; }

/* Mobile dock: the action stays within thumb reach (motion.js shows it after the hero button leaves). */
.dock {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 20;
  padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
  background: rgba(10, 10, 10, 0.94); border-top: 1px solid var(--line);
  transform: translateY(110%); transition: transform 320ms var(--cut);
}
.dock.on { transform: none; }
.dock .btn { width: 100%; justify-content: center; }
@media (min-width: 760px) { .dock { display: none !important; } }

/* Typography: no stragglers, balanced headings */
h1, h2, h3 { text-wrap: balance; }
p { text-wrap: pretty; }

@media (max-width: 600px) {
  .btns { flex-direction: column; }
  .btns .btn { justify-content: center; }
  .brand { display: inline-block; padding: 13px 0; }
  header.top nav { gap: 4px 16px; }
  header.top nav a { min-height: 44px; display: inline-flex; align-items: center; margin: 0 -8px; }
  body:has(.dock) footer { padding-bottom: 96px; }
}

/* ---------- Site institucional: componentes das páginas ---------- */
.skip { position: absolute; left: -9999px; top: 8px; z-index: 100; background: var(--blanc); color: var(--noir); padding: 10px 14px; font-weight: 600; }
.skip:focus { left: 8px; }
header.top nav a[aria-current="page"] { color: var(--blanc); }
.crumbs { font-size: 13px; color: var(--muted); padding: 8px 0 0; }
.crumbs a { color: var(--muted); }
.crumbs [aria-current] { color: var(--blanc); }
h2.h3 { font-size: 24px; margin: 12px 0; letter-spacing: -0.01em; line-height: 1.15; }
main section:first-of-type.hero { padding-top: 32px; }

/* Cards que são links (serviços) */
a.card.link { display: block; text-decoration: none; position: relative; isolation: isolate; transition: background 280ms var(--cut); }
a.card.link:hover, a.card.link:focus-visible { background: var(--noir-2); }
a.card.link h3 { margin-top: 12px; }
.card .more { display: inline-flex; align-items: center; gap: 8px; margin-top: 24px; font-size: 14px; font-weight: 600; }
.card .more .ico, .btn .ico { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.75; stroke-linejoin: round; stroke-linecap: round; flex: none; }
.card h3 a { text-decoration: none; }
.card ul.plain { margin-top: 12px; }

/* Listas simples e texto corrido */
ul.plain { list-style: none; padding: 0; margin: 0; border-top: 1px solid var(--line); }
ul.plain li { padding: 16px 0 16px 24px; border-bottom: 1px solid var(--line); line-height: 1.6; color: rgba(245, 245, 243, 0.85); position: relative; }
ul.plain li::before { content: ""; position: absolute; left: 0; top: 26px; width: 8px; height: 8px; background: var(--blanc); }
.prose { max-width: 720px; }
.prose p { line-height: 1.7; font-size: 18px; color: rgba(245, 245, 243, 0.85); margin: 0 0 20px; }
section.prose h2 { font-size: 28px; margin: 40px 0 12px; line-height: 1.15; }
section.prose { padding-top: 32px; }
section.prose p { max-width: 720px; line-height: 1.7; color: rgba(245, 245, 243, 0.85); }
.lead a, .prose a, .disclaimer a, .faq a, .card p a, .cta-note a { text-underline-offset: 4px; }

/* Ficha curta */
.facts dl { margin: 12px 0 0; display: grid; grid-template-columns: max-content 1fr; gap: 12px 24px; }
.facts dt { color: var(--muted); font-size: 13px; letter-spacing: 0.15em; text-transform: uppercase; padding-top: 3px; }
.facts dd { margin: 0; line-height: 1.5; }

/* FAQ */
.faq { border-top: 1px solid var(--line); max-width: 820px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; padding: 20px 40px 20px 0; font-size: 19px; font-weight: 600; line-height: 1.35; list-style: none; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 4px; top: 18px; font-size: 26px; font-weight: 300; color: var(--muted); }
.faq details[open] summary::after { content: "–"; }
.faq details p { margin: 0 0 22px; line-height: 1.7; color: rgba(245, 245, 243, 0.8); max-width: 680px; }

/* Tabela de exemplo */
.tablewrap { overflow-x: auto; margin-top: 24px; border: 1px solid rgba(255, 255, 255, 0.15); }
table.demo { border-collapse: collapse; width: 100%; min-width: 560px; font-size: 15px; }
table.demo th, table.demo td { text-align: left; padding: 14px 18px; border-bottom: 1px solid var(--line); }
table.demo th { font-size: 12px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--muted); font-weight: 500; background: var(--noir-2); }
table.demo tr:last-child td { border-bottom: none; }

/* Rodapé institucional */
.foot-grid { display: grid; gap: 32px; text-align: left; padding-bottom: 8px; }
@media (min-width: 760px) { .foot-grid { grid-template-columns: 1.4fr 1fr 1fr; } }
footer ul { list-style: none; padding: 0; margin: 0; }
footer li { margin: 0; }
footer li { display: block; }
footer li a { display: inline-block; padding: 6px 0; line-height: 1.5; }
footer li:not(:has(a)) { padding: 6px 0; line-height: 1.5; }
.foot-brand { font-weight: 700; color: var(--blanc); font-size: 16px; }
.foot-h { font-size: 12px; letter-spacing: 0.3em; text-transform: uppercase; color: var(--blanc); margin-bottom: 8px; }
footer .legal { text-align: center; margin-top: 32px; }
footer a { color: inherit; text-underline-offset: 4px; }

/* O CTA final convive com a tela inteira no desktop sem dock */
.cta .btns { margin-top: 32px; }

/* Stats: the sheet cursor selects each cell and the value lands with an inverted flash (motion.js). */
.stat { position: relative; }
.stat.sel::after { content: ""; position: absolute; inset: 0; box-shadow: inset 0 0 0 1px rgba(245, 245, 243, 0.55); pointer-events: none; }
.motion .stat.wait .v { visibility: hidden; }
.stat .v.flash { background: var(--blanc); color: var(--noir); box-shadow: 0 0 0 6px var(--blanc); }
.stat .small { font-size: 14px; }

/* CTA record: an ASCII field the AI "reads" into a clean business record (ascii.js). */
.record {
  margin: 48px auto 0; max-width: 560px; text-align: left;
  border: 1px solid rgba(255, 255, 255, 0.15); background: var(--noir-2);
}
.record figcaption {
  border-bottom: 1px solid var(--line); padding: 12px 20px; font-size: 12px;
  letter-spacing: 0.2em; text-transform: uppercase; color: var(--muted);
}
.record .ascii {
  margin: 0; padding: 22px 20px; overflow: hidden;
  font: 400 clamp(11.5px, 3.3vw, 15px) / 1.7 ui-monospace, "Cascadia Mono", Consolas, "Courier New", monospace;
  color: var(--blanc); white-space: pre;
}
.record .ascii b { font-weight: 600; background: var(--blanc); color: var(--noir); padding: 1px 4px; margin: 0 -4px; }
.record .foot { margin: 0; border-top: 1px solid var(--line); padding: 12px 20px; font-size: 13px; color: var(--muted); }
.record .ascii .n { color: rgba(245, 245, 243, 0.2); }
.record .ascii .f { color: rgba(245, 245, 243, 0.6); }
.record .ascii .k { color: var(--muted); }
.record .ascii .v { color: var(--blanc); }
.record .ascii .s { background: var(--blanc); color: var(--noir); font-weight: 600; }
.record .ascii .s.off { background: transparent; color: var(--blanc); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* CTA heading highlight, for pages without the record. */
.cta h2 .muted { box-decoration-break: clone; -webkit-box-decoration-break: clone; }
.cta.found h2 .muted {
  background: linear-gradient(var(--blanc), var(--blanc)) no-repeat left / 100% 100%; color: var(--noir);
  animation: select 520ms var(--cut) both;
}
@keyframes select { from { background-size: 0% 100%; color: var(--muted); } 40% { color: var(--noir); } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .dock { transition: none; }
  .btn::after, header.top nav a::after { transition: none; }
}

/* Home: a visibilidade em IA é o hero. Título e chat dividem a primeira tela. */
.hero-ia { padding-bottom: 112px; }
.hero-ia h1 { margin-top: 0; font-size: clamp(40px, 7vw, 84px); }
.hero-ia .split { gap: 56px; margin-top: 8px; }
@media (min-width: 900px) {
  .hero-ia .split { grid-template-columns: 1fr 1fr; align-items: start; }
  .hero-ia .chat { margin: 32px 0 0; }
}
/* Contato: modelo de e-mail pronto (substitui o formulário). */
.mailbox { max-width: 760px; margin-top: 32px; border: 1px solid rgba(255, 255, 255, 0.15); }
.mailbox .tpl-text { border-top: 0; }
.mailbox .btns { margin: 0; padding: 20px; border-top: 1px solid var(--line); }
button.btn { font-family: inherit; cursor: pointer; border-radius: 0; }
button.btn-ghost { background: transparent; color: var(--blanc); }
#email .cta-note { max-width: 760px; }

/* Formulário de contato */
.form { display: grid; gap: 24px; max-width: 760px; margin-top: 32px; border: 1px solid rgba(255, 255, 255, 0.15); background: var(--noir-2); padding: 28px; }
.form .row2 { display: grid; gap: 24px; }
@media (min-width: 700px) { .form .row2 { grid-template-columns: 1fr 1fr; } }
.form label { display: block; }
.form label > span { display: block; margin-bottom: 8px; font-size: 12px; letter-spacing: 0.25em; text-transform: uppercase; color: var(--muted); }
.form input, .form textarea {
  width: 100%; background: transparent; color: var(--blanc); border: 1px solid rgba(255, 255, 255, 0.25);
  padding: 14px 16px; font: inherit; font-size: 16px; border-radius: 0;
}
.form input::placeholder, .form textarea::placeholder { color: rgba(255, 255, 255, 0.35); }
.form input:focus, .form textarea:focus { outline: none; border-color: var(--blanc); }
.form textarea { resize: vertical; min-height: 140px; }
.form .btn { justify-self: start; cursor: pointer; border: 0; font-family: inherit; }
.form .btn[disabled] { opacity: 0.5; cursor: progress; }
.form .cta-note { margin: 0; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
@media (max-width: 600px) { .form { padding: 20px; } .form .btn { justify-self: stretch; justify-content: center; } }
