/* Mais Views Marketing — folha de estilos principal
   Conceito: a conversa como fio condutor (do clique à venda). Sinal "+" amarelo como marca recorrente.
   Paleta: tinta índigo profunda, papel frio, ultramarino de ação, amarelo-sol para o "+". */

@font-face {
  font-family: "Bricolage";
  src: url("../fonts/bricolage-grotesque-latin-wght-normal.woff2") format("woff2");
  font-weight: 200 800;
  font-display: swap;
}
@font-face {
  font-family: "Figtree";
  src: url("../fonts/figtree-latin-wght-normal.woff2") format("woff2");
  font-weight: 300 900;
  font-display: swap;
}

:root {
  --ink: #15172b;
  --ink-2: #23264a;
  --paper: #f6f6fa;
  --white: #ffffff;
  --signal: #3533e6;
  --signal-dark: #2523b8;
  --sun: #ffc83d;
  --mist: #e5e6f1;
  --muted: #565a78;
  --line: #d9dbe9;
  --ok: #1f8a5b;
  --err: #c0342b;

  --f-display: "Bricolage", "Arial Narrow", "Helvetica Neue", Arial, sans-serif;
  --f-body: "Figtree", "Segoe UI", "Helvetica Neue", Arial, sans-serif;

  --step--1: 0.875rem;
  --step-0: 1.0625rem;
  --step-1: 1.25rem;
  --step-2: 1.5rem;
  --step-3: clamp(1.75rem, 1.4rem + 1.4vw, 2.25rem);
  --step-4: clamp(2.1rem, 1.5rem + 2.6vw, 3.25rem);
  --step-5: clamp(2.6rem, 1.6rem + 4.2vw, 4.75rem);

  --wrap: 1200px;
  --gutter: clamp(16px, 4vw, 40px);
  --r-sm: 8px;
  --r-md: 14px;
  --r-lg: 28px;
  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-family: var(--f-body);
  font-size: var(--step-0);
  line-height: 1.6;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--signal); text-underline-offset: 3px; }
a:hover { color: var(--signal-dark); }
:focus-visible { outline: 3px solid var(--signal); outline-offset: 3px; border-radius: 4px; }
h1, h2, h3, h4 {
  font-family: var(--f-display);
  line-height: 1.08;
  letter-spacing: -0.02em;
  margin: 0 0 .5em;
  text-wrap: balance;
  font-weight: 700;
}
h1 { font-size: var(--step-5); letter-spacing: -0.035em; font-weight: 750; }
h2 { font-size: var(--step-4); letter-spacing: -0.03em; }
h3 { font-size: var(--step-2); }
h4 { font-size: var(--step-1); }
p { margin: 0 0 1em; }
.lead { font-size: var(--step-1); color: var(--muted); max-width: 60ch; }
.muted { color: var(--muted); }
.small { font-size: var(--step--1); }

.skip { position: absolute; left: -9999px; top: 8px; background: var(--ink); color: var(--white); padding: 10px 16px; z-index: 200; border-radius: var(--r-sm); }
.skip:focus { left: 16px; color: var(--white); }

.wrap { max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: clamp(56px, 8vw, 112px); }
.section--tight { padding-block: clamp(40px, 5vw, 72px); }
.section--white { background: var(--white); }
.section--ink { background: var(--ink); color: var(--paper); }
.section--ink .lead, .section--ink .muted { color: #b9bcd8; }
.section--ink a { color: var(--sun); }

/* Sinal "+" — marca recorrente */
.plus { display: inline-grid; place-items: center; width: 1.1em; height: 1.1em; background: var(--sun); color: var(--ink); border-radius: 50%; font-weight: 800; line-height: 1; font-family: var(--f-display); }
.kicker { display: inline-flex; align-items: center; gap: .5em; font-weight: 600; color: var(--signal); margin-bottom: 1rem; font-size: var(--step-0); }
.section--ink .kicker { color: var(--sun); }
.kicker .plus { font-size: .8em; }

/* Botões */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .55em; font: 600 var(--step-0)/1.2 var(--f-body); padding: .95em 1.4em; border-radius: 999px; text-decoration: none; border: 2px solid transparent; cursor: pointer; transition: background .2s, color .2s, border-color .2s; }
.btn svg { width: 1.15em; height: 1.15em; flex: none; }
.btn--primary { background: var(--signal); color: var(--white); }
.btn--primary:hover { background: var(--signal-dark); color: var(--white); }
.btn--sun { background: var(--sun); color: var(--ink); }
.btn--sun:hover { background: #ffd666; color: var(--ink); }
.btn--ghost { border-color: currentColor; color: var(--ink); background: transparent; }
.btn--ghost:hover { background: var(--ink); color: var(--white); border-color: var(--ink); }
.section--ink .btn--ghost { color: var(--paper); }
.section--ink .btn--ghost:hover { background: var(--paper); color: var(--ink); border-color: var(--paper); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

/* Cabeçalho */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.94); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 72px; }
.brand { display: inline-flex; align-items: center; text-decoration: none; color: var(--ink); flex: none; }
.brand img { height: 38px; width: auto; }
.nav { display: flex; align-items: center; gap: 4px; }
.nav a { color: var(--ink); text-decoration: none; font-weight: 550; padding: 8px 12px; border-radius: 999px; font-size: .98rem; }
.nav a:hover, .nav a[aria-current="page"] { background: var(--mist); color: var(--ink); }
.nav .btn { margin-left: 8px; padding: .7em 1.1em; font-size: .95rem; }
.nav-toggle { display: none; background: none; border: 0; padding: 10px; cursor: pointer; color: var(--ink); }
.nav-toggle svg { width: 28px; height: 28px; }
@media (max-width: 1020px) {
  .nav-toggle { display: inline-flex; }
  .nav { position: fixed; inset: 72px 0 auto 0; flex-direction: column; align-items: stretch; background: var(--white); padding: 12px var(--gutter) 24px; border-bottom: 1px solid var(--line); box-shadow: 0 20px 40px rgba(21,23,43,.12); display: none; max-height: calc(100vh - 72px); overflow-y: auto; }
  .nav.is-open { display: flex; }
  .nav a { padding: 14px 12px; font-size: 1.05rem; }
  .nav .btn { margin: 10px 0 0; }
}

/* Hero */
.hero { padding-block: clamp(40px, 6vw, 88px) clamp(48px, 7vw, 96px); background: var(--white); overflow: hidden; }
.hero .wrap { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.hero h1 { margin-bottom: .35em; font-size: clamp(2.4rem, 1.5rem + 3.4vw, 4.25rem); max-width: 14ch; }
.hero h1 .plus { font-size: .62em; vertical-align: .18em; margin-right: .08em; }
.hero .lead { margin-bottom: 1.75rem; }
.hero-facts { list-style: none; padding: 0; margin: 2.25rem 0 0; display: flex; flex-wrap: wrap; gap: 10px 28px; color: var(--muted); font-size: .98rem; }
.hero-facts li { display: flex; align-items: center; gap: 8px; }
.hero-facts svg { width: 20px; height: 20px; color: var(--signal); flex: none; }
.hero-visual { position: relative; min-width: 0; }
.hero-photo { border-radius: var(--r-lg); overflow: hidden; aspect-ratio: 4 / 5; background: var(--mist); max-width: 100%; }
.hero-photo img { width: 100%; height: 100%; object-fit: cover; }
.hero-photo--alt { position: absolute; width: 42%; aspect-ratio: 1; left: -10%; bottom: -6%; border: 6px solid var(--white); border-radius: var(--r-md); box-shadow: 0 18px 40px rgba(21,23,43,.18); }
@media (max-width: 900px) {
  .hero .wrap { grid-template-columns: 1fr; }
  .hero-photo { aspect-ratio: 4 / 3.4; }
  .hero-photo--alt { display: none; }
}

/* Conversa simulada */
.chat { position: absolute; right: -4%; bottom: 8%; width: min(330px, 86%); background: var(--white); border-radius: 20px; padding: 14px; box-shadow: 0 24px 60px rgba(21,23,43,.22); font-size: .9rem; display: grid; gap: 8px; }
.chat-head { display: flex; align-items: center; gap: 10px; padding-bottom: 10px; border-bottom: 1px solid var(--mist); }
.chat-head .av { width: 34px; height: 34px; border-radius: 50%; background: var(--ink); color: var(--sun); display: grid; place-items: center; font-weight: 800; font-family: var(--f-display); }
.chat-head strong { display: block; font-size: .92rem; line-height: 1.2; }
.chat-head span { font-size: .78rem; color: var(--muted); }
.bubble { max-width: 86%; padding: 8px 12px; border-radius: 14px; line-height: 1.4; }
.bubble time { display: block; font-size: .7rem; color: var(--muted); text-align: right; margin-top: 2px; }
.bubble--in { background: var(--paper); border-bottom-left-radius: 4px; }
.bubble--out { background: var(--signal); color: var(--white); justify-self: end; border-bottom-right-radius: 4px; }
.bubble--out time { color: #d4d4ff; }
.tag { display: inline-flex; align-items: center; gap: 6px; font-size: .74rem; font-weight: 600; background: #fff4d6; color: #6b4e00; padding: 4px 9px; border-radius: 999px; justify-self: start; }
.chat-note { font-size: .7rem; color: var(--muted); text-align: center; margin-top: 2px; }
@media (max-width: 900px) { .chat { right: 12px; bottom: 12px; } }
@media (max-width: 480px) { .chat { position: relative; right: auto; bottom: auto; width: 100%; margin-top: -48px; margin-inline: auto; width: 92%; } }

/* Grades e blocos de texto */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 88px); align-items: center; }
.split > * { min-width: 0; }
.split--top { align-items: start; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } }
.prose { max-width: 68ch; }
.prose h2 { margin-top: 1.6em; font-size: var(--step-3); }
.prose h3 { margin-top: 1.4em; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li { margin-bottom: .4em; }
.prose strong { color: var(--ink); }

.mosaic { display: grid; grid-template-columns: 1.2fr 1fr; grid-template-rows: 1fr 1fr; gap: 14px; aspect-ratio: 1 / .95; max-width: 100%; }
.mosaic figure { margin: 0; border-radius: var(--r-md); overflow: hidden; background: var(--mist); }
.mosaic figure:first-child { grid-row: span 2; }
.mosaic img { width: 100%; height: 100%; object-fit: cover; }

.photo { margin: 0; border-radius: var(--r-lg); overflow: hidden; background: var(--mist); }
.photo img { width: 100%; height: 100%; object-fit: cover; }
.photo--wide { aspect-ratio: 16 / 9; }
.photo--tall { aspect-ratio: 4 / 5; }
.photo--square { aspect-ratio: 1; }

/* Contraste agência comum x nós */
.compare { display: grid; grid-template-columns: 1fr 1fr; gap: 0; border: 1px solid var(--line); border-radius: var(--r-md); overflow: hidden; background: var(--white); }
.compare > div { padding: 28px; min-width: 0; }
.compare > div + div { background: var(--ink); color: var(--paper); }
.compare h3 { font-size: var(--step-1); }
.compare ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.compare li { display: grid; grid-template-columns: 22px 1fr; gap: 10px; align-items: start; }
.compare svg { width: 20px; height: 20px; margin-top: 3px; }
.compare > div:first-child svg { color: var(--muted); }
.compare > div + div svg { color: var(--sun); }
@media (max-width: 700px) { .compare { grid-template-columns: 1fr; } }

/* Etapas do Protocolo (sequência real) */
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; counter-reset: step; }
.steps li { counter-increment: step; background: var(--white); border-radius: var(--r-md); overflow: hidden; border: 1px solid var(--line); display: flex; flex-direction: column; min-width: 0; }
.section--ink .steps li { background: var(--ink-2); border-color: #33375f; }
.steps figure { margin: 0; aspect-ratio: 16 / 10; background: var(--mist); }
.steps figure img { width: 100%; height: 100%; object-fit: cover; }
.steps .step-body { padding: 22px 22px 24px; }
.steps h3 { font-size: var(--step-1); display: flex; align-items: baseline; gap: 10px; }
.steps h3::before { content: counter(step); font-family: var(--f-display); font-weight: 800; color: var(--signal); font-size: 1.35em; }
.section--ink .steps h3::before { color: var(--sun); }
.steps p { margin: 0; color: var(--muted); font-size: .98rem; }
.section--ink .steps p { color: #b9bcd8; }
@media (max-width: 960px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .steps { grid-template-columns: 1fr; } }

/* Serviços — linhas editoriais alternadas */
.service-row { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 72px); align-items: center; padding-block: clamp(28px, 4vw, 48px); }
.service-row + .service-row { border-top: 1px solid var(--line); }
.service-row:nth-child(even) .photo { order: 2; }
.service-row > * { min-width: 0; }
.service-row h3 { font-size: var(--step-3); }
.service-row ul { padding-left: 1.2em; margin: 0 0 1.25rem; }
.service-row li { margin-bottom: .35em; }
@media (max-width: 860px) { .service-row { grid-template-columns: 1fr; } .service-row:nth-child(even) .photo { order: 0; } }

.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 20px; }
.card { background: var(--white); border: 1px solid var(--line); border-radius: var(--r-md); overflow: hidden; display: flex; flex-direction: column; min-width: 0; color: var(--ink); text-decoration: none; }
a.card:hover { border-color: var(--signal); color: var(--ink); }
a.card:hover h3 { color: var(--signal); }
.card figure { margin: 0; aspect-ratio: 16 / 10; background: var(--mist); }
.card figure img { width: 100%; height: 100%; object-fit: cover; }
.card-body { padding: 22px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.card-body h3 { font-size: var(--step-1); margin: 0; }
.card-body p { margin: 0; color: var(--muted); font-size: .98rem; }
.card-meta { font-size: .85rem; color: var(--muted); }

/* Hub 365 — interfaces ilustrativas */
.ui { background: var(--white); color: var(--ink); border-radius: var(--r-md); box-shadow: 0 30px 70px rgba(0,0,0,.35); overflow: hidden; font-size: .85rem; max-width: 100%; }
.ui-bar { display: flex; align-items: center; gap: 6px; padding: 10px 14px; background: var(--mist); }
.ui-bar i { width: 10px; height: 10px; border-radius: 50%; background: #c5c7da; display: block; }
.ui-bar span { margin-left: 8px; font-weight: 600; color: var(--muted); font-size: .78rem; }
.ui-body { padding: 18px; display: grid; gap: 14px; }
.kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.kpi { background: var(--paper); border-radius: 10px; padding: 10px 12px; min-width: 0; }
.kpi b { display: block; font-family: var(--f-display); font-size: 1.35rem; font-variant-numeric: tabular-nums; }
.kpi span { color: var(--muted); font-size: .74rem; }
.bars { display: flex; align-items: flex-end; gap: 6px; height: 110px; padding: 10px 4px 0; border-bottom: 1px solid var(--line); }
.bars div { flex: 1; background: var(--signal); border-radius: 4px 4px 0 0; opacity: .85; }
.bars div.hi { background: var(--sun); opacity: 1; }
.bars-legend { display: flex; justify-content: space-between; color: var(--muted); font-size: .7rem; }
.kanban { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.kanban > div { background: var(--paper); border-radius: 10px; padding: 10px; display: grid; gap: 8px; align-content: start; min-width: 0; }
.kanban h5 { margin: 0; font: 700 .75rem/1.2 var(--f-body); color: var(--muted); }
.kanban p { margin: 0; background: var(--white); border: 1px solid var(--line); border-radius: 8px; padding: 8px; font-size: .76rem; line-height: 1.35; }
.kanban p em { display: block; font-style: normal; color: var(--signal); font-weight: 600; font-size: .7rem; }
.flow { display: grid; gap: 8px; }
.flow div { display: flex; align-items: center; gap: 10px; background: var(--paper); border-radius: 10px; padding: 10px 12px; }
.flow b { width: 26px; height: 26px; flex: none; border-radius: 50%; background: var(--ink); color: var(--sun); display: grid; place-items: center; font-size: .78rem; }
.ui-caption { font-size: .8rem; color: #9fa3c6; margin-top: 12px; }
.feature-list { list-style: none; padding: 0; margin: 0 0 1.5rem; display: grid; gap: 14px; }
.feature-list li { display: grid; grid-template-columns: 26px 1fr; gap: 12px; }
.feature-list svg { width: 24px; height: 24px; color: var(--sun); margin-top: 2px; }
.section--white .feature-list svg, .feature-list.on-light svg { color: var(--signal); }

/* Linha do tempo */
.timeline { list-style: none; padding: 0; margin: 0; position: relative; display: grid; gap: 0; }
.timeline::before { content: ""; position: absolute; left: 88px; top: 8px; bottom: 8px; width: 2px; background: var(--line); }
.timeline li { display: grid; grid-template-columns: 72px 1fr; gap: 36px; padding-block: 18px; position: relative; }
.timeline li::before { content: ""; position: absolute; left: 82px; top: 28px; width: 14px; height: 14px; border-radius: 50%; background: var(--sun); border: 3px solid var(--ink); }
.timeline time { font-family: var(--f-display); font-weight: 800; font-size: 1.5rem; color: var(--signal); line-height: 1.2; padding-top: 14px; }
.timeline h3 { font-size: var(--step-1); margin-bottom: .3em; padding-top: 16px; }
.timeline p { margin: 0; color: var(--muted); max-width: 64ch; }
@media (max-width: 600px) {
  .timeline::before { left: 7px; }
  .timeline li { grid-template-columns: 1fr; gap: 0; padding-left: 32px; }
  .timeline li::before { left: 1px; top: 22px; }
  .timeline time { padding-top: 14px; }
  .timeline h3 { padding-top: 4px; }
}

/* Transparência */
.notice { background: var(--white); border: 1px solid var(--line); border-left: 6px solid var(--sun); border-radius: var(--r-md); padding: clamp(22px, 3vw, 36px); }
.notice h2, .notice h3 { margin-top: 0; }
.notice ul { margin: 0; padding-left: 1.2em; display: grid; gap: 8px; }

/* Faixa de chamada */
.cta-band { background: var(--signal); color: var(--white); border-radius: var(--r-lg); padding: clamp(32px, 5vw, 64px); display: grid; grid-template-columns: 1.4fr 1fr; gap: 32px; align-items: center; position: relative; overflow: hidden; }
.cta-band h2 { color: var(--white); margin-bottom: .3em; }
.cta-band p { color: #e0e0ff; margin: 0; max-width: 52ch; }
.cta-band .btn-row { justify-content: flex-end; }
.cta-band::after { content: "+"; position: absolute; right: .02em; bottom: -.36em; font: 800 22rem/1 var(--f-display); color: rgba(255,255,255,.08); pointer-events: none; }
.cta-band > * { position: relative; z-index: 1; }
@media (max-width: 800px) { .cta-band { grid-template-columns: 1fr; } .cta-band .btn-row { justify-content: flex-start; } }

/* Cabeçalho de página interna */
.page-head { background: var(--white); padding-block: clamp(40px, 6vw, 80px) clamp(32px, 4vw, 56px); border-bottom: 1px solid var(--line); }
.page-head h1 { font-size: var(--step-4); max-width: 22ch; }
.page-head .lead { margin-bottom: 0; }
.crumbs { font-size: .88rem; color: var(--muted); margin-bottom: 1.25rem; }
.crumbs a { color: var(--muted); }
.page-head--photo .wrap { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(28px, 5vw, 64px); align-items: center; }
.page-head--photo .photo { aspect-ratio: 4 / 3; }
@media (max-width: 860px) { .page-head--photo .wrap { grid-template-columns: 1fr; } }

/* FAQ */
.faq { display: grid; gap: 12px; max-width: 860px; }
.faq details { background: var(--white); border: 1px solid var(--line); border-radius: var(--r-md); padding: 0 22px; }
.faq summary { cursor: pointer; list-style: none; padding: 20px 36px 20px 0; font-weight: 650; font-size: 1.08rem; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 0; top: 50%; transform: translateY(-50%); width: 28px; height: 28px; border-radius: 50%; background: var(--mist); display: grid; place-items: center; font: 700 1.2rem/1 var(--f-display); transition: transform .2s; }
.faq details[open] summary::after { content: "−"; background: var(--sun); }
.faq details > div { padding-bottom: 20px; color: var(--muted); }
.faq details > div p:last-child { margin-bottom: 0; }

/* Contato */
.contact-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(28px, 5vw, 64px); align-items: start; }
.contact-grid > * { min-width: 0; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }
.form { background: var(--white); border: 1px solid var(--line); border-radius: var(--r-lg); padding: clamp(22px, 4vw, 40px); display: grid; gap: 18px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
@media (max-width: 600px) { .form-row { grid-template-columns: 1fr; } }
.field { display: grid; gap: 6px; min-width: 0; }
.field label { font-weight: 600; font-size: .95rem; }
.field label small { font-weight: 400; color: var(--muted); }
.field input, .field textarea, .field select { font: inherit; font-size: 1rem; padding: 12px 14px; border: 1.5px solid var(--line); border-radius: 10px; background: var(--paper); color: var(--ink); width: 100%; }
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--signal); background: var(--white); box-shadow: 0 0 0 3px rgba(53,51,230,.15); }
.field textarea { min-height: 130px; resize: vertical; }
.check { display: grid; grid-template-columns: 22px 1fr; gap: 10px; align-items: start; font-size: .92rem; color: var(--muted); }
.check input { width: 20px; height: 20px; margin-top: 2px; accent-color: var(--signal); }
.hp { position: absolute !important; left: -10000px !important; width: 1px; height: 1px; overflow: hidden; }
.form-status { padding: 14px 16px; border-radius: 10px; font-size: .95rem; }
.form-status.ok { background: #e3f5ec; color: var(--ok); }
.form-status.err { background: #fbe9e7; color: var(--err); }
.contact-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 20px; }
.contact-list li { display: grid; grid-template-columns: 44px 1fr; gap: 14px; align-items: start; }
.contact-list .ic { width: 44px; height: 44px; border-radius: 12px; background: var(--ink); color: var(--sun); display: grid; place-items: center; }
.contact-list .ic svg { width: 22px; height: 22px; }
.contact-list strong { display: block; }
.contact-list a { word-break: break-word; }

/* Tabelas legais */
.table-wrap { overflow-x: auto; margin: 1em 0 1.5em; border: 1px solid var(--line); border-radius: var(--r-sm); background: var(--white); }
table { border-collapse: collapse; width: 100%; font-size: .93rem; min-width: 560px; }
th, td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--line); vertical-align: top; }
th { background: var(--mist); font-weight: 650; }
tr:last-child td { border-bottom: 0; }
.legal-layout { display: grid; grid-template-columns: 240px 1fr; gap: clamp(28px, 5vw, 64px); align-items: start; }
.legal-layout > * { min-width: 0; }
.legal-toc { position: sticky; top: 96px; font-size: .92rem; display: grid; gap: 4px; }
.legal-toc strong { margin-bottom: 6px; }
.legal-toc a { color: var(--muted); text-decoration: none; padding: 4px 0; }
.legal-toc a:hover { color: var(--signal); }
@media (max-width: 900px) { .legal-layout { grid-template-columns: 1fr; } .legal-toc { position: static; } }
.updated { display: inline-block; background: var(--mist); padding: 6px 12px; border-radius: 999px; font-size: .88rem; color: var(--muted); }

/* Artigo */
.article-hero { aspect-ratio: 21 / 9; border-radius: var(--r-lg); overflow: hidden; background: var(--mist); margin: 0 0 clamp(28px, 4vw, 48px); max-width: 100%; }
.article-hero img { width: 100%; height: 100%; object-fit: cover; }
.article .prose { margin-inline: auto; font-size: 1.1rem; }
.article .prose p { line-height: 1.75; }
.author-box { display: flex; gap: 16px; align-items: center; border-top: 1px solid var(--line); padding-top: 24px; margin-top: 40px; }
.author-box .av { width: 52px; height: 52px; border-radius: 50%; background: var(--ink); color: var(--sun); display: grid; place-items: center; font: 800 1.3rem/1 var(--f-display); flex: none; }

/* Rodapé */
.site-footer { background: var(--ink); color: #c5c8e3; padding-block: clamp(48px, 6vw, 80px) 28px; font-size: .95rem; }
.site-footer a { color: #e7e8f6; text-decoration: none; }
.site-footer a:hover { color: var(--sun); text-decoration: underline; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 36px; }
.footer-grid > * { min-width: 0; }
.footer-grid h2 { font-size: 1.05rem; color: var(--white); letter-spacing: 0; margin-bottom: 14px; }
.footer-grid ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.footer-brand img { height: 40px; width: auto; margin-bottom: 16px; }
.footer-company { border-top: 1px solid #2f3358; margin-top: 40px; padding-top: 24px; display: grid; gap: 10px; font-size: .86rem; color: #9fa3c6; }
.footer-company p { margin: 0; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; margin-top: 18px; font-size: .86rem; color: #9fa3c6; }
.linklike { background: none; border: 0; padding: 0; font: inherit; color: #e7e8f6; cursor: pointer; text-align: left; }
.linklike:hover { color: var(--sun); text-decoration: underline; }
@media (max-width: 960px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }

/* Botão flutuante de WhatsApp (canto, não cobre conteúdo essencial) */
.wa-float { position: fixed; right: 18px; bottom: calc(18px + env(safe-area-inset-bottom, 0px)); z-index: 40; width: 58px; height: 58px; border-radius: 50%; background: var(--ink); color: var(--sun); display: grid; place-items: center; box-shadow: 0 10px 30px rgba(21,23,43,.3); }
.wa-float:hover { background: var(--signal); color: var(--white); }
.wa-float svg { width: 28px; height: 28px; }
body.has-banner .wa-float { bottom: calc(18px + var(--banner-h, 0px)); }

/* Banner de cookies */
.cookie-banner { position: fixed; left: 0; right: 0; bottom: 0; z-index: 100; background: var(--white); border-top: 1px solid var(--line); box-shadow: 0 -18px 50px rgba(21,23,43,.16); padding: 18px var(--gutter) calc(18px + env(safe-area-inset-bottom, 0px)); }
.cookie-inner { max-width: var(--wrap); margin-inline: auto; display: grid; grid-template-columns: 1fr auto; gap: 18px 32px; align-items: center; }
.cookie-inner > * { min-width: 0; }
.cookie-inner h2 { font-size: 1.1rem; margin: 0 0 4px; letter-spacing: 0; }
.cookie-inner p { margin: 0; font-size: .92rem; color: var(--muted); }
.cookie-actions { display: flex; flex-wrap: wrap; gap: 10px; justify-content: flex-end; }
.cookie-actions .btn { padding: .75em 1.15em; font-size: .93rem; }
@media (max-width: 820px) { .cookie-inner { grid-template-columns: 1fr; } .cookie-actions { justify-content: stretch; } .cookie-actions .btn { flex: 1 1 auto; } }
.cookie-modal { position: fixed; inset: 0; z-index: 110; background: rgba(21,23,43,.55); display: grid; place-items: center; padding: 16px; }
.cookie-dialog { background: var(--white); border-radius: var(--r-lg); max-width: 620px; width: 100%; max-height: calc(100vh - 32px); overflow-y: auto; padding: clamp(22px, 4vw, 36px); }
.cookie-dialog h2 { font-size: var(--step-2); }
.cookie-cat { border: 1px solid var(--line); border-radius: var(--r-md); padding: 16px 18px; margin-bottom: 12px; }
.cookie-cat header { display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.cookie-cat h3 { font-size: 1.05rem; margin: 0; letter-spacing: 0; }
.cookie-cat p { margin: 8px 0 0; font-size: .9rem; color: var(--muted); }
.switch { position: relative; width: 50px; height: 28px; flex: none; }
.switch input { opacity: 0; width: 100%; height: 100%; position: absolute; inset: 0; margin: 0; cursor: pointer; z-index: 1; }
.switch span { position: absolute; inset: 0; background: #c5c7da; border-radius: 999px; transition: background .2s; }
.switch span::after { content: ""; position: absolute; left: 3px; top: 3px; width: 22px; height: 22px; border-radius: 50%; background: var(--white); transition: transform .2s; }
.switch input:checked + span { background: var(--signal); }
.switch input:checked + span::after { transform: translateX(22px); }
.switch input:disabled + span { background: #8f92c9; }
.switch input:focus-visible + span { outline: 3px solid var(--signal); outline-offset: 2px; }
.always { font-size: .82rem; color: var(--ok); font-weight: 600; white-space: nowrap; }

/* Um único momento de movimento: a conversa do hero entra em sequência */
@media (prefers-reduced-motion: no-preference) {
  .chat > * { animation: rise .5s both; }
  .chat > *:nth-child(2) { animation-delay: .5s; }
  .chat > *:nth-child(3) { animation-delay: 1.1s; }
  .chat > *:nth-child(4) { animation-delay: 1.7s; }
  .chat > *:nth-child(5) { animation-delay: 2.2s; }
  @keyframes rise { from { opacity: .001; transform: translateY(8px); } to { opacity: 1; transform: none; } }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; animation: none !important; } }

.center { text-align: center; }
.mt-0 { margin-top: 0; }
.mb-lg { margin-bottom: clamp(28px, 4vw, 48px); }
.head-row { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 20px; margin-bottom: clamp(28px, 4vw, 48px); }
.head-row > div { max-width: 680px; }
.head-row h2 { margin-bottom: .3em; }
.head-row p { margin: 0; }

/* Marca (wordmark em HTML para nitidez) */
.brand { gap: 10px; }
.brand-mark { width: 40px; height: 40px; border-radius: 50%; background: var(--sun); position: relative; flex: none; }
.brand-mark::before, .brand-mark::after { content: ""; position: absolute; left: 50%; top: 50%; background: var(--ink); border-radius: 2px; transform: translate(-50%, -50%); }
.brand-mark::before { width: 18px; height: 5px; }
.brand-mark::after { width: 5px; height: 18px; }
.brand-word { font: 800 1.42rem/0.9 var(--f-display); letter-spacing: -0.04em; display: grid; }
.brand-word small { font: 600 .66rem/1.3 var(--f-body); letter-spacing: .32em; color: var(--muted); margin-top: 3px; }
.site-footer .brand { color: var(--white); margin-bottom: 18px; }
.site-footer .brand-word small { color: #9fa3c6; }
