:root {
  /* Tokens do manual de marca Pjuris */
  --bg: #FBF7F1;          /* surface: papel quente */
  --bg-2: #F3ECE3;
  --ink: #231E20;         /* ink / toga */
  --ink-2: #4A4044;
  --muted: #6B5E52;       /* ink-muted */
  --line: #E7DDD0;
  --card: #FFFFFF;        /* surface-raised */
  --caramelo: #9A5424;    /* ação principal, ênfase */
  --caramelo-hover: #843F14;
  --pluma: #F3E3CF;
  --bico: #F29A2E;        /* destaque, uma vez por tela */
  --tinta: #2456A6;       /* links, info, "em andamento" */
  --tinta-soft: #E6EEFA;
  --ok: #276B43;
  --ok-bg: #E3F2E8;
  --alerta: #B3261E;
  --dark: #231E20;        /* toga */
  --dark-2: #2E282B;
  --dark-line: #433A3E;
  --dark-muted: #B8AB9C;
  --on-dark: #F4EDE3;
  --radius: 20px;
  --shadow: 0 1px 2px rgba(35,30,32,0.06), 0 8px 24px rgba(35,30,32,0.06);
  --sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --mono: "JetBrains Mono", ui-monospace, Consolas, monospace;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
html.lenis, html.lenis body { height: auto; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; }
.mono { font-family: var(--mono); font-size: .92em; letter-spacing: -.01em; }
.wrap { width: min(1180px, 100% - 48px); margin-inline: auto; }

/* ---------- Tipografia ---------- */
.eyebrow {
  font-size: 14px; font-weight: 500; color: var(--muted);
  margin: 0 0 18px; display: inline-flex; align-items: center; gap: 10px;
}
.section-title {
  font-size: clamp(34px, 4.6vw, 58px);
  line-height: 1.06; letter-spacing: -.035em; font-weight: 600;
  margin: 0 0 28px; max-width: 19ch;
}
.section-title.big { font-size: clamp(40px, 5.6vw, 72px); }
.light { font-weight: 700; color: var(--muted); }
.dark .light { color: var(--dark-muted); }
.accent { color: var(--caramelo); font-style: normal; }
.lead { font-size: clamp(17px, 1.5vw, 20px); color: var(--ink-2); max-width: 52ch; margin: 0 0 32px; }
.dark .lead { color: var(--dark-muted); }

/* ---------- Botões ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  height: 48px; padding: 0 24px; border-radius: 999px;
  font: 500 15px/1 var(--sans); border: 0; cursor: pointer;
  transition: transform .25s ease, background .25s ease, box-shadow .25s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-sm { height: 36px; padding: 0 16px; font-size: 13px; }
.btn-dark { background: var(--caramelo); color: #fff; }
.btn-dark:hover { background: var(--caramelo-hover); box-shadow: 0 8px 24px -8px rgba(154,84,36,.4); }
.btn-ghost { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1px var(--line); }
.btn-ghost:hover { box-shadow: inset 0 0 0 1px #CDBFAE; }
.dark .btn-ghost { color: #fff; box-shadow: inset 0 0 0 1px var(--dark-line); }
.btn-light { background: var(--bico); color: var(--ink); }

/* ---------- Nav ---------- */
.nav {
  position: fixed; top: 14px; left: 50%; transform: translateX(-50%); z-index: 50;
  width: min(1120px, calc(100% - 24px));
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding: 8px 8px 8px 20px; border-radius: 999px;
  background: rgba(251,247,241,.78);
  backdrop-filter: saturate(180%) blur(20px); -webkit-backdrop-filter: saturate(180%) blur(20px);
  box-shadow: 0 0 0 1px rgba(0,0,0,.05), 0 8px 30px -12px rgba(0,0,0,.12);
  transition: background .3s ease, color .3s ease, box-shadow .3s ease;
}
.nav.on-dark { background: rgba(35,30,32,.78); color: #f5f5f7; box-shadow: 0 0 0 1px rgba(255,255,255,.08); }
.nav.on-dark .btn-dark { background: var(--bico); color: var(--ink); }
.nav.on-dark .nav-links a { color: #a1a1a6; }
.nav.on-dark .nav-links a:hover { color: #fff; }
.brand { display: inline-flex; align-items: center; gap: 9px; font-weight: 700; font-size: 18px; letter-spacing: -.04em; }
.brand-logo { width: 26px; height: 26px; border-radius: 7px; display: block; }
.footer .brand-logo { width: 24px; height: 24px; }
.nav-links { display: flex; gap: 28px; }
.nav-links a { font-size: 13.5px; color: var(--ink-2); transition: color .2s; }
.nav-links a:hover { color: var(--ink); }
.nav-toggle { display: none; }

/* ---------- Hero ---------- */
.hero { padding: 150px 0 60px; position: relative; overflow: hidden; }
.hero::before {
  content: ""; position: absolute; inset: -20% -10% auto auto; width: 70vw; height: 70vw; max-width: 900px; max-height: 900px;
  background: radial-gradient(closest-side, rgba(243,227,207,.75), rgba(243,227,207,0));
  pointer-events: none; z-index: 0;
}
.hero-grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: 48px; align-items: center; position: relative; z-index: 1; }
.hero-title { font-size: clamp(40px, 4.4vw, 60px); line-height: 1.02; letter-spacing: -.045em; font-weight: 600; margin: 0 0 28px; }
.hero-title .light { display: block; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; }
.dot-live { width: 8px; height: 8px; border-radius: 50%; background: var(--ok); position: relative; }
.dot-live::after { content: ""; position: absolute; inset: -4px; border-radius: 50%; border: 1px solid var(--ok); animation: ping 2s ease-out infinite; }
@keyframes ping { from { transform: scale(.6); opacity: 1; } to { transform: scale(1.8); opacity: 0; } }

.hero-visual { position: relative; }
.panel {
  background: var(--card); border-radius: var(--radius); padding: 26px; box-shadow: var(--shadow);
  border: 1px solid rgba(0,0,0,.04);
}
.panel-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; }
.panel-head .label { display: block; font-size: 12px; color: var(--muted); margin-bottom: 4px; }
.panel-head strong { font-size: 15px; }
.panel-meta { display: flex; gap: 16px; font-size: 13px; color: var(--muted); padding: 14px 0 18px; border-bottom: 1px solid var(--line); }
.chip { font-size: 12px; font-weight: 500; padding: 5px 10px; border-radius: 999px; background: var(--bg-2); color: var(--ink-2); white-space: nowrap; }
.chip-ok { background: var(--ok-bg); color: var(--ok); }
.timeline { list-style: none; margin: 0; padding: 18px 0 0; position: relative; }
.timeline::before { content: ""; position: absolute; left: 5px; top: 26px; bottom: 10px; width: 1px; background: var(--line); }
.timeline li { position: relative; padding: 0 0 18px 28px; display: grid; gap: 2px; }
.timeline li::before { content: ""; position: absolute; left: 0; top: 6px; width: 11px; height: 11px; border-radius: 50%; background: #fff; border: 1.5px solid #c7c7cc; }
.timeline li.is-new::before { background: var(--caramelo); border-color: var(--caramelo); box-shadow: 0 0 0 5px rgba(36,86,166,.12); }
.timeline li.is-new .t-text { font-weight: 600; }
.t-date { font-size: 12px; color: var(--muted); }
.t-text { font-size: 15px; }
.t-tag { justify-self: start; margin-top: 6px; font-size: 11.5px; padding: 3px 8px; border-radius: 6px; background: var(--tinta-soft); color: var(--tinta); font-weight: 500; }

.toast {
  position: absolute; right: -18px; bottom: 0; width: min(330px, 88%);
  display: flex; gap: 12px; padding: 14px 16px; border-radius: 18px;
  background: rgba(255,255,255,.86); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 20px 50px -18px rgba(20,30,50,.3), 0 0 0 1px rgba(0,0,0,.04);
  opacity: 0; transform: translateY(16px) scale(.98);
}
.toast p { margin: 2px 0 0; font-size: 13.5px; line-height: 1.4; }
.toast-app { font-size: 11.5px; color: var(--muted); }
.toast-icon { flex: none; width: 34px; height: 34px; border-radius: 9px; background: #25a764; position: relative; }
.toast-icon.wa::after { content: ""; position: absolute; inset: 9px; border-radius: 50% 50% 50% 2px; border: 2px solid #fff; }

.facts {
  display: grid; grid-template-columns: repeat(4, 1fr); margin-top: 70px;
  border-top: 1px solid var(--line); position: relative; z-index: 1;
}
.facts div { padding: 24px 24px 0 0; display: grid; gap: 4px; }
.facts div + div { padding-left: 24px; border-left: 1px solid var(--line); }
.facts strong { font-size: 19px; letter-spacing: -.02em; font-weight: 600; }
.facts span { font-size: 14px; color: var(--muted); }

/* ---------- Manifesto ---------- */
.statement { padding: 140px 0; }
.glow-text {
  font-size: clamp(30px, 4.2vw, 56px); line-height: 1.14; letter-spacing: -.035em; font-weight: 600;
  margin: 0; max-width: 24ch;
}
.glow-text .w { opacity: .14; transition: none; }

/* ---------- Como funciona ---------- */
.how { background: var(--bg-2); overflow: hidden; }
.how-pin { min-height: 100vh; display: flex; flex-direction: column; justify-content: center; padding: 110px 0 80px; }
.how-head { margin-bottom: 40px; }
.how-head .section-title { margin-bottom: 0; }
.how-track { display: flex; gap: 24px; padding-left: max(24px, calc((100vw - 1180px) / 2)); padding-right: 24px; will-change: transform; }
.step {
  flex: none; width: min(440px, 82vw); background: var(--card); border-radius: var(--radius); padding: 32px;
  box-shadow: var(--shadow); display: flex; flex-direction: column;
}
.step-n { font-family: var(--mono); font-size: 13px; color: var(--muted); }
.step h3 { font-size: 26px; letter-spacing: -.03em; margin: 14px 0 10px; font-weight: 600; }
.step p { color: var(--ink-2); margin: 0 0 28px; font-size: 16px; }
.step-visual { margin-top: auto; background: var(--bg); border-radius: 16px; padding: 18px; min-height: 140px; display: grid; gap: 10px; align-content: center; border: 1px solid var(--line); }
.step-visual.center { place-items: center; }
.field { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 10px 14px; display: grid; gap: 2px; font-size: 14.5px; }
.field-label { font-size: 11.5px; color: var(--muted); }
.typing { border-right: 1.5px solid var(--ink); width: fit-content; animation: caret 1s steps(1) infinite; padding-right: 2px; }
@keyframes caret { 50% { border-color: transparent; } }
.sync { display: flex; align-items: center; gap: 12px; }
.sync-node { font: 500 13px var(--mono); padding: 10px 14px; border-radius: 12px; background: #fff; border: 1px solid var(--line); }
.sync-line { position: relative; width: 110px; height: 1px; background: var(--line); overflow: hidden; }
.sync-line i { position: absolute; top: -1px; left: -30%; width: 30%; height: 3px; border-radius: 3px; background: var(--caramelo); animation: travel 1.8s ease-in-out infinite; }
@keyframes travel { to { left: 100%; } }
.diff { display: grid; gap: 8px; font: 13.5px/1.4 var(--mono); }
.diff-old { color: var(--muted); text-decoration: line-through; text-decoration-color: #CDBFAE; }
.diff-new { color: var(--tinta); background: var(--tinta-soft); padding: 8px 10px; border-radius: 8px; }
.route { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.route span { background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 10px; font-size: 14px; text-align: center; }

/* ---------- Seções escuras ---------- */
.dark { background: var(--dark); color: var(--on-dark); }
.dark .eyebrow { color: #E3A571; }
.dark .accent { color: #E3A571; }

/* ---------- Canais ---------- */
.channels { padding: 140px 0; }
.channels-head { margin-bottom: 56px; }
.channels-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 56px; align-items: center; }
.tabs { display: grid; gap: 4px; }
.tab {
  text-align: left; background: transparent; border: 0; color: inherit; cursor: pointer;
  padding: 22px 0 22px 24px; position: relative; display: grid; gap: 6px; font-family: var(--sans);
  border-left: 1px solid var(--dark-line); opacity: .45; transition: opacity .3s ease;
}
.tab:hover, .tab.is-active { opacity: 1; }
.tab strong { font-size: 22px; letter-spacing: -.025em; font-weight: 600; }
.tab span { font-size: 15px; color: var(--dark-muted); max-width: 40ch; }
.tab-bar { position: absolute; left: -1px; top: 0; width: 2px; height: 0; background: var(--bico); }
.tab.is-active .tab-bar { animation: fillbar 6s linear forwards; }
@keyframes fillbar { to { height: 100%; } }

.screens { position: relative; min-height: 520px; border-radius: 28px; background: var(--dark-2); border: 1px solid var(--dark-line); display: grid; place-items: center; overflow: hidden; }
.screen { grid-area: 1 / 1; width: 100%; display: grid; place-items: center; padding: 32px; opacity: 0; transform: translateY(14px); transition: opacity .5s ease, transform .5s ease; pointer-events: none; }
.screen.is-active { opacity: 1; transform: none; pointer-events: auto; }

.phone { width: 300px; border-radius: 34px; background: #efe9e1; overflow: hidden; color: var(--ink); box-shadow: 0 30px 60px -20px rgba(0,0,0,.6), 0 0 0 8px #1c1c1e; }
.phone-top { display: flex; align-items: center; gap: 10px; background: #f7f7f7; padding: 16px; border-bottom: 1px solid #e5e5e5; }
.phone-top strong { display: block; font-size: 14px; }
.phone-top span { font-size: 11.5px; color: var(--muted); }
.avatar { width: 34px; height: 34px; border-radius: 50%; background: var(--caramelo); color: #fff; display: grid; place-items: center; font-weight: 600; font-size: 14px; }
.chat { padding: 16px 14px 26px; display: grid; gap: 8px; min-height: 330px; align-content: end; }
.bubble { background: #fff; border-radius: 4px 14px 14px 14px; padding: 10px 12px 18px; font-size: 13.5px; line-height: 1.45; position: relative; box-shadow: 0 1px 1px rgba(0,0,0,.06); max-width: 92%; }
.bubble p { margin: 4px 0 0; }
.bubble .mono { font-size: 12px; }
.time { position: absolute; right: 10px; bottom: 5px; font-size: 10.5px; color: var(--muted); }

.mail { width: min(460px, 100%); background: #fff; color: var(--ink); border-radius: 18px; padding: 24px; box-shadow: 0 30px 60px -20px rgba(0,0,0,.6); }
.mail-head { display: grid; gap: 6px; padding-bottom: 16px; border-bottom: 1px solid var(--line); }
.mail-from { font-size: 12.5px; color: var(--muted); }
.mail-head strong { font-size: 19px; letter-spacing: -.02em; }
.mail-list { list-style: none; padding: 0; margin: 0; }
.mail-list li { display: grid; grid-template-columns: 1fr auto; gap: 2px 12px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.mail-list .mono { grid-column: 1 / -1; font-size: 11.5px; color: var(--muted); }
.mail-list b { font-weight: 500; font-size: 15px; }
.mail-list em { font-style: normal; font-size: 13px; color: var(--caramelo); }
.mail-foot { display: block; margin-top: 14px; font-size: 12px; color: var(--muted); }

.crm { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; width: min(500px, 100%); }
.crm-col { background: var(--dark-2); border-radius: 16px; padding: 14px; display: grid; gap: 10px; align-content: start; min-height: 260px; }
.crm-title { font-size: 12.5px; color: var(--dark-muted); }
.crm-card { background: #fff; color: var(--ink); border-radius: 12px; padding: 14px; display: grid; gap: 4px; font-size: 13.5px; }
.crm-card b { font-size: 14.5px; }
.crm-card span { color: var(--muted); }
.crm-card.muted { opacity: .75; }
.crm-card.highlight { box-shadow: 0 0 0 2px var(--bico); animation: lift 3s ease-in-out infinite; }
.crm-badge { justify-self: start; font-size: 11px; padding: 3px 8px; border-radius: 6px; background: #eef2f7; color: var(--caramelo) !important; font-weight: 500; }
.crm-owner { font-size: 12px; padding-top: 6px; border-top: 1px solid var(--line); margin-top: 4px; }
@keyframes lift { 50% { transform: translateY(-4px); } }

/* ---------- Soluções ---------- */
.solutions { padding: 140px 0; }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 24px; }
.offer { background: var(--card); border-radius: 28px; padding: 44px; box-shadow: var(--shadow); display: flex; flex-direction: column; align-items: flex-start; }
.offer-dev { background: var(--bg-2); box-shadow: none; }
.offer-tag { font-size: 13px; font-weight: 500; color: var(--caramelo); }
.offer h3 { font-size: clamp(26px, 2.6vw, 34px); line-height: 1.12; letter-spacing: -.035em; margin: 14px 0 16px; font-weight: 600; max-width: 18ch; }
.offer > p { color: var(--ink-2); margin: 0 0 26px; }
.checks { list-style: none; padding: 0; margin: 0 0 34px; display: grid; gap: 12px; width: 100%; }
.checks li { position: relative; padding: 0 0 12px 28px; font-size: 15.5px; border-bottom: 1px solid var(--line); }
.checks li::before { content: ""; position: absolute; left: 2px; top: 5px; width: 10px; height: 6px; border-left: 1.5px solid var(--ink); border-bottom: 1.5px solid var(--ink); transform: rotate(-45deg); }
.offer .btn { margin-top: auto; }

/* ---------- Devs ---------- */
.devs { padding: 140px 0; }
.devs-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 64px; align-items: center; }
.endpoints { list-style: none; padding: 0; margin: 0; border-top: 1px solid var(--dark-line); }
.endpoints li { display: grid; grid-template-columns: 64px 1fr; gap: 2px 14px; padding: 14px 0; border-bottom: 1px solid var(--dark-line); align-items: center; }
.endpoints code { font: 13.5px var(--mono); color: var(--on-dark); word-break: break-all; }
.endpoints li > span:last-child { grid-column: 2; font-size: 13.5px; color: var(--dark-muted); }
.verb { font: 600 11px var(--mono); padding: 4px 0; border-radius: 6px; text-align: center; grid-row: span 2; align-self: start; margin-top: 2px; }
.verb.post { background: #233452; color: #93B7F0; }
.verb.get { background: #1F3A2A; color: #7BD3A0; }
.verb.del { background: #3D1A18; color: #F2A69F; }

.code { background: var(--dark-2); border: 1px solid var(--dark-line); border-radius: 22px; overflow: hidden; min-width: 0; }
.code-tabs { display: flex; gap: 4px; padding: 10px; border-bottom: 1px solid var(--dark-line); }
.code-tab { background: transparent; border: 0; color: var(--dark-muted); font: 500 13px var(--sans); padding: 8px 14px; border-radius: 10px; cursor: pointer; }
.code-tab.is-active { background: var(--dark-line); color: #fff; }
.code-body { display: none; margin: 0; padding: 24px; overflow-x: auto; font: 13.5px/1.75 var(--mono); color: var(--on-dark); min-height: 330px; }
.code-body.is-active { display: block; }
.code-body .c { color: #8C7F74; }
.code-body .k { color: #F29A2E; }
.code-body .s { color: #F3E3CF; }
.code-body .p { color: #E3A571; }
.code-body .n { color: #7BD3A0; }

/* ---------- Cobertura ---------- */
.coverage { padding: 140px 0 100px; }
.coverage-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.courts { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.court { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 24px 26px; border-radius: 20px; background: var(--bg-2); color: var(--muted); }
.court.on { background: var(--card); color: var(--ink); box-shadow: var(--shadow); }
.court strong { display: block; font-size: 20px; letter-spacing: -.02em; font-weight: 600; }
.court div span { font-size: 14px; color: var(--muted); }

/* ---------- Confiança ---------- */
.trust { padding: 40px 0 140px; }
.trust-grid { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); }
.trust-item { padding: 32px 32px 0 0; }
.trust-item + .trust-item { padding-left: 32px; border-left: 1px solid var(--line); }
.trust-item h3 { font-size: 19px; letter-spacing: -.02em; margin: 0 0 8px; font-weight: 600; }
.trust-item p { margin: 0; color: var(--muted); font-size: 15.5px; }

/* ---------- FAQ ---------- */
.faq { padding: 120px 0 140px; background: var(--bg-2); }
.faq-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 64px; }
.faq-list details { border-bottom: 1px solid #DCCFBF; }
.faq-list details:first-child { border-top: 1px solid #DCCFBF; }
.faq-list summary { list-style: none; cursor: pointer; padding: 24px 40px 24px 0; font-size: 19px; font-weight: 500; letter-spacing: -.02em; position: relative; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: "+"; position: absolute; right: 4px; top: 50%; transform: translateY(-50%); font-size: 24px; font-weight: 300; color: var(--muted); transition: transform .3s ease; }
.faq-list details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq-list details p { margin: 0 0 24px; color: var(--ink-2); max-width: 60ch; }

/* ---------- Contato ---------- */
.contact { padding: 140px 0; }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; }
.form { display: grid; gap: 16px; background: var(--dark-2); border: 1px solid var(--dark-line); border-radius: 28px; padding: 32px; }
.form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form label { display: grid; gap: 8px; font-size: 13px; color: var(--dark-muted); }
.form input, .form select {
  height: 48px; border-radius: 12px; border: 1px solid var(--dark-line); background: #1A1618; color: #fff;
  padding: 0 14px; font: 15px var(--sans); outline: none; transition: border-color .2s; width: 100%;
}
.form input:focus, .form select:focus { border-color: #93B7F0; }
.form input.invalid { border-color: #F2A69F; }
.form .btn { justify-content: center; margin-top: 6px; }
.form-note { margin: 0; font-size: 13px; color: var(--dark-muted); text-align: center; }

/* ---------- Footer ---------- */
.footer { background: var(--dark); color: var(--dark-muted); border-top: 1px solid var(--dark-line); padding: 32px 0; font-size: 13px; }
.footer-grid { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; }
.footer .brand { color: var(--on-dark); font-size: 15px; }
.footer p { margin: 0; }

/* ---------- Reveal ---------- */
.js .reveal { opacity: 0; transform: translateY(24px); }

/* ---------- Responsivo ---------- */
@media (max-width: 980px) {
  .nav-links { display: none; }
  .hero-grid, .channels-grid, .devs-grid, .coverage-grid, .contact-grid, .faq-grid, .split { grid-template-columns: 1fr; gap: 44px; }
  .hero { padding-top: 120px; }
  .facts { grid-template-columns: 1fr 1fr; }
  .facts div:nth-child(3) { padding-left: 0; border-left: 0; }
  .toast { right: 0; }
  .how-pin { min-height: auto; }
  .how-track { flex-direction: column; padding: 0 24px; }
  .step { width: 100%; }
  .trust-grid { grid-template-columns: 1fr; }
  .trust-item, .trust-item + .trust-item { padding: 24px 0; border-left: 0; border-bottom: 1px solid var(--line); }
}
@media (max-width: 600px) {
  body { font-size: 16px; }
  .wrap { width: calc(100% - 32px); }
  .nav { padding-left: 16px; }
  .nav .btn-sm { padding: 0 12px; font-size: 12px; }
  .statement, .channels, .solutions, .devs, .contact { padding: 96px 0; }
  .coverage { padding: 96px 0 64px; }
  .faq { padding: 88px 0 96px; }
  .facts { grid-template-columns: 1fr; }
  .facts div, .facts div + div { padding: 18px 0; border-left: 0; border-bottom: 1px solid var(--line); }
  .offer { padding: 30px 24px; }
  .form { padding: 22px; }
  .form .row { grid-template-columns: 1fr; }
  .screens { min-height: 480px; }
  .screen { padding: 20px 14px; }
  .phone { width: 100%; max-width: 290px; }
  .crm { grid-template-columns: 1fr; }
  .crm-col { min-height: 0; }
  .how-track { padding: 0 16px; }
  .step { padding: 26px 22px; }
  .panel { padding: 20px; }
  .panel-head { flex-direction: column; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .reveal { opacity: 1; transform: none; }
  .glow-text .w { opacity: 1; }
}

/* ---------- Juri, o mascote ---------- */
.juri { display: block; width: 220px; height: auto; margin-top: 8px; filter: drop-shadow(0 18px 30px rgba(0,0,0,.35)); }
@media (max-width: 600px) { .juri { width: 170px; } }
.avatar img { width: 100%; height: 100%; border-radius: 50%; display: block; }

/* ---------- Nota da API (público secundário) ---------- */
.api-note { margin: 28px 0 0; font-size: 15.5px; color: var(--muted); }
.api-note a { color: var(--tinta); font-weight: 500; }
.api-note a:hover { text-decoration: underline; }

/* ---------- Entrar (acesso ao painel) ---------- */
.nav-actions { display: flex; align-items: center; gap: 14px; }
.nav-login { font-size: 13.5px; font-weight: 500; color: var(--ink-2); }
.nav-login:hover { color: var(--ink); }
.nav.on-dark .nav-login { color: var(--dark-muted); }
.nav.on-dark .nav-login:hover { color: #fff; }

/* ---------- Vídeo do painel no hero ---------- */
.hero-video {
  border-radius: 20px; overflow: hidden; background: var(--bg);
  box-shadow: 0 1px 2px rgba(35,30,32,.06), 0 30px 70px -24px rgba(35,30,32,.28), 0 0 0 1px rgba(35,30,32,.06);
  aspect-ratio: 1040 / 820; will-change: transform;
}
.hero-video video { display: block; width: 100%; height: 100%; object-fit: cover; }

/* ---------- Acessibilidade: título só para leitores de tela ---------- */
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

/* ---------- Contato: cadastro direto ---------- */
.contact-cta { margin-top: 4px; }
.contact-alt { margin: 18px 0 0; font-size: 14.5px; color: var(--dark-muted); max-width: 46ch; }
.btn-ghost-light { background: transparent; color: var(--on-dark); box-shadow: inset 0 0 0 1px var(--dark-line); }
.btn-ghost-light:hover { box-shadow: inset 0 0 0 1px #6B5E52; }
.trust-item a { color: var(--tinta); }

/* ---------- Rodapé ---------- */
.footer { padding: 64px 0 28px; }
.footer-top { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 2fr); gap: 56px; padding-bottom: 40px; border-bottom: 1px solid var(--dark-line); }
.footer-about p { margin: 16px 0 0; font-size: 14px; line-height: 1.65; color: var(--dark-muted); max-width: 44ch; }
.footer-cols { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
.footer-cols > div { display: grid; gap: 10px; align-content: start; }
.footer-title { margin: 0 0 4px; font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--on-dark); }
.footer-cols a { font-size: 14px; color: var(--dark-muted); transition: color .2s; }
.footer-cols a:hover { color: #fff; }
.footer-bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-top: 24px; font-size: 13px; }
.footer-bottom p { margin: 0; }
.footer-bottom a, .link-btn { color: var(--dark-muted); }
.footer-bottom a:hover, .link-btn:hover { color: #fff; }
.link-btn { background: none; border: 0; padding: 0; font: inherit; cursor: pointer; }
@media (max-width: 980px) {
  .footer-top { grid-template-columns: 1fr; gap: 36px; }
  .footer-cols { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* ---------- Aviso de cookies ---------- */
.cookie-bar {
  position: fixed; left: 24px; bottom: 24px; z-index: 60; max-width: 520px;
  display: flex; align-items: center; gap: 16px;
  background: var(--card); color: var(--ink); border-radius: 18px; padding: 16px 18px;
  box-shadow: 0 1px 2px rgba(35,30,32,.08), 0 18px 48px -12px rgba(35,30,32,.3); border: 1px solid var(--line);
  animation: cookieIn .35s ease;
}
.cookie-bar[hidden] { display: none; }
.cookie-bar p { margin: 0; font-size: 13.5px; line-height: 1.5; color: var(--ink-2); }
.cookie-bar a { color: var(--tinta); }
.cookie-bar .btn { flex: none; }
@keyframes cookieIn { from { opacity: 0; transform: translateY(12px); } }
@media (max-width: 600px) {
  .cookie-bar { left: 12px; right: 12px; bottom: 12px; flex-direction: column; align-items: stretch; }
}
