/* Lithos — site institucional. Tokens da marca (handoff de 2026-11-02, noturno em cinza neutro). */
:root {
  --blue: #006FEE;
  --blue-hover: #005BC4;
  --blue-soft: #E6F1FE;
  --blue-link: #338EF7;
  --purple: #9353D3;

  --ink: #09090B;
  --text: #11181C;
  --muted: #52525B;
  --line: #E4E4E7;
  --paper: #FFFFFF;
  --paper-2: #F7F7F8;

  --night: #1F1F1F;
  --night-2: #292929;
  --night-side: #171717;
  --night-line: #303030;
  --night-line-2: #2E2E2E;
  --night-line-strong: #3D3D3D;
  --night-text: #F2F2F2;
  --night-strong: #FAFAFA;
  --night-muted: #A3A3A3;
  --night-subtle: #808080;

  --mono: "Geist Mono", ui-monospace, monospace;
  --sans: Geist, system-ui, -apple-system, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--text);
  font-family: var(--sans);
  -webkit-font-smoothing: antialiased;
}
a { color: var(--blue); text-decoration: none; }
a:hover { color: var(--blue-hover); }
img { display: block; max-width: 100%; height: auto; }
input::placeholder { color: var(--night-subtle); }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; }

.wrap { max-width: 1200px; margin: 0 auto; padding: 0 32px; }
.section { padding: 120px 0; scroll-margin-top: 68px; }
.mono { font-family: var(--mono); }

/* Chanfro de 45°: a assinatura visual da marca */
.chamfer-sm { border-radius: 10px 0 10px 10px; clip-path: polygon(0 0, calc(100% - 10px) 0, 100% 10px, 100% 100%, 0 100%); }
.chamfer-md { border-radius: 12px 0 12px 12px; clip-path: polygon(0 0, calc(100% - 12px) 0, 100% 12px, 100% 100%, 0 100%); }
.chamfer-lg { border-radius: 16px 0 16px 16px; clip-path: polygon(0 0, calc(100% - 24px) 0, 100% 24px, 100% 100%, 0 100%); }
.chamfer-xl { border-radius: 20px 0 20px 20px; clip-path: polygon(0 0, calc(100% - 40px) 0, 100% 40px, 100% 100%, 0 100%); }

.eyebrow {
  display: flex; align-items: center; gap: 10px;
  font-size: 12px; font-weight: 500; letter-spacing: .2em; text-transform: uppercase;
  color: var(--blue);
}
.eyebrow::before { content: ""; width: 8px; height: 8px; background: var(--blue); flex: none; }
.eyebrow.on-dark { color: var(--night-muted); }

h1, h2, h3 { margin: 0; font-weight: 500; text-wrap: balance; }
h2 { font-size: clamp(34px, 4vw, 52px); letter-spacing: -.03em; line-height: 1.05; color: var(--ink); }
.lead { margin: 0; font-size: 17px; line-height: 1.6; color: var(--muted); text-wrap: pretty; }

/* Botões */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-family: var(--sans); font-weight: 500; cursor: pointer; border: 0;
  white-space: nowrap;
}
.btn-primary { background: var(--blue); color: #fff; }
.btn-primary:hover { background: var(--blue-hover); color: #fff; }
.btn-primary:disabled { opacity: .7; cursor: wait; }
.btn-ghost-dark { background: transparent; color: var(--night-text); border: 1px solid var(--night-line-strong); border-radius: 12px; }
.btn-ghost-dark:hover { border-color: #525252; color: var(--night-strong); background: var(--night-2); }
.btn-lg { height: 50px; padding: 0 26px; font-size: 16px; }
.btn-md { height: 46px; padding: 0 20px; font-size: 15px; }
.btn-sm { height: 38px; padding: 0 16px; font-size: 14px; border-radius: 10px; }

/* Cabeçalho */
.site-header {
  position: sticky; top: 0; z-index: 20;
  background: rgba(23, 23, 23, .9); backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--night-line);
}
.site-header .wrap { height: 68px; display: flex; align-items: center; gap: 40px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--night-strong); }
.brand:hover { color: var(--night-strong); }
.brand span { font-size: 15px; font-weight: 500; letter-spacing: .32em; }
.site-nav { display: flex; align-items: center; gap: 28px; flex: 1; font-size: 14px; }
.site-nav a { color: var(--night-muted); }
.site-nav a:hover { color: var(--night-strong); }
.header-actions { display: flex; align-items: center; gap: 8px; margin-left: auto; }

/* Abertura */
.hero { background: linear-gradient(var(--night) 0, var(--night) 72%, var(--paper) 72%, var(--paper) 100%); }
.hero .wrap { padding-top: 96px; display: flex; flex-direction: column; align-items: flex-start; gap: 28px; }
.hero h1 {
  font-size: clamp(42px, 6.2vw, 84px); letter-spacing: -.035em; line-height: 1.02;
  color: var(--night-strong); max-width: 1000px;
}
.hero h1 em { font-style: normal; color: var(--blue-link); }
.hero .lead { color: var(--night-muted); font-size: clamp(17px, 1.6vw, 20px); line-height: 1.55; max-width: 660px; }
.hero-ctas { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; padding-top: 8px; }
.hero-note { font-size: 14px; color: var(--night-muted); padding-left: 8px; }
.control-points {
  display: flex; flex-wrap: wrap; gap: 10px 28px; margin: 0; padding: 4px 0 0; list-style: none;
  font-size: 14px; color: var(--night-text);
}
.control-points li { display: flex; align-items: center; gap: 8px; }
.control-points svg { color: var(--blue-link); flex: none; }
.hero-shot { max-width: 1264px; margin: 72px auto 0; padding: 0 32px; }
.shot-frame {
  border: 1px solid var(--night-line); background: var(--night-side); padding: 10px;
  border-radius: 18px 0 18px 18px; clip-path: polygon(0 0, calc(100% - 32px) 0, 100% 32px, 100% 100%, 0 100%);
  box-shadow: 0 40px 80px -40px rgba(0, 0, 0, .5);
}
.shot-frame img { border-radius: 10px; }

/* Produção e folha */
.production .head { display: flex; flex-direction: column; gap: 20px; max-width: 820px; }
.production h2 { font-size: clamp(36px, 4.6vw, 60px); line-height: 1.02; }
.production .lead { font-size: 18px; max-width: 660px; }
.production .grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(420px, 100%), 1fr)); gap: 48px; align-items: start; margin-top: 56px; }
.steps { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.steps li { display: grid; grid-template-columns: 48px minmax(0, 1fr); gap: 16px; padding: 24px 0; border-bottom: 1px solid var(--line); }
.steps .n { font-family: var(--mono); font-size: 13px; color: var(--blue); padding-top: 3px; }
.steps h3 { font-size: 19px; color: var(--ink); margin-bottom: 8px; }
.steps p { margin: 0; font-size: 15px; line-height: 1.6; color: var(--muted); }

.sheet {
  background: var(--night); border: 1px solid var(--night-line); color: var(--night-text); overflow: hidden;
  box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .35);
}
.sheet-top { padding: 20px; display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; border-bottom: 1px solid var(--night-line); flex-wrap: wrap; }
.sheet-top small { display: block; font-size: 12px; color: var(--night-subtle); margin-bottom: 4px; }
.sheet-top strong { font-size: 20px; font-weight: 500; letter-spacing: -.02em; color: var(--night-strong); }
.sheet-top .mono { font-size: 12px; color: var(--night-muted); }
.sheet-scroll { overflow-x: auto; }
.sheet table { width: 100%; min-width: 360px; border-collapse: collapse; font-size: 13px; }
.sheet th { height: 40px; padding: 0 10px; font-size: 12px; font-weight: 400; color: var(--night-subtle); text-align: right; border-bottom: 1px solid var(--night-line); }
.sheet th:first-child, .sheet td:first-child { text-align: left; padding-left: 20px; }
.sheet th:last-child, .sheet td:last-child { padding-right: 20px; }
.sheet td { height: 52px; padding: 0 10px; text-align: right; border-bottom: 1px solid var(--night-line-2); font-family: var(--mono); font-size: 12px; color: var(--night-muted); }
.sheet td:first-child { font-family: var(--sans); }
.sheet td:first-child b { display: block; font-size: 13px; font-weight: 500; color: var(--night-text); }
.sheet td:first-child span { font-size: 12px; color: var(--night-subtle); }
.sheet td:last-child { color: var(--night-strong); font-weight: 500; }
.sheet tr.active td { background: var(--night-2); }
.sheet tr.active td:first-child { box-shadow: inset 3px 0 0 var(--blue); }
.sheet-foot { padding: 16px 20px; background: var(--night-side); display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.sheet-foot .total { flex: 1; }
.sheet-foot .total b { display: block; font-family: var(--mono); font-size: 18px; font-weight: 500; color: var(--night-strong); }
.sheet-foot .total span { font-size: 12px; color: var(--night-subtle); }
.sheet-foot .btn { height: 36px; padding: 0 16px; font-size: 13px; pointer-events: none; }

/* Fluxo do pedido */
.flow { background: var(--paper-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.flow ol { list-style: none; margin: 0 auto; padding: 56px 32px; max-width: 1200px; display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 12px; }
.flow li { display: flex; flex-direction: column; gap: 10px; padding: 18px 18px 20px; background: var(--paper); border: 1px solid var(--line); border-radius: 12px; }
.flow .n { font-family: var(--mono); font-size: 12px; color: #71717A; }
.flow h3 { font-size: 17px; color: var(--ink); }
.flow p { margin: 0; font-size: 13px; line-height: 1.5; color: var(--muted); }
.flow li.hot { background: var(--blue); border-color: var(--blue); border-radius: 12px 0 12px 12px; clip-path: polygon(0 0, calc(100% - 12px) 0, 100% 12px, 100% 100%, 0 100%); }
.flow li.hot .n { color: var(--blue-soft); }
.flow li.hot h3, .flow li.hot p { color: #fff; }

/* Recursos */
.split-head { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(320px, 100%), 1fr)); gap: 32px; align-items: end; }
.features { margin-top: 56px; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(250px, 100%), 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: 16px; overflow: hidden; }
.feature { background: var(--paper); padding: 32px 28px; display: flex; flex-direction: column; gap: 18px; }
.feature .top { display: flex; justify-content: space-between; align-items: center; color: var(--blue); }
.feature h3 { font-size: 20px; color: var(--ink); }
.feature ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; font-size: 14px; line-height: 1.5; color: var(--muted); }
.feature li { display: flex; gap: 10px; }
.feature li::before { content: ""; width: 5px; height: 5px; margin-top: 8px; flex: none; background: #A1A1AA; }
.feature.hot { background: var(--blue); }
.feature.hot .top, .feature.hot h3, .feature.hot ul { color: #fff; }
.feature.hot li::before { background: #fff; }
.tag { font-size: 11px; font-weight: 500; letter-spacing: .12em; text-transform: uppercase; padding: 4px 8px; border-radius: 6px; background: #004493; color: #fff; }

/* Feito para revestimentos */
.stone { background: var(--night); color: var(--night-text); }
.stone .wrap { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(340px, 100%), 1fr)); gap: 56px; align-items: center; }
.stone .text { display: flex; flex-direction: column; gap: 24px; }
.stone h2 { color: var(--night-strong); }
.stone .lead { color: var(--night-muted); }
.specs { border-top: 1px solid var(--night-line); }
.specs > div { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--night-line); flex-wrap: wrap; }
.specs dt { font-size: 15px; color: var(--night-muted); }
.specs dd { margin: 0; display: flex; flex-wrap: wrap; gap: 6px 14px; font-size: 13px; color: var(--night-text); }
.chip { font-family: var(--mono); padding: 3px 8px; background: var(--night-2); border-radius: 6px; }
.swatch { display: inline-flex; align-items: center; gap: 6px; }
.swatch::before { content: ""; width: 8px; height: 8px; background: var(--c); }
.stone .shot-frame { padding: 8px; border-radius: 14px 0 14px 14px; clip-path: polygon(0 0, calc(100% - 24px) 0, 100% 24px, 100% 100%, 0 100%); box-shadow: none; }
.stone .shot-frame img { border-radius: 8px; }

/* Indústria e loja */
.segments { padding-bottom: 0; }
.segments h2 { font-size: clamp(30px, 3.4vw, 44px); line-height: 1.1; }
.segment-grid { margin-top: 32px; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(320px, 100%), 1fr)); gap: 16px; }
.segment { padding: 32px; background: var(--paper-2); border: 1px solid var(--line); border-radius: 16px; display: flex; flex-direction: column; gap: 20px; }
.segment h3 { display: flex; align-items: center; gap: 12px; font-size: 22px; color: var(--ink); }
.segment h3 svg { color: var(--blue); }
.segment ul { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); font-size: 15px; }
.segment li { padding: 14px 0; border-bottom: 1px solid var(--line); }

/* Detalhes */
.details { padding: 96px 0 120px; }
.details .wrap { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(240px, 100%), 1fr)); gap: 40px 32px; }
.details .item { padding-top: 20px; border-top: 1px solid var(--text); }
.details h3 { font-size: 16px; color: var(--ink); margin-bottom: 10px; }
.details p { margin: 0; font-size: 14px; line-height: 1.55; color: var(--muted); }

/* Produtos */
.products { background: var(--paper-2); border-top: 1px solid var(--line); padding-bottom: 0; }
.products h2 { font-size: clamp(30px, 3.4vw, 44px); line-height: 1.1; }
.product-grid { margin-top: 32px; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(320px, 100%), 1fr)); gap: 16px; }
.product { padding: 32px; display: flex; flex-direction: column; gap: 20px; border-radius: 16px 16px 0 16px; clip-path: polygon(0 0, 100% 0, 100% calc(100% - 20px), calc(100% - 20px) 100%, 0 100%); }
.product.erp { background: var(--paper); border: 1px solid var(--line); }
.product.crm { background: var(--night); border: 1px solid var(--night-line); color: var(--night-muted); }
.product p { margin: 0; font-size: 16px; line-height: 1.6; color: var(--muted); }
.product.crm p { color: var(--night-muted); }
.wordmark { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; font-size: 16px; letter-spacing: .32em; }
.wordmark b { font-weight: 500; }
.wordmark i { width: 1px; height: 16px; background: #D4D4D8; }
.product.crm .wordmark b { color: var(--night-strong); }
.product.crm .wordmark i { background: var(--night-line-strong); }
.soon { margin-left: auto; font-size: 11px; font-weight: 500; letter-spacing: .12em; text-transform: uppercase; padding: 4px 8px; border-radius: 6px; background: #301050; color: #E4D4F4; }
.arrow-link { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 500; }

/* Planos */
.plans { background: var(--paper-2); }
.plans .head { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 18px; }
.plans .lead { max-width: 640px; }
.billing-toggle { display: inline-grid; grid-template-columns: 1fr 1fr; gap: 4px; padding: 4px; margin-top: 8px; background: var(--paper); border: 1px solid var(--line); border-radius: 12px; }
.billing-toggle button {
  height: 40px; padding: 0 18px; border: 0; border-radius: 9px; background: transparent; cursor: pointer;
  font-family: var(--sans); font-size: 14px; font-weight: 500; color: var(--muted);
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
}
.billing-toggle button[aria-pressed="true"] { background: var(--night); color: var(--night-strong); }
.billing-toggle .save { font-size: 11px; font-weight: 500; padding: 2px 6px; border-radius: 5px; background: var(--blue-soft); color: #004493; }
.billing-toggle button[aria-pressed="true"] .save { background: var(--blue); color: #fff; }
.plan-grid { margin-top: 48px; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr)); gap: 16px; align-items: stretch; }
.plan { background: var(--paper); border: 1px solid var(--line); border-radius: 16px; padding: 32px 28px; display: flex; flex-direction: column; gap: 24px; }
.plan .for { font-size: 12px; font-weight: 500; letter-spacing: .16em; text-transform: uppercase; color: var(--blue); }
.plan h3 { font-size: 24px; letter-spacing: -.02em; color: var(--ink); margin-top: 6px; }
.plan .desc { margin: 10px 0 0; font-size: 14px; line-height: 1.55; color: var(--muted); }
.price { display: flex; flex-direction: column; gap: 6px; min-height: 92px; }
.price .value { display: flex; align-items: baseline; gap: 6px; color: var(--ink); }
.price .value small { font-size: 16px; font-weight: 500; }
.price .value strong { font-size: 44px; font-weight: 500; letter-spacing: -.03em; font-family: var(--mono); }
.price .value span { font-size: 15px; color: var(--muted); }
.price .note { font-size: 13px; line-height: 1.5; color: var(--muted); }
.plan ul { list-style: none; margin: 0; padding: 20px 0 0; border-top: 1px solid var(--line); display: flex; flex-direction: column; gap: 12px; font-size: 14px; line-height: 1.45; color: var(--text); flex: 1; }
.plan li { display: flex; gap: 10px; }
.plan li svg { flex: none; margin-top: 2px; color: var(--blue); }
.plan li.base { font-weight: 500; }
.plan .btn { width: 100%; }
.plan .btn-outline { height: 46px; border: 1px solid var(--line); border-radius: 12px; background: var(--paper); color: var(--ink); font-size: 15px; }
.plan .btn-outline:hover { border-color: #A1A1AA; color: var(--ink); }
.plan.featured { background: var(--night); border-color: var(--night); color: var(--night-text); border-radius: 16px 0 16px 16px; clip-path: polygon(0 0, calc(100% - 24px) 0, 100% 24px, 100% 100%, 0 100%); }
.plan.featured .for { color: var(--blue-link); }
.plan.featured h3, .plan.featured .price .value { color: var(--night-strong); }
.plan.featured .desc, .plan.featured .price .value span, .plan.featured .price .note { color: var(--night-muted); }
.plan.featured ul { border-color: var(--night-line); color: var(--night-text); }
.plan.featured li svg { color: var(--blue-link); }
.plans .fineprint { margin: 28px auto 0; max-width: 760px; text-align: center; font-size: 13px; line-height: 1.6; color: var(--muted); }

/* Teste grátis */
.trial { background: var(--paper); }
.trial-card { background: var(--blue); display: grid; grid-template-columns: repeat(auto-fit, minmax(min(340px, 100%), 1fr)); gap: 48px; padding: clamp(28px, 5vw, 64px); }
.trial-copy { display: flex; flex-direction: column; gap: 24px; justify-content: center; color: #fff; }
.trial-copy .label { font-size: 12px; font-weight: 500; letter-spacing: .2em; text-transform: uppercase; color: var(--blue-soft); }
.trial-copy h2 { color: #fff; font-size: clamp(34px, 4.4vw, 56px); line-height: 1.02; }
.trial-copy p { margin: 0; font-size: 17px; line-height: 1.6; max-width: 460px; }
.trial-copy ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; font-size: 15px; }
.trial-copy li { display: flex; align-items: center; gap: 12px; }
.trial-form-box { background: var(--night); border-radius: 16px; padding: 32px; display: flex; flex-direction: column; gap: 16px; color: var(--night-text); }
.trial-form { display: flex; flex-direction: column; gap: 16px; margin: 0; }
.trial-form h3 { font-size: 20px; color: var(--night-strong); }
.field { display: flex; flex-direction: column; gap: 6px; font-size: 13px; color: var(--night-muted); min-width: 0; }
.field input {
  height: 44px; padding: 0 14px; min-width: 0;
  background: var(--night-2); border: 1px solid var(--night-line-strong); border-radius: 10px;
  color: var(--night-text); font-family: var(--sans); font-size: 15px; outline: none;
}
.field input:focus { border-color: var(--blue); box-shadow: 0 0 0 3px rgba(0, 111, 238, .3); }
.field input[type="tel"] { font-family: var(--mono); font-size: 14px; }
.field-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 12px; }
.trial-form .btn { height: 48px; margin-top: 6px; font-size: 15px; }
.form-note { font-size: 13px; line-height: 1.5; color: var(--night-muted); margin: 0; }
.form-note a { color: var(--blue-link); }
.form-error { margin: 0; padding: 10px 12px; border-radius: 10px; background: #3A1A1A; border: 1px solid #6B2B2B; color: #F8B4B4; font-size: 13px; line-height: 1.5; }
.trial-done { display: flex; flex-direction: column; gap: 16px; padding: 24px 0; }
.trial-done .ok { width: 44px; height: 44px; background: var(--blue); display: flex; align-items: center; justify-content: center; color: #fff; }
.trial-done h3 { font-size: 22px; color: var(--night-strong); }
.trial-done p { margin: 0; font-size: 15px; line-height: 1.6; color: var(--night-muted); }
.trial-done .btn { align-self: flex-start; }
[hidden] { display: none !important; }

/* Rodapé */
.site-footer { background: var(--night-side); border-top: 1px solid var(--night-line); }
.site-footer .wrap { padding-top: 40px; padding-bottom: 40px; display: flex; flex-wrap: wrap; align-items: center; gap: 24px 40px; }
.site-footer .brand span { font-size: 13px; }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 24px; font-size: 13px; flex: 1; }
.site-footer nav a { color: var(--night-muted); }
.site-footer nav a:hover { color: var(--night-strong); }
.site-footer small { font-size: 13px; color: var(--night-muted); }

@media (max-width: 900px) {
  .site-nav { display: none; }
  .section { padding: 88px 0; }
  .hero .wrap { padding-top: 64px; }
  .hero-shot { margin-top: 48px; }
}
@media (max-width: 560px) {
  .wrap { padding: 0 16px; }
  .hero-shot { padding: 0 16px; }
  .flow ol { padding: 40px 16px; }
  .site-header .wrap { gap: 12px; }
  .header-actions .btn-sm { padding: 0 12px; }
  .brand span { letter-spacing: .24em; }
  .hero-note { padding-left: 0; }
  .trial-form-box { padding: 24px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
