/* Francore Tecnologia v2 */
@font-face { font-family: 'Schibsted Grotesk'; font-style: normal; font-weight: 400; font-display: swap; src: url('../fonts/schibsted-grotesk-latin-400-normal.woff2') format('woff2'); }
@font-face { font-family: 'Schibsted Grotesk'; font-style: normal; font-weight: 500; font-display: swap; src: url('../fonts/schibsted-grotesk-latin-500-normal.woff2') format('woff2'); }
@font-face { font-family: 'Schibsted Grotesk'; font-style: normal; font-weight: 600; font-display: swap; src: url('../fonts/schibsted-grotesk-latin-600-normal.woff2') format('woff2'); }
@font-face { font-family: 'Schibsted Grotesk'; font-style: normal; font-weight: 700; font-display: swap; src: url('../fonts/schibsted-grotesk-latin-700-normal.woff2') format('woff2'); }
@font-face { font-family: 'Schibsted Grotesk'; font-style: normal; font-weight: 800; font-display: swap; src: url('../fonts/schibsted-grotesk-latin-800-normal.woff2') format('woff2'); }
:root {
  --paper: #ffffff;
  --mist: #f4f7fb;
  --ink: #0b1f3a;
  --slate: #4f5f77;
  --rule: #dce3ee;
  --blue: #0052ff;
  --blue-deep: #0039b3;
  --blue-wash: #eaf0ff;
  --ok: #0a7d4f;
  --warn: #9a4a00;
  --font: 'Schibsted Grotesk', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --wrap: 1200px;
  --gutter: clamp(16px, 4vw, 40px);
  --r-sm: 6px;
  --r-md: 10px;
  --r-lg: 16px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--blue-deep); }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; border-radius: 4px; }
h1, h2, h3 { margin: 0; line-height: 1.12; letter-spacing: -0.025em; font-weight: 700; text-wrap: balance; }
h1 { font-size: clamp(2.3rem, 4.6vw, 4rem); letter-spacing: -0.035em; }
h2 { font-size: clamp(1.6rem, 2.8vw, 2.25rem); }
h3 { font-size: 1.125rem; letter-spacing: -0.01em; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.narrow { max-width: 860px; margin-left: 0; }
.wrap.narrow { margin: 0 auto; max-width: var(--wrap); }
.wrap.narrow > * { max-width: 760px; }
.narrow-wide > * { max-width: 920px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 16px; top: -60px; background: var(--ink); color: #fff; padding: 10px 14px; border-radius: var(--r-sm); z-index: 100; }
.skip:focus { top: 12px; color: #fff; }
.muted { color: var(--slate); }
.small { font-size: .875rem; }
.lead { font-size: clamp(1.075rem, 1.5vw, 1.25rem); color: var(--slate); line-height: 1.55; max-width: 62ch; margin-top: 20px; }
.h-small { font-size: 1.25rem; margin: 40px 0 16px; }

/* Botões */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 12px 22px;
  background: var(--blue); color: #fff; border: 1px solid var(--blue);
  border-radius: var(--r-sm); font: 600 1rem/1.2 var(--font); text-decoration: none; cursor: pointer;
  transition: background-color .15s ease, border-color .15s ease, color .15s ease;
}
.btn:hover { background: var(--blue-deep); border-color: var(--blue-deep); color: #fff; }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--rule); }
.btn-ghost:hover { background: var(--mist); color: var(--ink); border-color: #c4cfde; }
.btn-invert { background: #fff; color: var(--blue); border-color: #fff; }
.btn-invert:hover { background: var(--blue-wash); color: var(--blue-deep); border-color: var(--blue-wash); }
.btn-small { min-height: 40px; padding: 8px 16px; font-size: .9375rem; }
.btn-block { width: 100%; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.text-link { display: inline-block; margin-top: 16px; font-weight: 600; }

/* Cabeçalho */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.92); backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid var(--rule); }
.header-row { display: flex; align-items: center; justify-content: space-between; height: 72px; gap: 24px; }
.brand { text-decoration: none; }
.brand img { height: 26px; width: auto; }
.logo-text { font-weight: 800; font-size: 1.375rem; letter-spacing: -0.03em; color: var(--ink); }
.nav { display: flex; align-items: center; gap: 4px; }
.nav a:not(.btn) { color: var(--ink); text-decoration: none; padding: 8px 14px; border-radius: var(--r-sm); font-weight: 500; font-size: .9375rem; }
.nav a:not(.btn):hover { background: var(--mist); }
.nav a[aria-current="page"] { color: var(--blue); }
.nav .btn { margin-left: 12px; }
.menu-toggle { display: none; }

@media (max-width: 860px) {
  .menu-toggle { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border: 1px solid var(--rule); background: #fff; border-radius: var(--r-sm); cursor: pointer; }
  .bars, .bars::before, .bars::after { display: block; width: 18px; height: 2px; background: var(--ink); position: relative; transition: transform .2s ease, background-color .2s ease; }
  .bars::before, .bars::after { content: ''; position: absolute; left: 0; }
  .bars::before { top: -6px; } .bars::after { top: 6px; }
  .menu-open .bars { background: transparent; }
  .menu-open .bars::before { transform: translateY(6px) rotate(45deg); }
  .menu-open .bars::after { transform: translateY(-6px) rotate(-45deg); }
  .nav { display: none; position: absolute; top: 72px; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0; background: #fff; border-bottom: 1px solid var(--rule); padding: 8px var(--gutter) 20px; box-shadow: 0 20px 40px -24px rgba(11,31,58,.25); }
  .menu-open .nav { display: flex; }
  .nav a:not(.btn) { padding: 14px 4px; border-bottom: 1px solid var(--rule); border-radius: 0; font-size: 1.0625rem; }
  .nav .btn { margin: 16px 0 0; }
}

/* Fatura */
.invoice {
  margin: 0; background: #fff; border: 1px solid var(--rule); border-radius: var(--r-lg);
  box-shadow: 0 40px 80px -40px rgba(11,31,58,.28), 0 2px 6px rgba(11,31,58,.04);
  padding: 24px 24px 20px;
}
.invoice-head { display: flex; justify-content: space-between; align-items: center; font-weight: 600; font-size: .9375rem; padding-bottom: 14px; border-bottom: 1px solid var(--ink); }
.invoice-tag { font-size: .75rem; font-weight: 600; color: var(--slate); background: var(--mist); border: 1px solid var(--rule); border-radius: 999px; padding: 2px 10px; }
.invoice-lines li { display: flex; justify-content: space-between; gap: 16px; padding: 14px 0; border-bottom: 1px dashed var(--rule); }
.inv-tool { display: grid; gap: 1px; min-width: 0; }
.inv-name {
  font-weight: 600; font-size: .9375rem; line-height: 1.35; justify-self: start;
  background: linear-gradient(var(--ink), var(--ink)) no-repeat 0 55% / 0 1.5px;
  transition: background-size .45s ease calc(var(--i) * .45s), color .3s ease calc(var(--i) * .45s);
}
.inv-qty { font-size: .8125rem; color: var(--slate); }
.inv-oss { font-size: .875rem; font-weight: 600; color: var(--blue); max-height: 0; opacity: 0; overflow: hidden; transform: translateY(-4px); transition: max-height .35s ease calc(var(--i) * .45s + .25s), opacity .35s ease calc(var(--i) * .45s + .25s), transform .35s ease calc(var(--i) * .45s + .25s); }
.inv-cost { font-weight: 600; white-space: nowrap; transition: color .3s ease calc(var(--i) * .45s); }
.invoice.is-playing .inv-name, .invoice.is-done .inv-name { background-size: 100% 1.5px; color: var(--slate); }
.invoice.is-playing .inv-cost, .invoice.is-done .inv-cost { color: #94a1b5; text-decoration: line-through; text-decoration-thickness: 1.5px; }
.invoice.is-playing .inv-oss, .invoice.is-done .inv-oss { max-height: 2em; opacity: 1; transform: none; }
.invoice-total { margin-top: 14px; display: grid; gap: 8px; }
.tot-row { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.tot-saas strong { font-size: 1.25rem; transition: color .4s ease; }
.tot-oss { padding: 12px 14px; margin: 0 -14px; border-radius: var(--r-md); transition: background-color .5s ease, color .5s ease; color: var(--slate); }
.tot-oss strong { font-size: 1.5rem; letter-spacing: -0.02em; }
.invoice.is-done .tot-saas strong { color: #94a1b5; text-decoration: line-through; text-decoration-thickness: 2px; }
.invoice.is-done .tot-oss { background: var(--blue); color: #fff; }
.invoice figcaption { margin-top: 14px; font-size: .78125rem; color: var(--slate); line-height: 1.45; }
@media (prefers-reduced-motion: reduce) { .invoice * { transition: none !important; } }

/* Seções */
.section { padding: clamp(56px, 8vw, 104px) 0; }
.section-mist { background: var(--mist); border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); }
.section + .section-mist, .section-mist + .section { border-top-color: var(--rule); }
.section-head { margin-bottom: 36px; }
.section-head p { color: var(--slate); margin-top: 12px; max-width: 52ch; }
.split { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(28px, 6vw, 80px); align-items: start; }
.split .section-head { margin-bottom: 0; }

/* Tabela de substituições */
.table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.swap-table, .price-table { width: 100%; border-collapse: collapse; font-size: 1rem; }
.swap-table th, .swap-table td, .price-table th, .price-table td { text-align: left; padding: 18px 16px 18px 0; border-bottom: 1px solid var(--rule); vertical-align: top; }
.swap-table thead th, .price-table thead th { font-size: .8125rem; font-weight: 600; color: var(--slate); padding-top: 0; border-bottom-color: var(--ink); }
.swap-table tbody th { font-weight: 600; width: 22%; }
.swap-table .from { color: var(--slate); text-decoration: line-through; text-decoration-color: rgba(79,95,119,.45); }
.swap-table .to { font-weight: 700; color: var(--blue); }
.swap-table .go { text-align: right; white-space: nowrap; padding-right: 0; }
.swap-table .go a { font-weight: 600; font-size: .9375rem; }
@media (max-width: 720px) {
  .swap-table thead { display: none; }
  .swap-table tr { display: grid; grid-template-columns: 1fr auto; padding: 16px 0; border-bottom: 1px solid var(--rule); }
  .swap-table th, .swap-table td { border: 0; padding: 2px 0; width: auto !important; }
  .swap-table tbody th { grid-column: 1 / -1; }
  .swap-table .from { grid-column: 1 / -1; }
  .swap-table .go { grid-row: 3; grid-column: 2; }
}

/* Etapas */
.steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; counter-reset: s; }
.steps li { counter-increment: s; position: relative; padding: 52px 28px 0 0; border-top: 2px solid var(--rule); }
.steps li::before { content: counter(s); position: absolute; top: -17px; left: 0; width: 32px; height: 32px; border-radius: 50%; background: #fff; border: 2px solid var(--blue); color: var(--blue); font-weight: 700; font-size: .875rem; display: grid; place-items: center; }
.steps li:first-child { border-top-color: var(--blue); }
.steps h3 { margin-bottom: 8px; }
.steps p { color: var(--slate); font-size: 1rem; }
@media (max-width: 860px) {
  .steps { grid-template-columns: 1fr; gap: 0; }
  .steps li { border-top: 0; border-left: 2px solid var(--rule); padding: 0 0 32px 32px; margin-left: 16px; }
  .steps li:first-child { border-left-color: var(--blue); }
  .steps li::before { left: -17px; top: -2px; }
  .steps li:last-child { padding-bottom: 0; }
}

/* Lista de serviços */
.service-list { border-top: 1px solid var(--ink); }
.service-list a { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 3fr); gap: 8px 24px; padding: 22px 0; border-bottom: 1px solid var(--rule); color: var(--ink); text-decoration: none; transition: padding-left .2s ease; }
.service-list a:hover { padding-left: 8px; }
.service-list a:hover strong { color: var(--blue); }
.service-list strong { font-size: 1.125rem; }
.service-list span { color: var(--slate); }
@media (max-width: 600px) { .service-list a { grid-template-columns: 1fr; } }

/* Faixa do produto */
.product-band { background: var(--blue); color: #fff; padding: clamp(48px, 6vw, 72px) 0; position: relative; overflow: hidden; }
.product-band::after { content: ''; position: absolute; right: -120px; top: -160px; width: 520px; height: 520px; border-radius: 50%; border: 1px solid rgba(255,255,255,.22); box-shadow: 0 0 0 60px rgba(255,255,255,.04), 0 0 0 120px rgba(255,255,255,.03); pointer-events: none; }
.product-grid { position: relative; z-index: 1; display: flex; justify-content: space-between; align-items: center; gap: 32px; flex-wrap: wrap; }
.product-grid > div { max-width: 62ch; }
.product-band p { color: rgba(255,255,255,.86); margin-top: 12px; }
.product-band .kicker { color: #fff; font-weight: 600; font-size: .9375rem; margin: 0 0 8px; opacity: .8; }

/* Marcas */
.brand-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border-top: 1px solid var(--ink); }
.brand-list li { padding: 18px 0; border-bottom: 1px solid var(--rule); font-weight: 600; font-size: 1.0625rem; }
.brand-list li:nth-child(odd) { padding-right: 16px; }

/* FAQ */
.faq-wrap { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: clamp(28px, 6vw, 80px); align-items: start; }
.faq { border-top: 1px solid var(--ink); }
.faq details { border-bottom: 1px solid var(--rule); }
.faq summary { cursor: pointer; list-style: none; padding: 20px 40px 20px 0; font-weight: 600; font-size: 1.0625rem; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ''; position: absolute; right: 6px; top: 50%; width: 10px; height: 10px; border-right: 2px solid var(--blue); border-bottom: 2px solid var(--blue); transform: translateY(-70%) rotate(45deg); transition: transform .2s ease; }
.faq details[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
.faq details p { color: var(--slate); padding: 0 40px 22px 0; max-width: 68ch; }
@media (max-width: 860px) { .faq-wrap, .split { grid-template-columns: 1fr; } }

/* CTA */
.cta { padding: clamp(56px, 7vw, 88px) 0; border-top: 1px solid var(--rule); }
.cta-row { display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; }
.cta h2 { max-width: 22ch; }
.cta .actions { margin-top: 0; }

/* Cabeçalho de páginas internas */
.page-hero { padding: clamp(40px, 6vw, 80px) 0 clamp(40px, 6vw, 72px); border-bottom: 1px solid var(--rule); background: linear-gradient(180deg, var(--mist), #fff 85%); }
.page-hero-tall { padding: clamp(72px, 12vw, 160px) 0; }
.page-hero h1 { max-width: 20ch; }
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; font-size: .875rem; color: var(--slate); margin-bottom: 20px; }
.crumbs a { color: var(--slate); text-decoration: none; }
.crumbs a:hover { color: var(--blue); text-decoration: underline; }

/* Sobre */
.timeline-wrap { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: clamp(28px, 6vw, 80px); }
.timeline { border-top: 1px solid var(--ink); }
.timeline li { display: grid; grid-template-columns: 140px minmax(0, 1fr); gap: 24px; padding: 24px 0; border-bottom: 1px solid var(--rule); }
.timeline .year { font-weight: 700; color: var(--blue); }
.timeline p { color: var(--slate); margin-top: 6px; }
.compare { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: clamp(28px, 6vw, 80px); }
.compare > div > p { color: var(--slate); margin-top: 12px; }
.compare-list { margin: 0; border-top: 1px solid var(--ink); }
.compare-list > div { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 3fr); gap: 8px 24px; padding: 22px 0; border-bottom: 1px solid var(--rule); }
.compare-list dt { font-weight: 700; }
.compare-list dd { margin: 0; color: var(--slate); }
.principles { border-top: 1px solid var(--ink); }
.principles li { padding: 20px 0; border-bottom: 1px solid var(--rule); color: var(--slate); }
.principles strong { color: var(--ink); }
@media (max-width: 860px) {
  .timeline-wrap, .compare { grid-template-columns: 1fr; }
  .timeline li, .compare-list > div { grid-template-columns: 1fr; gap: 4px; }
}

/* Soluções */
.solution-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--ink); border-left: 1px solid var(--rule); }
.solution { display: flex; flex-direction: column; gap: 8px; padding: 28px 24px 32px; border-right: 1px solid var(--rule); border-bottom: 1px solid var(--rule); color: var(--ink); text-decoration: none; min-height: 190px; transition: background-color .15s ease; }
.solution:hover { background: var(--mist); color: var(--ink); }
.solution:hover h3 { color: var(--blue); }
.sol-tool { font-size: .875rem; font-weight: 600; color: var(--blue); }
.solution h3 { font-size: 1.3125rem; }
.sol-replaces { color: var(--slate); font-size: .9375rem; margin-top: auto; }
@media (max-width: 960px) { .solution-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .solution-grid { grid-template-columns: 1fr; } .solution { min-height: 0; } }
.tech-list { display: flex; flex-wrap: wrap; gap: 10px; }
.tech-list li { padding: 8px 16px; border: 1px solid var(--rule); background: #fff; border-radius: 999px; font-weight: 500; font-size: .9375rem; }

/* Detalhe da solução */
.detail-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(28px, 4vw, 56px); }
.detail-grid h2 { font-size: 1.25rem; margin-bottom: 18px; padding-bottom: 12px; border-bottom: 1px solid var(--ink); }
.tag-list { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 16px; }
.tag-list li { padding: 6px 12px; background: var(--mist); border: 1px solid var(--rule); border-radius: var(--r-sm); font-weight: 600; font-size: .9375rem; text-decoration: line-through; text-decoration-color: rgba(79,95,119,.4); }
.page-solucao .detail-grid .tag-list li { text-decoration: none; }
.check-list li { position: relative; padding: 10px 0 10px 28px; border-bottom: 1px solid var(--rule); }
.check-list li::before { content: ''; position: absolute; left: 2px; top: 17px; width: 12px; height: 7px; border-left: 2px solid var(--blue); border-bottom: 2px solid var(--blue); transform: rotate(-45deg); }
.note { background: var(--blue-wash); border-radius: var(--r-md); padding: 24px; }
.note h2 { border-bottom-color: rgba(0,82,255,.3); }
.note p { color: var(--ink); }
.related { display: flex; flex-wrap: wrap; gap: 10px 24px; }
.related a { font-weight: 600; }
@media (max-width: 860px) { .detail-grid { grid-template-columns: 1fr; } }

/* Contato */
.contact-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(32px, 6vw, 88px); align-items: start; }
.contact-direct { margin-top: 36px; border-top: 1px solid var(--ink); }
.contact-direct li { display: grid; grid-template-columns: 120px minmax(0, 1fr); gap: 12px; padding: 16px 0; border-bottom: 1px solid var(--rule); }
.contact-direct span { color: var(--slate); font-size: .9375rem; }
.contact-direct a { font-weight: 600; word-break: break-word; }
.form { background: #fff; border: 1px solid var(--rule); border-radius: var(--r-lg); padding: clamp(20px, 3vw, 32px); box-shadow: 0 30px 60px -40px rgba(11,31,58,.25); display: grid; gap: 18px; }
.field { display: grid; gap: 6px; }
.field label { font-weight: 600; font-size: .9375rem; }
.optional { font-weight: 400; color: var(--slate); }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
input, select, textarea { font: inherit; font-size: 1rem; color: var(--ink); width: 100%; min-height: 48px; padding: 10px 14px; border: 1px solid #c4cfde; border-radius: var(--r-sm); background: #fff; }
textarea { min-height: 112px; resize: vertical; }
select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--slate) 50%), linear-gradient(135deg, var(--slate) 50%, transparent 50%); background-position: calc(100% - 20px) 21px, calc(100% - 15px) 21px; background-size: 5px 5px; background-repeat: no-repeat; padding-right: 40px; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(0,82,255,.18); }
[aria-invalid="true"] { border-color: #c0392b; }
.field-error { color: #b42318; font-size: .875rem; }
.form-alert { background: #fff4f2; border: 1px solid #f3c4bd; color: #8a1c10; padding: 12px 14px; border-radius: var(--r-sm); font-weight: 500; }
.hp { position: absolute; left: -9999px; }
@media (max-width: 860px) { .contact-grid { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .field-row { grid-template-columns: 1fr; } .contact-direct li { grid-template-columns: 1fr; gap: 2px; } }

/* Calculadora */
.calc-section { padding: clamp(32px, 5vw, 56px) 0 clamp(48px, 6vw, 80px); background: var(--mist); border-bottom: 1px solid var(--rule); }
.calc { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: clamp(24px, 4vw, 48px); align-items: start; }
.calc-tools { display: grid; gap: 12px; }
.calc-row { margin: 0; padding: 0; border: 1px solid var(--rule); border-radius: var(--r-md); background: #fff; min-width: 0; transition: border-color .15s ease, box-shadow .15s ease; }
.calc-row.is-on { border-color: rgba(0,82,255,.45); box-shadow: 0 0 0 1px rgba(0,82,255,.15); }
.calc-toggle { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 4px 14px; padding: 18px 20px; cursor: pointer; }
.calc-toggle input { width: 22px; height: 22px; min-height: 0; padding: 0; accent-color: var(--blue); margin: 0; cursor: pointer; }
.calc-label { font-weight: 700; font-size: 1.0625rem; }
.calc-oss { font-size: .875rem; color: var(--blue); font-weight: 600; text-align: right; }
.calc-fields { display: none; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr) minmax(0, 1fr); gap: 14px; padding: 0 20px 18px; }
.calc-row.is-on .calc-fields { display: grid; }
.calc-line { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 4px 12px; align-items: baseline; padding-top: 12px; border-top: 1px dashed var(--rule); }
.calc-cost { font-weight: 700; }
.calc-note { color: var(--slate); font-size: .875rem; }
.calc-row[data-id="auto"] .calc-fields { grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); }
@media (max-width: 640px) {
  .calc-fields { grid-template-columns: 1fr 1fr; }
  .calc-fields .field:first-child { grid-column: 1 / -1; }
  .calc-toggle { grid-template-columns: auto 1fr; }
  .calc-oss { grid-column: 2; text-align: left; }
}

.calc-summary { position: sticky; top: 96px; background: var(--ink); color: #fff; border-radius: var(--r-lg); padding: 28px; display: grid; gap: 20px; }
.calc-summary h2 { font-size: 1.25rem; letter-spacing: -0.01em; }
.sum-bars { display: grid; gap: 8px; }
.bar { height: 10px; background: rgba(255,255,255,.08); border-radius: 999px; overflow: hidden; }
.bar span { display: block; height: 100%; border-radius: 999px; transition: width .35s ease; }
.bar-saas span { background: #8a99b0; }
.bar-oss span { background: #4d8bff; }
.sum-list { margin: 0; display: grid; gap: 0; }
.sum-list > div { display: flex; justify-content: space-between; gap: 12px; padding: 10px 0; border-bottom: 1px solid rgba(255,255,255,.12); }
.sum-list dt { color: rgba(255,255,255,.72); font-size: .9375rem; }
.sum-list dd { margin: 0; font-weight: 700; }
.sum-saas dd { color: #b8c3d4; }
.sum-month dd { color: #9cc0ff; }
.sum-year { display: grid; gap: 2px; }
.sum-year > span:first-child { color: rgba(255,255,255,.72); font-size: .9375rem; }
.sum-year strong { font-size: clamp(2rem, 3.4vw, 2.6rem); letter-spacing: -0.03em; line-height: 1.1; }
.sum-year .muted { color: rgba(255,255,255,.66); }
.sum-warn { background: rgba(255,186,120,.12); border: 1px solid rgba(255,186,120,.35); color: #ffd9b3; padding: 12px 14px; border-radius: var(--r-sm); font-size: .9375rem; }
.calc-summary .text-link { color: #9cc0ff; margin-top: 0; text-align: center; }
.calc-summary .btn { background: #fff; color: var(--ink); border-color: #fff; }
.calc-summary .btn:hover { background: var(--blue-wash); }
@media (max-width: 960px) { .calc { grid-template-columns: 1fr; } .calc-summary { position: static; } }

.method { display: grid; gap: 14px; margin-top: 20px; }
.method li { color: var(--slate); padding-left: 20px; position: relative; }
.method li::before { content: ''; position: absolute; left: 0; top: .7em; width: 8px; height: 8px; border-radius: 50%; background: var(--blue); }
.method strong { color: var(--ink); }
.price-table { font-size: .9375rem; }
.price-table tbody th { font-weight: 600; }
.price-table td:last-child { color: var(--blue); font-weight: 600; white-space: nowrap; }

/* Rodapé */
.site-footer { background: var(--ink); color: rgba(255,255,255,.78); padding: 64px 0 28px; font-size: .9375rem; }
.site-footer a { color: #fff; text-decoration: none; }
.site-footer a:hover { text-decoration: underline; color: #fff; }
.footer-grid { display: grid; grid-template-columns: minmax(0, 2fr) repeat(3, minmax(0, 1fr)); gap: 40px; }
.footer-brand img { height: 24px; width: auto; filter: brightness(0) invert(1); margin-bottom: 16px; }
.footer-brand .logo-text { color: #fff; display: inline-block; margin-bottom: 12px; }
.footer-brand p { max-width: 40ch; margin-bottom: 10px; }
.site-footer .muted { color: rgba(255,255,255,.6); }
.site-footer .muted a { text-decoration: underline; }
.footer-title { font-size: .875rem; color: rgba(255,255,255,.6); font-weight: 600; letter-spacing: 0; margin-bottom: 14px; }
.site-footer li { margin-bottom: 10px; }
.footer-legal { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px 24px; margin-top: 48px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.14); font-size: .8125rem; color: rgba(255,255,255,.55); }
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-brand { grid-column: 1 / -1; } }
@media (max-width: 480px) { .footer-grid { grid-template-columns: 1fr; } }


@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition-duration: .01ms !important; animation: none !important; } }

/* Números alinhados apenas onde há valores */
.inv-cost, .tot-row strong, .sum-list dd { text-align: right; }

/* ===== Vidro (uso pontual) ===== */
.glass {
  background: linear-gradient(135deg, rgba(255,255,255,.72), rgba(255,255,255,.48));
  -webkit-backdrop-filter: blur(18px) saturate(1.5);
  backdrop-filter: blur(18px) saturate(1.5);
  border: 1px solid rgba(255,255,255,.7);
  box-shadow: 0 30px 60px -30px rgba(11,31,58,.35), inset 0 1px 0 rgba(255,255,255,.8);
}

/* ===== Cabeçalho sobre o hero (home) ===== */
.page-home .site-header { position: fixed; left: 0; right: 0; background: transparent; border-bottom-color: transparent; backdrop-filter: none; transition: background-color .3s ease, border-color .3s ease, box-shadow .3s ease; }
.page-home .site-header:not(.is-scrolled) .nav a:not(.btn) { color: #fff; }
.page-home .site-header:not(.is-scrolled) .nav a:not(.btn):hover { background: rgba(255,255,255,.12); }
.page-home .site-header:not(.is-scrolled) .brand img { filter: brightness(0) invert(1); }
.page-home .site-header:not(.is-scrolled) .logo-text { color: #fff; }
.page-home .site-header:not(.is-scrolled) .nav .btn { background: rgba(255,255,255,.14); border-color: rgba(255,255,255,.4); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.page-home .site-header:not(.is-scrolled) .nav .btn:hover { background: #fff; color: var(--blue); }
.page-home .site-header.is-scrolled { background: rgba(255,255,255,.78); -webkit-backdrop-filter: blur(16px) saturate(1.6); backdrop-filter: blur(16px) saturate(1.6); border-bottom-color: rgba(220,227,238,.8); box-shadow: 0 10px 30px -20px rgba(11,31,58,.3); }
@media (max-width: 860px) {
  .page-home .site-header:not(.is-scrolled) .menu-toggle { background: rgba(255,255,255,.14); border-color: rgba(255,255,255,.35); }
  .page-home .site-header:not(.is-scrolled) .bars, .page-home .site-header:not(.is-scrolled) .bars::before, .page-home .site-header:not(.is-scrolled) .bars::after { background: #fff; }
  .page-home.menu-open .site-header:not(.is-scrolled) .bars { background: transparent; }
  .page-home .site-header:not(.is-scrolled) .nav a:not(.btn) { color: var(--ink); }
}

/* ===== Hero com slides ===== */
.hero-slider { position: relative; min-height: clamp(640px, 100svh, 920px); background: #06142b; color: #fff; overflow: hidden; isolation: isolate; }
.slides { position: relative; display: grid; min-height: inherit; }
.slide { position: relative; grid-area: 1 / 1; min-height: inherit; }
.slide-media { position: absolute; inset: 0; }
.slide { opacity: 0; visibility: hidden; transition: opacity 1s ease, visibility 0s linear 1s; display: flex; align-items: center; }
.slide.is-active { opacity: 1; visibility: visible; transition: opacity 1s ease; z-index: 1; }
.slide-media { overflow: hidden; }
.slide-video { width: 100%; height: 100%; object-fit: cover; transform: scale(1.12); transition: transform 9s cubic-bezier(.2,.6,.2,1); }
.slide.is-active .slide-video { transform: scale(1.02); }
.slide-media::after { content: ''; position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgba(4,16,38,.92) 0%, rgba(4,16,38,.78) 38%, rgba(4,16,38,.25) 72%, rgba(4,16,38,.15) 100%),
    linear-gradient(0deg, rgba(4,16,38,.85) 0%, rgba(4,16,38,0) 35%),
    radial-gradient(60% 80% at 15% 60%, rgba(0,82,255,.38), transparent 70%); }
.slide-content { position: relative; z-index: 2; width: 100%; padding-top: 72px; padding-bottom: 96px; }
.slide h1, .slide-title { font-size: clamp(2.3rem, 5.2vw, 4.4rem); line-height: 1.04; letter-spacing: -0.04em; max-width: 17ch; font-weight: 800; }
.slide-title { max-width: 16ch; }
.slide-lead { font-size: clamp(1.05rem, 1.5vw, 1.25rem); color: rgba(255,255,255,.82); max-width: 54ch; margin-top: 22px; line-height: 1.55; }
.slide .actions { margin-top: 32px; }

/* Revelação do texto */
.reveal .line { display: block; overflow: hidden; padding-bottom: .06em; }
.reveal .line > span { display: inline-block; transform: translateY(105%); transition: transform .9s cubic-bezier(.16,1,.3,1); }
.slide.is-active .reveal .line > span { transform: none; }
.slide.is-active .reveal .line:nth-child(1) > span { transition-delay: .25s; }
.slide.is-active .reveal .line:nth-child(2) > span { transition-delay: .37s; }
.slide.is-active .reveal .line:nth-child(3) > span { transition-delay: .49s; }
.reveal-fade { opacity: 0; transform: translateY(14px); transition: opacity .8s ease, transform .8s cubic-bezier(.16,1,.3,1); }
.slide.is-active .reveal-fade { opacity: 1; transform: none; transition-delay: .7s; }
.slide.is-active .actions.reveal-fade { transition-delay: .85s; }

/* Botões do hero */
.btn-light { background: #fff; color: var(--blue); border-color: #fff; }
.btn-light:hover { background: var(--blue-wash); color: var(--blue-deep); border-color: var(--blue-wash); }
.btn-glass { background: rgba(255,255,255,.1); color: #fff; border-color: rgba(255,255,255,.38); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); }
.btn-glass:hover { background: rgba(255,255,255,.2); color: #fff; border-color: rgba(255,255,255,.6); }

/* Chips de soluções em vidro */
.glass-chips { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin-top: 28px; max-width: 760px; }
.glass-chips li { opacity: 0; transform: translateY(16px) scale(.98); transition: opacity .6s ease, transform .7s cubic-bezier(.16,1,.3,1); }
.slide.is-active .glass-chips li { opacity: 1; transform: none; transition-delay: calc(.75s + var(--i) * .08s); }
.glass-chips a { display: grid; gap: 2px; padding: 14px 16px; border-radius: var(--r-md); color: #fff; text-decoration: none;
  background: linear-gradient(135deg, rgba(255,255,255,.16), rgba(255,255,255,.05));
  border: 1px solid rgba(255,255,255,.22); -webkit-backdrop-filter: blur(14px) saturate(1.4); backdrop-filter: blur(14px) saturate(1.4);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.18); transition: background-color .2s ease, border-color .2s ease, transform .2s ease; }
.glass-chips a:hover { background-color: rgba(255,255,255,.14); border-color: rgba(255,255,255,.5); transform: translateY(-2px); color: #fff; }
.glass-chips strong { font-size: 1rem; }
.glass-chips span { font-size: .8125rem; color: rgba(255,255,255,.72); }

/* Controles do slider */
.slider-ui { position: absolute; left: 0; right: 0; bottom: 32px; z-index: 3; display: flex; align-items: center; gap: 16px; }
.slider-dots { display: flex; gap: 20px; }
.slider-dots button { background: none; border: 0; padding: 6px 0; color: rgba(255,255,255,.6); font: 600 .875rem/1 var(--font); cursor: pointer; display: grid; gap: 10px; text-align: left; min-width: 120px; }
.slider-dots button[aria-selected="true"] { color: #fff; }
.dot-bar { display: block; height: 2px; background: rgba(255,255,255,.25); border-radius: 2px; overflow: hidden; }
.dot-bar i { display: block; height: 100%; width: 0; background: #fff; }
.slider-dots button[aria-selected="true"] .dot-bar i { animation: fill var(--slide-ms, 8000ms) linear forwards; }
.hero-slider.is-paused .dot-bar i { animation-play-state: paused; }
@keyframes fill { to { width: 100%; } }
.slider-pause { margin-left: auto; width: 40px; height: 40px; border-radius: 50%; border: 1px solid rgba(255,255,255,.35); background: rgba(255,255,255,.1); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); color: #fff; display: grid; place-items: center; cursor: pointer; }
.slider-pause svg { width: 14px; height: 14px; fill: currentColor; }
.slider-pause .i-play, .hero-slider.is-paused .slider-pause .i-pause { display: none; }
.hero-slider.is-paused .slider-pause .i-play { display: block; }
.slider-pause:hover { background: rgba(255,255,255,.22); }

@media (max-width: 760px) {
  .slide-content { padding-top: 104px; padding-bottom: 110px; }
  .glass-chips { grid-template-columns: 1fr 1fr; }
  .slide-media::after { background: linear-gradient(180deg, rgba(4,16,38,.55) 0%, rgba(4,16,38,.88) 55%, rgba(4,16,38,.95) 100%), radial-gradient(80% 60% at 20% 70%, rgba(0,82,255,.35), transparent 70%); }
  .slider-dots button { min-width: 90px; }
}
@media (prefers-reduced-motion: reduce) {
  .slide-video { transform: none !important; }
  .reveal .line > span, .reveal-fade, .glass-chips li { transform: none !important; opacity: 1 !important; }
}

/* ===== Seção da fatura com malha de cor ===== */
.invoice-section { position: relative; overflow: hidden; padding: clamp(64px, 9vw, 120px) 0; background: #eef3ff; border-bottom: 1px solid var(--rule); }
.mesh { position: absolute; inset: 0; pointer-events: none; }
.blob { position: absolute; border-radius: 50%; filter: blur(70px); opacity: .55; }
.b1 { width: 520px; height: 520px; background: #4d8bff; right: 6%; top: -120px; }
.b2 { width: 420px; height: 420px; background: #7fe3ff; right: 30%; bottom: -160px; opacity: .45; }
.b3 { width: 360px; height: 360px; background: #0052ff; right: -80px; bottom: 10%; opacity: .35; }
@media (prefers-reduced-motion: no-preference) {
  .b1 { animation: float1 18s ease-in-out infinite alternate; }
  .b2 { animation: float2 22s ease-in-out infinite alternate; }
  .b3 { animation: float1 26s ease-in-out infinite alternate-reverse; }
}
@keyframes float1 { to { transform: translate(-60px, 50px) scale(1.08); } }
@keyframes float2 { to { transform: translate(70px, -40px) scale(.94); } }
.invoice-grid { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 88px); align-items: center; }
.invoice-copy p { color: var(--slate); margin: 16px 0 28px; max-width: 46ch; font-size: 1.125rem; }
.invoice.glass { background: linear-gradient(135deg, rgba(255,255,255,.82), rgba(255,255,255,.55)); border-color: rgba(255,255,255,.85); }
.invoice.glass .invoice-lines li { border-bottom-color: rgba(11,31,58,.12); }
@media (max-width: 900px) { .invoice-grid { grid-template-columns: 1fr; } }

/* ===== Foto com legenda em vidro ===== */
.brand-side { display: grid; gap: 28px; }
.photo-card { position: relative; margin: 0; border-radius: var(--r-lg); overflow: hidden; }
.photo-card img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.glass-caption { position: absolute; left: 16px; bottom: 16px; right: 16px; max-width: 360px; padding: 14px 16px; border-radius: var(--r-md); font-weight: 600; color: var(--ink); font-size: .9375rem; }

/* Faixa do produto com cartão de vidro */
.product-band .btn-invert { -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.slide h1 { max-width: none; font-size: clamp(2.2rem, 4.5vw, 4.1rem); }
@media (min-width: 1000px) { .slide h1 .line > span, .slide-title .line > span { white-space: nowrap; } .slide-title { max-width: none; } }

/* ===== Topo de Soluções: vidro com pontos de luz ===== */
.glass-hero { position: relative; overflow: hidden; padding: 28px 0 32px; background: linear-gradient(180deg, #eaf0ff, #f6f8fc); isolation: isolate; }
.glass-hero .crumbs { margin-bottom: 10px; }
.glass-hero h1 { font-size: clamp(1.9rem, 3.2vw, 2.6rem); }
.glass-hero .lead { margin-top: 8px; font-size: 1.0625rem; }
.glow-field { position: absolute; inset: 0; z-index: -2; }
.glow-field span { position: absolute; width: 22px; height: 22px; border-radius: 50%; background: #2f74ff;
  box-shadow: 0 0 24px 10px rgba(0,82,255,.6), 0 0 80px 26px rgba(77,139,255,.4); left: -80px; opacity: 1; }
.glow-field span:nth-child(1) { top: 18%; }
.glow-field span:nth-child(2) { top: 62%; width: 10px; height: 10px; }
.glow-field span:nth-child(3) { top: 38%; width: 18px; height: 18px; background: #00b3ff; }
.glow-field span:nth-child(4) { top: 80%; }
.glow-field span:nth-child(5) { top: 10%; width: 9px; height: 9px; background: #00b3ff; }
.glow-field span:nth-child(6) { top: 52%; }
.glow-field span:nth-child(7) { top: 28%; width: 11px; height: 11px; }
.glass-pane { position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(120deg, rgba(255,255,255,.5), rgba(255,255,255,.22));
  -webkit-backdrop-filter: blur(9px) saturate(1.8); backdrop-filter: blur(9px) saturate(1.8);
  border-bottom: 1px solid rgba(255,255,255,.9); box-shadow: inset 0 1px 0 rgba(255,255,255,.9); }
.glass-pane::after { content: ''; position: absolute; inset: 0; background-image: linear-gradient(rgba(0,82,255,.05) 1px, transparent 1px), linear-gradient(90deg, rgba(0,82,255,.05) 1px, transparent 1px); background-size: 40px 40px; }
@media (prefers-reduced-motion: no-preference) {
  .glow-field span { animation: glide 14s linear infinite; }
  .glow-field span:nth-child(2) { animation-duration: 18s; animation-delay: -4s; }
  .glow-field span:nth-child(3) { animation-duration: 11s; animation-delay: -7s; }
  .glow-field span:nth-child(4) { animation-duration: 20s; animation-delay: -12s; }
  .glow-field span:nth-child(5) { animation-duration: 16s; animation-delay: -2s; }
  .glow-field span:nth-child(6) { animation-duration: 13s; animation-delay: -9s; }
  .glow-field span:nth-child(7) { animation-duration: 22s; animation-delay: -15s; }
}
@media (prefers-reduced-motion: reduce) { .glow-field span { left: calc(var(--x, 20) * 1%); } .glow-field span:nth-child(odd) { left: 70%; } .glow-field span:nth-child(even) { left: 30%; } }
@keyframes glide { from { transform: translate3d(0, 0, 0); } 50% { transform: translate3d(55vw, -14px, 0); } to { transform: translate3d(calc(100vw + 120px), 0, 0); } }

/* ===== Quadro de substituições com logos ===== */
.swap-board-section { padding: clamp(40px, 5vw, 64px) 0 clamp(48px, 7vw, 88px); }
.swap-board { display: grid; gap: 10px; }
.swap-row { display: grid; grid-template-columns: 180px minmax(0, 1fr) 76px minmax(200px, 260px); align-items: center; gap: 20px; padding: 14px 18px; border-radius: var(--r-lg); background: var(--mist); }
.swap-row:nth-child(even) { background: #fff; }
.swap-area { font-weight: 700; font-size: .9375rem; color: var(--slate); }
.swap-from { display: flex; flex-wrap: wrap; gap: 8px 18px; align-items: center; }
.logo-chip { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; font-size: .9375rem; color: var(--ink); }
.logo-chip img { width: 28px; height: 28px; object-fit: contain; flex: none; }
.logo-chip.is-wordmark img { width: auto; height: 22px; }
.swap-from .logo-chip { filter: saturate(1); }
.swap-arrow { position: relative; display: grid; place-items: center; height: 40px; border-radius: 999px; color: #0a9a5c; overflow: hidden;
  background: linear-gradient(135deg, rgba(16,185,129,.22), rgba(16,185,129,.08));
  border: 1px solid rgba(16,185,129,.45); -webkit-backdrop-filter: blur(10px) saturate(1.5); backdrop-filter: blur(10px) saturate(1.5);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.7), 0 8px 20px -10px rgba(16,185,129,.6); }
.swap-arrow svg { width: 40px; height: 14px; position: relative; z-index: 1; }
.swap-arrow::before { content: ''; position: absolute; top: 0; bottom: 0; width: 40%; left: -50%; background: linear-gradient(90deg, transparent, rgba(255,255,255,.75), transparent); }
@media (prefers-reduced-motion: no-preference) {
  .swap-arrow::before { animation: shine 3.2s ease-in-out infinite; animation-delay: calc(var(--i) * .25s); }
  .swap-arrow svg { animation: nudge 3.2s ease-in-out infinite; animation-delay: calc(var(--i) * .25s); }
}
@keyframes shine { 0%, 40% { left: -50%; } 80%, 100% { left: 120%; } }
@keyframes nudge { 0%, 50%, 100% { transform: translateX(-2px); } 70% { transform: translateX(3px); } }
.swap-to { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 14px; border-radius: var(--r-md); text-decoration: none;
  background: rgba(255,255,255,.75); border: 1px solid rgba(16,185,129,.35); box-shadow: 0 10px 24px -18px rgba(11,31,58,.5); }
.swap-to .logo-chip { font-size: 1.0625rem; font-weight: 700; }
.swap-more { font-size: .8125rem; font-weight: 600; color: var(--blue); white-space: nowrap; }
a.swap-to:hover { border-color: #10b981; }
a.swap-to:hover .swap-more { text-decoration: underline; }
.swap-legal { margin-top: 16px; }
@media (max-width: 900px) {
  .swap-row { grid-template-columns: 1fr; gap: 10px; }
  .swap-arrow { width: 44px; height: 34px; justify-self: start; margin-left: 8px; }
  .swap-arrow svg { width: 26px; transform: rotate(90deg) !important; animation: none !important; }
}

/* ===== Sobre: foto da equipe ao fundo, semitransparente ===== */
.about-hero { position: relative; overflow: hidden; isolation: isolate; padding: clamp(64px, 9vw, 120px) 0; background: #fff; }
.about-hero-bg { position: absolute; inset: 0; z-index: -1; }
.about-hero-bg img { width: 100%; height: 100%; object-fit: cover; object-position: 70% 30%; opacity: .32; filter: saturate(.85); }
.about-hero::after { content: ''; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(90deg, rgba(255,255,255,.92) 0%, rgba(255,255,255,.7) 45%, rgba(255,255,255,.15) 100%), linear-gradient(0deg, #fff 0%, rgba(255,255,255,0) 30%); }
@media (max-width: 760px) {
  .about-hero-bg img { opacity: .22; object-position: 60% 20%; }
  .about-hero::after { background: linear-gradient(180deg, rgba(255,255,255,.55), rgba(255,255,255,.85)); }
}
