/* Wisa Consult — visual clássico, versão "business".
   Identidade institucional: azul-marinho profundo como cor de marca, branco e cinzas frios, um azul vivo só para links e foco.
   Títulos e interface em IBM Plex Sans (600 nos títulos); Source Serif 4 apenas no depoimento e em números de destaque.
   Grid de 12 colunas, escala de 8px, cantos de 4–6px, sombras mínimas. */
:root {
  --ink: #0f1720;
  --ink-2: #364152;
  --muted: #5a6575;
  --line: #e6eaf0;
  --line-2: #d2d9e3;
  --bg: #f5f7fa;            /* fundo das áreas logadas e superfícies suaves */
  --paper: #ffffff;
  --cream: #f5f7fa;         /* seções alternadas */
  --navy: #0f2340;          /* marca (nome mantido porque os scripts usam) */
  --navy-2: #0a1a31;
  --wine: #0f2340;          /* ação principal = marca */
  --wine-2: #1b3a66;
  --wine-soft: #e8eef7;
  --accent: #1f5fbf;        /* links e foco (AA sobre branco) */
  --gold: #9db9e4;          /* acento legível sobre fundo escuro */
  --gold-2: #7fa2d6;
  --gold-soft: #eef3fa;
  --dark: #0f2340;
  --dark-2: #172f52;
  --dark-line: rgba(255, 255, 255, .14);
  --ok: #1f6b4a; --ok-soft: #e3f1ea;
  --warn: #8a5a0b; --warn-soft: #f7eedc;
  --err: #a8322b; --err-soft: #f8e3e1;
  --info: #1f5fbf; --info-soft: #e6eefa;
  --radius: 4px;
  --radius-lg: 6px;
  --shadow: 0 1px 2px rgba(15, 23, 32, .06), 0 12px 32px rgba(15, 23, 32, .10);
  --shadow-sm: 0 1px 2px rgba(15, 23, 32, .05), 0 4px 12px rgba(15, 23, 32, .05);
  --head: 'IBM Plex Sans', 'Segoe UI', system-ui, -apple-system, 'Helvetica Neue', Arial, sans-serif;
  --sans: 'IBM Plex Sans', 'Segoe UI', system-ui, -apple-system, 'Helvetica Neue', Arial, sans-serif;
  --quote: 'Source Serif 4', Georgia, 'Times New Roman', serif;
  --gutter: 24px;
  /* nomes usados pelos scripts compartilhados com as outras demos */
  --rose: var(--wine); --rose-2: var(--wine-2); --rose-soft: var(--wine-soft); --sand: var(--gold-soft); --serif: var(--head); --teal: var(--wine); --teal-2: var(--wine-2); --teal-soft: var(--wine-soft);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; }
body { margin: 0; font-family: var(--sans); font-weight: 400; color: var(--ink); background: var(--bg); font-size: 16px; line-height: 1.6; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; font-variant-numeric: lining-nums; }
body.home { overflow-x: hidden; background: #fff; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
::selection { background: var(--navy); color: #fff; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
h1, h2, h3, h4 { font-family: var(--head); font-weight: 600; line-height: 1.2; margin: 0 0 .5em; letter-spacing: -.012em; color: var(--ink); }
h1 { font-size: clamp(2.25rem, 3.7vw, 3.25rem); line-height: 1.1; letter-spacing: -.024em; }
h2 { font-size: clamp(1.75rem, 2.5vw, 2.375rem); line-height: 1.16; letter-spacing: -.02em; }
h3 { font-size: 1.25rem; }
p { margin: 0 0 1em; }
.muted { color: var(--muted); }
.ico { width: 1.1em; height: 1.1em; flex: none; vertical-align: -.18em; }
.eyebrow { font-size: .8rem; color: var(--muted); font-weight: 500; margin-bottom: 14px; display: block; }
.rule { width: 48px; height: 2px; background: var(--navy); margin: 16px 0; border: 0; }
.container { width: min(1240px, 100% - 64px); margin-inline: auto; }
.row { display: flex; align-items: center; flex-wrap: wrap; }
.row.end { justify-content: flex-end; }
.row.between { justify-content: space-between; }
.gap { gap: 10px; }
.grow { flex: 1; }
.hide { display: none !important; }
.skip { position: absolute; left: 16px; top: -60px; z-index: 300; background: var(--navy); color: #fff; padding: 10px 14px; text-decoration: none; border-radius: var(--radius); }
.skip:focus { top: 12px; }

/* ---------- botões e campos ---------- */
.btn { --b: var(--navy); display: inline-flex; align-items: center; justify-content: center; gap: 8px; border: 1px solid var(--b); background: var(--b); color: #fff;
  font: 500 .9375rem/1 var(--sans); letter-spacing: 0; padding: 14px 22px; border-radius: var(--radius); cursor: pointer; text-decoration: none; transition: background .2s, border-color .2s, color .2s, box-shadow .2s; white-space: nowrap; }
.btn:hover { background: var(--wine-2); border-color: var(--wine-2); }
.btn:active { transform: translateY(1px); }
.btn .ico { width: 1.1em; height: 1.1em; stroke-width: 1.8; transition: transform .2s; }
.btn:hover .ico { transform: translateX(2px); }
.btn.rose, .btn.coral { --b: var(--wine); color: #fff; }
.btn.rose:hover, .btn.coral:hover { background: var(--wine-2); border-color: var(--wine-2); }
.btn.ghost { background: #fff; color: var(--ink); border-color: var(--line-2); }
.btn.ghost:hover { border-color: var(--navy); color: var(--navy); background: #fff; }
.btn.outline { background: transparent; color: var(--navy); border-color: var(--navy); }
.btn.outline:hover { background: var(--navy); color: #fff; }
.btn.light { background: #fff; color: var(--ink); border-color: #fff; }
.btn.danger { --b: var(--err); color: #fff; }
.btn.danger:hover { background: #8e2923; border-color: #8e2923; }
.btn.sm { padding: 10px 14px; font-size: .875rem; }
.btn.block { width: 100%; }
.btn:disabled { opacity: .45; cursor: not-allowed; }
.link { background: none; border: 0; color: var(--accent); font: inherit; font-weight: 500; cursor: pointer; padding: 0; text-decoration: underline; text-decoration-color: rgba(31, 95, 191, .35); text-underline-offset: 3px; }
.link:hover { text-decoration-color: currentColor; }
.tlink { display: inline-flex; align-items: center; gap: 8px; color: var(--accent); font-weight: 500; text-decoration: none; }
.tlink:hover { text-decoration: underline; text-underline-offset: 4px; }
.tlink .ico { transition: transform .2s; }
.tlink:hover .ico { transform: translateX(3px); }
label.f { display: block; font-size: .84rem; font-weight: 500; color: var(--ink-2); margin-bottom: 14px; }
label.f span { display: block; margin-bottom: 6px; }
.in, select.in, textarea.in { width: 100%; font: 400 .97rem var(--sans); color: var(--ink); background: #fff; border: 1px solid var(--line-2); border-radius: var(--radius); padding: 11px 13px; transition: .15s; }
.in:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(31, 95, 191, .16); }
.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0 14px; }
.switch { position: relative; width: 46px; height: 26px; flex: none; }
.switch input { opacity: 0; width: 0; height: 0; position: absolute; }
.switch i { position: absolute; inset: 0; background: var(--line-2); border-radius: 99px; transition: .2s; cursor: pointer; }
.switch i::after { content: ''; position: absolute; left: 3px; top: 3px; width: 20px; height: 20px; border-radius: 50%; background: #fff; transition: .2s; box-shadow: 0 1px 3px rgba(0, 0, 0, .2); }
.switch input:checked + i { background: var(--navy); }
.switch input:checked + i::after { transform: translateX(20px); }
.switch input:focus-visible + i { outline: 2px solid var(--accent); outline-offset: 2px; }
.seg-ctl { display: flex; border: 1px solid var(--line-2); border-radius: var(--radius); overflow: hidden; }
.seg-ctl label { flex: 1; text-align: center; padding: 10px; cursor: pointer; font-size: .88rem; font-weight: 500; color: var(--ink-2); background: #fff; display: flex; gap: 6px; justify-content: center; align-items: center; }
.seg-ctl label + label { border-left: 1px solid var(--line-2); }
.seg-ctl input { display: none; }
.seg-ctl label.on { background: var(--navy); color: #fff; }

/* ---------- faixa de demonstração (discreta) ---------- */
.demo-bar { background: var(--navy-2); color: #a9b6c9; font-size: .76rem; padding: 7px 32px; display: flex; justify-content: space-between; align-items: center; gap: 10px; flex-wrap: wrap; position: relative; z-index: 60; }
.demo-bar b { color: #eef2f8; font-weight: 500; }
.demo-bar .ico { color: var(--gold); }
.demo-links { display: flex; gap: 20px; align-items: center; flex-wrap: wrap; }
.demo-links a, .demo-links button { color: #dce5f2; background: none; border: 0; font: inherit; cursor: pointer; padding: 0; text-decoration: underline; text-decoration-color: rgba(255, 255, 255, .25); text-underline-offset: 3px; display: inline-flex; gap: 5px; align-items: center; }
.demo-links a:hover, .demo-links button:hover { color: #fff; text-decoration-color: #fff; }

/* ---------- logotipo: monograma + nome ---------- */
.logo { font-family: var(--sans); font-weight: 600; font-size: 1.25rem; letter-spacing: -.01em; text-decoration: none; display: flex; align-items: center; gap: 12px; color: var(--ink); }
.logo::before { content: 'W'; flex: none; width: 38px; height: 38px; display: grid; place-items: center; background: var(--navy); color: #fff; font: 500 1.375rem/1 var(--quote); border-radius: 3px; letter-spacing: 0; }
.logo em { font-style: normal; font-weight: 400; color: var(--ink-2); }
.logo small { font-family: var(--sans); font-size: .6875rem; letter-spacing: .01em; color: var(--muted); font-weight: 400; display: block; line-height: 1.2; margin-top: 4px; }
.logo span.t { display: block; line-height: 1; white-space: nowrap; }

/* ---------- cabeçalho ---------- */
.nav { position: sticky; top: 0; z-index: 50; background: #fff; border-bottom: 1px solid var(--line); }
.nav .container { display: flex; align-items: center; justify-content: space-between; height: 76px; gap: 32px; }
.nav-links { display: flex; gap: 4px; font-size: .9375rem; margin-right: auto; margin-left: 16px; }
.nav-links a { text-decoration: none; color: var(--ink-2); white-space: nowrap; padding: 8px 12px; border-radius: var(--radius); transition: color .2s, background .2s; font-weight: 500; }
.nav-links a:hover { color: var(--navy); background: var(--cream); }
.nav-links a[href="#portal"] { display: none; }   /* no computador o acesso ao portal fica no botão ao lado */
.nav-cta { display: flex; gap: 8px; align-items: center; }
.nav .btn.ghost { border-color: var(--line-2); color: var(--ink); }
.nav .btn.outline { background: var(--navy); color: #fff; }
.nav .btn.outline:hover { background: var(--wine-2); border-color: var(--wine-2); }
.burger { display: none; background: none; border: 1px solid var(--line-2); border-radius: var(--radius); padding: 7px; cursor: pointer; color: var(--ink); }
.burger .ico { width: 22px; height: 22px; stroke-width: 1.6; display: block; }

/* ---------- grid de 12 colunas e rótulos ---------- */
.g12 { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gutter); }
.kicker { display: flex; align-items: center; gap: 12px; font-size: .875rem; font-weight: 600; color: var(--accent); margin: 0 0 16px; }
.kicker::before { content: ''; width: 24px; height: 2px; background: currentColor; }
.sec-no { display: none; }

/* ---------- hero ---------- */
.hero { padding: 72px 0 0; background: #fff; }
.hero-grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gutter); align-items: center; padding-bottom: 72px; }
.hero-copy { grid-column: 1 / span 6; }
.hero-meta { font-size: .875rem; color: var(--muted); margin: 0 0 20px; font-weight: 500; display: inline-block; padding: 6px 12px; background: var(--cream); border: 1px solid var(--line); border-radius: var(--radius); }
.hero h1 { margin-bottom: 24px; max-width: 20ch; font-size: clamp(2.25rem, 3.4vw, 3rem); }
.hero .lead { font-size: 1.125rem; line-height: 1.65; color: var(--ink-2); max-width: 34em; margin: 0 0 32px; }
.hero-actions { display: flex; gap: 12px 16px; align-items: center; flex-wrap: wrap; }
.hero-note { margin: 24px 0 0; font-size: .9rem; color: var(--muted); display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.hero-note .ico { color: var(--navy); }
.hero-note a { color: var(--ink); font-weight: 600; text-decoration: none; }
.hero-note a:hover { color: var(--accent); }
.hero-fig { grid-column: 7 / span 6; margin: 0; position: relative; }
.hero-fig img { width: 100%; aspect-ratio: 5 / 4; object-fit: cover; object-position: 50% 50%; filter: saturate(.8) contrast(1.04); border-radius: var(--radius-lg); }
.hero-fig figcaption { position: absolute; left: 16px; bottom: 16px; background: rgba(255, 255, 255, .96); color: var(--ink-2); font-size: .8125rem; padding: 8px 12px; border-radius: var(--radius); }
.kpis-band { background: var(--navy); color: #c9d4e4; }
.facts { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); margin: 0; }
.facts > div { padding: 32px 24px 32px 0; }
.facts > div + div { padding-left: 24px; border-left: 1px solid var(--dark-line); }
.facts dt { font-size: .8125rem; color: #a9b9d0; margin-bottom: 8px; font-weight: 500; }
.facts dd { margin: 0; font-size: .875rem; line-height: 1.45; color: #c9d4e4; }
.facts dd b { display: block; font-family: var(--sans); font-weight: 600; font-size: 2.25rem; line-height: 1; letter-spacing: -.02em; color: #fff; margin-bottom: 8px; font-variant-numeric: tabular-nums; }
.facts dd b.sm { font-size: 1.25rem; line-height: 1.8rem; letter-spacing: 0; }

/* faixa de confiança */
.trust { border-bottom: 1px solid var(--line); background: #fff; }
.trust-row { display: flex; align-items: center; gap: 48px; padding: 28px 0; }
.trust-title { margin: 0; font-size: .875rem; font-weight: 600; color: var(--ink-2); flex: none; line-height: 1.3; }
.trust-title small { display: block; font-weight: 400; color: var(--muted); font-size: .75rem; }
.trust-logos { list-style: none; margin: 0; padding: 0; display: flex; flex: 1; justify-content: space-between; align-items: center; gap: 16px 32px; flex-wrap: wrap; color: #6b7584; }
.trust-logos li { white-space: nowrap; font-size: 1.125rem; line-height: 1; }
.tl-a { font-family: var(--quote); font-weight: 500; font-size: 1.25rem !important; }
.tl-b { font-weight: 600; letter-spacing: .14em; font-size: 1rem !important; }
.tl-b span, .tl-f span { font-weight: 400; letter-spacing: .02em; text-transform: none; margin-left: 4px; font-size: .875rem; }
.tl-c { font-weight: 300; letter-spacing: .02em; }
.tl-c::first-letter { font-weight: 600; }
.tl-d { font-weight: 600; letter-spacing: -.03em; font-size: 1.25rem !important; }
.tl-d span { font-weight: 400; }
.tl-e { font-family: var(--quote); font-style: italic; font-size: 1.25rem !important; }
.tl-f { font-weight: 600; letter-spacing: .2em; font-size: .9375rem !important; }

/* ---------- seções ---------- */
section.block { padding: 96px 0; }
section.alt, .method, .portal-sec { background: var(--cream); }
.sec-head { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gutter); align-items: end; margin-bottom: 48px; }
.sec-head > div { grid-column: 1 / span 7; }
.sec-head h2 { margin: 0; max-width: 26ch; }
.sec-head > p { grid-column: 9 / span 4; margin: 0; color: var(--ink-2); font-size: 1rem; line-height: 1.6; }
.sec-head p small { display: block; margin-top: 8px; font-size: .8125rem; }

/* sobre */
.about-main { grid-column: 1 / span 7; }
.about-main h2 { max-width: 24ch; margin-bottom: 24px; }
.about-text { color: var(--ink-2); max-width: 40em; }
.about-text p { line-height: 1.7; }
.principles { list-style: none; margin: 40px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--gutter); }
.principles li { border-top: 2px solid var(--navy); padding-top: 16px; }
.principles b { display: block; font-weight: 600; margin-bottom: 4px; }
.principles span { font-size: .9375rem; color: var(--ink-2); line-height: 1.55; display: block; }
.about-side { grid-column: 9 / span 4; }
.about-side img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; filter: grayscale(.25) contrast(1.05); border-radius: var(--radius-lg); margin-bottom: 24px; }
.notes { margin: 0; display: grid; grid-template-columns: 112px 1fr; border-top: 1px solid var(--line-2); }
.notes dt, .notes dd { margin: 0; padding: 12px 0; border-bottom: 1px solid var(--line); font-size: .9375rem; }
.notes dt { color: var(--muted); font-size: .875rem; }
.notes dd { color: var(--ink); }

/* áreas de atuação: grade de cartões */
.areas { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--gutter); }
.area { position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 32px 28px 28px; display: flex; flex-direction: column; transition: border-color .2s, box-shadow .2s; }
.area::before { content: ''; position: absolute; left: -1px; right: -1px; top: -1px; height: 3px; background: var(--navy); border-radius: var(--radius-lg) var(--radius-lg) 0 0; transform: scaleX(0); transform-origin: left; transition: transform .3s; }
.area:hover { border-color: var(--line-2); box-shadow: var(--shadow-sm); }
.area:hover::before { transform: none; }
.area .ic { display: none; }
.area h3 { font-size: 1.25rem; margin: 0 0 8px; }
.area p { color: var(--ink-2); font-size: .9375rem; line-height: 1.55; margin: 0 0 24px; }
.area ul { list-style: none; padding: 0; margin: 0 0 24px; font-size: .875rem; color: var(--ink-2); }
.area ul::before { content: 'Consultas e serviços'; display: block; font-size: .75rem; font-weight: 600; color: var(--muted); margin-bottom: 8px; }
.area li { display: flex; justify-content: space-between; gap: 16px; padding: 8px 0; border-top: 1px solid var(--line); }
.area li span:last-child { color: var(--ink); font-variant-numeric: tabular-nums; white-space: nowrap; font-weight: 500; }
.area .link { margin-top: auto; font-size: .9375rem; color: var(--accent); text-decoration: none; display: inline-flex; gap: 8px; align-items: center; white-space: nowrap; align-self: flex-start; }
.area .link::after { content: ''; position: absolute; inset: 0; }  /* o cartão inteiro é clicável */
.area .link .ico { transition: transform .2s; }
.area:hover .link { text-decoration: underline; text-underline-offset: 4px; }
.area:hover .link .ico { transform: translateX(3px); }
.area:has(.link:focus-visible) { outline: 2px solid var(--accent); outline-offset: 2px; }

/* setores */
.sectors-head { grid-column: 1 / span 4; }
.sectors-head p:last-child { color: var(--ink-2); margin: 0; }
.sectors { grid-column: 6 / span 7; list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; column-gap: var(--gutter); border-top: 1px solid var(--line-2); align-self: start; }
.sectors li { padding: 16px 0; border-bottom: 1px solid var(--line); display: grid; gap: 2px; }
.sectors b { font-weight: 600; }
.sectors span { font-size: .875rem; color: var(--muted); }

/* como trabalhamos: etapas com prazo */
.steps4 { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--gutter); }
.steps4 li { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 24px; display: flex; flex-direction: column; }
.steps4 i { font-style: normal; font-weight: 600; font-size: .875rem; color: var(--accent); font-variant-numeric: tabular-nums; margin-bottom: 16px; }
.steps4 b { display: block; font-weight: 600; font-size: 1.125rem; margin-bottom: 8px; }
.steps4 p { color: var(--ink-2); margin: 0 0 16px; font-size: .9375rem; line-height: 1.55; }
.steps4 small { margin-top: auto; padding-top: 12px; border-top: 1px solid var(--line); font-size: .8125rem; color: var(--navy); font-weight: 600; }
.sla { margin-top: 48px; display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gutter); align-items: start; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 32px; }
.sla-copy { grid-column: 1 / span 5; }
.sla-copy h3 { margin-bottom: 8px; }
.sla-copy p { color: var(--ink-2); font-size: .9375rem; margin-bottom: 24px; max-width: 36em; }
.sla-t { grid-column: 7 / span 6; width: 100%; border-collapse: collapse; font-size: .9375rem; }
.sla-t th { text-align: left; font-size: .75rem; font-weight: 600; color: var(--muted); padding: 0 0 8px; border-bottom: 1px solid var(--line-2); }
.sla-t th:last-child, .sla-t td:last-child { text-align: right; }
.sla-t td { padding: 12px 0; border-bottom: 1px solid var(--line); }
.sla-t tr:last-child td { border-bottom: 0; }
.sla-t td:last-child { font-weight: 600; color: var(--navy); white-space: nowrap; font-variant-numeric: tabular-nums; }

/* empresas */
.biz-copy { grid-column: 1 / span 5; }
.biz-copy > p:not(.kicker) { color: var(--ink-2); }
.biz-list { list-style: none; margin: 24px 0 0; padding: 0; border-top: 1px solid var(--line-2); }
.biz-list li { padding: 12px 0 12px 28px; border-bottom: 1px solid var(--line); position: relative; font-size: .9375rem; }
.biz-list li::before { content: ''; position: absolute; left: 4px; top: 18px; width: 10px; height: 6px; border-left: 2px solid var(--navy); border-bottom: 2px solid var(--navy); transform: rotate(-45deg); }
.plans { grid-column: 7 / span 6; display: grid; grid-template-columns: 1fr 1fr; gap: var(--gutter); align-items: stretch; }
.plan { position: relative; background: #fff; border: 1px solid var(--line-2); border-radius: var(--radius-lg); padding: 28px; display: flex; flex-direction: column; }
.plan.hot { border-color: var(--navy); box-shadow: inset 0 3px 0 var(--navy); }
.plan h3 { margin: 0 0 8px; font-size: 1.25rem; }
.plan.hot h3::after { content: 'Mais completo'; position: absolute; top: 0; right: 24px; transform: translateY(-50%); font: 600 .75rem/1 var(--sans); color: #fff; background: var(--navy); border-radius: 3px; padding: 6px 10px; }
.plan .muted { color: var(--ink-2) !important; font-size: .9375rem; }
.plan .val { font-family: var(--sans); font-weight: 600; font-size: 2rem; letter-spacing: -.02em; color: var(--ink); margin: 24px 0 0; line-height: 1; font-variant-numeric: tabular-nums; }
.plan .val small { font-size: .875rem; color: var(--muted); letter-spacing: 0; font-weight: 400; }
.plan ul { list-style: none; padding: 0; margin: 24px 0; font-size: .9rem; color: var(--ink-2); border-top: 1px solid var(--line); }
.plan li { display: flex; gap: 10px; padding: 10px 0; border-bottom: 1px solid var(--line); line-height: 1.45; }
.plan li .ico { color: var(--navy); margin-top: 2px; }
.plan .btn.block { margin-top: auto; }

/* resultados (casos ilustrativos) */
.cases { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--gutter); }
.case { background: #fff; border: 1px solid var(--line); border-top: 3px solid var(--navy); border-radius: var(--radius); padding: 28px; }
.case header { margin-bottom: 20px; }
.case header span { font-size: .8125rem; color: var(--accent); font-weight: 600; }
.case h3 { margin: 4px 0 0; font-size: 1.1875rem; }
.case dl { margin: 0; }
.case dt { font-size: .75rem; font-weight: 600; color: var(--muted); padding-top: 12px; border-top: 1px solid var(--line); }
.case dd { margin: 4px 0 16px; font-size: .9375rem; color: var(--ink-2); line-height: 1.55; }
.case dd:last-child { margin-bottom: 0; }
.case dd b { display: block; font-family: var(--quote); font-weight: 500; font-size: 1.75rem; line-height: 1.2; color: var(--navy); letter-spacing: -.01em; margin: 2px 0 4px; }

/* equipe */
.team { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 40px var(--gutter); }
.pro img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 20%; filter: saturate(.75) contrast(1.04); margin-bottom: 16px; background: var(--cream); border-radius: var(--radius-lg); }
.pro h3 { margin: 0 0 4px; font-size: 1.125rem; }
.pro .role { font-size: .875rem; color: var(--navy); line-height: 1.4; font-weight: 500; }
.pro .reg { font-size: .8125rem; color: var(--muted); margin-top: 4px; font-variant-numeric: tabular-nums; }
.pro p { font-size: .875rem; color: var(--ink-2); margin: 12px 0 0; padding-top: 12px; border-top: 1px solid var(--line); line-height: 1.55; }

/* portal: texto + amostra do produto */
.portal-sec .g12 { align-items: center; }
.office-copy { grid-column: 1 / span 5; }
.portal-lead { color: var(--ink-2); }
.portal-feats { margin: 24px 0 32px; border-top: 1px solid var(--line-2); }
.portal-feats > div { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 3fr); gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line-2); }
.portal-feats dt { font-weight: 600; color: var(--ink); font-size: .9375rem; }
.portal-feats dd { margin: 0; color: var(--ink-2); font-size: .9375rem; line-height: 1.5; }
.pmock { grid-column: 7 / span 6; background: #fff; border: 1px solid var(--line-2); border-radius: var(--radius-lg); box-shadow: var(--shadow); overflow: hidden; font-size: .875rem; }
.pmock-bar { display: flex; align-items: center; gap: 6px; padding: 10px 14px; background: #eef1f5; border-bottom: 1px solid var(--line); }
.pmock-bar i { width: 9px; height: 9px; border-radius: 50%; background: #c9d1dc; }
.pmock-bar span { margin-left: 12px; font-size: .75rem; color: var(--muted); background: #fff; border: 1px solid var(--line); border-radius: 3px; padding: 3px 12px; flex: 1; max-width: 260px; }
.pmock-body { padding: 24px; }
.pmock-head { display: flex; justify-content: space-between; align-items: start; gap: 16px; padding-bottom: 16px; border-bottom: 1px solid var(--line); margin-bottom: 20px; }
.pmock-head small { display: block; color: var(--muted); font-size: .75rem; margin-bottom: 2px; }
.pmock-head b { font-size: 1.0625rem; font-weight: 600; }
.pmock-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 24px; }
.pmock-col + .pmock-col { border-left: 1px solid var(--line); padding-left: 24px; }
.pmock-label { font-size: .75rem; font-weight: 600; color: var(--muted); margin: 0 0 12px; }
.pmock-col .pmock-label:not(:first-child) { margin-top: 20px; }
.pmock-tl { list-style: none; margin: 0; padding: 0 0 0 18px; border-left: 2px solid var(--line); }
.pmock-tl li { position: relative; padding-bottom: 16px; }
.pmock-tl li:last-child { padding-bottom: 0; }
.pmock-tl li::before { content: ''; position: absolute; left: -24px; top: 5px; width: 10px; height: 10px; border-radius: 50%; background: #fff; border: 2px solid var(--line-2); }
.pmock-tl li:first-child::before { border-color: var(--navy); background: var(--navy); }
.pmock-tl b { display: block; font-weight: 500; }
.pmock-tl small { color: var(--muted); font-size: .75rem; }
.pmock-dl { display: inline-flex; flex-direction: column; align-items: center; border: 1px solid var(--navy); border-radius: var(--radius); padding: 6px 14px; color: var(--navy); }
.pmock-dl b { font-size: 1.5rem; line-height: 1; font-weight: 600; }
.pmock-dl span { font-size: .6875rem; font-weight: 600; }
.pmock-small { margin: 8px 0 0; font-size: .8125rem; color: var(--ink-2); line-height: 1.4; }
.pmock-docs { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.pmock-docs li { display: flex; align-items: center; gap: 8px; font-size: .8125rem; color: var(--ink-2); }
.pmock-docs li::before { content: ''; width: 14px; height: 14px; border: 1.5px solid var(--line-2); border-radius: 3px; flex: none; }
.pmock-docs li.ok::before { background: var(--ok) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3'%3E%3Cpath d='m5 12.5 4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 10px no-repeat; border-color: var(--ok); }

/* relacionamento */
.club .g12 { align-items: start; }
.club-copy { grid-column: 1 / span 6; }
.club-copy > p:not(.kicker) { color: var(--ink-2); max-width: 36em; }
.club-copy h2 { max-width: 20ch; }
.club-steps { list-style: none; counter-reset: cs; margin: 24px 0 28px; padding: 0; border-top: 1px solid var(--line-2); max-width: 36em; }
.club-steps li { counter-increment: cs; display: grid; grid-template-columns: 36px 1fr; padding: 12px 0; border-bottom: 1px solid var(--line-2); color: var(--ink-2); }
.club-steps li::before { content: counter(cs, decimal-leading-zero); color: var(--accent); font-weight: 600; font-size: .875rem; padding-top: 2px; }
.tiers { grid-column: 8 / span 5; display: grid; gap: 8px; }
.tier { padding: 16px 20px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); display: grid; grid-template-columns: 1fr auto; column-gap: 16px; }
.tier b { font-weight: 600; font-size: 1.0625rem; grid-row: 1; grid-column: 1; }
.tier small { grid-row: 1; grid-column: 2; color: var(--muted); font-size: .8125rem; align-self: center; }
.tier p { grid-column: 1 / -1; font-size: .875rem; margin: 4px 0 0; color: var(--ink-2); }

/* depoimento */
.testimonial { background: var(--navy); color: #c9d4e4; padding: 96px 0; }
.testimonial figure { grid-column: 2 / span 10; margin: 0; }
.testimonial blockquote { margin: 0; }
.testimonial blockquote p { font-family: var(--quote); font-weight: 400; font-size: clamp(1.5rem, 2.6vw, 2.25rem); line-height: 1.32; letter-spacing: -.01em; color: #fff; margin: 0 0 32px; text-indent: -.4em; }
.testimonial figcaption { display: block; padding-top: 16px; border-top: 1px solid var(--dark-line); font-size: .9375rem; max-width: 560px; }
.testimonial figcaption b { color: #fff; font-weight: 600; }
.testimonial figcaption span { display: block; margin-top: 4px; color: #a9b9d0; font-size: .875rem; }

/* dúvidas */
.faq-head { grid-column: 1 / span 4; align-self: start; }
.faq-head > p:last-child { color: var(--ink-2); font-size: .9375rem; }
.faq-head a { color: var(--accent); font-weight: 500; }
.faq { grid-column: 6 / span 7; border-top: 1px solid var(--line-2); }
.faq details { border-bottom: 1px solid var(--line-2); }
.faq summary { cursor: pointer; font-weight: 500; font-size: 1.0625rem; color: var(--ink); list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 20px 0; transition: color .2s; }
.faq summary:hover { color: var(--accent); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ''; flex: none; width: 10px; height: 10px; border-right: 2px solid var(--ink-2); border-bottom: 2px solid var(--ink-2); transform: rotate(45deg) translate(-2px, -2px); transition: transform .25s; }
.faq details[open] summary::after { transform: rotate(-135deg) translate(-2px, -2px); }
.faq details p { margin: -4px 0 20px; color: var(--ink-2); max-width: 62ch; line-height: 1.65; }

/* contato */
.contact-sec { border-top: 1px solid var(--line); }
.contact { grid-column: 1 / span 6; }
.contact dl { display: grid; grid-template-columns: 120px 1fr; margin: 24px 0 32px; border-top: 1px solid var(--line-2); }
.contact dt, .contact dd { padding: 12px 0; border-bottom: 1px solid var(--line); margin: 0; }
.contact dt { color: var(--muted); font-size: .875rem; padding-top: 14px; }
.contact dd { color: var(--ink); }
.contact dd a { color: var(--accent); text-decoration: none; font-weight: 500; }
.contact dd a:hover { text-decoration: underline; }
.contact-side { grid-column: 8 / span 5; }
.contact-fig { margin: 0 0 24px; }
.contact-fig img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; filter: saturate(.75) contrast(1.04); border-radius: var(--radius-lg); }
.offices { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 16px var(--gutter); }
.offices li { border-top: 2px solid var(--navy); padding-top: 12px; }
.offices b { display: block; font-weight: 600; }
.offices span { font-size: .875rem; color: var(--muted); }
.disclaimer { grid-column: 1 / -1; font-size: .8125rem; color: var(--muted); max-width: 80ch; margin: 56px 0 0; padding-top: 16px; border-top: 1px solid var(--line); }

/* rodapé */
footer.site { padding: 64px 0 88px; font-size: .875rem; color: #a9b9d0; background: var(--navy-2); }
.foot-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr 1.4fr; gap: 32px var(--gutter); padding-bottom: 40px; border-bottom: 1px solid var(--dark-line); }
.foot-brand p { margin: 16px 0 0; max-width: 30ch; line-height: 1.55; }
footer.site nav, .foot-contact { display: flex; flex-direction: column; gap: 10px; align-items: flex-start; }
footer.site nav b, .foot-contact b { color: #fff; font-weight: 600; margin-bottom: 4px; }
footer.site a { text-decoration: none; color: #c9d4e4; }
footer.site a:hover { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.foot-contact span { line-height: 1.55; }
.foot-bottom { display: flex; justify-content: space-between; gap: 8px 24px; flex-wrap: wrap; padding-top: 24px; font-size: .8125rem; color: #8ea0ba; }
.nav .logo { color: var(--ink); }
footer.site .logo, .auth-side .logo, .side .logo { color: #fff; }
footer.site .logo::before, .auth-side .logo::before, .side .logo::before { background: #fff; color: var(--navy); }
footer.site .logo em { color: #c9d4e4; }
footer.site .logo small { color: #a9b9d0; }
.reveal { opacity: 0; transform: translateY(12px); transition: opacity .6s ease, transform .6s ease; }
.reveal.on { opacity: 1; transform: none; }
.wl-capa .reveal, .no-js .reveal { opacity: 1; transform: none; transition: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } html { scroll-behavior: auto; } }

/* ---------- login / cadastro e área logada ---------- */
/* ---------- login / cadastro ---------- */
.auth { min-height: calc(100vh - 34px); display: grid; grid-template-columns: 5fr 7fr; }
.auth-side { position: relative; padding: 48px; display: flex; flex-direction: column; justify-content: space-between; overflow: hidden; color: #fff; background: var(--navy); }
.auth-side img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: grayscale(.3); z-index: 0; }
.auth-side::after { content: ''; position: absolute; inset: 0; background: rgba(10, 26, 49, .82); z-index: 0; }
.auth-side > * { position: relative; z-index: 1; }
.auth-side h2 { color: #fff; max-width: 15ch; font-size: clamp(2rem, 3.2vw, 2.9rem); }
.auth-side p { color: #c9d4e4 !important; }

.auth-side .logo small, .side .logo small { color: #a9b9d0; }
.auth-main { display: grid; place-items: center; padding: 48px 24px; }
.auth-card { width: min(460px, 100%); }
.auth-card h2 { font-size: 1.75rem; }
.tabs { display: flex; border-bottom: 1px solid var(--line-2); margin-bottom: 28px; }
.tabs button { flex: 1; border: 0; background: none; padding: 12px; font: 500 .95rem var(--sans); cursor: pointer; color: var(--muted); border-bottom: 2px solid transparent; margin-bottom: -1px; }
.tabs button.on { color: var(--ink); border-color: var(--wine); }
.demo-access { margin-top: 28px; padding: 18px 20px; border: 1px solid var(--line-2); background: var(--paper); font-size: .9rem; border-radius: var(--radius); }
.demo-access b { display: block; margin-bottom: 10px; font-weight: 600; }
.demo-access .row { gap: 8px; }
.err { color: var(--err); font-size: .86rem; min-height: 1.3em; margin: -4px 0 10px; }

/* ---------- área logada ---------- */
.app { display: grid; grid-template-columns: 262px 1fr; min-height: calc(100vh - 34px); }
.side { background: var(--navy); color: #c9d4e4; padding: 26px 16px; display: flex; flex-direction: column; position: sticky; top: 0; height: 100vh; }
.side .logo { padding: 0 8px 22px; font-size: 1.3rem; border-bottom: 1px solid var(--dark-line); margin-bottom: 18px; }
.side .logo em, .auth-side .logo em { color: #c9d4e4; }

.side nav { display: grid; gap: 2px; }
.side nav a { display: flex; gap: 12px; align-items: center; padding: 10px 12px; text-decoration: none; font-size: .93rem; color: #c9d4e4; cursor: pointer; border-left: 2px solid transparent; border-radius: 0 3px 3px 0; }
.side nav a:hover { background: rgba(255, 255, 255, .05); color: #fff; }
.side nav a.on { background: rgba(255, 255, 255, .08); color: #fff; border-left-color: var(--gold); }
.side nav a .badge { margin-left: auto; background: var(--gold); color: var(--navy); font-size: .7rem; border-radius: 99px; padding: 1px 7px; font-weight: 700; }
.side .me { margin-top: auto; display: flex; gap: 10px; align-items: center; padding: 14px 8px 0; border-top: 1px solid var(--dark-line); font-size: .84rem; }
.side .me b { display: block; font-size: .92rem; color: #fff; font-weight: 500; }
.side .me small { color: #a9b9d0; }
.side .me button { margin-left: auto; background: none; border: 0; cursor: pointer; color: #a9b9d0; padding: 6px; }
.side .me button:hover { color: #fff; }
.side .avatar { background: rgba(255, 255, 255, .1); color: #fff; }
.main { padding: 36px 44px 64px; min-width: 0; }
.page-head { display: flex; justify-content: space-between; align-items: end; gap: 20px; margin-bottom: 28px; flex-wrap: wrap; padding-bottom: 18px; border-bottom: 1px solid var(--line-2); }
.page-head h1 { font-size: 1.875rem; margin: 0; letter-spacing: -.02em; }
.page-head p { margin: 4px 0 0; color: var(--muted); }
.topbar { display: none; }
.avatar { width: 38px; height: 38px; border-radius: 50%; background: var(--wine-soft); color: var(--wine); display: inline-grid; place-items: center; font-weight: 600; font-size: .78rem; flex: none; font-family: var(--sans); }
.avatar.lg { width: 64px; height: 64px; font-size: 1.15rem; }

.card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.card h3 { font-size: 1.25rem; }
.card-head { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-bottom: 14px; flex-wrap: wrap; }
.card-head h3 { margin: 0; }
.grid { display: grid; gap: 18px; }
.grid > * { min-width: 0; }
.g2 { grid-template-columns: 1fr 1fr; }
.g3 { grid-template-columns: repeat(3, 1fr); }
.g4 { grid-template-columns: repeat(4, 1fr); }
.g-main { grid-template-columns: 1.6fr 1fr; }
.kpi { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 20px; box-shadow: inset 0 2px 0 var(--navy); }
.kpi span { font-size: .8rem; color: var(--muted); font-weight: 500; display: flex; gap: 6px; align-items: center; }
.kpi span .ico { color: var(--wine); }
.kpi b { display: block; font-family: var(--head); font-size: 2rem; font-weight: 600; line-height: 1.2; margin-top: 6px; color: var(--ink); letter-spacing: -.015em; }
.kpi small { font-size: .8rem; color: var(--muted); }
.kpi small.up { color: var(--ok); }
.kpi small.down { color: var(--err); }

.pill { display: inline-flex; align-items: center; gap: 5px; padding: 3px 9px; border-radius: 2px; font-size: .74rem; font-weight: 500; white-space: nowrap; background: var(--bg); color: var(--ink-2); border: 1px solid var(--line); }
.st-agendado { background: var(--warn-soft); color: var(--warn); border-color: transparent; }
.st-confirmado { background: var(--info-soft); color: var(--info); border-color: transparent; }
.st-concluido { background: var(--ok-soft); color: var(--ok); border-color: transparent; }
.st-cancelado { color: var(--muted); }
.st-faltou { background: var(--err-soft); color: var(--err); border-color: transparent; }
.pill.cliente, .pill.agendada { background: var(--ok-soft); color: var(--ok); border-color: transparent; }
.pill.proposta { background: var(--info-soft); color: var(--info); border-color: transparent; }
.pill.lead { background: var(--warn-soft); color: var(--warn); border-color: transparent; }
.pill.encerrado { color: var(--muted); }
.pill.novo { background: var(--gold-soft); color: var(--ink); border-color: transparent; }
.pill.online { background: var(--info-soft); color: var(--info); border-color: transparent; }
.pill.wine { background: var(--wine-soft); color: var(--wine); border-color: transparent; }
.pill.ok { background: var(--ok-soft); color: var(--ok); border-color: transparent; }
.pill.no { background: var(--warn-soft); color: var(--warn); border-color: transparent; }

.appt { display: flex; gap: 16px; align-items: center; padding: 14px 0; border-bottom: 1px solid var(--line); }
.appt:last-child { border-bottom: 0; }
.appt .date { width: 58px; text-align: center; flex: none; border: 1px solid var(--line-2); padding: 7px 0; background: #fff; border-radius: 2px; }
.appt .date b { display: block; font-family: var(--head); font-size: 1.45rem; line-height: 1.1; font-weight: 600; color: var(--ink); }
.appt .date span { font-size: .68rem; text-transform: uppercase; letter-spacing: .08em; font-weight: 600; color: var(--wine); }
.appt .info { flex: 1; min-width: 0; }
.appt .info b { display: block; font-size: .98rem; font-weight: 600; }
.appt .info span { font-size: .86rem; color: var(--muted); }
.appt .acts { display: flex; gap: 6px; align-items: center; flex-wrap: wrap; justify-content: flex-end; flex: 0 1 50%; }
.main .btn.sm, .modal .btn.sm, .appt .btn.sm { padding: 9px 12px; }
.empty { text-align: center; padding: 32px 10px; color: var(--muted); font-size: .92rem; }
.empty .ico { width: 34px; height: 34px; color: var(--line-2); margin: 0 auto 8px; display: block; }

table.t { width: 100%; border-collapse: collapse; font-size: .9rem; }
table.t th { text-align: left; font-size: .78rem; color: var(--muted); font-weight: 500; padding: 10px 12px; border-bottom: 1px solid var(--line-2); white-space: nowrap; }
table.t td { padding: 12px; border-bottom: 1px solid var(--line); vertical-align: middle; }
table.t tr:last-child td { border-bottom: 0; }
table.t tr.click { cursor: pointer; }
table.t tr.click:hover td { background: var(--bg); }
.t-wrap { overflow-x: auto; margin: 0 -24px; padding: 0 24px; }
.who { display: flex; gap: 10px; align-items: center; }
.who b { display: block; font-weight: 600; }
.who small { color: var(--muted); }

/* cartão do programa */
.loyal-card { padding: 26px; color: #fff; background: var(--wine); position: relative; overflow: hidden; min-height: 200px; display: flex; flex-direction: column; border-radius: var(--radius); }
.loyal-card .top { display: flex; justify-content: space-between; align-items: start; gap: 10px; }
.loyal-card .club-name { font-family: var(--head); font-size: 1.15rem; max-width: 220px; line-height: 1.3; }
.loyal-card .lvl { border: 1px solid rgba(255, 255, 255, .5); color: #fff; padding: 3px 10px; font-size: .76rem; font-weight: 500; border-radius: 2px; }
.loyal-card .pts { margin-top: auto; }
.loyal-card .pts b { font-family: var(--head); font-size: 2.8rem; font-weight: 600; line-height: 1; letter-spacing: -.02em; }
.loyal-card .pts span { font-size: .86rem; opacity: .85; margin-left: 6px; }
.bar { height: 6px; background: var(--line); overflow: hidden; border-radius: 3px; }
.bar i { display: block; height: 100%; background: var(--wine); transition: width .8s; }
.loyal-card .bar { background: rgba(255, 255, 255, .2); margin-top: 14px; }
.loyal-card .bar i { background: #fff; }
.loyal-card small { opacity: .9; font-size: .8rem; display: block; margin-top: 8px; }
.reward { display: flex; gap: 14px; align-items: center; padding: 14px; border: 1px solid var(--line); background: #fff; border-radius: var(--radius); }
.reward .ic { width: 42px; height: 42px; background: var(--wine-soft); color: var(--wine); display: grid; place-items: center; flex: none; border-radius: 2px; }
.reward .grow b { display: block; font-size: .94rem; }
.reward .grow small { color: var(--muted); }
.reward.locked { opacity: .55; }
.ledger { display: grid; }
.ledger div { display: flex; justify-content: space-between; padding: 10px 0; border-bottom: 1px solid var(--line); font-size: .9rem; gap: 10px; }
.ledger div:last-child { border: 0; }
.ledger .plus { color: var(--ok); font-weight: 600; white-space: nowrap; }
.ledger .minus { color: var(--err); font-weight: 600; white-space: nowrap; }
.voucher { border: 1px dashed var(--wine); padding: 12px 16px; display: flex; justify-content: space-between; align-items: center; gap: 10px; background: var(--wine-soft); border-radius: var(--radius); }
.voucher code { font-weight: 700; letter-spacing: .1em; color: var(--wine); }
.notice { display: flex; gap: 14px; align-items: center; padding: 16px 18px; background: var(--paper); border: 1px solid var(--line); border-left: 3px solid var(--wine); border-radius: 0 var(--radius) var(--radius) 0; }
.notice.warn { border-left-color: var(--warn); }
.notice .ic { width: 40px; height: 40px; background: var(--wine-soft); color: var(--wine); display: grid; place-items: center; flex: none; border-radius: 2px; }
.notice.warn .ic { background: var(--warn-soft); color: var(--warn); }
.notice b { display: block; }
.notice span { font-size: .9rem; color: var(--ink-2); }
.health-card { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 18px; font-size: .9rem; margin: 0; }
.health-card dt { color: var(--muted); font-size: .78rem; font-weight: 500; }
.health-card dd { margin: 0 0 6px; }

/* documentos, linha do tempo e mensagens */
.doc { border: 1px solid var(--line-2); padding: 34px; background: #fff; }
.doc .doc-head { display: flex; justify-content: space-between; align-items: start; gap: 16px; border-bottom: 1px solid var(--ink); padding-bottom: 14px; margin-bottom: 18px; }
.doc dl { display: grid; grid-template-columns: auto 1fr; gap: 4px 14px; font-size: .9rem; margin: 0 0 16px; }
.doc dt { color: var(--muted); }
.doc dd { margin: 0; }
.doc .body { font-size: .98rem; line-height: 1.75; white-space: pre-wrap; }
.doc .sign { margin-top: 34px; text-align: center; font-size: .86rem; color: var(--ink-2); }
.doc .sign::before { content: ''; display: block; width: 220px; margin: 0 auto 6px; border-top: 1px solid var(--ink-2); }
.checklist { display: grid; gap: 8px; }
.checklist .item { display: flex; gap: 12px; align-items: center; padding: 10px 12px; border: 1px solid var(--line); background: #fff; flex-wrap: wrap; border-radius: 2px; }
.checklist .item.done { border-color: #cfe2d6; background: var(--ok-soft); }
.checklist .item input[type=checkbox] { accent-color: var(--wine); width: 18px; height: 18px; }
.checklist .item b { flex: 1; font-weight: 500; font-size: .92rem; min-width: 140px; }
.checklist .files { width: 100%; font-size: .78rem; color: var(--ink-2); display: flex; gap: 6px; flex-wrap: wrap; }
.checklist .files span { background: #fff; border: 1px solid var(--line); padding: 1px 8px; }
.checklist label.up { font-size: .8rem; color: var(--wine); cursor: pointer; font-weight: 600; display: inline-flex; gap: 4px; align-items: center; }
.checklist label.up input { display: none; }
.timeline { position: relative; margin: 6px 0 0 8px; padding-left: 22px; border-left: 1px solid var(--line-2); }
.timeline .ev { position: relative; padding: 0 0 18px; }
.timeline .ev::before { content: ''; position: absolute; left: -27px; top: 6px; width: 9px; height: 9px; border-radius: 50%; background: var(--paper); border: 2px solid var(--wine); }
.timeline .ev:last-child::before { background: var(--wine); }
.timeline .ev small { color: var(--muted); display: block; font-size: .8rem; }
.timeline .ev b { font-weight: 500; }
.deadline { display: flex; gap: 12px; align-items: center; padding: 10px 0; border-bottom: 1px solid var(--line); font-size: .92rem; }
.deadline:last-child { border: 0; }
.deadline .d { width: 52px; text-align: center; border: 1px solid var(--wine); color: var(--wine); padding: 4px 0; font-size: .74rem; font-weight: 600; flex: none; border-radius: 2px; }
.deadline .d b { display: block; font-family: var(--head); font-size: 1.15rem; font-weight: 600; }
.thread { display: grid; gap: 10px; max-height: 340px; overflow: auto; padding: 4px 2px; }
.msg { max-width: 85%; padding: 10px 14px; font-size: .92rem; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); }
.msg small { display: block; color: var(--muted); font-size: .74rem; margin-top: 4px; }
.msg.me { justify-self: end; background: var(--wine); color: #fff; border-color: var(--wine); }
.msg.me small { color: #c4d3ea; }
.case-card { border: 1px solid var(--line); background: #fff; padding: 18px 20px; display: flex; gap: 14px; align-items: center; cursor: pointer; transition: .15s; border-radius: var(--radius); }
.case-card:hover { border-color: var(--ink); }
.case-card .ic { width: 44px; height: 44px; background: var(--wine-soft); color: var(--wine); display: grid; place-items: center; flex: none; border-radius: 2px; }
.case-card b { display: block; color: var(--ink); }
.case-card small { color: var(--muted); }
.proposal { border: 1px solid var(--ink); background: #fff; padding: 22px; box-shadow: inset 0 3px 0 var(--wine); border-radius: var(--radius); }
.proposal .val { font-family: var(--head); font-size: 2rem; color: var(--ink); }
.funnel { display: grid; gap: 8px; }
.funnel .st { display: grid; grid-template-columns: 130px 1fr 60px; gap: 10px; align-items: center; font-size: .88rem; }
.funnel .st div { height: 26px; background: var(--navy); display: flex; align-items: center; padding-left: 10px; color: #fff; font-size: .78rem; font-weight: 600; min-width: 28px; }
.funnel .st:nth-child(2) div { background: #2c4a75; }
.funnel .st:nth-child(3) div { background: var(--accent); }
.funnel .st b { text-align: right; }

/* agendamento */
.steps { display: flex; gap: 6px; margin-bottom: 22px; flex-wrap: wrap; }
.steps span { font-size: .8rem; font-weight: 500; color: var(--muted); padding: 6px 12px; background: var(--paper); border: 1px solid var(--line); display: inline-flex; gap: 6px; align-items: center; border-radius: 2px; }
.steps span.on { background: var(--ink); color: #fff; border-color: var(--ink); }
.steps span.done { color: var(--ok); border-color: #cfe2d6; background: var(--ok-soft); }
.pick-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 10px; }
.pick { border: 1px solid var(--line); padding: 12px; display: flex; gap: 12px; align-items: center; background: #fff; cursor: pointer; text-align: left; font: inherit; color: inherit; transition: .15s; border-radius: var(--radius); }
.pick:hover { border-color: var(--ink); }
.pick.on { border-color: var(--wine); box-shadow: inset 3px 0 0 var(--wine); }
.pick img { width: 54px; height: 54px; object-fit: cover; object-position: top; flex: none; border-radius: 2px; }
.pick .avatar { border-radius: 2px; }
.pick b { display: block; font-size: .92rem; line-height: 1.3; font-weight: 600; }
.pick small { color: var(--muted); font-size: .8rem; display: block; }
.days { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 8px; scrollbar-width: thin; }
.day { flex: none; width: 64px; border: 1px solid var(--line); padding: 10px 0; text-align: center; background: #fff; cursor: pointer; font: inherit; color: inherit; border-radius: var(--radius); }
.day small { display: block; font-size: .68rem; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); font-weight: 600; }
.day b { font-family: var(--head); font-size: 1.4rem; font-weight: 600; line-height: 1.2; display: block; }
.day.on { background: var(--ink); color: #fff; border-color: var(--ink); }
.day.on small { color: #c4cedb; }
.day:disabled { opacity: .35; cursor: not-allowed; }
.times { display: grid; grid-template-columns: repeat(auto-fill, minmax(78px, 1fr)); gap: 8px; }
.time { border: 1px solid var(--line); background: #fff; padding: 9px 0; font: 500 .9rem var(--sans); cursor: pointer; color: var(--ink); border-radius: var(--radius); font-variant-numeric: tabular-nums; }
.time:hover:not(:disabled) { border-color: var(--ink); }
.time.on { background: var(--wine); color: #fff; border-color: var(--wine); }
.time:disabled { text-decoration: line-through; color: var(--line-2); cursor: not-allowed; }
.summary { position: sticky; top: 20px; }
.summary .line { display: flex; justify-content: space-between; gap: 10px; padding: 9px 0; border-bottom: 1px solid var(--line); font-size: .9rem; }
.summary .line span { color: var(--muted); }
.summary .line b { text-align: right; font-weight: 600; }
.pts-box { background: var(--gold-soft); padding: 14px; margin: 14px 0; font-size: .86rem; border-radius: var(--radius); }
.pts-box .tot { display: flex; justify-content: space-between; font-weight: 600; color: var(--wine); margin-top: 6px; padding-top: 8px; border-top: 1px solid var(--line-2); }
.pts-box div.l { display: flex; justify-content: space-between; color: var(--ink-2); padding: 2px 0; gap: 8px; }
.ret-box { background: var(--ok-soft); color: var(--ok); padding: 12px 14px; font-size: .88rem; margin: 12px 0; display: flex; gap: 10px; align-items: start; border-radius: var(--radius); }

/* gráficos */
.bars { display: flex; align-items: end; gap: 14px; height: 200px; padding-top: 22px; }
.bars .col { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 8px; height: 100%; justify-content: end; }
.bars .col .stack { width: 100%; max-width: 44px; display: flex; flex-direction: column; justify-content: end; position: relative; }
.bars .col .stack i { display: block; width: 100%; }
.bars .col .stack i.a { background: #c7d0dc; }
.bars .col .stack i.p { background: #9fb4d3; }
.bars .col.cur .stack i.a { background: var(--ink); }
.bars .col.cur .stack i.p { background: var(--wine); }
.bars .col .stack em { position: absolute; top: -20px; left: 50%; transform: translateX(-50%); font-style: normal; font-size: .74rem; font-weight: 600; color: var(--ink-2); white-space: nowrap; }
.bars .col span { font-size: .74rem; color: var(--muted); text-transform: uppercase; font-weight: 500; letter-spacing: .04em; }
.hbar { display: grid; grid-template-columns: 160px 1fr 48px; gap: 10px; align-items: center; font-size: .86rem; margin-bottom: 10px; }
.hbar .bar { height: 8px; }
.hbar b { text-align: right; }
.seg { display: flex; height: 12px; overflow: hidden; margin: 6px 0 12px; border-radius: 2px; }
.seg i { display: block; height: 100%; }
.legend { display: flex; gap: 14px; flex-wrap: wrap; font-size: .82rem; color: var(--ink-2); }
.legend span { display: inline-flex; gap: 6px; align-items: center; }
.legend i { width: 10px; height: 10px; display: inline-block; }

.camp { display: flex; gap: 14px; align-items: start; padding: 16px; border: 1px solid var(--line); background: #fff; border-radius: var(--radius); }
.camp.off { background: var(--bg); }
.camp.off .grow { opacity: .6; }
.camp .grow b { display: block; }
.camp .grow small { color: var(--muted); display: block; }
.camp .params { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 10px; align-items: center; }
.camp .params label { font-size: .8rem; color: var(--ink-2); font-weight: 500; display: flex; gap: 6px; align-items: center; }
.camp .params .in { width: 90px; padding: 6px 10px; font-size: .88rem; }
.camp .params select.in { width: auto; }
.master { display: flex; gap: 18px; align-items: center; padding: 22px 24px; background: var(--navy); color: #c9cec9; border-left: 3px solid var(--gold); border-radius: 0 var(--radius) var(--radius) 0; }
.master h3 { color: #fff; margin: 0; }
.master p { margin: 4px 0 0; font-size: .9rem; }
.master .pill { background: rgba(255, 255, 255, .12) !important; color: #fff !important; border-color: transparent; }
.insight { display: flex; gap: 12px; padding: 14px; background: var(--bg); border: 1px solid var(--line); font-size: .9rem; align-items: start; border-radius: var(--radius); }
.insight .ic { color: var(--wine); margin-top: 2px; }
.insight b { display: block; }
.subnav { display: flex; gap: 6px; margin-bottom: 20px; border-bottom: 1px solid var(--line); flex-wrap: wrap; }
.subnav button { background: none; border: 0; padding: 10px 14px; font: 500 .9rem var(--sans); color: var(--muted); cursor: pointer; border-bottom: 2px solid transparent; margin-bottom: -1px; }
.subnav button.on { color: var(--ink); border-color: var(--wine); }
.search { position: relative; }
.search .in { padding-left: 38px; }
.search .ico { position: absolute; left: 12px; top: 50%; transform: translateY(-50%); color: var(--muted); }
.chip { border: 1px solid var(--line-2); background: #fff; padding: 7px 14px; font: 500 .84rem var(--sans); cursor: pointer; color: var(--ink-2); border-radius: 2px; }
.chip:hover { border-color: var(--ink); }
.chip.on { background: var(--ink); color: #fff; border-color: var(--ink); }
.filters { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 24px; }

.modal-wrap { position: fixed; inset: 0; background: rgba(10, 26, 49, .55); display: grid; place-items: center; z-index: 100; padding: 20px; opacity: 0; transition: .2s; }
.modal-wrap.in { opacity: 1; }
.modal { background: var(--paper); padding: 32px; width: min(520px, 100%); max-height: 90vh; overflow: auto; position: relative; transform: translateY(14px); transition: .25s; border-radius: var(--radius); box-shadow: var(--shadow); }
.modal.wide { width: min(860px, 100%); }
.modal h3 { font-size: 1.375rem; padding-right: 40px; }
.modal-wrap.in .modal { transform: none; }
.modal-x { position: absolute; right: 14px; top: 14px; background: var(--bg); border: 0; width: 34px; height: 34px; cursor: pointer; display: grid; place-items: center; color: var(--ink-2); border-radius: 2px; }
.modal-x:hover { color: var(--ink); background: var(--cream); }
#toasts { position: fixed; bottom: 22px; left: 50%; transform: translateX(-50%); z-index: 200; display: grid; gap: 8px; justify-items: center; }
.toast { background: var(--ink); color: #fff; padding: 12px 18px; font-size: .9rem; display: flex; gap: 10px; align-items: center; box-shadow: var(--shadow); opacity: 0; transform: translateY(10px); transition: .3s; border-radius: var(--radius); }
.toast.in { opacity: 1; transform: none; }
.toast .ico { color: #9fd3b2; }
.toast.err .ico { color: #f2a9a0; }

@media print {
  body.printing > *:not(.modal-wrap) { display: none !important; }
  body.printing .modal-wrap { position: static; background: none; padding: 0; }
  body.printing .modal { box-shadow: none; max-height: none; width: 100%; padding: 0; border: 0; }
  body.printing .modal-x, body.printing .no-print { display: none !important; }
}

/* ---------- responsivo ---------- */
@media (max-width: 1240px) {
  .nav-cta #navAccount { display: none; }
  .nav-links { margin-left: 8px; }
  .nav-links a { padding: 8px 10px; }
  .facts > div { padding-right: 16px; }
  .facts > div + div { padding-left: 16px; }
  .facts dd b { font-size: 2rem; }
}
@media (max-width: 1080px) {
  .g4 { grid-template-columns: 1fr 1fr; }
  .g-main, .g3 { grid-template-columns: 1fr; }
  /* cabeçalho: menu recolhido */
  .nav-links, .nav-cta .ghost { display: none; }
  .burger { display: block; }
  .nav.open .nav-links { display: grid; position: absolute; top: 100%; left: 0; right: 0; margin: 0; background: #fff; padding: 8px 32px 24px; gap: 0; border-bottom: 1px solid var(--line-2); font-size: 1.0625rem; box-shadow: 0 16px 24px rgba(15, 23, 32, .08); }
  .nav.open .nav-links a { display: block; padding: 14px 0; border-bottom: 1px solid var(--line); border-radius: 0; color: var(--ink); background: none; }
  .nav.open .nav-links a:last-child { border-bottom: 0; }
  .nav.open .nav-links a[href="#portal"] { display: block; }
  .hero-copy { grid-column: 1 / span 7; }
  .hero-fig { grid-column: 8 / span 5; }
  .hero-fig img { aspect-ratio: 4 / 5; }
  .facts { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .facts > div:nth-child(4) { padding-left: 0; border-left: 0; }
  .facts > div:nth-child(n+4) { border-top: 1px solid var(--dark-line); }
  .trust-row { flex-direction: column; align-items: flex-start; gap: 20px; }
  .trust-logos { width: 100%; justify-content: flex-start; gap: 16px 40px; }
  .about-main { grid-column: 1 / -1; }
  .about-side { grid-column: 1 / -1; display: grid; grid-template-columns: 1fr 1fr; gap: var(--gutter); margin-top: 48px; align-items: start; }
  .about-side img { margin: 0; }
  .areas, .cases { grid-template-columns: 1fr 1fr; }
  .sectors-head { grid-column: 1 / -1; margin-bottom: 32px; }
  .sectors { grid-column: 1 / -1; }
  .steps4 { grid-template-columns: 1fr 1fr; }
  .sla-copy, .sla-t { grid-column: 1 / -1; }
  .sla-copy { margin-bottom: 24px; }
  .biz-copy { grid-column: 1 / -1; margin-bottom: 40px; }
  .plans { grid-column: 1 / -1; }
  .team { grid-template-columns: 1fr 1fr; }
  .office-copy { grid-column: 1 / -1; margin-bottom: 48px; }
  .pmock { grid-column: 1 / -1; }
  .tiers { grid-column: 1 / -1; margin-top: 40px; }
  .club-copy { grid-column: 1 / span 10; }
  .faq-head, .faq { grid-column: 1 / -1; }
  .faq-head { margin-bottom: 24px; }
  .contact, .contact-side { grid-column: 1 / -1; }
  .contact-side { margin-top: 48px; }
  .foot-grid { grid-template-columns: 1fr 1fr 1fr; }
  .foot-brand { grid-column: 1 / -1; }
  .sec-head > div, .sec-head > p { grid-column: 1 / -1; }
  .sec-head > p { margin-top: 16px; max-width: 44em; }
}
@media (max-width: 900px) {
  .hero-copy, .hero-fig { grid-column: 1 / -1; }
  .hero-fig { margin-top: 40px; }
  .hero-fig img { aspect-ratio: 16 / 10; }
  .auth { grid-template-columns: 1fr; }
  .auth-side { min-height: 230px; padding: 24px 20px 28px; gap: 28px; }
  .app { grid-template-columns: 1fr; }
  .side { position: fixed; left: 0; top: 0; bottom: 0; width: 272px; z-index: 90; transform: translateX(-100%); transition: .25s; box-shadow: var(--shadow); }
  .app.menu .side { transform: none; }
  .topbar { display: flex; align-items: center; justify-content: space-between; padding: 12px 18px; border-bottom: 1px solid var(--line); background: #fff; position: sticky; top: 0; z-index: 40; }
  .topbar .logo { color: var(--ink); font-size: 1.125rem; }
  .topbar .logo::before { width: 32px; height: 32px; font-size: 1.125rem; }
  .topbar .logo small { color: var(--muted); }
  .topbar button { background: none; border: 0; cursor: pointer; color: var(--ink); }
  .topbar .ico { width: 26px; height: 26px; stroke-width: 1.5; }
  .main { padding: 22px 16px 50px; }
  .page-head h1 { font-size: 1.625rem; }
  .summary { position: static; }
}
@media (max-width: 600px) {
  :root { --gutter: 16px; }
  .container { width: calc(100% - 32px); }
  section.block { padding: 64px 0; }
  .testimonial { padding: 64px 0; }
  .g2, .grid2, .health-card { grid-template-columns: 1fr; }
  .g4 { grid-template-columns: 1fr 1fr; }
  .appt { flex-wrap: wrap; }
  .appt .acts { width: 100%; flex-basis: 100%; justify-content: flex-start; padding-left: 74px; }
  .hbar { grid-template-columns: 104px 1fr 40px; }
  .funnel .st { grid-template-columns: 90px 1fr 44px; }
  .demo-bar { font-size: .72rem; padding: 7px 16px; row-gap: 4px; justify-content: center; }
  .demo-bar > span:first-child { display: none; }
  .demo-links { gap: 14px; }
  .hrow { flex-wrap: nowrap; gap: 6px; }
  .hrow .in { width: 84px !important; padding: 8px 6px; font-size: .82rem; }
  .hrow b { font-size: .82rem !important; }
  .kpi b { font-size: 1.5rem; }
  .notice { flex-wrap: wrap; }
  .notice .grow { flex: 1 1 calc(100% - 60px); min-width: 0; }
  .notice > .btn { margin-left: 54px; }
  /* cabeçalho no celular */
  .nav .container { height: 64px; gap: 8px; }
  .nav.open .nav-links { padding: 0 16px 16px; }
  .logo { font-size: 1.0625rem; gap: 10px; }
  .logo::before { width: 32px; height: 32px; font-size: 1.125rem; }
  .nav .logo small { display: none; }
  .nav .btn.outline { padding: 9px 12px; font-size: .8125rem; }
  .hero { padding-top: 32px; }
  .hero-grid { padding-bottom: 40px; }
  .hero-meta { font-size: .75rem; margin-bottom: 16px; }
  .hero h1 { font-size: 2rem; line-height: 1.15; margin-bottom: 16px; }
  .hero .lead { font-size: 1rem; margin-bottom: 24px; }
  .hero-actions .btn { flex: 1 1 100%; }
  .hn-h { display: none; }
  .hero-fig { margin-top: 32px; }
  .hero-fig img { aspect-ratio: 4 / 3; }
  .hero-fig figcaption { position: static; background: none; padding: 8px 0 0; }
  .facts { grid-template-columns: 1fr 1fr; }
  .facts > div, .facts > div + div { padding: 20px 12px 20px 0; border-left: 0; }
  .facts > div:nth-child(even) { padding-left: 16px; border-left: 1px solid var(--dark-line); }
  .facts > div:nth-child(n+3) { border-top: 1px solid var(--dark-line); }
  .facts > div:nth-child(4) { padding-left: 16px; border-left: 1px solid var(--dark-line); }
  .facts > div:last-child { grid-column: 1 / -1; }
  .facts dd b { font-size: 1.75rem; }
  .facts dd { font-size: .8125rem; }
  .trust-logos { gap: 14px 28px; }
  .trust-logos li { font-size: 1rem; }
  .sec-head { margin-bottom: 32px; }
  .principles { grid-template-columns: 1fr; gap: 16px; margin-top: 32px; }
  .about-side { grid-template-columns: 1fr; margin-top: 40px; }
  .notes { grid-template-columns: 104px 1fr; }
  .areas, .cases, .steps4, .sectors { grid-template-columns: 1fr; }
  .area { padding: 24px 20px 20px; }
  .sla { padding: 24px 20px; margin-top: 32px; }
  .plans { grid-template-columns: 1fr; }
  .team { grid-template-columns: 1fr 1fr; gap: 32px 16px; }
  .pro h3 { font-size: 1rem; }
  .pro .role { font-size: .8125rem; }
  .pro p { font-size: .8125rem; }
  .portal-feats > div { grid-template-columns: 1fr; gap: 4px; }
  .pmock-body { padding: 16px; }
  .pmock-grid { grid-template-columns: 1fr; gap: 0; }
  .pmock-col + .pmock-col { border-left: 0; padding-left: 0; border-top: 1px solid var(--line); padding-top: 16px; margin-top: 16px; }
  .pmock-head { flex-direction: column; gap: 8px; }
  .tier { grid-template-columns: 1fr; }
  .tier small { grid-row: auto; grid-column: 1; margin-top: 2px; }
  .club-copy { grid-column: 1 / -1; }
  .testimonial figure { grid-column: 1 / -1; }
  .testimonial blockquote p { font-size: 1.375rem; text-indent: 0; }
  .faq summary { font-size: 1rem; padding: 18px 0; }
  .contact dl { grid-template-columns: 1fr; }
  .contact dt { border-bottom: 0; padding: 12px 0 0; }
  .contact dd { padding-top: 2px; }
  .offices { grid-template-columns: 1fr; }
  .disclaimer { margin-top: 40px; }
  footer.site { padding-top: 48px; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .foot-contact { grid-column: 1 / -1; }
  .foot-bottom { flex-direction: column; }
}
@media (max-width: 360px) { .nav .btn.outline { padding: 8px 10px; font-size: .78rem; } .logo { font-size: 1rem; } }

/* ---------- acompanhamento compartilhado e avaliações ---------- */
.app > div { min-width: 0; }   /* tabelas com rolagem própria não alargam a página no celular */
.trk-steps { list-style: none; margin: 18px 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); position: relative; }
.trk-steps li { position: relative; display: flex; flex-direction: column; align-items: center; gap: 8px; text-align: center; font-size: .8rem; color: var(--muted); }
.trk-steps li::before { content: ''; position: absolute; top: 15px; left: -50%; width: 100%; height: 2px; background: var(--line); z-index: 0; }
.trk-steps li:first-child::before { display: none; }
.trk-steps li.done::before, .trk-steps li.cur::before { background: var(--rose); }
.trk-steps i { position: relative; z-index: 1; width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; font-style: normal; font-weight: 600; font-size: .82rem; background: var(--paper); border: 2px solid var(--line); color: var(--muted); }
.trk-steps li.done i { background: var(--rose); border-color: var(--rose); color: #fff; }
.trk-steps li.cur i { border-color: var(--rose); color: var(--rose); box-shadow: 0 0 0 5px var(--rose-soft); animation: trk-pulse 2s ease-in-out infinite; }
.trk-steps li.done span, .trk-steps li.cur span { color: var(--ink); font-weight: 600; }
@keyframes trk-pulse { 50% { box-shadow: 0 0 0 9px transparent; } }
.trk-steps.is-cancel { display: block; }
.trk-cancel { display: inline-block; padding: 6px 14px; border-radius: 2px; background: var(--err-soft); color: var(--err); font-weight: 600; font-size: .86rem; }
.shr-list { margin: 0 0 18px; padding-left: 18px; color: var(--ink-2); font-size: .9rem; display: grid; gap: 6px; }
.shr-preview { background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius); padding: 4px 14px; margin: 14px 0; }
.shr-url { display: flex; gap: 8px; margin: 10px 0 12px; }
.shr-url .in { flex: 1; min-width: 0; font-size: .82rem; }
.shr-actions { margin-bottom: 14px; }
.shr-foot { border-top: 1px solid var(--line); padding-top: 12px; font-size: .88rem; }
.link.danger { color: var(--err); text-decoration-color: currentColor; }
.pill.trk-on { background: var(--rose-soft); color: var(--rose); gap: 4px; }
.stars-view { display: inline-flex; gap: 1px; vertical-align: middle; }
.stars-view i { display: inline-flex; width: 15px; height: 15px; }
.stars-view.sm i { width: 12px; height: 12px; }
.stars-view svg { width: 100%; height: 100%; fill: var(--line-2, #d9d3c8); }
.stars-view i.on svg { fill: #c08a2b; }
.rv-mini { background: none; border: 0; padding: 4px; cursor: pointer; border-radius: 2px; }
button.rv-mini:hover { background: var(--bg); }
.rv { text-align: center; }
.rv .f { text-align: left; }
.rv-stars { display: flex; justify-content: center; gap: 6px; margin: 16px 0 4px; }
.rv-stars button { width: 48px; height: 48px; padding: 6px; border: 0; background: none; cursor: pointer; border-radius: 3px; transition: transform .15s; }
.rv-stars button svg { width: 100%; height: 100%; fill: var(--line-2, #d9d3c8); transition: fill .15s; }
.rv-stars button.on svg { fill: #c08a2b; }
.rv-stars button.hover { transform: scale(1.12); }
.rv-stars button:focus-visible { outline: 2px solid var(--rose); outline-offset: 2px; }
.rv-label { min-height: 1.5em; font-weight: 600; color: var(--ink); margin: 0 0 14px; }
.rv-tags { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-bottom: 16px; }
.rv-tags .chip { font-size: .8rem; padding: 6px 13px; }
.rv-strip { display: flex; gap: 24px; align-items: center; margin-bottom: 18px; flex-wrap: wrap; }
.rv-avg { display: flex; flex-direction: column; align-items: flex-start; gap: 2px; min-width: 150px; }
.rv-avg b { font-family: var(--head); font-size: 2.4rem; line-height: 1; font-weight: 400; }
.rv-avg small { color: var(--muted); font-size: .8rem; }
.rv-last { flex: 1; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; min-width: 0; }
.rv-last div { font-size: .82rem; min-width: 0; }
.rv-last p { margin: 4px 0 0; color: var(--ink-2); font-style: italic; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
/* página pública de acompanhamento */
.trk-page { min-height: 100vh; display: flex; flex-direction: column; }
.trk-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 20px 22px; max-width: 760px; width: 100%; margin: 0 auto; }
.trk-badge { font-size: .8rem; color: var(--muted); display: inline-flex; align-items: center; gap: 6px; }
.trk-live { width: 8px; height: 8px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 0 0 var(--ok); animation: trk-live 1.6s infinite; }
@keyframes trk-live { 70% { box-shadow: 0 0 0 7px transparent; } }
.trk-main { flex: 1; width: 100%; max-width: 760px; margin: 0 auto; padding: 8px 18px 30px; }
.trk-card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 32px; }
.trk-kicker { font-size: .84rem; color: var(--muted); margin: 0 0 6px; }
.trk-title { font-size: clamp(1.9rem, 5vw, 2.7rem); margin: 0 0 6px; }
.trk-title.trk-concluido { color: var(--ok); }
.trk-title.trk-cancelado { color: var(--err); }
.trk-text { color: var(--ink-2); margin: 0 0 8px; }
.trk-dl { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 22px; margin: 22px 0 18px; padding-top: 18px; border-top: 1px solid var(--line); }
.trk-dl .wide { grid-column: 1 / -1; }
.trk-dl dt { font-size: .8rem; color: var(--muted); }
.trk-dl dd { margin: 2px 0 0; font-weight: 500; }
.trk-note { font-size: .82rem; color: var(--muted); margin: 0; display: flex; gap: 8px; align-items: flex-start; }
.trk-off { text-align: center; }
.trk-off-ic { width: 58px; height: 58px; border-radius: 50%; background: var(--rose-soft); color: var(--rose); display: inline-grid; place-items: center; margin-bottom: 10px; }
.trk-off-ic .ico { width: 26px; height: 26px; }
.trk-cta { display: block; text-align: center; margin-top: 18px; font-size: .9rem; color: var(--rose); text-decoration: none; }
.trk-foot { text-align: center; font-size: .78rem; color: var(--muted); padding: 18px; }
@media (max-width: 600px) {
  .trk-card { padding: 22px 18px; }
  .trk-steps li { font-size: .7rem; }
  .trk-dl { grid-template-columns: 1fr; }
  .shr-url { flex-direction: column; }
  .rv-stars button { width: 44px; height: 44px; }
  .rv-last { grid-template-columns: 1fr; }
  .appt .acts .btn[data-share] { white-space: normal; text-align: left; }
}
@media (prefers-reduced-motion: reduce) { .trk-steps li.cur i, .trk-live { animation: none; } }
