/* E4R AI · Intelligent Solutions — folha de estilo única do site */

@font-face {
  font-family: "Montserrat";
  src: url("/assets/fonts/montserrat.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
}
@font-face {
  font-family: "Source Serif 4";
  src: url("/assets/fonts/source-serif-4.woff2") format("woff2");
  font-weight: 200 900;
  font-display: swap;
}

:root {
  --ink: #061229;
  --navy: #0B1F44;
  --navy-2: #12295A;
  --blue: #2563EB;
  --blue-hover: #1D4FD0;
  --cyan: #00C6CB;
  --tape: #FFC629;
  --paper: #F2F5F9;
  --white: #FFFFFF;

  --on-dark: #E8EEF7;
  --on-dark-muted: #9DAECB;
  --line-dark: rgba(157, 174, 203, 0.18);

  --on-light: #0B1F44;
  --on-light-muted: #4D5D78;
  --line-light: #D6DEEA;

  --sans: "Montserrat", system-ui, -apple-system, "Segoe UI", sans-serif;
  --serif: "Source Serif 4", Georgia, "Times New Roman", serif;

  --wrap: 1200px;
  --gutter: clamp(16px, 4vw, 40px);
  --radius-s: 6px;
  --radius-m: 12px;
}

*,
*::before,
*::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--ink);
  color: var(--on-dark);
  font-family: var(--serif);
  font-size: 1.0625rem;
  line-height: 1.62;
  font-optical-sizing: auto;
  text-rendering: optimizeLegibility;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; }
button { font: inherit; }

h1, h2, h3, h4 {
  font-family: var(--sans);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -0.022em;
  margin: 0 0 0.6em;
  text-wrap: balance;
}
h1 { font-size: clamp(2.25rem, 1.2rem + 3.6vw, 4.1rem); letter-spacing: -0.03em; }
h2 { font-size: clamp(1.75rem, 1.2rem + 1.9vw, 2.6rem); }
h3 { font-size: 1.3rem; letter-spacing: -0.012em; }
h4 { font-size: 1.05rem; letter-spacing: -0.005em; }
p { margin: 0 0 1em; max-width: 66ch; }
p:last-child { margin-bottom: 0; }

.skip {
  position: absolute; left: 12px; top: -60px; z-index: 100;
  background: var(--white); color: var(--navy); padding: 10px 14px;
  font-family: var(--sans); font-weight: 600; border-radius: var(--radius-s);
}
.skip:focus { top: 12px; }

:focus-visible { outline: 2px solid var(--cyan); outline-offset: 3px; border-radius: 3px; }
.light :focus-visible, .white :focus-visible { outline-color: var(--blue); }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }

/* ---------- interface text ---------- */
.ui, .btn, .nav, .tag, .kicker, label, input, select, textarea, table, .meta {
  font-family: var(--sans);
}
.lead { font-size: clamp(1.125rem, 1rem + 0.45vw, 1.3rem); line-height: 1.55; color: var(--on-dark-muted); }
.light .lead, .white .lead { color: var(--on-light-muted); }
.muted { color: var(--on-dark-muted); }
.light .muted, .white .muted { color: var(--on-light-muted); }
.small { font-size: 0.9rem; }
.num { font-family: var(--sans); font-variant-numeric: tabular-nums; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5em;
  min-height: 48px; padding: 0.75em 1.35em;
  border-radius: var(--radius-s); border: 1px solid transparent;
  font-size: 0.97rem; font-weight: 600; letter-spacing: -0.005em;
  text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: background-color .15s ease, border-color .15s ease, color .15s ease;
}
.btn-primary { background: var(--blue); color: var(--white); }
.btn-primary:hover { background: var(--blue-hover); }
.btn-ghost { border-color: rgba(232, 238, 247, 0.32); color: var(--on-dark); background: transparent; }
.btn-ghost:hover { border-color: var(--on-dark); }
.light .btn-ghost, .white .btn-ghost { border-color: #B9C5D8; color: var(--navy); }
.light .btn-ghost:hover, .white .btn-ghost:hover { border-color: var(--navy); }
.light .path.feature .btn-ghost { border-color: rgba(232, 238, 247, 0.32); color: var(--on-dark); }
.light .path.feature .btn-ghost:hover { border-color: var(--on-dark); }
.btn-tape { background: var(--tape); color: var(--ink); }
.btn-tape:hover { background: #FFD65C; }
.btn[disabled] { opacity: .6; cursor: progress; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; }

.text-link {
  font-family: var(--sans); font-weight: 600; font-size: 0.97rem;
  color: var(--cyan); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 4px;
}
.light .text-link, .white .text-link { color: var(--blue); }
.text-link:hover { text-decoration-thickness: 2px; }

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(6, 18, 41, 0.86);
  backdrop-filter: saturate(140%) blur(12px);
  -webkit-backdrop-filter: saturate(140%) blur(12px);
  border-bottom: 1px solid var(--line-dark);
}
.site-header .wrap { display: flex; align-items: center; gap: 24px; min-height: 72px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; flex-shrink: 0; }
.brand img { width: 124px; height: auto; }
.brand span {
  font-family: var(--sans); font-size: 0.74rem; line-height: 1.25; color: var(--on-dark-muted);
  border-left: 1px solid var(--line-dark); padding-left: 12px; letter-spacing: 0.01em;
}
.nav { margin-left: auto; display: flex; align-items: center; gap: 4px; }
.nav a {
  font-size: 0.93rem; font-weight: 500; text-decoration: none; color: var(--on-dark);
  padding: 8px 12px; border-radius: var(--radius-s);
}
.nav a:hover { background: rgba(232, 238, 247, 0.07); }
.nav a[aria-current="page"] { color: var(--cyan); }
.nav .btn { margin-left: 10px; min-height: 42px; padding: 0.55em 1.05em; color: var(--white); }
.nav .btn:hover { background: var(--blue-hover); }
.menu-toggle {
  display: none; margin-left: auto; background: none; border: 1px solid var(--line-dark);
  color: var(--on-dark); border-radius: var(--radius-s); min-height: 44px; padding: 0 14px;
  font-family: var(--sans); font-weight: 600; font-size: 0.92rem; cursor: pointer;
}

@media (max-width: 1020px) {
  .brand span { display: none; }
  .menu-toggle { display: inline-flex; align-items: center; gap: 8px; }
  .nav {
    position: absolute; left: 0; right: 0; top: 100%;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--ink); border-bottom: 1px solid var(--line-dark);
    padding: 8px var(--gutter) 20px; display: none;
  }
  .nav.open { display: flex; }
  .nav a { padding: 14px 4px; border-bottom: 1px solid var(--line-dark); border-radius: 0; font-size: 1rem; }
  .nav .btn { margin: 16px 0 0; border-bottom: 0; border-radius: var(--radius-s); justify-content: center; }
}

/* ---------- sections ---------- */
.section { padding: clamp(64px, 9vw, 120px) 0; }
.section-tight { padding: clamp(48px, 6vw, 80px) 0; }
.light { background: var(--paper); color: var(--on-light); }
.white { background: var(--white); color: var(--on-light); }
.navy { background: var(--navy); }
.section-head { max-width: 760px; margin-bottom: clamp(36px, 5vw, 56px); }
.section-head p { color: var(--on-dark-muted); font-size: 1.13rem; }
.light .section-head p, .white .section-head p { color: var(--on-light-muted); }
.split { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(32px, 6vw, 88px); align-items: start; }
@media (max-width: 880px) { .split { grid-template-columns: 1fr; } }

/* ---------- hero ---------- */
.hero { padding: clamp(40px, 5.5vw, 76px) 0 0; position: relative; overflow: hidden; }
.hero h1 { font-size: clamp(2.2rem, 1rem + 3.9vw, 4rem); margin-bottom: clamp(22px, 3vw, 34px); max-width: 21ch; }
.hero-side { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 24px 48px; }
.hero-side .lead { margin: 0; max-width: 58ch; }

/* ---------- shift board (hero demo) ---------- */
.board {
  margin-top: clamp(36px, 4.5vw, 56px);
  border: 1px solid var(--line-dark); border-bottom: 0;
  border-radius: var(--radius-m) var(--radius-m) 0 0;
  background: linear-gradient(180deg, rgba(18, 41, 90, 0.55), rgba(11, 31, 68, 0.2));
}
.board-bar {
  display: flex; flex-wrap: wrap; align-items: center; gap: 12px 24px;
  padding: 16px clamp(16px, 2.5vw, 28px); border-bottom: 1px solid var(--line-dark);
  font-family: var(--sans); font-size: 0.86rem;
}
.board-title { font-weight: 600; color: var(--on-dark); }
.board-title small { display: block; font-weight: 500; color: var(--on-dark-muted); font-size: 0.8rem; margin-top: 2px; }
.board-stats { display: flex; gap: clamp(16px, 3vw, 36px); margin-left: auto; }
.stat { min-width: 88px; }
.stat b { display: block; font-size: 1.35rem; font-weight: 700; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; color: var(--on-dark); line-height: 1.15; }
.stat span { color: var(--on-dark-muted); font-size: 0.78rem; }
.stat.warn b { color: var(--tape); }
.stat.ok b { color: var(--cyan); }

.board-body { position: relative; padding: 12px clamp(8px, 2vw, 20px) 0; }
.chart { width: 100%; height: auto; overflow: visible; }
.chart text { font-family: var(--sans); font-size: 11px; fill: var(--on-dark-muted); font-variant-numeric: tabular-nums; }
.chart .grid { stroke: rgba(157, 174, 203, 0.12); stroke-width: 1; }
.chart .cut { stroke: rgba(157, 174, 203, 0.38); stroke-width: 1; stroke-dasharray: 2 4; }
.chart .limit { stroke: var(--tape); stroke-width: 1.5; stroke-dasharray: 6 5; }
.chart .limit-label { fill: var(--tape); font-weight: 600; }
.chart .real { fill: none; stroke: var(--cyan); stroke-width: 2.5; stroke-linejoin: round; stroke-linecap: round; }
.chart .real-area { fill: url(#areaFill); }
.chart .proj { fill: none; stroke: var(--tape); stroke-width: 2; stroke-dasharray: 5 6; stroke-linejoin: round; }
.chart .proj.fixed { stroke: var(--cyan); opacity: .75; }
.chart .now-line { stroke: var(--on-dark); stroke-width: 1; opacity: .55; }
.chart .now-dot { fill: var(--cyan); stroke: var(--ink); stroke-width: 3; }
.chart .breach { fill: var(--tape); }
.chart .breach-ring { fill: none; stroke: var(--tape); stroke-width: 1.5; }
.chart .now-label { fill: var(--on-dark); font-weight: 600; }

.alert {
  position: absolute; z-index: 3; width: min(400px, calc(100% - 24px));
  background: var(--white); color: var(--on-light);
  border-radius: var(--radius-s); overflow: hidden;
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.45);
  font-family: var(--sans);
  opacity: 0; transform: translateY(8px); pointer-events: none;
  transition: opacity .35s ease, transform .35s ease;
}
.alert.show { opacity: 1; transform: none; pointer-events: auto; }
.alert::before {
  content: ""; display: block; height: 8px;
  background: repeating-linear-gradient(-45deg, var(--tape) 0 10px, var(--ink) 10px 20px);
}
.alert-body { padding: 14px 16px 16px; }
.alert-time { font-size: 0.78rem; color: var(--on-light-muted); font-weight: 600; }
.alert h3 { font-size: 1rem; margin: 4px 0 6px; letter-spacing: -0.01em; }
.alert p { font-family: var(--serif); font-size: 0.93rem; line-height: 1.45; margin-bottom: 12px; color: #2B3A55; }
.alert .btn { min-height: 40px; padding: 0.5em 1em; font-size: 0.9rem; }
.alert.done::before { background: var(--cyan); }

.board-foot {
  display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px;
  padding: 14px clamp(16px, 2.5vw, 28px) 18px; border-top: 1px solid var(--line-dark);
  font-family: var(--sans); font-size: 0.84rem; color: var(--on-dark-muted);
}
.board-foot .scrub { flex: 1 1 260px; display: flex; align-items: center; gap: 12px; }
.board-foot input[type="range"] { flex: 1; accent-color: var(--cyan); min-height: 32px; }
.board-foot button.linkish {
  background: none; border: 0; color: var(--on-dark); font-family: var(--sans); font-weight: 600; font-size: 0.84rem;
  text-decoration: underline; text-underline-offset: 3px; cursor: pointer; padding: 6px 0;
}
.legend { display: flex; flex-wrap: wrap; gap: 6px 16px; }
.legend i { display: inline-block; width: 18px; height: 0; border-top: 2.5px solid var(--cyan); vertical-align: middle; margin-right: 6px; }
.legend i.dash { border-top: 2px dashed var(--tape); }
.legend i.lim { border-top: 1.5px dashed var(--tape); opacity: .8; }

@media (max-width: 980px) {
  .board-stats { margin-left: 0; width: 100%; justify-content: space-between; }
  .alert { position: relative; left: auto !important; top: auto !important; width: auto; max-width: 560px; margin: 4px 4px 16px; display: none; }
  .alert.show { display: block; }
}
@media (min-width: 701px) and (max-width: 980px) { .chart text { font-size: 16px; } }
@media (max-width: 700px) {
  .board-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 16px; }
  .stat { min-width: 0; }
  .chart text { font-size: 30px; }
  .chart .cut-label { display: none; }
  .chart .real { stroke-width: 6; }
  .chart .proj { stroke-width: 5; stroke-dasharray: 12 12; }
  .chart .limit { stroke-width: 3; stroke-dasharray: 14 10; }
  .chart .now-line { stroke-width: 2; }
  .chart .now-dot { r: 12; stroke-width: 5; }
  .chart .breach { r: 9; } .chart .breach-ring { r: 20; stroke-width: 3; }
  .chart .hour-odd { display: none; }
}

/* ---------- problems ---------- */
.problems { display: grid; grid-template-columns: repeat(2, 1fr); border-top: 1px solid var(--line-light); }
.problem { padding: 32px 32px 36px 0; border-bottom: 1px solid var(--line-light); }
.problem:nth-child(odd) { border-right: 1px solid var(--line-light); }
.problem:nth-child(even) { padding-left: 32px; padding-right: 0; }
.problem h3 { font-size: 1.35rem; margin-bottom: 10px; }
.problem p { color: var(--on-light-muted); }
.problem .cost { display: block; margin-top: 14px; font-family: var(--sans); font-size: 0.88rem; font-weight: 600; color: var(--navy); }
@media (max-width: 760px) {
  .problems { grid-template-columns: 1fr; }
  .problem, .problem:nth-child(even) { padding: 28px 0; border-right: 0; }
  .problem:nth-child(odd) { border-right: 0; }
}

.goals { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; margin-top: clamp(48px, 6vw, 72px); background: var(--navy); color: var(--on-dark); border-radius: var(--radius-m); overflow: hidden; }
.goal { padding: 28px 28px 30px; border-right: 1px solid var(--line-dark); }
.goal:last-child { border-right: 0; }
.goal h3 { font-size: 1.15rem; margin-bottom: 8px; color: var(--white); }
.goal p { color: var(--on-dark-muted); font-size: 0.98rem; }
.goal .goal-mark { display: block; width: 28px; height: 3px; background: var(--cyan); margin-bottom: 18px; }
@media (max-width: 760px) { .goals { grid-template-columns: 1fr; } .goal { border-right: 0; border-bottom: 1px solid var(--line-dark); } .goal:last-child { border-bottom: 0; } }

/* ---------- solution index (table-like) ---------- */
.index { border-top: 2px solid var(--navy); }
.index-row {
  display: grid; grid-template-columns: 3.2fr 5fr 3.8fr; gap: 24px; align-items: baseline;
  padding: 24px 0; border-bottom: 1px solid var(--line-light);
}
.index-row h3 { font-size: 1.12rem; margin: 0; }
.index-row p { margin: 0; color: var(--on-light-muted); font-size: 1rem; }
.index-row .ex { font-family: var(--sans); font-size: 0.86rem; color: var(--navy); line-height: 1.45; }
.index-row .ex b { display: none; font-weight: 600; color: var(--on-light-muted); font-size: 0.78rem; margin-bottom: 2px; }
@media (max-width: 820px) { .index-row .ex b { display: block; } }
.index-head { padding: 0 0 10px; border-bottom: 1px solid var(--line-light); }
.index-head span { font-family: var(--sans); font-size: 0.8rem; font-weight: 600; color: var(--on-light-muted); }
@media (max-width: 820px) {
  .index-row { grid-template-columns: 1fr; gap: 8px; }
  .index-head { display: none; }
}

/* ---------- copilot ---------- */
.copilot { display: grid; grid-template-columns: 4fr 7fr; gap: clamp(28px, 4vw, 56px); align-items: start; }
@media (max-width: 960px) { .copilot { grid-template-columns: 1fr; } }
.q-list { display: flex; flex-direction: column; gap: 10px; margin: 26px 0 18px; }
.q {
  text-align: left; background: transparent; color: var(--on-dark);
  border: 1px solid var(--line-dark); border-radius: var(--radius-s);
  padding: 14px 16px; font-family: var(--sans); font-size: 0.95rem; font-weight: 500; line-height: 1.35; cursor: pointer;
  transition: border-color .15s ease, background-color .15s ease;
}
.q:hover { border-color: rgba(0, 198, 203, 0.55); }
.q[aria-pressed="true"] { border-color: var(--cyan); background: rgba(0, 198, 203, 0.08); }

.console { border: 1px solid var(--line-dark); border-radius: var(--radius-m); background: rgba(11, 31, 68, 0.55); overflow: hidden; }
.console-top {
  display: flex; flex-wrap: wrap; gap: 10px 18px; align-items: center; justify-content: space-between;
  padding: 14px 18px; border-bottom: 1px solid var(--line-dark); font-family: var(--sans); font-size: 0.84rem; color: var(--on-dark-muted);
}
.console-top strong { color: var(--on-dark); font-weight: 600; }
.demo-tag { color: var(--tape); font-weight: 600; }
.kpis { display: grid; grid-template-columns: repeat(4, 1fr); border-bottom: 1px solid var(--line-dark); }
.kpi { padding: 14px 18px; border-right: 1px solid var(--line-dark); font-family: var(--sans); }
.kpi:last-child { border-right: 0; }
.kpi span { display: block; font-size: 0.76rem; color: var(--on-dark-muted); line-height: 1.3; }
.kpi b { display: block; font-size: 1.3rem; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; margin-top: 4px; }
.kpi em { font-style: normal; font-size: 0.76rem; font-weight: 600; }
.kpi .bad { color: var(--tape); }
.kpi .good { color: var(--cyan); }
@media (max-width: 620px) { .kpis { grid-template-columns: repeat(2, 1fr); } .kpi:nth-child(2) { border-right: 0; } .kpi:nth-child(-n+2) { border-bottom: 1px solid var(--line-dark); } }

.chat { padding: 20px 18px 8px; min-height: 380px; }
.msg-user {
  margin-left: auto; max-width: 85%; width: fit-content; background: var(--blue); color: var(--white);
  border-radius: 12px 12px 2px 12px; padding: 10px 14px; font-family: var(--sans); font-size: 0.95rem; line-height: 1.4; margin-bottom: 16px;
}
.msg-bot { display: grid; gap: 14px; }
.msg-bot .block { border-left: 2px solid var(--line-dark); padding-left: 14px; }
.msg-bot .block h4 { font-size: 0.86rem; margin: 0 0 4px; color: var(--on-dark-muted); font-weight: 600; letter-spacing: 0; }
.msg-bot .block p, .msg-bot .block li { font-size: 0.98rem; line-height: 1.5; color: var(--on-dark); }
.msg-bot .block ul { margin: 0; padding-left: 1.1em; }
.msg-bot .block.act { border-left-color: var(--cyan); }
.msg-bot .block.risk { border-left-color: var(--tape); }
.msg-bot .reveal { opacity: 0; transform: translateY(4px); transition: opacity .3s ease, transform .3s ease; }
.msg-bot .reveal.on { opacity: 1; transform: none; }
.typing { display: inline-flex; gap: 4px; padding: 6px 0; }
.typing i { width: 6px; height: 6px; border-radius: 50%; background: var(--on-dark-muted); animation: blink 1s infinite; }
.typing i:nth-child(2) { animation-delay: .15s; } .typing i:nth-child(3) { animation-delay: .3s; }
@keyframes blink { 0%, 100% { opacity: .25; } 50% { opacity: 1; } }
.ask { display: flex; gap: 8px; padding: 12px 18px 18px; border-top: 1px solid var(--line-dark); }
.ask input {
  flex: 1; min-width: 0; min-height: 46px; background: rgba(6, 18, 41, 0.7); color: var(--on-dark);
  border: 1px solid var(--line-dark); border-radius: var(--radius-s); padding: 0 14px; font-size: 0.95rem;
}
.ask input::placeholder { color: #7486A6; }
.console-note { padding: 0 18px 16px; font-family: var(--sans); font-size: 0.78rem; color: var(--on-dark-muted); }

/* ---------- tabs (applications) ---------- */
.tabs { display: flex; flex-wrap: wrap; gap: 6px; border-bottom: 1px solid var(--line-light); margin-bottom: 36px; }
.tab {
  background: none; border: 0; border-bottom: 2px solid transparent; margin-bottom: -1px;
  padding: 12px 14px; font-family: var(--sans); font-size: 0.95rem; font-weight: 600; color: var(--on-light-muted); cursor: pointer;
}
.tab[aria-selected="true"] { color: var(--navy); border-bottom-color: var(--blue); }
.tab:hover { color: var(--navy); }
.panel { display: grid; grid-template-columns: 4fr 8fr; gap: clamp(24px, 4vw, 64px); }
.panel[hidden] { display: none; }
.panel h3 { font-size: 1.6rem; }
.cases { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; }
.cases li { display: grid; grid-template-columns: 1fr 1.3fr; gap: 20px; padding: 18px 0; border-bottom: 1px solid var(--line-light); }
.cases li:first-child { border-top: 1px solid var(--line-light); }
.cases b { font-family: var(--sans); font-weight: 600; font-size: 0.98rem; color: var(--navy); }
.cases span { color: var(--on-light-muted); font-size: 0.98rem; }
@media (max-width: 820px) { .panel { grid-template-columns: 1fr; } .cases li { grid-template-columns: 1fr; gap: 4px; } }

/* ---------- method (real sequence) ---------- */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, 1fr); counter-reset: step; position: relative; }
.steps::before { content: ""; position: absolute; left: 0; right: 0; top: 19px; height: 2px; background: var(--line-light); }
.step { position: relative; padding-right: 22px; counter-increment: step; }
.step::before {
  content: counter(step); position: relative; z-index: 1;
  display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%;
  background: var(--navy); color: var(--white); font-family: var(--sans); font-weight: 700; font-size: 1rem; margin-bottom: 20px;
  box-shadow: 0 0 0 6px var(--paper);
}
.white .step::before { box-shadow: 0 0 0 6px var(--white); }
.steps.on-dark::before { background: var(--line-dark); }
.steps.on-dark .step::before { background: var(--blue); box-shadow: 0 0 0 6px var(--ink); }
.steps.on-dark .step h3 { color: var(--white); }
.steps.on-dark .step p { color: var(--on-dark-muted); }
.step h3 { font-size: 1.12rem; margin-bottom: 8px; }
.step p { font-size: 0.98rem; color: var(--on-light-muted); margin-bottom: 12px; }
.step .deliver { font-family: var(--sans); font-size: 0.84rem; color: var(--navy); line-height: 1.45; }
.step .deliver b { display: block; font-weight: 600; color: var(--on-light-muted); font-size: 0.78rem; }
@media (max-width: 960px) {
  .steps { grid-template-columns: 1fr; gap: 0; }
  .steps::before { left: 19px; right: auto; top: 0; bottom: 0; width: 2px; height: auto; }
  .step { padding: 0 0 32px 64px; }
  .step::before { position: absolute; left: 0; top: 0; }
}

/* ---------- do / don't ---------- */
.stance { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 72px); }
.stance h3 { font-size: 1.15rem; margin-bottom: 16px; }
.stance ul { list-style: none; margin: 0; padding: 0; }
.stance li { padding: 14px 0 14px 30px; border-top: 1px solid var(--line-dark); position: relative; color: var(--on-dark); }
.stance li::before { content: ""; position: absolute; left: 2px; top: 1.15em; width: 14px; height: 2px; background: var(--cyan); }
.stance .no li { color: var(--on-dark-muted); }
.stance .no li::before { background: var(--tape); transform: rotate(45deg); box-shadow: 0 0 0 0 transparent; }
.stance .no li::after { content: ""; position: absolute; left: 2px; top: 1.15em; width: 14px; height: 2px; background: var(--tape); transform: rotate(-45deg); }
@media (max-width: 760px) { .stance { grid-template-columns: 1fr; } }

/* ---------- product vs custom ---------- */
.paths { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.path { border: 1px solid var(--line-light); border-radius: var(--radius-m); padding: clamp(24px, 3vw, 36px); background: var(--white); display: flex; flex-direction: column; }
.path.feature { background: var(--navy); color: var(--on-dark); border-color: var(--navy); }
.path .status { font-family: var(--sans); font-size: 0.82rem; font-weight: 600; color: var(--on-light-muted); margin-bottom: 10px; }
.path.feature .status { color: var(--cyan); }
.path h3 { font-size: 1.5rem; }
.path p { color: var(--on-light-muted); }
.path.feature p { color: var(--on-dark-muted); }
.path ul { margin: 6px 0 24px; padding-left: 1.1em; }
.path li { margin-bottom: 6px; }
.path .actions { margin-top: auto; }
@media (max-width: 820px) { .paths { grid-template-columns: 1fr; } }

/* ---------- founders ---------- */
.founders { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border-top: 1px solid var(--line-dark); }
.founder { padding: 26px 24px 8px 0; border-right: 1px solid var(--line-dark); }
.founder + .founder { padding-left: 24px; }
.founder:last-child { border-right: 0; }
.founder .pillar { font-family: var(--sans); font-size: 0.82rem; font-weight: 600; color: var(--cyan); }
.founder h3 { font-size: 1.1rem; margin: 8px 0 8px; }
.founder p { font-size: 0.96rem; color: var(--on-dark-muted); }
@media (max-width: 900px) {
  .founders { grid-template-columns: 1fr 1fr; }
  .founder, .founder + .founder { padding: 24px 20px 24px 0; border-right: 0; border-bottom: 1px solid var(--line-dark); }
  .founder:nth-child(even) { padding-left: 20px; border-left: 1px solid var(--line-dark); }
}
@media (max-width: 560px) { .founders { grid-template-columns: 1fr; } .founder:nth-child(even) { padding-left: 0; border-left: 0; } }

/* ---------- FAQ ---------- */
.faq { border-top: 1px solid var(--line-light); }
.faq details { border-bottom: 1px solid var(--line-light); }
.faq summary {
  list-style: none; cursor: pointer; padding: 22px 44px 22px 0; position: relative;
  font-family: var(--sans); font-weight: 600; font-size: 1.06rem; color: var(--navy); letter-spacing: -0.01em;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; position: absolute; right: 6px; top: 50%; width: 12px; height: 12px; margin-top: -8px;
  border-right: 2px solid var(--blue); border-bottom: 2px solid var(--blue); transform: rotate(45deg); transition: transform .2s ease;
}
.faq details[open] summary::after { transform: rotate(-135deg); margin-top: -2px; }
.faq .answer { padding: 0 0 24px; color: var(--on-light-muted); max-width: 70ch; }

/* ---------- CTA + form ---------- */
.cta-grid { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(32px, 6vw, 80px); align-items: start; }
@media (max-width: 920px) { .cta-grid { grid-template-columns: 1fr; } }
.cta-points { list-style: none; padding: 0; margin: 28px 0 0; }
.cta-points li { padding: 12px 0; border-top: 1px solid var(--line-dark); color: var(--on-dark); }
.cta-points li b { font-family: var(--sans); font-weight: 600; display: block; font-size: 0.95rem; }
.cta-points li span { color: var(--on-dark-muted); font-size: 0.97rem; }

.form { background: var(--white); color: var(--on-light); border-radius: var(--radius-m); padding: clamp(22px, 3.5vw, 40px); }
.form h3 { font-size: 1.3rem; margin-bottom: 4px; }
.form .intro { color: var(--on-light-muted); font-size: 0.98rem; margin-bottom: 22px; }
.fields { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 18px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field.full { grid-column: 1 / -1; }
.field label { font-size: 0.88rem; font-weight: 600; color: var(--navy); }
.field label .opt { font-weight: 500; color: var(--on-light-muted); }
.field input, .field select, .field textarea {
  width: 100%; min-height: 48px; padding: 11px 13px; font-size: 1rem; color: var(--on-light);
  background: var(--white); border: 1px solid #B9C5D8; border-radius: var(--radius-s);
}
.field textarea { min-height: 120px; resize: vertical; line-height: 1.5; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 2px solid var(--blue); outline-offset: 0; border-color: var(--blue); }
.field .err { font-family: var(--sans); font-size: 0.82rem; color: #B42318; min-height: 0; }
.field.invalid input, .field.invalid select, .field.invalid textarea { border-color: #B42318; }
.check { display: flex; gap: 10px; align-items: flex-start; font-family: var(--sans); font-size: 0.86rem; color: var(--on-light-muted); line-height: 1.45; }
.check input { width: 20px; height: 20px; margin-top: 1px; accent-color: var(--blue); flex-shrink: 0; }
.check a { color: var(--blue); }
.hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.form-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 20px; margin-top: 22px; }
.form-foot .small { font-family: var(--sans); color: var(--on-light-muted); font-size: 0.82rem; max-width: 40ch; }
.form-status { margin-top: 18px; border-radius: var(--radius-s); padding: 14px 16px; font-family: var(--sans); font-size: 0.93rem; line-height: 1.5; display: none; }
.form-status.ok { display: block; background: #E6F7F2; color: #0B5D4B; border: 1px solid #A9E2D2; }
.form-status.fail { display: block; background: #FDECEA; color: #8A1C12; border: 1px solid #F5C2BC; }
.est-chip { display: none; margin-bottom: 18px; padding: 12px 14px; border-radius: var(--radius-s); background: var(--paper); font-family: var(--sans); font-size: 0.88rem; color: var(--navy); }
.est-chip.on { display: block; }
@media (max-width: 620px) { .fields { grid-template-columns: 1fr; } }

/* ---------- estimator ---------- */
.estimator { display: grid; grid-template-columns: 6fr 5fr; gap: 0; border: 1px solid var(--line-light); border-radius: var(--radius-m); overflow: hidden; background: var(--white); }
.est-inputs { padding: clamp(22px, 3vw, 36px); display: grid; gap: 22px; }
.est-row label { display: flex; justify-content: space-between; gap: 12px; font-weight: 600; font-size: 0.93rem; color: var(--navy); margin-bottom: 8px; }
.est-row label output { font-variant-numeric: tabular-nums; color: var(--blue); }
.est-row input[type="range"] { width: 100%; accent-color: var(--blue); min-height: 28px; }
.est-out { background: var(--navy); color: var(--on-dark); padding: clamp(22px, 3vw, 36px); display: flex; flex-direction: column; gap: 16px; }
.est-out .big { font-family: var(--sans); font-size: clamp(2.2rem, 1.6rem + 2vw, 3.2rem); font-weight: 700; letter-spacing: -0.03em; line-height: 1; font-variant-numeric: tabular-nums; color: var(--white); }
.est-out .big small { font-size: 0.4em; font-weight: 600; color: var(--on-dark-muted); letter-spacing: 0; margin-left: 6px; }
.est-out p, .est-out .muted { color: var(--on-dark-muted); }
.est-out p { font-size: 0.95rem; }
.est-out dl { margin: 0; display: grid; grid-template-columns: 1fr auto; gap: 8px 16px; font-family: var(--sans); font-size: 0.9rem; }
.est-out dt { color: var(--on-dark-muted); }
.est-out dd { margin: 0; font-weight: 600; font-variant-numeric: tabular-nums; text-align: right; }
@media (max-width: 820px) { .estimator { grid-template-columns: 1fr; } }

/* ---------- page header (inner pages) ---------- */
.page-head { padding: clamp(56px, 8vw, 104px) 0 clamp(40px, 6vw, 72px); border-bottom: 1px solid var(--line-dark); }
.page-head .crumb { font-family: var(--sans); font-size: 0.86rem; color: var(--on-dark-muted); margin-bottom: 18px; }
.page-head .crumb a { color: var(--on-dark-muted); text-decoration: none; }
.page-head .crumb a:hover { color: var(--on-dark); text-decoration: underline; }
.page-head h1 { font-size: clamp(2.1rem, 1.3rem + 2.8vw, 3.5rem); max-width: 20ch; margin-bottom: 18px; }
.page-head .lead { max-width: 60ch; }

/* ---------- long text (legal, about) ---------- */
.prose { max-width: 72ch; }
.prose h2 { font-size: 1.5rem; margin-top: 2em; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { font-size: 1.15rem; margin-top: 1.6em; }
.prose ul { padding-left: 1.2em; }
.prose li { margin-bottom: 6px; }
.prose a { color: var(--blue); }
.note-box { border-left: 3px solid var(--tape); background: #FFF8E1; color: #5A4300; padding: 14px 18px; font-family: var(--sans); font-size: 0.9rem; border-radius: 0 var(--radius-s) var(--radius-s) 0; margin: 0 0 28px; }

/* ---------- detail blocks (solutions page) ---------- */
.detail { display: grid; grid-template-columns: 4fr 8fr; gap: clamp(24px, 5vw, 72px); padding: clamp(40px, 5vw, 64px) 0; border-top: 1px solid var(--line-light); }
.detail:first-child { border-top: 0; padding-top: 0; }
.detail h2 { font-size: clamp(1.45rem, 1.1rem + 1vw, 1.9rem); }
.detail .cols { display: grid; grid-template-columns: 1fr 1fr; gap: 24px 36px; }
.detail .cols > div:nth-child(3) { grid-column: 1 / -1; }
.detail .cols > div:nth-child(3) ul { display: flex; flex-wrap: wrap; gap: 4px 28px; padding-left: 1.1em; }
.detail .cols h3 { font-size: 0.95rem; color: var(--on-light-muted); font-weight: 600; letter-spacing: 0; margin-bottom: 6px; }
.detail .cols ul { margin: 0; padding-left: 1.1em; }
.detail .cols li { margin-bottom: 6px; font-size: 1rem; }
@media (max-width: 860px) { .detail { grid-template-columns: 1fr; } .detail .cols { grid-template-columns: 1fr; } }

.spec { width: 100%; border-collapse: collapse; font-size: 0.95rem; }
.spec th, .spec td { text-align: left; vertical-align: top; padding: 14px 16px 14px 0; border-bottom: 1px solid var(--line-light); }
.spec th { width: 30%; font-weight: 600; color: var(--navy); }
.spec td { font-family: var(--serif); color: var(--on-light-muted); font-size: 1rem; }

/* ---------- contact channels ---------- */
.channels { list-style: none; padding: 0; margin: 0; }
.channels li { padding: 18px 0; border-top: 1px solid var(--line-dark); }
.channels b { display: block; font-family: var(--sans); font-weight: 600; font-size: 0.86rem; color: var(--on-dark-muted); margin-bottom: 2px; }
.channels a { font-family: var(--sans); font-weight: 600; font-size: 1.1rem; color: var(--on-dark); text-decoration: none; }
.channels a:hover { color: var(--cyan); }

/* ---------- footer ---------- */
.site-footer { border-top: 1px solid var(--line-dark); padding: clamp(48px, 6vw, 72px) 0 32px; font-family: var(--sans); font-size: 0.9rem; }
.foot-grid { display: grid; grid-template-columns: 4fr 2fr 2fr 3fr; gap: 32px; }
.foot-grid img { width: 128px; height: auto; margin-bottom: 16px; }
.foot-grid p { color: var(--on-dark-muted); font-family: var(--serif); font-size: 0.98rem; max-width: 34ch; }
.foot-grid h2 { font-size: 0.86rem; color: var(--on-dark-muted); font-weight: 600; letter-spacing: 0; margin-bottom: 14px; }
.foot-grid ul { list-style: none; padding: 0; margin: 0; }
.foot-grid li { margin-bottom: 10px; }
.foot-grid a { color: var(--on-dark); text-decoration: none; }
.foot-grid a:hover { color: var(--cyan); text-decoration: underline; }
.foot-base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; margin-top: 48px; padding-top: 20px; border-top: 1px solid var(--line-dark); color: var(--on-dark-muted); font-size: 0.82rem; }
@media (max-width: 860px) { .foot-grid { grid-template-columns: 1fr 1fr; } .foot-grid > div:first-child { grid-column: 1 / -1; } }

/* ---------- WhatsApp (hidden until configured) ---------- */
.wa {
  position: fixed; right: 18px; bottom: 18px; z-index: 60;
  display: none; align-items: center; gap: 10px;
  background: #1FAF5A; color: var(--white); text-decoration: none;
  font-family: var(--sans); font-weight: 600; font-size: 0.92rem;
  padding: 12px 16px; border-radius: 999px; box-shadow: 0 10px 28px rgba(0,0,0,.35);
}
.wa.on { display: inline-flex; }
.wa svg { width: 22px; height: 22px; }

/* ---------- utilities ---------- */
.mt-0 { margin-top: 0; }
.center-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 24px; margin-top: 36px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; }
}
