/* Nestor marketing site. Light and warm: a well-run agency office, not a dashboard.
   One motif runs the system: the arch of the Nestor symbol (an open door, an "n").
   Ground: warm paper. Ink: green-black. Brand field: deep green. Accent (the one action): the coral spark.
   No external requests: system fonts, self-hosted assets. Tokens come from docs/marca/MARCA.md. */
:root {
  --paper: #f8f4ec;
  --sand: #efe7d9;
  --sand-2: #e4d9c6;
  --white: #fffdf9;
  --ink: #1b2622;
  --ink-2: #3f4b46;
  --green: #0e3f38;
  --green-2: #155c51;
  --green-3: #1d6e61;
  --green-soft: #dcebe4;
  --on-green: #f8f4ec;
  --on-green-2: #cfe3db;
  --coral: #ff7a59;
  --coral-2: #ff9274;
  --coral-ink: #2a120a;
  --coral-soft: #ffe6dc;
  --amber-soft: #fbe7bf;
  --amber-ink: #6b4300;
  --link: #155c51;
  --serif: "Iowan Old Style", "Charter", "Palatino Linotype", "Book Antiqua", Georgia, serif;
  --sans: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --mono: ui-monospace, "SF Mono", Menlo, Consolas, monospace; /* taste-skill-ignore: only for real code on the developers page */
  --r: 20px;
  --arch: 999px 999px var(--r) var(--r);
  --wrap: 1240px;
  --gap-section: clamp(88px, 11vw, 168px);
  /* Legacy names still used by the product mockups. */
  --surface: var(--white);
  --sand-50: var(--paper);
  --sand-100: var(--sand);
  --sand-200: var(--sand-2);
  --sand-300: #d6c9b1;
  --ink-900: var(--ink);
  --ink-700: var(--ink-2);
  --ink-600: #4a5650;
  --brand-50: #eaf4ef;
  --brand-100: var(--green-soft);
  --brand-200: #b9d8cc;
  --brand-300: #8cc2b2;
  --brand-700: var(--green-2);
  --brand-900: var(--green);
  --accent-text: var(--green-2);
  --spark-100: var(--coral-soft);
  --spark-500: var(--coral);
  --spark-700: #8a2e14;
  --warn: #e9a23b;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 18px/1.6 var(--sans);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { max-width: 100%; display: block; }
h1, h2, h3 { font-family: var(--serif); font-weight: 600; line-height: 1.08; letter-spacing: -0.02em; margin: 0; text-wrap: balance; }
p { margin: 0 0 1em; text-wrap: pretty; }
a { color: var(--link); text-underline-offset: 3px; text-decoration-thickness: 1.5px; }
a:hover { color: var(--ink); }
code { font-family: var(--mono); font-size: 0.86em; background: var(--sand); padding: 0.1em 0.4em; border-radius: 6px; }
:focus-visible { outline: 3px solid var(--coral); outline-offset: 3px; border-radius: 6px; }
::selection { background: var(--green-soft); color: var(--ink); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; background: var(--ink); color: var(--paper); padding: 10px 14px; border-radius: 8px; z-index: 100; }
.skip:focus { top: 12px; color: var(--paper); }
.wrap { width: min(100% - 32px, var(--wrap)); margin-inline: auto; }
@media (min-width: 720px) { .wrap { width: min(100% - 64px, var(--wrap)); } }
.narrow { max-width: 820px; }
.wrap.narrow-left { max-width: 880px; margin-left: max(16px, calc((100% - var(--wrap)) / 2)); margin-right: auto; }
@media (min-width: 720px) { .wrap.narrow-left { margin-left: max(32px, calc((100% - var(--wrap)) / 2)); } }
.center { text-align: center; }
.ico { flex: none; }

/* Header: wordmark, a few plain links, one action. */
.site-header { position: sticky; top: 0; z-index: 50; background: var(--paper); }
.bar { display: flex; align-items: center; justify-content: space-between; min-height: 76px; gap: 16px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); font: 600 1.6rem/1 var(--serif); letter-spacing: -0.02em; }
.brand:hover { color: var(--ink); }
.nav ul { display: flex; gap: 2px; list-style: none; margin: 0; padding: 0; }
.nav { display: flex; align-items: center; gap: 16px; }
.nav a:not(.btn) { display: inline-block; padding: 10px 12px; color: var(--ink); text-decoration: none; font-size: 1rem; font-weight: 500; border-radius: 999px; transition: background-color 0.18s; }
.nav a:not(.btn):hover { background: var(--sand); }
.nav a[aria-current="page"] { background: var(--green-soft); color: var(--green); }
.menu-btn { display: none; }
@media (max-width: 1180px) {
  .js .menu-btn { display: inline-flex; flex-direction: column; justify-content: center; gap: 6px; width: 48px; height: 48px; padding: 0 12px; border: 0; background: var(--sand); cursor: pointer; border-radius: 999px; }
  .menu-btn i { display: block; height: 2px; background: var(--ink); border-radius: 2px; transition: transform 0.2s; }
  .menu-btn[aria-expanded="true"] i:first-of-type { transform: translateY(4px) rotate(45deg); }
  .menu-btn[aria-expanded="true"] i:last-of-type { transform: translateY(-4px) rotate(-45deg); }
  .nav { position: absolute; left: 0; right: 0; top: 100%; flex-direction: column; align-items: stretch; padding: 8px 16px 24px; background: var(--paper); box-shadow: 0 24px 32px -24px rgba(27, 38, 34, 0.35); } /* taste-skill-ignore: open menu overlay */
  .js .nav { display: none; }
  .js .nav.open { display: flex; }
  .nav ul { flex-direction: column; }
  .nav a:not(.btn) { padding: 14px 12px; font-size: 1.1rem; }
  .no-js .nav { position: static; flex-wrap: wrap; box-shadow: none; } /* taste-skill-ignore: removes it */
  .no-js .nav ul { flex-direction: row; flex-wrap: wrap; }
  .no-js .bar { flex-wrap: wrap; }
}

/* Buttons: fully round, flat. Coral is reserved for the one primary action. */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 56px; padding: 0 28px; border-radius: 999px; font: 650 1.06rem/1 var(--sans); text-decoration: none; border: 2px solid transparent; cursor: pointer; transition: transform 0.18s, background-color 0.18s, color 0.18s, border-color 0.18s; }
.btn:active { transform: translateY(1px) scale(0.99); }
.btn-sm { min-height: 46px; padding: 0 20px; font-size: 0.98rem; }
.btn-block { width: 100%; }
.btn-primary { background: var(--coral); color: var(--coral-ink); }
.btn-primary:hover { background: var(--coral-2); color: var(--coral-ink); transform: translateY(-2px); }
.btn-line { background: transparent; color: var(--green); border-color: var(--green); }
.btn-line:hover { background: var(--green); color: var(--on-green); }
.btn-light { background: var(--paper); color: var(--green); }
.btn-light:hover { background: var(--white); color: var(--ink); }
.quiet { display: inline-flex; align-items: center; min-height: 48px; padding: 0 4px; color: var(--ink); font-weight: 600; text-decoration: underline; text-decoration-color: var(--sand-300); text-underline-offset: 6px; text-decoration-thickness: 2px; transition: text-decoration-color 0.18s; }
.quiet:hover { color: var(--ink); text-decoration-color: var(--coral); }
.cta-row { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 24px; margin: 32px 0 14px; }
.cta-center { justify-content: center; }
.link { display: inline-flex; align-items: center; gap: 6px; font-weight: 650; text-decoration: none; transition: gap 0.18s; }
.link:hover { gap: 10px; }

/* Type */
.h2 { font-size: clamp(2rem, 3.8vw, 3.1rem); margin-bottom: 20px; max-width: 24ch; }
.h3, .feature h3 { font-size: clamp(1.5rem, 2.3vw, 1.9rem); margin-bottom: 12px; }
.lead { font-size: clamp(1.15rem, 1.6vw, 1.32rem); line-height: 1.55; color: var(--ink); max-width: 60ch; }
.lead-sm { color: var(--ink-2); max-width: 62ch; margin-bottom: 28px; }
.fine { font-size: 0.94rem; color: var(--ink-2); }
.section { padding: var(--gap-section) 0; }
.section-sand { background: var(--sand); }
.page-hero { padding: clamp(48px, 7vw, 104px) 0 clamp(16px, 3vw, 40px); position: relative; }
.page-hero h1 { font-size: clamp(2.3rem, 5vw, 4.2rem); letter-spacing: -0.035em; margin-bottom: 24px; max-width: 21ch; }
.page-hero + .section { padding-top: clamp(40px, 5vw, 72px); }
.page-hero .wrap { position: relative; }
/* The arch returns on every inner page: a flat green arch rising behind the hero, cropped at the right edge. */
.page-hero::after { content: ""; position: absolute; z-index: -1; right: -6vw; top: clamp(40px, 6vw, 80px); width: clamp(220px, 30vw, 460px); aspect-ratio: 0.82; border-radius: var(--arch); background: var(--green-soft); }
.page-hero { isolation: isolate; overflow: hidden; }
@media (max-width: 719px) { .page-hero::after { width: 46vw; right: -22vw; top: 24px; } }
.jump { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 28px; }
.jump a { padding: 12px 18px; border-radius: 999px; text-decoration: none; font-weight: 600; font-size: 0.98rem; color: var(--ink); background: var(--sand); transition: background-color 0.18s; }
.jump a:hover { background: var(--green-soft); color: var(--green); }

/* Features (como-funciona) */
.feature { display: grid; gap: 48px; align-items: center; margin-top: clamp(40px, 6vw, 80px); }
.feature:first-child { margin-top: 0; }
@media (min-width: 920px) { .feature { grid-template-columns: 1fr 1fr; gap: 80px; } .feature-flip .mock { order: -1; } }
.feature-tight { margin-top: 64px; }
.feature-ico { display: inline-grid; place-items: center; width: 56px; height: 64px; border-radius: 999px 999px 10px 10px; background: var(--green); color: var(--on-green); margin-bottom: 20px; }
.feature p { color: var(--ink); }
.checks { list-style: none; margin: 20px 0 22px; padding: 0; display: grid; gap: 12px; }
.checks li { position: relative; padding-left: 30px; color: var(--ink); }
/* List bullet: the arch at text size. */
.checks li::before { content: ""; position: absolute; left: 2px; top: 0.42em; width: 14px; height: 16px; border-radius: 999px 999px 3px 3px; background: var(--green-2); }
.checks b { color: var(--ink); }
.guards { margin: 64px 0 0; padding: clamp(24px, 4vw, 40px); background: var(--sand); border-radius: var(--r); }
.section-sand .guards { background: var(--paper); }
.guards h3 { font-size: 1.5rem; margin-bottom: 20px; }
.guards ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 20px; }
@media (min-width: 800px) { .guards ul { grid-template-columns: repeat(4, 1fr); gap: 28px; } }
.guards li { display: grid; grid-template-columns: auto 1fr; gap: 12px; color: var(--ink); font-size: 1rem; }
.guards li .ico { color: var(--green-2); margin-top: 3px; }

/* Product mockups (interface fragments, data-ui): flat surfaces, a solid bezel instead of shadows. */
.keep-light { color: var(--ink); }
.mock { position: relative; margin: 0 0 40px; }
.example-tag { display: inline-block; font: 600 0.84rem/1.3 var(--sans); color: var(--ink-2); }
.mock > .example-tag { position: absolute; left: 0; bottom: -34px; }
.mock-chat > .example-tag { left: 0; bottom: 6px; }
.mock-chat { margin-bottom: 0; width: 100%; padding: 32px 0 48px; }
.phone { width: min(320px, 86%); margin: 0 auto; background: var(--white); border-radius: 38px; border: 8px solid var(--ink); position: relative; z-index: 2; overflow: hidden; }
.phone-head { display: flex; align-items: center; gap: 10px; padding: 14px 14px 12px; background: var(--green); color: var(--on-green); }
.avatar { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: var(--green-3); }
.who { display: grid; line-height: 1.25; font-size: 0.94rem; }
.who small { color: var(--on-green-2); font-size: 0.8125rem; }
.chat { background: #f1eadc; padding: 14px 10px 18px; display: grid; gap: 8px; }
.msg { margin: 0; max-width: 86%; padding: 8px 11px 7px; border-radius: 14px; font-size: 0.86rem; line-height: 1.4; position: relative; }
.msg time { display: block; text-align: right; font-size: 0.8125rem; color: var(--ink-2); margin-top: 2px; }
.msg.in { background: var(--white); justify-self: start; border-top-left-radius: 4px; }
.msg.out { background: #d8efe5; justify-self: end; border-top-right-radius: 4px; }
.mock-chat .phone { margin: 0 auto 0 8%; }
.summary-card { position: absolute; z-index: 3; right: 0; bottom: 90px; width: 240px; background: var(--white); border-radius: 18px; padding: 16px 18px; border: 3px solid var(--green); }
.summary-title { display: flex; align-items: center; gap: 6px; font: 700 0.9rem/1.2 var(--sans); color: var(--spark-700); margin: 0 0 10px; }
.summary-title .ico { color: var(--coral); }
.summary-card dl { margin: 0; display: grid; gap: 6px; font-size: 0.86rem; }
.summary-card dl div { display: flex; justify-content: space-between; gap: 10px; }
.summary-card dt { color: var(--ink-2); }
.summary-card dd { margin: 0; font-weight: 650; text-align: right; }
.summary-card dt { flex: none; }
.summary-foot { margin: 10px 0 0; padding-top: 10px; font-size: 0.8125rem; color: var(--ink-2); background: none; }
.dot { display: inline-block; width: 10px; height: 10px; border-radius: 50%; margin-right: 4px; vertical-align: 0; }
.dot-hot { background: var(--coral); }
.dot-warm { background: var(--warn); }
.dot-cold { background: #8a99a3; }
@media (min-width: 920px) and (max-width: 1240px) { .mock-chat .phone { width: 66%; margin-left: 0; } .summary-card { width: 196px; } }
@media (max-width: 560px) {
  .mock-chat .phone { margin: 0 auto; }
  .summary-card { position: relative; right: auto; bottom: auto; width: min(320px, 92%); margin: -24px auto 0; }
  .mock-chat > .example-tag { position: static; display: block; margin-top: 14px; }
  .mock-chat { padding-bottom: 8px; }
}

.mock-qual, .mock-sla, .mock-mirror, .mock-crm { background: var(--white); border-radius: 24px; padding: 24px; }
.section-sand .mock-qual, .section-sand .mock-sla, .section-sand .mock-mirror, .section-sand .mock-crm { background: var(--white); }
.section:not(.section-sand) .mock-qual, .section:not(.section-sand) .mock-sla, .section:not(.section-sand) .mock-mirror, .section:not(.section-sand) .mock-crm { background: var(--sand); }
.mock-cap { font: 700 0.92rem/1.2 var(--sans); color: var(--ink-2); margin: 0 0 12px; }
.chips { list-style: none; margin: 0 0 20px; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.chips li { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 2px 8px; padding: 10px 12px; border-radius: 12px; background: var(--paper); font-size: 0.9rem; }
.chips li span { grid-column: 1 / -1; font-size: 0.8125rem; color: var(--ink-2); }
.chips li.is-done { background: var(--green-soft); }
.chips li.is-done .ico { color: var(--green-2); }
.chips li i { font-style: normal; font-size: 0.8125rem; color: var(--ink-2); }
.match-row { display: flex; gap: 12px; align-items: center; padding: 10px 0; }
.match-row b { display: block; font-size: 0.95rem; }
.match-row small { color: var(--ink-2); font-size: 0.84rem; }
.thumb { flex: none; width: 52px; height: 58px; border-radius: 999px 999px 6px 6px; background: var(--green-2); position: relative; overflow: hidden; }
.thumb::after { content: ""; position: absolute; inset: auto 9px 9px; height: 22px; background: repeating-linear-gradient(90deg, rgba(255,255,255,0.75) 0 6px, transparent 6px 11px); border-radius: 2px; } /* taste-skill-ignore: window stripes inside a product mockup */
.thumb.t2 { background: var(--coral); }

.sla-top { display: flex; align-items: center; gap: 18px; margin-bottom: 20px; }
.ring { position: relative; flex: none; width: 92px; height: 92px; display: grid; place-items: center; text-align: center; font-size: 0.8125rem; line-height: 1.2; color: var(--ink-2); }
.ring svg { position: absolute; inset: 0; width: 100%; height: 100%; transform: rotate(-90deg); }
.ring circle { fill: none; stroke-width: 7; }
.ring-bg { stroke: var(--sand-2); }
.ring-fg { stroke: var(--coral); stroke-linecap: round; stroke-dasharray: 100; stroke-dashoffset: 28; }
.ring b { font-size: 0.9rem; color: var(--ink); }
.sla-line { margin: 0 0 4px; font-size: 1rem; }
.sla-muted { color: var(--ink-2); font-size: 0.9rem; margin: 0; }
.queue { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.queue li { display: grid; grid-template-columns: auto 1fr auto; gap: 12px; align-items: center; padding: 10px 12px; border-radius: 14px; background: var(--paper); }
.queue li.q-now { background: var(--green-soft); }
.queue li.q-off { background: transparent; }
.queue li.q-off b { color: var(--ink-2); }
.queue b { display: block; font-size: 0.95rem; }
.queue small { color: var(--ink-2); font-size: 0.84rem; }
.queue em { font: 650 0.84rem/1 var(--sans); color: var(--ink-2); font-style: normal; font-variant-numeric: tabular-nums; }
.av { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; color: #fff; font-weight: 700; font-size: 0.88rem; background: var(--green-2); }
.av.a2 { background: #4a5a63; }
.av.a3 { background: #9a4a10; }

.phone-light { padding: 0 0 12px; width: min(300px, 86%); }
.push { display: flex; gap: 10px; align-items: flex-start; margin: 12px 12px 4px; padding: 10px 12px; background: var(--green); color: var(--on-green); border-radius: 16px; font-size: 0.84rem; line-height: 1.35; }
.push .ico { color: var(--coral); margin-top: 1px; }
.app-head { display: flex; justify-content: space-between; align-items: baseline; padding: 14px 18px 6px; font-family: var(--serif); font-size: 1.45rem; }
.app-head small { font: 500 0.84rem var(--sans); color: var(--ink-2); }
.todo { list-style: none; margin: 0; padding: 0 12px; display: grid; gap: 8px; }
.todo li { display: grid; grid-template-columns: auto 1fr; gap: 10px; padding: 12px; border-radius: 14px; background: var(--paper); font-size: 0.86rem; }
.todo .dot { margin-top: 5px; }
.todo b { display: block; font-size: 0.94rem; }
.todo small { color: var(--ink-2); display: block; font-size: 0.84rem; }
.todo em { display: block; margin-top: 6px; padding: 7px 9px; background: var(--coral-soft); color: var(--spark-700); border-radius: 10px; font-style: normal; font-size: 0.8125rem; }
.app-tabs { display: flex; justify-content: space-around; margin: 14px 12px 0; padding-top: 12px; font-size: 0.8125rem; color: var(--ink-2); }
.app-tabs .on { color: var(--green-2); font-weight: 700; }

.mirror-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin-bottom: 14px; flex-wrap: wrap; }
.mirror-head small { color: var(--ink-2); font-size: 0.84rem; }
.units { list-style: none; margin: 0 0 12px; padding: 0; display: grid; grid-template-columns: repeat(6, 1fr); gap: 6px; }
.units li { aspect-ratio: 1.25; display: grid; place-items: center; border-radius: 8px; font: 650 0.8125rem/1 var(--sans); font-variant-numeric: tabular-nums; }
.u-a { background: var(--green-soft); color: var(--green); }
.u-r { background: var(--amber-soft); color: var(--amber-ink); }
.u-s { background: var(--sand-2); color: #4a5559; text-decoration: line-through; }
.legend { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; padding: 0; margin: 0 0 16px; font-size: 0.8125rem; }
.legend li { padding: 4px 10px; border-radius: 999px; text-decoration: none; }
.reserve { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 14px; border-radius: 16px; background: var(--green); color: var(--on-green); flex-wrap: wrap; }
.reserve-main { display: flex; gap: 10px; align-items: center; }
.reserve-main .ico { color: var(--coral); }
.reserve b { display: block; font-size: 0.94rem; }
.reserve small { color: var(--on-green-2); font-size: 0.8125rem; }
.btn-fake { flex: none; background: var(--coral); color: var(--coral-ink); font-weight: 700; font-size: 0.86rem; padding: 8px 14px; border-radius: 999px; }
.board { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.col { background: var(--paper); border-radius: 14px; padding: 10px 8px; min-height: 150px; }
.col p { font: 700 0.8125rem/1.2 var(--sans); color: var(--ink-2); margin: 0 0 10px; }
.kcard { display: block; background: var(--white); border-radius: 10px; padding: 8px; font-size: 0.84rem; font-weight: 600; margin-bottom: 6px; }
.section:not(.section-sand) .col { background: var(--white); }
.section:not(.section-sand) .kcard { background: var(--paper); }
@media (max-width: 480px) { .board { grid-template-columns: repeat(2, 1fr); } .chips { grid-template-columns: 1fr; } }

/* Tiles: plain blocks, no boxes. The icon sits small, next to the heading. */
.tiles { display: grid; gap: 40px 56px; margin-top: 40px; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
@media (min-width: 900px) { .tiles { grid-template-columns: repeat(3, 1fr); } .tiles-2 { grid-template-columns: repeat(2, 1fr); } }
.tile { display: grid; grid-template-columns: auto 1fr; gap: 6px 14px; align-content: start; }
.tile .ico { color: var(--green-2); grid-row: span 2; margin-top: 4px; }
.tile h3 { font-size: 1.4rem; margin: 0; }
.tile p { color: var(--ink); margin: 0; font-size: 1rem; }
.two-up { display: grid; gap: 24px; }
@media (min-width: 900px) { .two-up { grid-template-columns: 1fr 1fr; gap: 32px; } .two-up-code { gap: 64px; align-items: start; } }
.panel { padding: clamp(28px, 4vw, 48px); background: var(--sand); border-radius: var(--r); }
.panel p { color: var(--ink); }
.panel-teal { background: var(--green); color: var(--on-green); border-radius: var(--arch); padding-top: clamp(72px, 9vw, 120px); }
.panel-teal p, .panel-teal .checks li { color: var(--on-green); }
.panel-teal a:not(.btn) { color: var(--on-green); }
.big-price { font: 600 clamp(2.4rem, 5vw, 3.4rem)/1 var(--serif); margin: 20px 0 24px; color: var(--ink); }

/* Pricing tiers: the two middle tiers sit on the green field, the obvious choice by placement and colour. */
.tiers { display: grid; gap: 12px; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); align-items: end; }
@media (min-width: 1100px) { .tiers { grid-template-columns: 1fr 1.15fr 1.15fr 1fr 1fr; } }
.tier { background: var(--sand); border-radius: var(--r); padding: 26px 24px; transition: transform 0.25s, background-color 0.25s; position: relative; }
.tier h2 { font: 600 1.45rem/1.15 var(--serif); }
.tier h2 small { display: block; font: 500 0.95rem var(--sans); color: var(--ink-2); margin-top: 4px; }
.tier .price { font: 600 2.5rem/1 var(--serif); margin: 24px 0 8px; letter-spacing: -0.03em; white-space: nowrap; font-variant-numeric: tabular-nums; }
@media (min-width: 1100px) { .tier .price { font-size: 2.2rem; } .tier .price small { display: block; margin: 6px 0 0; } }
.tier .price small { font: 500 0.95rem var(--sans); color: var(--ink-2); margin-left: 4px; letter-spacing: 0; }
.tier-note { font-size: 0.94rem; color: var(--ink-2); margin: 0; }
.tier-mid { background: var(--green); color: var(--on-green); border-radius: var(--arch); padding-top: 64px; }
@media (min-width: 1100px) { .tier-mid { padding-top: 88px; } }
.tier-mid h2 small, .tier-mid .price small, .tier-mid .tier-note { color: var(--on-green-2); }
.tier-flag { margin: 0 0 10px; font-size: 0.92rem; font-weight: 650; color: var(--coral-2); }
.tier.is-active { outline: 4px solid var(--coral); outline-offset: 3px; transform: translateY(-4px); }
.tier-over { background: var(--sand-2); }
.calc { display: grid; gap: 24px; margin-top: 40px; padding: clamp(24px, 4vw, 44px); background: var(--sand); color: var(--ink); border-radius: var(--r); }
@media (min-width: 760px) { .calc { grid-template-columns: 1.2fr 1fr; align-items: center; } }
.calc label { display: block; font: 600 1.3rem/1.3 var(--serif); margin-bottom: 14px; }
.calc input { width: 100%; max-width: 280px; min-height: 60px; padding: 0 18px; border-radius: 14px; border: 2px solid var(--sand-300); background: var(--white); color: var(--ink); font: 650 1.45rem var(--sans); font-variant-numeric: tabular-nums; }
.calc input:focus-visible { border-color: var(--green-2); }
.calc-hint { font-size: 0.94rem; color: var(--ink-2); margin: 10px 0 0; }
.calc-out p { margin: 0; }
.calc-out > p:first-child { font-size: 1rem; color: var(--ink-2); font-weight: 650; }
.calc-price { font: 600 clamp(2.6rem, 5vw, 3.6rem)/1.1 var(--serif); color: var(--green); font-variant-numeric: tabular-nums; }
.calc-tier { color: var(--ink-2); }

/* Cost per lead: plain arithmetic shown as a table. */
.per-lead { width: 100%; border-collapse: collapse; font-size: 1.02rem; font-variant-numeric: tabular-nums; }
.per-lead th, .per-lead td { text-align: left; padding: 14px 12px; }
.per-lead tbody tr:nth-child(odd) { background: var(--paper); }
.per-lead thead th { font-weight: 650; color: var(--ink-2); font-size: 0.95rem; }
.per-lead td:last-child { font-weight: 700; color: var(--green); }
.per-lead td { white-space: nowrap; }
@media (max-width: 520px) { .per-lead th, .per-lead td { padding: 12px 8px; font-size: 0.95rem; } }
.frame-grid { display: grid; gap: 48px; align-items: start; }
@media (min-width: 960px) { .frame-grid { grid-template-columns: 1fr 1fr; gap: 80px; } }
.compare-cards { display: grid; gap: 16px; }
.compare-cards article { padding: 24px 26px; border-radius: var(--r); background: var(--paper); }
.compare-cards h3 { font-size: 1.35rem; margin-bottom: 8px; }
.compare-cards p { margin: 0; }

/* Lost-sales calculator */
.loss-calc { display: grid; gap: 32px; margin-top: 40px; padding: clamp(22px, 4vw, 40px); background: var(--sand); border-radius: var(--r); }
@media (min-width: 900px) { .loss-calc { grid-template-columns: 1.1fr 1fr; } }
.loss-fields { display: grid; gap: 18px; }
.loss-out { align-self: center; }
.loss-row { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; margin: 0 0 14px; padding: 14px 16px; background: var(--paper); border-radius: 14px; }
.loss-row b { font: 600 1.6rem/1.1 var(--serif); white-space: nowrap; color: var(--green); font-variant-numeric: tabular-nums; }
.loss-calc .field input { width: 100%; min-height: 54px; padding: 10px 16px; border: 2px solid var(--sand-300); border-radius: 14px; background: var(--white); font: inherit; color: var(--ink); }
.loss-calc .field label { display: block; font-weight: 650; font-size: 1rem; margin-bottom: 8px; }

/* FAQ: filled panels, no lines. */
.faq { display: grid; gap: 10px; margin-top: 32px; }
.faq details { background: var(--white); border-radius: 18px; transition: background-color 0.2s; }
.section-sand .faq details { background: var(--paper); }
.section:not(.section-sand) .faq details { background: var(--sand); }
.faq details[open] { background: var(--green-soft) !important; }
.faq summary { cursor: pointer; padding: 20px 60px 20px 24px; font: 600 1.18rem/1.35 var(--serif); list-style: none; position: relative; min-height: 64px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 26px; top: 50%; width: 11px; height: 11px; border-right: 2.5px solid var(--green); border-bottom: 2.5px solid var(--green); transform: translateY(-70%) rotate(45deg); transition: transform 0.2s; }
.faq details[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
.faq summary:hover { color: var(--green); }
.faq-a { padding: 0 24px 8px; color: var(--ink); }

/* Migration */
.page-hero-migrar h1 { max-width: 18ch; }
.promise { display: flex; gap: 18px; align-items: flex-start; padding: 28px; border-radius: var(--r); background: var(--green); color: var(--on-green); margin-bottom: 72px; }
.promise p { margin: 0; font-size: 1.15rem; line-height: 1.5; color: var(--on-green); }
.promise b { color: #fff; }
.promise span { flex: none; display: grid; place-items: center; width: 52px; height: 60px; border-radius: 999px 999px 10px 10px; background: var(--green-3); color: var(--coral-2); }
.steps { list-style: none; margin: 40px 0 0; padding: 0; display: grid; gap: 14px; counter-reset: s; }
@media (min-width: 820px) { .steps { grid-template-columns: 1fr 1fr; } }
.steps li { display: grid; grid-template-columns: auto 1fr; gap: 20px; padding: 26px; background: var(--sand); border-radius: var(--r); }
.steps .n { display: grid; place-items: center; width: 48px; height: 56px; border-radius: 999px 999px 8px 8px; background: var(--green); color: var(--on-green); font: 600 1.35rem var(--serif); }
.steps h3 { font-size: 1.35rem; margin-bottom: 6px; }
.steps p { margin: 0; color: var(--ink); font-size: 1rem; }
.table-wrap { overflow-x: auto; border-radius: var(--r); background: var(--white); -webkit-overflow-scrolling: touch; }
.compare { width: 100%; border-collapse: collapse; font-size: 1rem; min-width: 640px; }
.compare th, .compare td { padding: 16px 20px; text-align: left; vertical-align: top; }
.compare tbody tr:nth-child(odd) { background: var(--paper); }
.compare thead th { background: var(--green); color: var(--on-green); font-size: 0.98rem; }
.compare tbody th { font-weight: 650; }
.yes, .no { display: inline-block; padding: 2px 10px; border-radius: 999px; font-weight: 700; font-size: 0.88rem; margin-right: 4px; }
.yes { background: var(--green-soft); color: var(--green); }
.no { background: var(--sand-2); color: #4a4f4c; }

/* LGPD */
.lgpd { display: grid; gap: 32px; margin: 32px 0 24px; }
@media (min-width: 900px) { .lgpd { grid-template-columns: 0.8fr 1.2fr; gap: 64px; } }
.lgpd-lead p { font: 500 1.45rem/1.45 var(--serif); color: var(--ink); }
.lgpd-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.lgpd-list li { padding: 16px 20px; background: var(--paper); border-radius: 14px; color: var(--ink); }
.lgpd-list b { color: var(--ink); }

/* Developers: the one place where code and monospace belong. */
.code { background: var(--ink); color: #eef2ef; border-radius: var(--r); padding: 22px 24px; overflow: hidden; }
.code-cap { display: flex; justify-content: space-between; gap: 10px; align-items: center; font: 650 0.92rem var(--sans); color: var(--on-green-2); margin: 0 0 12px; flex-wrap: wrap; }
.code .example-tag { color: var(--on-green-2); }
.code pre { margin: 0; overflow-x: auto; font: 0.86rem/1.65 var(--mono); }
.code code { background: none; padding: 0; font-size: inherit; color: #eef2ef; }
.events { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.events li { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 16px; padding: 14px 18px; background: var(--paper); border-radius: 14px; align-items: center; }
.events span { color: var(--ink-2); font-size: 0.95rem; }

/* Contact */
.two-up-form { align-items: start; }
@media (min-width: 900px) { .two-up-form { grid-template-columns: 1.3fr 0.7fr; gap: 64px; } }
.form { background: var(--sand); border-radius: var(--r); padding: clamp(22px, 4vw, 44px); }
.form fieldset { border: 0; margin: 0; padding: 0; min-width: 0; display: grid; gap: 20px; }
.field label, .field .label { display: block; font-weight: 650; font-size: 1rem; margin-bottom: 8px; }
.field input:not([type="radio"]):not([type="checkbox"]), .field select, .field textarea { width: 100%; min-height: 54px; padding: 12px 16px; border: 2px solid var(--sand-300); border-radius: 14px; background: var(--white); font: inherit; color: var(--ink); }
.field textarea { resize: vertical; }
.field input:focus-visible, .field select:focus-visible, .field textarea:focus-visible { outline: 3px solid var(--coral); border-color: var(--green-2); }
.grid-2 { display: grid; gap: 20px; }
@media (min-width: 640px) { .grid-2 { grid-template-columns: 1fr 1fr; } }
.radio-row [role="radiogroup"] { display: flex; flex-wrap: wrap; gap: 8px; }
.radio-row label { display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; background: var(--white); border-radius: 999px; font-weight: 500; cursor: pointer; margin: 0; min-height: 48px; }
.radio-row label:has(input:checked) { background: var(--green-soft); outline: 2px solid var(--green-2); outline-offset: -2px; }
.opt { font-weight: 400; color: var(--ink-2); }
.consent label { display: flex; gap: 10px; align-items: flex-start; font-weight: 400; font-size: 0.96rem; color: var(--ink); }
.consent input { margin-top: 4px; width: 20px; height: 20px; flex: none; }
.hp { position: absolute; left: -9999px; }
.form-status { margin: 0; font-weight: 650; min-height: 1.4em; }
.form-status.err { color: #a3241a; }
.form-status.ok { color: var(--green-2); }
.notice { display: flex; gap: 12px; padding: 16px 18px; margin-bottom: 24px; background: var(--coral-soft); color: var(--spark-700); border-radius: 14px; font-size: 1rem; }
.notice p { margin: 0; }
.form fieldset:disabled { opacity: 0.65; }
.aside { padding: 8px 0; }
.mini-steps { padding-left: 1.3em; display: grid; gap: 16px; color: var(--ink); }
.aside-wa { margin-top: 32px; padding: 28px; border-radius: var(--arch); padding-top: 64px; background: var(--green); color: var(--on-green); }
.aside-wa h3 { font-size: 1.4rem; margin-bottom: 8px; }
.aside-wa p { color: var(--on-green); }

/* Legal */
.prose { max-width: 760px; }
.prose h2 { font-size: 1.55rem; margin: 2em 0 0.5em; }
.prose ul { padding-left: 1.2em; }
.draft { padding: 18px 20px; border-radius: 14px; background: var(--coral-soft); color: var(--spark-700); margin-bottom: 8px; }

/* Final CTA: deep green field, the arch rising behind the sentence. */
.final { background: var(--green); color: var(--on-green); padding: clamp(96px, 12vw, 176px) 0; position: relative; overflow: hidden; isolation: isolate; }
.final::before { content: ""; position: absolute; z-index: -1; left: 50%; bottom: -12%; width: min(860px, 120vw); aspect-ratio: 1.1; transform: translateX(-50%); border-radius: var(--arch); background: var(--green-2); }
.final-in { position: relative; text-align: center; max-width: 780px; }
.final h2 { font-size: clamp(2.2rem, 4.6vw, 3.6rem); margin: 0 auto 18px; max-width: 18ch; color: var(--on-green); }
.final p { color: var(--on-green); font-size: 1.18rem; max-width: 52ch; margin-inline: auto; }
.final .cta-row { justify-content: center; }
.final .quiet { color: var(--on-green); text-decoration-color: rgba(248, 244, 236, 0.45); }
.final .quiet:hover { color: #fff; text-decoration-color: var(--coral); }

/* Footer: the arch mark built large, then plain links. */
.site-footer { background: var(--ink); color: var(--on-green); padding: clamp(64px, 8vw, 112px) 0 32px; font-size: 1rem; }
.site-footer a { color: var(--on-green); text-decoration: none; display: inline-block; padding: 7px 0; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.foot-top { display: flex; align-items: flex-end; gap: clamp(24px, 4vw, 56px); margin-bottom: clamp(48px, 6vw, 80px); flex-wrap: wrap; }
.foot-mark .symbol { width: clamp(84px, 10vw, 140px); height: auto; }
.foot-line { font: 600 clamp(1.6rem, 3.2vw, 2.6rem)/1.15 var(--serif); letter-spacing: -0.02em; margin: 0; max-width: 26ch; }
.foot-sub { margin: 12px 0 0; color: var(--on-green-2); max-width: 52ch; }
.foot-grid { display: grid; gap: 36px; grid-template-columns: 1fr 1fr; }
@media (min-width: 860px) { .foot-grid { grid-template-columns: 1fr 1.4fr 1fr 1fr; } }
.site-footer h2 { font: 650 1.05rem/1.2 var(--sans); color: var(--on-green-2); margin-bottom: 10px; letter-spacing: 0; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.foot-legal { margin-top: 56px; font-size: 0.9rem; color: var(--on-green-2); }
.foot-legal p { margin: 0; max-width: 76ch; }

/* Mobile sticky CTA. On the home it appears only after the hero button scrolls away (site.js). */
.mobile-cta { display: none; }
@media (max-width: 720px) {
  .mobile-cta { display: block; position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); background: var(--paper); box-shadow: 0 -16px 24px -20px rgba(27, 38, 34, 0.4); transition: transform 0.25s; } /* taste-skill-ignore: sticky bar over content */
  .mobile-cta.is-hidden { transform: translateY(110%); visibility: hidden; transition: transform 0.25s, visibility 0s 0.25s; }
  body { padding-bottom: 84px; }
  .page-contact .mobile-cta { display: none; }
  .page-contact { padding-bottom: 0; }
}

@media (prefers-reduced-motion: no-preference) {
  .enter { opacity: 0; transform: translateY(22px); transition: opacity 0.6s ease var(--d, 0ms), transform 0.6s cubic-bezier(0.2, 0.7, 0.2, 1) var(--d, 0ms); }
  .enter.in { opacity: 1; transform: none; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; scroll-behavior: auto !important; animation: none !important; }
}
