/* TAXARIS — landing. Identidade Firmaris: tokens em tokens.css (mesmos do firmaris.com.br). Sem framework; CSP: 'self', sem estilo inline. */
@font-face { font-family: "Inter"; src: url("fonts/inter-latin-wght.woff2") format("woff2"); font-weight: 100 900; font-style: normal; font-display: swap; }

:root {
  --wrap: 1160px; --hdr: 68px;
  --p-taxaris-a: #2563eb; --p-taxaris-b: #06b6d4; --p-taxaris-c: #7c3aed;
  font: 16px/1.6 "Inter", "Segoe UI", system-ui, -apple-system, sans-serif;
  font-feature-settings: "cv11" 1, "ss01" 1;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body { margin: 0; background: var(--ink); color: var(--text); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3 { margin: 0; letter-spacing: -.025em; font-weight: 700; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
.wrap { width: min(var(--wrap), 100% - 40px); margin-inline: auto; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--accent); color: var(--on-accent); padding: 8px 14px; border-radius: 8px; z-index: 50; }
.skip:focus { left: 12px; }
:focus-visible { outline: 2px solid var(--focus); outline-offset: 3px; border-radius: 6px; }
.theme-anim, .theme-anim *, .theme-anim *::before, .theme-anim *::after { transition: background-color .35s, border-color .35s, color .35s, fill .35s, stroke .35s !important; }

/* paleta TAXARIS (folha de marca): azul #2563EB, ciano #06B6D4, roxo #7C3AED, azul escuro #0F172A, cinza #64748B */
:root, :root[data-theme="dark"] { --accent: #2563eb; --accent-2: #1d4ed8; --accent-t: #22d3ee; --on-accent: #ffffff; --focus: #38bdf8; --glow-rgb: 37 99 235; }
:root[data-theme="light"] { --accent: #2563eb; --accent-2: #1d4ed8; --accent-t: #1d4ed8; --on-accent: #ffffff; --focus: #2563eb; }

/* marca */
.logo { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; }
.logo .mark { width: 36px; height: auto; }
.wm { font-weight: 800; font-size: 22px; letter-spacing: -.01em; }
.tagline { text-transform: uppercase; letter-spacing: .3em; font-size: 12px; }

/* navegação */
.top { position: sticky; top: 0; z-index: 20; background: var(--hdr-bg); backdrop-filter: saturate(140%) blur(12px); -webkit-backdrop-filter: saturate(140%) blur(12px); border-bottom: 1px solid var(--hdr-line); }
.nav { display: flex; align-items: center; height: var(--hdr); gap: 20px; }
.menu { display: flex; align-items: center; gap: 28px; margin-left: auto; }
.links { display: flex; gap: 26px; font-size: 14px; }
.links a { text-decoration: none; color: var(--text-2); padding: 6px 0; border-bottom: 1px solid transparent; transition: color .2s, border-color .2s; }
.links a:hover { color: var(--text); }
.links a[aria-current] { color: var(--text); border-color: var(--accent); }
.menu-btn { margin-left: auto; display: none; background: none; border: 1px solid var(--line-2); color: var(--text); border-radius: 8px; padding: 8px 14px; font: inherit; font-size: 14px; cursor: pointer; min-height: 40px; }
.prefs { display: flex; align-items: center; gap: 12px; }
.seg { display: inline-flex; border: 1px solid var(--line-2); border-radius: 9px; padding: 2px; gap: 2px; }
.seg button { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-width: 32px; height: 30px; padding: 0 8px; border-radius: 7px; border: 0; background: none; color: var(--muted); font: inherit; font-size: 12px; font-weight: 600; cursor: pointer; }
.seg button:hover { color: var(--text); background: var(--hover); }
.seg button[aria-pressed="true"] { background: var(--hover); color: var(--text); box-shadow: inset 0 -2px 0 var(--accent); }
.seg svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.seg svg .fill { fill: currentColor; }
.seg-t { display: none; letter-spacing: .02em; font-weight: 500; font-size: 13px; }

/* botões */
.btn { display: inline-flex; align-items: center; gap: 10px; padding: 13px 22px; border-radius: 10px; font-weight: 550; font-size: 15px; text-decoration: none; border: 1px solid transparent; transition: background .2s, border-color .2s; min-height: 46px; }
.btn-sm { padding: 6px 16px; min-height: 36px; font-size: 14px; }
.btn-primary { background: var(--accent); color: var(--on-accent); }
.btn-primary:hover { background: var(--accent-2); }
.btn-ghost { border-color: var(--line-2); color: var(--text); }
.btn-ghost:hover { border-color: var(--line-3); background: var(--hover); }
.btn-text { padding: 13px 4px; border-radius: 6px; color: var(--text-2); font-weight: 500; text-decoration: underline; text-decoration-color: var(--line-3); text-underline-offset: 6px; }
.btn-text:hover { color: var(--text); text-decoration-color: var(--accent); }
.btn span { transition: transform .2s; }
.btn:hover span { transform: translateX(3px); }

/* tipografia */
.eyebrow, .kicker { font-size: 12.5px; letter-spacing: .22em; text-transform: uppercase; color: var(--accent-t); font-weight: 500; }
.eyebrow { margin-bottom: 26px; }
.kicker { margin-bottom: 18px; }
h1 { font-size: clamp(38px, 5.2vw, 64px); line-height: 1.05; letter-spacing: -.04em; max-width: 14ch; }
.sec { padding: clamp(72px, 10vw, 128px) 0; border-top: 1px solid var(--line); position: relative; }
.sec-alt { background: linear-gradient(180deg, var(--ink-2), var(--ink)); }
.sec h2 { font-size: clamp(28px, 3.8vw, 46px); line-height: 1.12; max-width: 24ch; }
.sub { margin-top: 20px; font-size: 18px; color: var(--text-2); max-width: 600px; }
.lead { margin-top: 26px; font-size: clamp(17px, 1.8vw, 20px); line-height: 1.55; color: var(--text-2); max-width: 540px; }
.ctas { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; margin-top: 36px; }

/* hero */
.hero { position: relative; overflow: hidden; padding: clamp(56px, 9vw, 112px) 0 clamp(64px, 9vw, 112px);
  background: radial-gradient(900px 560px at 82% 40%, rgb(var(--glow-rgb) / var(--glow-a)), transparent 66%), radial-gradient(600px 400px at 100% 100%, rgb(124 58 237 / calc(var(--glow-a) * .7)), transparent 70%); }
.hero-grid { display: grid; grid-template-columns: .82fr 1.18fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.status { display: inline-flex; align-items: center; gap: 10px; margin-top: 30px; font-size: 14px; color: var(--text-2); }
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--c-gov); box-shadow: 0 0 0 4px color-mix(in srgb, var(--c-gov) 22%, transparent); }

/* estado do produto (pill ao lado da marca, como no Fidaris) */
.state-pill { display: inline-flex; align-items: center; gap: 8px; margin-right: auto; margin-left: 4px; padding: 4px 12px; border: 1px solid var(--line-2); border-radius: 999px; font-size: 12.5px; color: var(--text-2); white-space: nowrap; }

/* hero com tela real */
.hero-visual { min-width: 0; }
.shot { margin: 0; border: 1px solid var(--line-2); border-radius: 14px; overflow: hidden; background: #0d1526; box-shadow: var(--shadow); }
.frame { display: flex; align-items: center; gap: 7px; padding: 10px 14px; border-bottom: 1px solid #1c2839; background: #0f1a2d; }
.frame i { width: 10px; height: 10px; border-radius: 50%; background: #25324a; }
.frame span { margin-left: 12px; font-size: 12px; color: #94a3b8; }
.shot img { width: 100%; height: auto; }
.shot figcaption { padding: 9px 14px; font-size: 12.5px; color: #94a3b8; background: #0f1a2d; border-top: 1px solid #1c2839; }
.shot-hero { position: relative; }
.shot-hero::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 3px; z-index: 1; background: linear-gradient(90deg, var(--p-taxaris-a), var(--p-taxaris-b) 70%, var(--p-taxaris-c)); }

/* faixa de fatos (verificáveis) */
.facts { margin: clamp(48px, 7vw, 80px) 0 0; display: grid; grid-template-columns: repeat(5, 1fr); border: 1px solid var(--line-2); border-radius: 14px; background: var(--surface); }
.facts div { padding: 18px 22px; }
.facts div + div { border-left: 1px solid var(--line); }
.facts dt { font-size: 11.5px; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); font-weight: 600; }
.facts dd { margin: 6px 0 0; font-size: 15px; font-weight: 600; letter-spacing: -.01em; }

/* produto: linhas alternadas texto x tela */
.row { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(32px, 6vw, 88px); align-items: center; margin-top: clamp(64px, 9vw, 112px); }
.row-rev { grid-template-columns: 1.15fr .85fr; }
.row-rev .row-text { order: 2; }
.row-text h3 { font-size: clamp(24px, 2.8vw, 34px); line-height: 1.15; margin-top: 4px; }
.row-text > p:not(.kicker) { margin-top: 16px; color: var(--text-2); font-size: 17px; }
.row-text .kicker { margin-bottom: 12px; }
.row-visual { min-width: 0; }
.ticks { margin: 22px 0 0; display: grid; gap: 10px; font-size: 15.5px; }
.ticks li { position: relative; padding-left: 26px; }
.ticks li::before { content: ""; position: absolute; left: 2px; top: .62em; width: 10px; height: 1px; background: var(--accent-t); box-shadow: 0 0 0 1px var(--accent-t); border-radius: 1px; }

/* recursos: lista com filetes, sem caixas */
.featlist { margin-top: 52px; display: grid; grid-template-columns: repeat(3, 1fr); column-gap: clamp(24px, 4vw, 56px); border-top: 1px solid var(--line-2); }
.featlist li { padding: 28px 0 30px; border-bottom: 1px solid var(--line); }
.featlist h3 { font-size: 19px; letter-spacing: -.01em; }
.featlist h3::before { content: ""; display: block; width: 28px; height: 3px; margin-bottom: 16px; border-radius: 2px; background: linear-gradient(90deg, var(--p-taxaris-a), var(--p-taxaris-b)); }
.featlist p { margin-top: 8px; color: var(--text-2); font-size: 15.5px; }

/* trilha horizontal (como funciona / estágio) */
.flow { margin-top: 56px; display: grid; grid-template-columns: repeat(4, 1fr); position: relative; }
.flow-3 { grid-template-columns: repeat(3, 1fr); }
.flow::before { content: ""; position: absolute; left: 6px; right: 6px; top: 6px; height: 1px; background: linear-gradient(90deg, var(--line-3), var(--accent-t) 80%, var(--p-taxaris-c)); }
.flow li { position: relative; padding: 34px 28px 0 0; }
.fdot { position: absolute; left: 0; top: 0; width: 13px; height: 13px; border-radius: 50%; background: var(--ink); border: 1px solid var(--accent-t); }
.flow li.is-end .fdot, .flow li.is-now .fdot { background: var(--accent-t); box-shadow: 0 0 0 5px color-mix(in srgb, var(--accent-t) 20%, transparent); }
.flow h3 { font-size: 19px; }
.flow p { margin-top: 8px; color: var(--text-2); font-size: 15.5px; }
.tag { display: block; font-size: 12px; letter-spacing: .16em; text-transform: uppercase; font-weight: 600; color: var(--muted); margin-bottom: 8px; }
.is-now .tag { color: var(--accent-t); }

/* segurança e controle */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 7vw, 96px); align-items: start; }
.principles { border-top: 1px solid var(--line); }
.principles li { padding: 22px 0; border-bottom: 1px solid var(--line); }
.principles h3 { font-size: 18px; letter-spacing: -.01em; }
.principles p { margin-top: 4px; color: var(--text-2); font-size: 15.5px; }

/* fechamento */
.cta { background: radial-gradient(800px 420px at 12% 100%, rgb(var(--glow-rgb) / calc(var(--glow-a) * .8)), transparent 70%); }
.cta h2 { max-width: 18ch; font-size: clamp(30px, 4.6vw, 56px); }
.mailto { margin-top: 26px; }
.mail { color: var(--text-2); text-underline-offset: 4px; }
.mail:hover { color: var(--text); }

/* rodapé (anatomia da família: marca · navegação · contato · preferências · linha legal) */
.foot { border-top: 1px solid var(--line); padding: 64px 0 40px; background: var(--ink); }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1.2fr 1fr; gap: 32px; }
.foot-brand .tagline { margin-top: 14px; color: var(--muted); font-size: 11.5px; }
.foot-brand .byline { margin-top: 10px; font-size: 14px; }
.foot-brand .byline a { color: var(--text-2); text-underline-offset: 4px; }
.foot-brand .byline a:hover { color: var(--text); }
.foot h3 { font-size: 12px; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); font-weight: 600; margin-bottom: 14px; }
.foot li + li { margin-top: 8px; }
.foot li a { text-decoration: none; color: var(--text-2); font-size: 14.5px; }
.foot li a:hover { color: var(--text); text-decoration: underline; text-underline-offset: 4px; }
.prefs-foot { flex-direction: column; align-items: flex-start; }
.legal { margin-top: 48px; padding-top: 22px; border-top: 1px solid var(--line); font-size: 13px; color: var(--muted); display: flex; flex-wrap: wrap; gap: 6px 14px; }
.legal span + span::before { content: "·"; margin-right: 14px; }

/* 404 */
.text-page { padding: 56px 0 96px; max-width: 640px; }
.text-page .logo { margin-bottom: 56px; }
.text-page h1 { font-size: clamp(34px, 5vw, 52px); max-width: none; }
.text-page p { margin-top: 14px; color: var(--text-2); font-size: 17px; }
.text-page .btn { margin-top: 34px; }

/* revelação (só com JS) */
.js .reveal { opacity: 0; transform: translateY(14px); transition: opacity .7s ease, transform .7s ease; }
.js .reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .js .reveal { transition: none; } .theme-anim, .theme-anim * { transition: none !important; } }

/* responsivo */
@media (max-width: 1100px) { .state-pill { display: none; } .facts { grid-template-columns: repeat(3, 1fr); } .facts div:nth-child(4) { border-left: 0; } .facts div:nth-child(n+4) { border-top: 1px solid var(--line); } }
@media (max-width: 1000px) {
  .featlist { grid-template-columns: repeat(2, 1fr); }
  .flow { grid-template-columns: repeat(2, 1fr); row-gap: 36px; }
  .flow-3 { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 900px) {
  .menu-btn { display: inline-block; }
  .menu { display: none; position: absolute; left: 0; right: 0; top: var(--hdr); flex-direction: column; align-items: stretch; gap: 20px; padding: 20px max(20px, calc((100% - var(--wrap)) / 2)) 28px; background: var(--surface); border-bottom: 1px solid var(--line); }
  .menu.open { display: flex; }
  .links { flex-direction: column; gap: 0; }
  .links a { display: block; padding: 14px 0; font-size: 17px; border-bottom: 1px solid var(--line); }
  .prefs { flex-wrap: wrap; } .seg button { height: 44px; min-width: 44px; } .seg-t { display: inline; }
  .btn-sm { min-height: 44px; }
  .hero-grid, .split, .row, .row-rev { grid-template-columns: 1fr; }
  .row-rev .row-text { order: 0; }
  .nav { justify-content: space-between; }
  .foot-grid { grid-template-columns: 1fr 1fr; } .foot-brand { grid-column: 1 / -1; }
}
@media (max-width: 640px) {
  .featlist { grid-template-columns: 1fr; }
  .flow, .flow-3 { grid-template-columns: 1fr; row-gap: 0; margin-top: 44px; }
  .flow::before { left: 6px; right: auto; width: 1px; height: auto; top: 6px; bottom: 6px; background: linear-gradient(180deg, var(--line-3), var(--accent-t) 80%, var(--p-taxaris-c)); }
  .flow li { padding: 0 0 28px 34px; } .fdot { top: 2px; }
  .facts { grid-template-columns: 1fr 1fr; }
  .facts div:nth-child(n) { border-left: 0; border-top: 1px solid var(--line); }
  .facts div:nth-child(odd) { border-right: 1px solid var(--line); }
  .facts div:nth-child(-n+2) { border-top: 0; }
  .foot-grid { grid-template-columns: 1fr; }
  .ctas .btn { width: 100%; justify-content: center; }
  .legal span + span::before { display: none; }
}
