/* Layout: an ink-navy hero that shows a collection flow running (the product's core idea), then light editorial sections on a cool paper ground. Brand colour runs cobalt → teal, as in the logo; methods keep their product colours. */
:root {
  --paper: #f4f6fa;
  --surface: #ffffff;
  --sunken: #e9edf4;
  --ink: #0f1626;
  --muted: #566179;
  --line: #dde2ec;
  --cobalt: #3352f0;
  --teal: #13a892;
  --accent-soft: #e8edff;
  --night: #0b1222;
  --night-2: #131c31;
  --night-line: rgba(255, 255, 255, .1);
  --night-fg: #e9edf6;
  --night-muted: #9aa6c0;
  --m-sms: #0c9384; --m-email: #3352f0; --m-carta: #bf7508; --m-livre: #8446d6;
  --ok: #12825a; --ok-soft: #e2f4ec;
  --shadow: 0 1px 2px rgba(15, 22, 38, .05), 0 12px 32px -14px rgba(15, 22, 38, .22);
  --display: "Sora", "Segoe UI", system-ui, sans-serif;
  --body: "Plus Jakarta Sans", "Segoe UI", system-ui, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, Consolas, monospace;
  --wrap: 1180px;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --paper: #0d1322; --surface: #141c2e; --sunken: #1a2338; --ink: #e9edf6; --muted: #9aa6c0; --line: #253049;
    --cobalt: #8098ff; --teal: #3fd1b9; --accent-soft: #1d2950;
    --m-sms: #3ccab7; --m-email: #8098ff; --m-carta: #f0a63b; --m-livre: #b68cff; --ok: #3fcb8c; --ok-soft: #11301f;
    --shadow: 0 1px 2px rgba(0,0,0,.3), 0 12px 32px -14px rgba(0,0,0,.6); color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --paper: #0d1322; --surface: #141c2e; --sunken: #1a2338; --ink: #e9edf6; --muted: #9aa6c0; --line: #253049;
  --cobalt: #8098ff; --teal: #3fd1b9; --accent-soft: #1d2950;
  --m-sms: #3ccab7; --m-email: #8098ff; --m-carta: #f0a63b; --m-livre: #b68cff; --ok: #3fcb8c; --ok-soft: #11301f;
  --shadow: 0 1px 2px rgba(0,0,0,.3), 0 12px 32px -14px rgba(0,0,0,.6); color-scheme: dark;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--body); font-size: 16px; line-height: 1.6; -webkit-font-smoothing: antialiased; }
h1, h2, h3 { font-family: var(--display); margin: 0; text-wrap: balance; letter-spacing: -.025em; }
p { margin: 0; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--teal); outline-offset: 3px; border-radius: 4px; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding-inline: 24px; }
.ico { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.eyebrow { font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--teal); }
.lead { font-size: 19px; color: var(--muted); max-width: 60ch; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 13px 22px; border-radius: 12px; font-weight: 700; font-size: 15px; text-decoration: none; border: 1.5px solid transparent; cursor: pointer; transition: transform .15s, background .15s, border-color .15s; }
.btn:active { transform: translateY(1px); }
.btn-primary { background: linear-gradient(120deg, #3352f0, #13a892); color: #fff; box-shadow: 0 8px 24px -10px rgba(51, 82, 240, .7); }
.btn-primary:hover { filter: brightness(1.07); }
.btn-ghost-night { color: var(--night-fg); border-color: rgba(255, 255, 255, .22); }
.btn-ghost-night:hover { border-color: rgba(255, 255, 255, .5); }
.btn-line { color: var(--ink); border-color: var(--line); background: var(--surface); }
.btn-line:hover { border-color: var(--cobalt); color: var(--cobalt); }

/* Header */
.site-head { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 20; background: color-mix(in srgb, var(--night) 88%, transparent); backdrop-filter: blur(12px); border-bottom: 1px solid var(--night-line); color: var(--night-fg); }
.head-row { display: flex; align-items: center; gap: 28px; height: 68px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-family: var(--display); font-weight: 700; font-size: 21px; letter-spacing: -.03em; color: #fff; }
.brand svg { width: 34px; height: 34px; }
.nav { display: flex; gap: 24px; margin-left: auto; }
.nav a { text-decoration: none; font-size: 14.5px; font-weight: 600; color: var(--night-muted); }
.nav a:hover { color: #fff; }
.head-cta { padding: 10px 16px; font-size: 14px; }
.menu-btn { display: none; margin-left: auto; background: none; border: 1px solid var(--night-line); color: #fff; border-radius: 10px; width: 42px; height: 42px; place-items: center; cursor: pointer; }

/* Hero */
.hero { background: radial-gradient(1200px 500px at 85% -10%, rgba(19, 168, 146, .22), transparent 60%), radial-gradient(900px 500px at 0% 0%, rgba(51, 82, 240, .25), transparent 60%), var(--night); color: var(--night-fg); padding-block: 72px 88px; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 56px; align-items: center; }
.hero h1 { font-size: clamp(38px, 5.4vw, 64px); line-height: 1.04; font-weight: 800; color: #fff; }
.hero h1 em { font-style: normal; background: linear-gradient(100deg, #8ea2ff, #3fd1b9); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero .lead { color: var(--night-muted); margin-top: 22px; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.hero-facts { display: flex; flex-wrap: wrap; gap: 8px 22px; margin-top: 34px; font-size: 14px; color: var(--night-muted); padding: 0; list-style: none; }
.hero-facts li { display: inline-flex; align-items: center; gap: 8px; }
.hero-facts .ico { width: 17px; height: 17px; color: #3fd1b9; }

/* Flow demo (hero) */
.flow-card { background: linear-gradient(180deg, var(--night-2), #0f182b); border: 1px solid var(--night-line); border-radius: 22px; padding: 24px; box-shadow: 0 30px 80px -30px rgba(0, 0, 0, .8); position: relative; }
.fc-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; margin-bottom: 26px; }
.fc-label { font-size: 12px; color: var(--night-muted); text-transform: uppercase; letter-spacing: .1em; font-weight: 700; }
.fc-title { font-family: var(--display); font-weight: 600; font-size: 18px; color: #fff; margin-top: 4px; }
.fc-amount { text-align: right; font-family: var(--mono); font-size: 13px; color: var(--night-muted); }
.fc-amount b { display: block; font-family: var(--display); font-size: 24px; color: #fff; font-weight: 600; letter-spacing: -.02em; }
.track { position: relative; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
.track::before { content: ""; position: absolute; left: 22px; right: 22px; top: 21px; height: 3px; border-radius: 3px; background: rgba(255, 255, 255, .1); }
.track-fill { position: absolute; left: 22px; top: 21px; height: 3px; border-radius: 3px; background: linear-gradient(90deg, #8ea2ff, #3fd1b9); width: calc((100% - 44px) * var(--p, 0)); transition: width .8s ease; }
.stop { position: relative; display: flex; flex-direction: column; align-items: flex-start; gap: 10px; min-width: 0; }
.stop .dot { width: 45px; height: 45px; border-radius: 14px; display: grid; place-items: center; background: #1a2440; border: 1px solid var(--night-line); color: var(--night-muted); position: relative; z-index: 1; transition: background .4s, color .4s, border-color .4s, transform .4s; }
.stop.on .dot { background: color-mix(in srgb, var(--m) 26%, #1a2440); border-color: color-mix(in srgb, var(--m) 70%, transparent); color: #fff; }
.stop.now .dot { transform: scale(1.08); box-shadow: 0 0 0 6px color-mix(in srgb, var(--m) 22%, transparent); }
.stop small { font-family: var(--mono); font-size: 11.5px; color: var(--night-muted); }
.stop strong { font-size: 13.5px; color: #fff; font-weight: 600; line-height: 1.3; }
.s-email { --m: #6f86ff; } .s-sms { --m: #3fd1b9; } .s-carta { --m: #f0a63b; } .s-livre { --m: #b68cff; }
.fc-msg { margin-top: 26px; background: rgba(255, 255, 255, .04); border: 1px solid var(--night-line); border-radius: 14px; padding: 14px 16px; min-height: 92px; }
.fc-msg .who { display: flex; align-items: center; gap: 8px; font-size: 12.5px; color: var(--night-muted); margin-bottom: 6px; }
.fc-msg p { font-size: 14.5px; color: var(--night-fg); }
.fc-msg .ph { font-family: var(--mono); font-size: 12.5px; color: #3fd1b9; background: rgba(63, 209, 185, .1); padding: 1px 5px; border-radius: 5px; }
.fc-outcome { position: absolute; right: -14px; bottom: -18px; display: flex; align-items: center; gap: 10px; background: #fff; color: #0f1626; border-radius: 14px; padding: 12px 16px; box-shadow: 0 18px 40px -16px rgba(0, 0, 0, .6); font-weight: 700; font-size: 14px; opacity: 0; transform: translateY(8px); transition: opacity .5s, transform .5s; }
.fc-outcome.show { opacity: 1; transform: none; }
.fc-outcome .tick { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: #e2f4ec; color: #12825a; }
.fc-outcome span { display: block; font-weight: 500; font-size: 12.5px; color: #566179; }

/* Sections */
section.block { padding-block: 96px; }
.sec-head { display: grid; gap: 14px; margin-bottom: 48px; max-width: 760px; }
.sec-head h2 { font-size: clamp(30px, 3.6vw, 44px); line-height: 1.1; font-weight: 700; }

/* How it works */
.steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; counter-reset: s; border-top: 1px solid var(--line); }
.step { padding: 28px 28px 8px 0; display: grid; gap: 12px; align-content: start; position: relative; }
.step + .step { padding-left: 28px; border-left: 1px solid var(--line); }
.step-n { font-family: var(--display); font-weight: 800; font-size: 44px; line-height: 1; background: linear-gradient(120deg, var(--cobalt), var(--teal)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.step h3 { font-size: 19px; }
.step p { color: var(--muted); font-size: 15px; }
.chip-row { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 4px; }
.chip { font-family: var(--mono); font-size: 12px; padding: 3px 8px; border-radius: 7px; background: var(--sunken); color: var(--muted); border: 1px solid var(--line); }

/* Features bento */
.bento { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 18px; }
.tile { background: var(--surface); border: 1px solid var(--line); border-radius: 20px; padding: 26px; display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.tile h3 { font-size: 20px; }
.tile p { color: var(--muted); font-size: 15px; }
.t-wide { grid-column: span 4; } .t-mid { grid-column: span 3; } .t-narrow { grid-column: span 2; }
.t-icon { width: 44px; height: 44px; border-radius: 13px; display: grid; place-items: center; background: var(--accent-soft); color: var(--cobalt); }
.methods { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; margin-top: auto; padding-top: 8px; }
.method { border-radius: 14px; padding: 14px; background: color-mix(in srgb, var(--m) 9%, var(--surface)); border: 1px solid color-mix(in srgb, var(--m) 28%, var(--line)); display: grid; gap: 6px; }
.method .ico { color: var(--m); }
.method strong { font-size: 14px; }
.method small { font-size: 12px; color: var(--muted); }
.mm-sms { --m: var(--m-sms); } .mm-email { --m: var(--m-email); } .mm-carta { --m: var(--m-carta); } .mm-livre { --m: var(--m-livre); }
.mini-list { display: grid; gap: 8px; margin-top: auto; }
.mini-row { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 10px 12px; background: var(--paper); border: 1px solid var(--line); border-radius: 12px; font-size: 13.5px; }
.mini-row .mono { font-family: var(--mono); color: var(--muted); font-size: 12.5px; }
.pill { font-size: 12px; font-weight: 700; padding: 3px 9px; border-radius: 999px; background: var(--accent-soft); color: var(--cobalt); white-space: nowrap; }
.pill.ok { background: var(--ok-soft); color: var(--ok); }
.gauge-wrap { margin-top: auto; display: grid; justify-items: center; gap: 2px; }
.gauge-wrap svg { width: 100%; max-width: 210px; }
.gauge-wrap b { font-family: var(--display); font-size: 26px; margin-top: -40px; }
.gauge-wrap span { font-size: 13px; color: var(--muted); }
.bars { display: grid; gap: 12px; margin-top: auto; }
.bar-row { display: grid; gap: 5px; font-size: 13.5px; }
.bar-row div:first-child { display: flex; justify-content: space-between; }
.bar-row div:first-child span:last-child { font-family: var(--mono); color: var(--muted); font-size: 12.5px; }
.bar { height: 8px; border-radius: 99px; background: var(--sunken); overflow: hidden; }
.bar i { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--cobalt), var(--teal)); }
.files { display: flex; gap: 10px; margin-top: auto; flex-wrap: wrap; }
.file { display: flex; align-items: center; gap: 10px; padding: 12px 14px; border-radius: 12px; border: 1.5px dashed var(--line); font-weight: 600; font-size: 14px; flex: 1 1 140px; }
.file small { display: block; font-weight: 500; color: var(--muted); font-size: 12px; font-family: var(--mono); }

/* Message demo */
.msg-section { background: var(--surface); border-block: 1px solid var(--line); }
.msg-grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 56px; align-items: center; }
.seg { display: inline-flex; padding: 4px; border-radius: 12px; background: var(--sunken); gap: 2px; flex-wrap: wrap; }
.seg button { border: 0; background: none; padding: 8px 14px; border-radius: 9px; font-weight: 700; font-size: 14px; color: var(--muted); cursor: pointer; display: inline-flex; gap: 6px; align-items: center; }
.seg button .ico { width: 16px; height: 16px; }
.seg button[aria-selected="true"] { background: var(--surface); color: var(--ink); box-shadow: 0 1px 3px rgba(15, 22, 38, .12); }
.msg-controls { display: flex; flex-wrap: wrap; gap: 14px 20px; align-items: center; margin-top: 28px; }
.switch { display: inline-flex; align-items: center; gap: 10px; font-size: 14px; font-weight: 600; cursor: pointer; user-select: none; }
.switch input { appearance: none; width: 42px; height: 24px; border-radius: 99px; background: var(--line); position: relative; cursor: pointer; transition: background .2s; margin: 0; }
.switch input::after { content: ""; position: absolute; top: 3px; left: 3px; width: 18px; height: 18px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(0, 0, 0, .3); transition: transform .2s; }
.switch input:checked { background: var(--teal); }
.switch input:checked::after { transform: translateX(18px); }
.doc { background: var(--paper); border: 1px solid var(--line); border-radius: 18px; padding: 26px 28px; box-shadow: var(--shadow); min-height: 300px; }
.doc-head { display: flex; justify-content: space-between; gap: 12px; padding-bottom: 14px; margin-bottom: 16px; border-bottom: 1px solid var(--line); font-size: 13px; color: var(--muted); flex-wrap: wrap; }
.doc-head strong { color: var(--ink); }
.doc-body { white-space: pre-line; font-size: 15.5px; line-height: 1.7; }
.doc-body .ph { font-family: var(--mono); font-size: 13px; padding: 1px 6px; border-radius: 6px; background: var(--accent-soft); color: var(--cobalt); }
.doc-body .val { background: color-mix(in srgb, var(--teal) 16%, transparent); border-radius: 5px; padding: 0 4px; font-weight: 600; }
.doc.sms { max-width: 380px; margin-left: auto; border-radius: 26px; }
.doc.sms .doc-body { background: var(--accent-soft); border-radius: 18px 18px 18px 4px; padding: 14px 16px; font-size: 15px; }
.doc.carta { border-radius: 6px; font-family: Georgia, "Times New Roman", serif; }
.doc.carta .doc-body { font-size: 15px; }
.ph-legend { display: grid; gap: 8px; margin-top: 28px; padding: 0; list-style: none; font-size: 14px; color: var(--muted); }
.ph-legend code { font-family: var(--mono); font-size: 12.5px; color: var(--cobalt); background: var(--accent-soft); padding: 2px 6px; border-radius: 6px; margin-right: 8px; }

/* Audience */
.aud { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 14px; }
.aud-item { padding: 22px 20px; border-radius: 18px; background: var(--surface); border: 1px solid var(--line); display: grid; gap: 10px; align-content: start; }
.aud-item .t-icon { width: 40px; height: 40px; border-radius: 12px; }
.aud-item h3 { font-size: 16.5px; letter-spacing: -.01em; }
.aud-item p { font-size: 14px; color: var(--muted); }

/* FAQ */
.faq-grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 56px; align-items: start; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; padding: 20px 40px 20px 0; position: relative; font-family: var(--display); font-weight: 600; font-size: 17.5px; letter-spacing: -.01em; }
.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(--muted); border-bottom: 2px solid var(--muted); transform: translateY(-70%) rotate(45deg); transition: transform .2s; }
.faq details[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
.faq details p { padding: 0 0 22px; color: var(--muted); max-width: 64ch; }

/* Demo request */
.cta { background: radial-gradient(800px 400px at 100% 0%, rgba(19, 168, 146, .25), transparent 60%), radial-gradient(700px 400px at 0% 100%, rgba(51, 82, 240, .3), transparent 60%), var(--night); color: var(--night-fg); border-radius: 28px; padding: 56px; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 48px; align-items: start; }
.cta h2 { font-size: clamp(30px, 3.6vw, 44px); color: #fff; line-height: 1.1; }
.cta .lead { color: var(--night-muted); margin-top: 16px; }
.cta ul { margin: 26px 0 0; padding: 0; list-style: none; display: grid; gap: 10px; color: var(--night-fg); font-size: 15px; }
.cta li { display: flex; gap: 10px; align-items: flex-start; }
.cta li .ico { color: #3fd1b9; margin-top: 3px; }
.form { background: #fff; color: #0f1626; border-radius: 20px; padding: 28px; display: grid; gap: 14px; }
.form .row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field { display: grid; gap: 6px; min-width: 0; }
.field label { font-size: 13px; font-weight: 700; color: #3a455c; }
.field input, .field select, .field textarea { width: 100%; border: 1px solid #d3d9e5; border-radius: 10px; padding: 11px 12px; background: #fff; color: #0f1626; color-scheme: light; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: #3352f0; box-shadow: 0 0 0 3px rgba(51, 82, 240, .18); }
.field .err { color: #c43131; font-size: 12.5px; font-weight: 600; }
.form-note { font-size: 12.5px; color: #566179; }
.form-done { display: grid; gap: 10px; justify-items: start; }
.form-done .tick { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: #e2f4ec; color: #12825a; }
.form-done h3 { font-size: 22px; }
.form-done p { color: #566179; }

/* Footer */
.site-foot { padding-block: 48px 40px; border-top: 1px solid var(--line); margin-top: 96px; }
.foot-row { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 24px; align-items: center; }
.site-foot .brand { color: var(--ink); }
.foot-links { display: flex; flex-wrap: wrap; gap: 20px; font-size: 14px; }
.foot-links a { text-decoration: none; color: var(--muted); }
.foot-links a:hover { color: var(--ink); }
.copy { font-size: 13px; color: var(--muted); margin-top: 18px; }

/* Responsive */
@media (max-width: 1040px) {
  .hero-grid, .msg-grid, .faq-grid, .cta { grid-template-columns: minmax(0, 1fr); }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .step:nth-child(3) { border-left: 0; padding-left: 0; }
  .step:nth-child(n+3) { border-top: 1px solid var(--line); }
  .bento { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .t-wide, .t-mid, .t-narrow { grid-column: span 1; }
  .t-wide { grid-column: 1 / -1; }
  .aud { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .doc.sms { margin-left: 0; }
  .fc-outcome { right: 12px; }
}
@media (max-width: 760px) {
  .nav, .head-cta { display: none; }
  .menu-btn { display: grid; }
  .site-head.open .nav { display: flex; position: absolute; top: 68px; left: 0; right: 0; flex-direction: column; gap: 0; background: var(--night); border-bottom: 1px solid var(--night-line); padding: 8px 24px 16px; }
  .site-head.open .nav a { padding: 12px 0; font-size: 16px; }
  section.block { padding-block: 64px; }
  .hero { padding-block: 48px 72px; }
  .wrap { padding-inline: 16px; }
  .steps, .bento, .aud { grid-template-columns: minmax(0, 1fr); }
  .step, .step + .step { padding: 22px 0 6px; border-left: 0; border-top: 1px solid var(--line); }
  .steps { border-top: 0; }
  .methods { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .track { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .stop strong { font-size: 12px; }
  .stop .dot { width: 38px; height: 38px; }
  .track::before, .track-fill { top: 18px; left: 19px; }
  .track::before { right: 19px; }
  .track-fill { width: calc((100% - 38px) * var(--p, 0)); }
  .cta { padding: 32px 20px; border-radius: 20px; }
  .form { padding: 20px; }
  .form .row2 { grid-template-columns: minmax(0, 1fr); }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition: none !important; animation: none !important; } html { scroll-behavior: auto; } }

/* =====================================================================
   Sector landing pages (contabilistas, solicitadores, advogados)
   Same language as the home page: night hero with a product card, light
   editorial sections, the night CTA. Only what those pages add lives here.
   ===================================================================== */
.nav a[aria-current="page"] { color: #fff; }
.crumbs-night { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-size: 13px; color: var(--night-muted); margin-bottom: 18px; }
.crumbs-night a { color: var(--night-muted); text-decoration: none; }
.crumbs-night a:hover { color: #fff; }
.crumbs-night .ico { width: 14px; height: 14px; }

/* Hero product card (dark), one per sector */
.hero-card { background: linear-gradient(180deg, var(--night-2), #0f182b); border: 1px solid var(--night-line); border-radius: 22px; padding: 24px; box-shadow: 0 30px 80px -30px rgba(0, 0, 0, .8); color: var(--night-fg); display: grid; gap: 14px; position: relative; }
.hc-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; }
.hc-label { font-size: 12px; color: var(--night-muted); text-transform: uppercase; letter-spacing: .1em; font-weight: 700; }
.hc-title { font-family: var(--display); font-weight: 600; font-size: 18px; color: #fff; margin-top: 4px; }
.hc-file { display: flex; align-items: center; gap: 12px; padding: 14px 16px; border: 1.5px dashed rgba(255, 255, 255, .2); border-radius: 14px; }
.hc-file .ico { color: #3fd1b9; width: 24px; height: 24px; }
.hc-file b { display: block; color: #fff; font-size: 14.5px; }
.hc-file small { font-family: var(--mono); font-size: 12px; color: var(--night-muted); overflow-wrap: anywhere; }
.hc-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.hc-stat { background: rgba(255, 255, 255, .04); border: 1px solid var(--night-line); border-radius: 14px; padding: 12px 14px; min-width: 0; }
.hc-stat b { display: block; font-family: var(--display); font-size: 24px; font-weight: 600; color: #fff; letter-spacing: -.02em; line-height: 1.2; }
.hc-stat span { font-size: 12.5px; color: var(--night-muted); }
.hc-list { display: grid; gap: 8px; }
.hc-row { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 11px 14px; background: rgba(255, 255, 255, .04); border: 1px solid var(--night-line); border-radius: 12px; font-size: 13.5px; }
.hc-row > div { min-width: 0; }
.hc-row strong { display: block; color: #fff; font-weight: 600; }
.hc-row small, .hc-row .mono { font-family: var(--mono); color: var(--night-muted); font-size: 12px; }
.hc-pill { font-size: 12px; font-weight: 700; padding: 3px 9px; border-radius: 999px; background: rgba(128, 152, 255, .16); color: #aebdff; white-space: nowrap; }
.hc-pill.warn { background: rgba(240, 166, 59, .16); color: #f4b860; }
.hc-pill.ok { background: rgba(63, 203, 140, .16); color: #5fd9a2; }
.hc-pill.neutral { background: rgba(255, 255, 255, .08); color: var(--night-muted); }
.hc-foot { display: flex; align-items: center; gap: 10px; font-size: 13px; color: var(--night-muted); padding-top: 4px; border-top: 1px dashed var(--night-line); }
.hc-foot .ico { color: #3fd1b9; width: 18px; height: 18px; }
.hc-bars { display: grid; gap: 12px; }
.hc-bars .bar-row div:first-child span:last-child { color: var(--night-muted); }
.hc-bars .bar { background: rgba(255, 255, 255, .08); }
.hero-card:has(.hc-outcome) { padding-bottom: 48px; }
.hc-outcome { position: absolute; right: -14px; bottom: -18px; display: flex; align-items: center; gap: 10px; background: #fff; color: #0f1626; border-radius: 14px; padding: 12px 16px; box-shadow: 0 18px 40px -16px rgba(0, 0, 0, .6); font-weight: 700; font-size: 14px; }
.hc-outcome .tick { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: #e2f4ec; color: #12825a; }
.hc-outcome span { display: block; font-weight: 500; font-size: 12.5px; color: #566179; }

/* "Before → after" cards */
.pains { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.pain { padding: 26px; border-radius: 20px; background: var(--surface); border: 1px solid var(--line); display: grid; gap: 10px; align-content: start; }
.pain .before { display: inline-flex; align-items: center; gap: 8px; font-size: 13.5px; font-weight: 600; color: var(--muted); }
.pain .before s { text-decoration-color: color-mix(in srgb, #c43131 70%, transparent); text-decoration-thickness: 2px; }
.pain h3 { font-size: 19px; }
.pain p { color: var(--muted); font-size: 15px; }

/* Feature list */
.feat-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.feat { display: flex; gap: 16px; padding: 24px; background: var(--surface); border: 1px solid var(--line); border-radius: 20px; align-items: flex-start; }
.feat h3 { font-size: 18px; margin-bottom: 6px; }
.feat p { color: var(--muted); font-size: 15px; }

/* Recovio Partner */
.partner { background: radial-gradient(800px 400px at 0% 0%, rgba(19, 168, 146, .25), transparent 60%), radial-gradient(700px 400px at 100% 100%, rgba(51, 82, 240, .3), transparent 60%), var(--night); color: var(--night-fg); border-radius: 28px; padding: 56px; display: grid; gap: 40px; }
.partner-head { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: 32px 48px; align-items: end; }
.partner h2 { font-size: clamp(30px, 3.6vw, 44px); line-height: 1.1; color: #fff; margin-top: 16px; }
.partner .lead { color: var(--night-muted); margin-top: 16px; }
.badge-partner { display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px; border-radius: 999px; border: 1px solid rgba(63, 209, 185, .45); color: #3fd1b9; font-weight: 700; font-size: 13px; letter-spacing: .02em; }
.badge-partner .ico { width: 16px; height: 16px; }
.partner-cta { display: grid; gap: 12px; justify-items: start; }
.partner-cta small { color: var(--night-muted); font-size: 13.5px; }
.partner-steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.p-step { background: rgba(255, 255, 255, .04); border: 1px solid var(--night-line); border-radius: 18px; padding: 22px; display: grid; gap: 8px; align-content: start; }
.p-step .step-n { font-size: 34px; background: linear-gradient(120deg, #8ea2ff, #3fd1b9); -webkit-background-clip: text; background-clip: text; }
.p-step h3 { color: #fff; font-size: 17px; }
.p-step p { color: var(--night-muted); font-size: 14.5px; }
.partner-benefits { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.p-benefit { display: flex; gap: 14px; align-items: flex-start; padding: 4px 0; }
.p-benefit .t-icon { background: rgba(63, 209, 185, .14); color: #3fd1b9; flex: none; }
.p-benefit h3 { color: #fff; font-size: 16.5px; margin-bottom: 4px; }
.p-benefit p { color: var(--night-muted); font-size: 14.5px; }

/* Contact card (CTA) */
.contact-card { background: #fff; color: #0f1626; border-radius: 20px; padding: 28px; display: grid; gap: 18px; }
.contact-card h3 { font-size: 20px; }
.contact-line { display: flex; align-items: center; gap: 14px; padding: 14px 16px; border: 1px solid #dde2ec; border-radius: 14px; text-decoration: none; color: #0f1626; transition: border-color .15s, box-shadow .15s; }
.contact-line:hover { border-color: #3352f0; box-shadow: 0 0 0 3px rgba(51, 82, 240, .12); }
.contact-line .t-icon { background: #e8edff; color: #3352f0; flex: none; }
.contact-line small { display: block; font-size: 12.5px; color: #566179; font-weight: 600; }
.contact-line b { font-size: 16px; overflow-wrap: anywhere; }
.contact-card .form-note { margin: 0; }

/* Other sectors */
.sectors { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }

/* Home page: audience cards that lead to a sector page */
a.aud-item { text-decoration: none; color: inherit; transition: border-color .15s, transform .15s, box-shadow .15s; }
a.aud-item:hover { border-color: var(--cobalt); box-shadow: var(--shadow); transform: translateY(-2px); }
.aud-more { display: inline-flex; align-items: center; gap: 4px; margin-top: 4px; font-size: 13.5px; font-weight: 700; color: var(--cobalt); }
.aud-more .ico { width: 15px; height: 15px; transition: transform .15s; }
a.aud-item:hover .aud-more .ico { transform: translateX(2px); }

@media (max-width: 1040px) {
  .pains, .partner-benefits { grid-template-columns: minmax(0, 1fr); }
  .partner-head { grid-template-columns: minmax(0, 1fr); }
  .partner-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hc-outcome { right: 12px; }
}
@media (max-width: 760px) {
  .feat-list, .partner-steps, .sectors { grid-template-columns: minmax(0, 1fr); }
  .partner { padding: 32px 20px; border-radius: 20px; }
  .hc-stats { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
  .hc-stat b { font-size: 20px; }
  .contact-card { padding: 20px; }
}
