/* Development Inovation Growth — estilos do site
   Identidade visual DIG (manual v1.0): preto como fundo padrão, branco nas seções claras,
   roxo nos destaques, verde nas ações, fonte Sora. Seções escuras (.dark) e claras (.light) alternam. */

:root {
  /* Cores da marca */
  --preto: #000000;
  --branco: #FFFFFF;
  --roxo: #A855F7;          /* destaques, linhas, caixas de ícone (texto no branco só grande e em negrito) */
  --roxo-texto: #7E22CE;    /* roxo para texto pequeno no fundo branco */
  --verde: #34C759;         /* botões e ações; nunca como texto no branco */
  --verde-sombra: #2EAF4E;  /* hover do botão verde */
  --alerta: #FF6B6B;        /* o "problema" nas seções pretas (só no fundo preto) */
  --verde-texto: #1B7A35;   /* verde para texto no fundo branco (o #34C759 não pode virar texto no branco) */
  --vermelho-texto: #B42318; /* o "problema" no fundo branco */

  /* Neutros de interface */
  --bg: var(--preto);
  --bg-2: #111111;          /* superfície: cards no preto */
  --bg-3: #1A1A1A;
  --line-dark: #262626;
  --on-dark: var(--branco);
  --muted-on-dark: #BDBDBD;

  --paper: var(--branco);
  --paper-2: #F6F6F6;
  --ink: var(--preto);
  --muted: #555555;
  --line: #E5E5E5;

  --font: "Sora", system-ui, -apple-system, "Segoe UI", sans-serif;

  --container: 1200px;
  --gutter: 24px;
  --radius: 16px;           /* cards */
  --radius-lg: 20px;        /* blocos grandes */
  --radius-btn: 10px;
  --nav-h: 84px;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }

html { scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 16px); }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; }
h1, h2, h3, h4 { font-family: var(--font); line-height: 1.1; letter-spacing: -0.02em; margin: 0; font-weight: 800; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }

/* Foco do teclado: contorno roxo de 3 px, afastado 3 px */
:focus-visible { outline: 3px solid var(--roxo); outline-offset: 3px; border-radius: 6px; }

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

.skip-link {
  position: absolute; left: 16px; top: -60px; z-index: 100;
  background: var(--verde); color: var(--preto); padding: 10px 16px; border-radius: var(--radius-btn); font-weight: 700;
}
.skip-link:focus { top: 12px; }

/* ---------- Superfícies ---------- */
.dark { background: var(--bg); color: var(--on-dark); }
.light { background: var(--paper); color: var(--ink); }
.light--alt { background: var(--paper-2); }

section { position: relative; }
.section { padding: 96px 0; }
.section--tight { padding: 72px 0; }

/* ---------- Tipografia utilitária ---------- */
.eyebrow {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--roxo-texto);
  margin-bottom: 18px;
}
.dark .eyebrow { color: var(--roxo); }

.h2 { font-size: clamp(32px, 4vw, 44px); max-width: 22ch; }
.lead { font-size: clamp(17px, 1.5vw, 19px); color: var(--muted); max-width: 58ch; margin-top: 20px; }
.dark .lead { color: var(--muted-on-dark); }
.section-head { margin-bottom: 56px; }
.section-head--split { display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; flex-wrap: wrap; }

em.hl { font-style: normal; color: var(--roxo); }
.light em.hl { color: var(--roxo-texto); }

/* ---------- Botões ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 0 26px; border-radius: var(--radius-btn);
  font-family: var(--font); font-weight: 700; font-size: 16px; line-height: 1.2;
  border: 2px solid transparent;
  transition: background .15s, border-color .15s, color .15s;
  white-space: nowrap;
}
.btn svg { width: 16px; height: 16px; transition: transform .2s; }
.btn:hover svg { transform: translateX(3px); }
/* Principal: verde com texto preto. Um por bloco. */
.btn--accent { background: var(--verde); color: var(--preto); }
.btn--accent:hover { background: var(--verde-sombra); }
/* Secundário no preto: contorno branco */
.btn--ghost { border-color: var(--branco); color: var(--branco); background: transparent; }
.btn--ghost:hover { background: rgba(255, 255, 255, .08); }
/* Secundário no branco: contorno preto */
.btn--outline-ink { border-color: var(--preto); color: var(--preto); background: transparent; }
.btn--outline-ink:hover { background: rgba(0, 0, 0, .05); }
.btn--sm { padding: 0 20px; font-size: 15px; }

.link-arrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-weight: 700; font-size: 15px; color: var(--roxo-texto);
}
.dark .link-arrow { color: var(--verde); }
.link-arrow svg { width: 16px; height: 16px; transition: transform .2s; }
.link-arrow:hover svg { transform: translateX(4px); }

/* ---------- Navegação ---------- */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 50; height: var(--nav-h);
  color: var(--on-dark);
  transition: background .25s, border-color .25s, backdrop-filter .25s;
  border-bottom: 1px solid transparent;
}
.nav.is-scrolled {
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: saturate(140%) blur(14px);
  -webkit-backdrop-filter: saturate(140%) blur(14px);
  border-bottom-color: var(--line-dark);
}
.nav__inner { position: relative; height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; }

/* Logo DIG: o SVG já traz as cores da marca; nunca esticar, contornar ou sombrear.
   O viewBox foi recortado no desenho (221 de 320 unidades do arquivo oficial):
   1 px aqui = 1,45 px do SVG oficial na hora de conferir os tamanhos mínimos do manual. */
.brand { display: inline-flex; align-items: center; flex: none; }
.brand__logo { width: 72px; height: auto; overflow: visible; }
/* Cabeçalho: logo à esquerda, links logo depois e botão à direita.
   "dig technologies" com 104 px = 151 px do oficial (mínimo 120 px para a versão com technologies). */
.nav .brand { position: relative; z-index: 1; margin-right: 16px; }
.nav .brand__logo { width: 104px; }
/* Rodapé: versão "com technologies" (160 px aqui = 232 px do oficial) */
.brand--full .brand__logo { width: 160px; }

.nav__links { display: flex; align-items: center; gap: 6px; flex: 1; }
.nav__grupo > a, .nav__item > a {
  font-size: 15px; font-weight: 500; color: var(--muted-on-dark);
  padding: 8px 12px; border-radius: 8px; display: inline-flex; align-items: center; gap: 6px;
  transition: color .2s, background .2s;
}
.nav__grupo > a:hover, .nav__item > a:hover, .nav__links a[aria-current="page"]:not(.btn) { color: var(--on-dark); }
.nav__links a[aria-current="page"]:not(.btn) { background: rgba(255,255,255,.06); }
.nav__item:has(.nav__menu a[aria-current="page"]) > a { color: var(--on-dark); background: rgba(255,255,255,.06); }
.nav__links > .btn { margin-left: auto; color: var(--preto); }
.nav__links > .btn:hover { color: var(--preto); }
.nav__grupo { display: flex; align-items: center; gap: 6px; }
/* Menu dos setores: 5 colunas, centrado na tela (posicionado pelo grupo de links, que fica no centro) */
.nav__grupo { position: relative; }
.nav__item:has(.nav__menu--setores) { position: static; }
.nav__menu.nav__menu--setores { width: min(960px, calc(100vw - 48px)); left: 50%; transform: translate(-50%, 6px); grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 4px 10px; padding: 18px; }
.nav__item:hover .nav__menu.nav__menu--setores, .nav__item:focus-within .nav__menu.nav__menu--setores { transform: translate(-50%, 0); }
.nav__item.is-fechado .nav__menu.nav__menu--setores { transform: translate(-50%, 6px); }
.nav__setores-titulo { margin: 0 0 6px; padding: 0 8px; font-size: 11px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--roxo); }
.nav__menu.nav__menu--setores a { padding: 7px 8px; font-size: 14px; font-weight: 500; line-height: 1.3; color: var(--muted-on-dark); border-radius: 8px; }
.nav__menu--setores a:hover, .nav__menu--setores a:focus-visible { color: var(--on-dark); background: rgba(255, 255, 255, .05); }
.nav__menu--setores a[aria-current="page"] { color: var(--on-dark); background: rgba(168, 85, 247, .14); }
@media (max-width: 1080px) { .nav__menu--setores, .nav__item:hover .nav__menu--setores { display: none !important; } }
/* Computador: logo encostado na esquerda, links no centro da tela e o botão na direita */
@media (min-width: 1081px) {
  .nav .nav__inner { max-width: none; padding-inline: clamp(20px, 3vw, 48px); display: grid; grid-template-columns: 1fr auto 1fr; }
  .nav .brand { justify-self: start; margin-right: 0; }
  .nav__links { grid-column: 2 / 4; display: grid; grid-template-columns: subgrid; align-items: center; }
  .nav__grupo { justify-self: center; }
  .nav__links > .btn { justify-self: end; margin-left: 0; }
}
.nav__item { position: relative; }
.nav__item > a svg { width: 12px; height: 12px; opacity: .6; transition: transform .2s; }
.nav__item:hover > a svg, .nav__item:focus-within > a svg { transform: rotate(180deg); }

.nav__menu {
  position: absolute; top: calc(100% + 10px); left: 0; transform: translate(0, 6px);
  width: 560px; padding: 10px; border-radius: var(--radius); z-index: 2; /* acima do logo central */
  background: var(--bg-2); border: 1px solid var(--line-dark);
  box-shadow: 0 30px 60px -20px rgba(0,0,0,.8);
  display: grid; grid-template-columns: 1fr 1fr; gap: 2px;
  opacity: 0; visibility: hidden; transition: opacity .2s, transform .2s, visibility .2s;
}
.nav__menu--narrow { width: 300px; grid-template-columns: 1fr; }
.nav__menu::before { content: ""; position: absolute; inset: -14px 0 auto 0; height: 14px; }
.nav__item:hover .nav__menu, .nav__item:focus-within .nav__menu { opacity: 1; visibility: visible; transform: none; }
.nav__item.is-fechado .nav__menu { opacity: 0; visibility: hidden; transform: translate(0, 6px); }
.nav__menu a { padding: 12px 14px; border-radius: var(--radius-btn); display: block; transition: background .2s; }
.nav__menu a:hover { background: rgba(255,255,255,.05); }
.nav__menu strong { display: block; font-size: 14px; font-weight: 600; color: var(--on-dark); }
.nav__menu span { display: block; font-size: 13px; color: var(--muted-on-dark); margin-top: 2px; line-height: 1.4; }

.nav__toggle { display: none; width: 44px; height: 44px; border-radius: var(--radius-btn); background: rgba(255,255,255,.04); border: 1px solid var(--line-dark); position: relative; }
.nav__toggle span { position: absolute; left: 12px; right: 12px; height: 2px; background: var(--on-dark); border-radius: 2px; transition: transform .25s, top .25s; }
.nav__toggle span:first-child { top: 16px; }
.nav__toggle span:last-child { top: 25px; }
.nav.is-open .nav__toggle span:first-child { top: 21px; transform: rotate(45deg); }
.nav.is-open .nav__toggle span:last-child { top: 21px; transform: rotate(-45deg); }

/* ---------- Hero (página inicial): logo grande no centro, título e texto centralizados ---------- */
.hero { padding: calc(var(--nav-h) + 48px) 0 104px; overflow: hidden; isolation: isolate; text-align: center; }
.hero__bg { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.hero__bg::before {
  content: ""; position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 70% 60% at 50% 30%, #000 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 30%, #000 30%, transparent 75%);
}
.hero__bg::after {
  content: ""; position: absolute; width: 1000px; height: 1000px; left: 50%; top: -560px; transform: translateX(-50%);
  background: radial-gradient(circle, rgba(168, 85, 247, .16), transparent 62%);
}
.hero__inner { display: flex; flex-direction: column; align-items: center; }
/* "dig technologies" com 150 px = 217 px do SVG oficial */
.hero__logo { width: 150px; height: auto; margin-bottom: 40px; overflow: visible; }
.hero h1 { font-size: clamp(40px, 5vw, 56px); line-height: 1.06; letter-spacing: -0.025em; max-width: 16ch; text-wrap: balance; }
.hero .lead { margin: 24px auto 0; max-width: 60ch; }
.hero .lead a { color: var(--on-dark); text-decoration: underline; text-decoration-color: var(--roxo); text-decoration-thickness: 2px; text-underline-offset: 4px; }
.hero .lead a:hover { color: var(--roxo); }
.hero__cta { display: flex; gap: 12px; margin-top: 36px; flex-wrap: wrap; }
.hero .hero__cta { justify-content: center; }
/* frase curta logo acima dos botões do topo */
.hero__dica { margin-top: 30px; font-size: 15px; font-weight: 600; color: var(--verde); }
.hero__dica + .hero__cta { margin-top: 14px; }

/* Página inicial: no topo fica só o logo grande do centro. Ao rolar, o logo pequeno entra à esquerda
   e os botões do menu aparecem (no celular o botão de menu fica sempre à mão) */
.nav--home .brand { transition: opacity .3s, transform .3s; }
.js .nav--home:not(.mostra-logo):not(.is-open) .brand { opacity: 0; transform: translateX(-12px); pointer-events: none; }
@media (min-width: 1081px) {
  .nav--home .nav__links { transition: opacity .3s, transform .3s; }
  .js .nav--home:not(.mostra-logo) .nav__links { opacity: 0; transform: translateY(-6px); pointer-events: none; }
  /* teclado e leitor de tela: o menu segue na página (só some à vista) e aparece quando recebe o foco */
  .js .nav--home:not(.mostra-logo) .nav__links:focus-within { opacity: 1; transform: none; pointer-events: auto; }
}
.js .nav--home:not(.mostra-logo):not(.is-open) .brand:focus-visible { opacity: 1; }

/* Topo: os 3 dados de mercado que mais falam com o dono de PME (com fonte). Número em roxo e frase em verde;
   com JS, os números contam até o valor ao abrir a página (sem JS ou com movimento reduzido, já aparecem prontos) */
.dados-topo { margin-top: 56px; }
.dados-topo__titulo { font-size: 11px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--roxo); margin-bottom: 22px; }
.dados-topo__lista { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); max-width: 980px; margin: 0 auto; }
.dado-topo { display: flex; flex-direction: column; align-items: center; gap: 10px; padding: 0 24px; border-left: 1px solid var(--line-dark); text-align: center; }
.dado-topo:first-child { border-left: 0; }
.dado-topo__numero { font-size: clamp(40px, 4.6vw, 56px); font-weight: 800; letter-spacing: -0.03em; line-height: 1; color: var(--roxo); font-variant-numeric: tabular-nums; white-space: nowrap; }
.dado-topo__frase { max-width: 28ch; font-size: 15px; font-weight: 600; line-height: 1.45; color: var(--verde); }
.dados-topo__fontes { margin-top: 22px; font-size: 11.5px; line-height: 1.5; color: var(--muted-on-dark); text-align: center; }
.dados-topo__fontes a { color: inherit; text-decoration: underline; text-decoration-color: rgba(255, 255, 255, .25); text-underline-offset: 2px; }
.dados-topo__fontes a:hover { color: var(--branco); text-decoration-color: currentColor; }

/* ---------- Faixa de compromissos ---------- */
/* pausa só com mouse: no celular o :hover "gruda" depois do toque e a faixa ficava parada */
@media (hover: hover) { .stack__mask:hover .stack__row { animation-play-state: paused; } }

/* ---------- Soluções (abas) ---------- */
.solutions { display: grid; grid-template-columns: 400px 1fr; gap: 64px; align-items: start; }
.solutions__list { border-top: 1px solid var(--line); }
.solutions__tab {
  width: 100%; text-align: left; background: none; border: 0; border-bottom: 1px solid var(--line);
  padding: 22px 0 22px 24px; position: relative; display: block;
}
.solutions__tab::before { content: ""; position: absolute; left: 0; top: 22px; bottom: 22px; width: 3px; border-radius: 3px; background: transparent; transition: background .2s; }
.solutions__tab[aria-selected="true"]::before { background: var(--roxo); }
.solutions__meta { display: flex; gap: 12px; align-items: center; font-size: 12px; font-weight: 700; letter-spacing: .12em; color: var(--roxo-texto); }
.solutions__meta em { font-style: normal; font-size: 10px; letter-spacing: .16em; text-transform: uppercase; }
.solutions__name { display: block; font-size: 24px; font-weight: 700; letter-spacing: -0.02em; line-height: 1.2; margin-top: 6px; color: #737373; transition: color .2s; }
.solutions__tab:hover .solutions__name, .solutions__tab[aria-selected="true"] .solutions__name { color: var(--ink); }

.solutions__panel { position: sticky; top: calc(var(--nav-h) + 32px); }
.solutions__panel[hidden] { display: none; }
.solutions__panel.is-entering { animation: panelIn .35s ease; }
/* Ícones: traço de 2 px, preto dentro de caixa roxa de 44 px com raio de 10 px */
.icon-tile { width: 44px; height: 44px; border-radius: var(--radius-btn); background: var(--roxo); color: var(--preto); display: grid; place-items: center; margin-bottom: 24px; }
.icon-tile svg { width: 22px; height: 22px; }
.solutions__panel h3 { font-size: 30px; }
.solutions__panel p { color: var(--muted); font-size: 17px; margin-top: 18px; max-width: 60ch; }
.tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 24px; }
.tags li { font-size: 12px; font-weight: 600; color: var(--roxo-texto); background: var(--paper); border: 1px solid var(--line); padding: 5px 12px; border-radius: 999px; }
.checks { display: grid; gap: 12px; margin-top: 28px; }
.checks li { display: flex; gap: 12px; align-items: flex-start; font-size: 15px; color: var(--ink); }
.checks li::before {
  content: ""; flex: none; width: 20px; height: 20px; margin-top: 2px; border-radius: 6px;
  background: var(--roxo) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5.5 10.5l3 3 6-7' fill='none' stroke='%23000000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/16px no-repeat;
}
.solutions__panel .link-arrow { margin-top: 32px; }

/* ---------- Ecossistema ---------- */
.eco { overflow: hidden; }
.eco::before {
  content: ""; position: absolute; left: 50%; top: 0; width: 1100px; height: 600px; transform: translateX(-50%);
  background: radial-gradient(ellipse at top, rgba(168,85,247,.12), transparent 65%); pointer-events: none;
  /* começa transparente no topo: sem a faixa de frases acima, a borda do brilho aparecia como uma linha */
  -webkit-mask-image: linear-gradient(180deg, transparent, #000 45%); mask-image: linear-gradient(180deg, transparent, #000 45%);
}
.eco .section-head { text-align: center; display: flex; flex-direction: column; align-items: center; }
.eco .h2 { max-width: 20ch; }
.eco .lead { text-align: center; }
.flow { display: grid; grid-template-columns: repeat(5, 1fr); gap: 0; position: relative; }
.flow::before {
  content: ""; position: absolute; top: 44px; left: 10%; right: 10%; height: 2px;
  background: linear-gradient(90deg, rgba(168,85,247,.2), rgba(168,85,247,.7), rgba(52,199,89,.7));
}
.flow__pulse { position: absolute; top: 39px; left: 10%; width: 12px; height: 12px; border-radius: 50%; background: var(--verde); box-shadow: 0 0 18px 4px rgba(52,199,89,.55); animation: travel 5s cubic-bezier(.5,0,.5,1) infinite; }
.flow__step { text-align: center; padding: 0 12px; position: relative; }
.flow__node {
  width: 88px; height: 88px; margin: 0 auto 24px; border-radius: var(--radius-lg);
  background: var(--bg-2); border: 1px solid var(--line-dark); color: var(--roxo);
  display: grid; place-items: center; position: relative;
  box-shadow: 0 0 0 8px var(--bg);
}
.flow__node svg { width: 30px; height: 30px; }
/* o último passo (antes do pulso) é o crescimento: verde */
.flow__step:nth-last-child(2) .flow__node { background: var(--verde); color: var(--preto); border-color: var(--verde); }
.flow__verb { font-size: 11px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--roxo); }
.flow__step h3 { font-size: 21px; margin-top: 8px; }
.flow__step p { font-size: 14px; color: var(--muted-on-dark); margin-top: 10px; line-height: 1.5; }

/* ---------- Marquee de tecnologias ---------- */
.stack { padding: 72px 0 96px; overflow: hidden; }
/* A faixa de apps vem logo depois do topo; a órbita, depois dos mercados, abre a própria seção (sem o recuo do rótulo) */
.stack--tech .stack__label--tech { margin-top: 0; }
.stack--tech { padding-bottom: 56px; } /* sem os botões embaixo da órbita, menos espaço até a próxima seção */
.hero + .stack--apps { padding-top: 0; } /* o topo já tem respiro embaixo */
.stack__titulo { margin: 0 auto 44px; text-align: center; max-width: 24ch; text-wrap: balance; }
@media (max-width: 640px) { .stack__titulo { margin-bottom: 32px; } }
@media (max-width: 640px) { .footer { padding-bottom: 96px; } } /* o botão flutuante não cobre a última linha do rodapé */
.stack__label { text-align: center; font-size: 12px; font-weight: 700; letter-spacing: .3em; text-transform: uppercase; color: var(--muted-on-dark); margin-bottom: 36px; }
.stack__row { display: flex; width: max-content; animation: marquee 50s linear infinite; }
.stack__row + .stack__row { margin-top: 18px; animation-direction: reverse; animation-duration: 60s; }
.stack__mask { mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }

/* ---------- Hub ---------- */
.posts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.post {
  display: flex; flex-direction: column; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; transition: transform .25s, box-shadow .25s;
}
.post:hover { transform: translateY(-4px); box-shadow: 0 24px 40px -24px rgba(0,0,0,.25); }
.post__cover { aspect-ratio: 16 / 9; position: relative; overflow: hidden; background: var(--bg); color: var(--roxo); }
.post__cover svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.post__body { padding: 24px; display: flex; flex-direction: column; flex: 1; }
.post__meta { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.post__cat { font-size: 11px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--roxo-texto); }
.badge { font-size: 11px; font-weight: 600; padding: 3px 10px; border-radius: 999px; background: var(--paper-2); color: var(--muted); border: 1px solid var(--line); white-space: nowrap; }
.post h3 { font-size: 20px; font-weight: 700; line-height: 1.25; margin-top: 14px; }
.post p { color: var(--muted); font-size: 15px; margin-top: 10px; }
.post__foot { margin-top: auto; padding-top: 20px; font-size: 13px; color: var(--muted); letter-spacing: .04em; }

.post--featured { grid-column: span 2; flex-direction: row; }
.post--featured .post__cover { aspect-ratio: auto; flex: 1.1; min-height: 320px; }
.post--featured .post__body { flex: 1; padding: 36px; }
.post--featured h3 { font-size: clamp(24px, 2.4vw, 30px); font-weight: 800; }

.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 40px; }
.filter {
  height: 40px; padding: 0 18px; border-radius: 999px; border: 1px solid var(--line); background: var(--paper);
  font-size: 14px; font-weight: 600; color: var(--muted); transition: all .2s;
}
.filter:hover { color: var(--ink); border-color: #BDBDBD; }
.filter[aria-pressed="true"] { background: var(--preto); border-color: var(--preto); color: var(--branco); }
.post[hidden] { display: none; }

.subscribe {
  margin-top: 64px; border-radius: var(--radius-lg); padding: 48px; background: var(--bg); color: var(--on-dark);
  display: grid; grid-template-columns: 1.2fr 1fr; gap: 40px; align-items: center; position: relative; overflow: hidden;
}
.subscribe::after { content: ""; position: absolute; right: -200px; top: -200px; width: 500px; height: 500px; background: radial-gradient(circle, rgba(168,85,247,.2), transparent 65%); }
.subscribe h2 { font-size: clamp(26px, 3vw, 34px); max-width: 18ch; }
.subscribe p { color: var(--muted-on-dark); margin-top: 14px; }
.subscribe__actions { display: flex; gap: 12px; flex-wrap: wrap; justify-content: flex-end; position: relative; z-index: 1; }

/* ---------- Faixa de chamada ---------- */
.cta-band { padding: 96px 0; text-align: center; overflow: hidden; }
.cta-band::before { content: ""; position: absolute; inset: 0; background: radial-gradient(ellipse 60% 80% at 50% 120%, rgba(168,85,247,.2), transparent 70%); pointer-events: none; }
.cta-band h2 { font-size: clamp(32px, 4.4vw, 48px); max-width: 18ch; margin: 0 auto; }
.cta-band h2 + p { color: var(--muted-on-dark); margin: 20px auto 0; max-width: 52ch; font-size: 18px; }
.cta-band .hero__cta { justify-content: center; position: relative; }
/* Versão clara (Soluções): mantém a alternância preto e branco antes do rodapé */
.cta-band.light::before { display: none; }
.cta-band.light h2 + p { color: var(--muted); }

/* ---------- Cabeçalho de página interna ---------- */
.page-hero { padding: calc(var(--nav-h) + 88px) 0 96px; overflow: hidden; isolation: isolate; }
.page-hero h1 { font-size: clamp(40px, 5vw, 56px); line-height: 1.06; letter-spacing: -0.025em; max-width: 18ch; }
.jump { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 48px; }
.jump a {
  font-size: 14px; font-weight: 600; padding: 9px 16px; border-radius: 999px;
  border: 1px solid var(--line-dark); color: rgba(255,255,255,.82); background: rgba(255,255,255,.02); transition: all .2s;
}
.jump a:hover { border-color: var(--roxo); color: var(--roxo); }

/* ---------- Diagnóstico (página Soluções) ---------- */
.diag { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.diag__card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 36px; }
.diag__card ol { counter-reset: d; display: grid; gap: 0; }
.diag__card li { counter-increment: d; display: grid; grid-template-columns: 44px 1fr; gap: 16px; padding: 20px 0; border-bottom: 1px solid var(--line); }
.diag__card li:last-child { border-bottom: 0; padding-bottom: 0; }
.diag__card li:first-child { padding-top: 0; }
.diag__card li::before { content: counter(d, decimal-leading-zero); font-size: 13px; font-weight: 700; color: var(--preto); width: 44px; height: 44px; border-radius: var(--radius-btn); background: var(--roxo); display: grid; place-items: center; }
.diag__card strong { display: block; font-size: 17px; font-weight: 700; letter-spacing: -0.01em; }
.diag__card span { display: block; color: var(--muted); font-size: 15px; margin-top: 4px; }

/* ---------- Bloco de solução detalhada ---------- */
.sol { padding: 96px 0; border-top: 1px solid var(--line); }
.sol:first-of-type { border-top: 0; }
.sol__grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 64px; align-items: start; }
.sol__intro { position: sticky; top: calc(var(--nav-h) + 32px); }
.sol__intro .solutions__meta { margin-bottom: 18px; }
.sol__intro h2 { font-size: clamp(32px, 4vw, 44px); max-width: 16ch; }
.sol__intro p { color: var(--muted); font-size: 17px; margin-top: 20px; max-width: 50ch; }
.sol__intro .btn { margin-top: 32px; }
.sol__detail { display: grid; gap: 20px; }
.panel { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 32px; }
.panel h4 { font-size: 12px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--roxo-texto); }
.how { display: grid; gap: 0; margin-top: 20px; }
.how li { display: grid; grid-template-columns: 36px 1fr; gap: 16px; padding: 16px 0; border-bottom: 1px dashed var(--line); }
.how li:last-child { border-bottom: 0; padding-bottom: 0; }
.how b { font-size: 13px; font-weight: 700; color: var(--muted); padding-top: 1px; }
.how span { font-size: 16px; }
/* Parceria no êxito (inteligência de mercado): painel escuro em destaque */
.panel--exito { background: var(--preto); border-color: var(--preto); color: var(--on-dark); }
.exito__selo { display: inline-flex; align-items: center; min-height: 28px; padding: 0 12px; border: 1px solid var(--verde); border-radius: 999px; font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--verde); }
.panel--exito h3 { margin-top: 16px; font-size: clamp(24px, 2.6vw, 30px); font-weight: 800; letter-spacing: -0.02em; color: var(--branco); }
.panel--exito > p { margin-top: 12px; font-size: 16px; color: var(--muted-on-dark); }
.panel--exito .how li { border-bottom-color: var(--line-dark); }
.panel--exito .how b { color: var(--verde); }
.panel--exito .how span { color: var(--on-dark); }
.panel--exito .exito__nota { margin-top: 18px; font-size: 13px; color: var(--muted-on-dark); }
.panel--exito .btn { margin-top: 20px; }
.panel .checks { margin-top: 20px; grid-template-columns: 1fr 1fr; gap: 14px 24px; }

/* ---------- Rodapé ---------- */
.footer { padding: 80px 0 40px; border-top: 1px solid var(--line-dark); }
.footer__grid { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 32px; }
/* colunas podem encolher e endereços longos (e-mail) quebram em vez de alargar a página */
.footer__grid > * { min-width: 0; }
.footer ul a { overflow-wrap: anywhere; }
.footer h4 { font-size: 11px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--muted-on-dark); margin-bottom: 18px; }
.footer ul { display: grid; gap: 10px; }
.footer ul a { font-size: 15px; color: rgba(255,255,255,.82); transition: color .2s; }
.footer ul a:hover { color: var(--verde); }
.footer__bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: 64px; padding-top: 28px; border-top: 1px solid var(--line-dark); font-size: 13px; color: var(--muted-on-dark); }

/* ---------- Botão flutuante ---------- */
.float-cta {
  position: fixed; right: 20px; bottom: 20px; z-index: 40; width: 56px; height: 56px; border-radius: var(--radius);
  background: var(--verde); color: var(--preto); display: grid; place-items: center;
  box-shadow: 0 16px 32px -10px rgba(0,0,0,.5); transition: transform .2s, background .15s, opacity .25s, visibility .25s;
}
.float-cta:hover { transform: translateY(-3px); background: var(--verde-sombra); }
/* celular: some enquanto o botão do topo está na tela (assets/main.js), para não ficar em cima dele */
.float-cta.is-escondido { opacity: 0; visibility: hidden; transform: translateY(12px); pointer-events: none; }
.float-cta svg { width: 26px; height: 26px; }

/* ---------- Animações ---------- */
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.js .reveal.is-visible { opacity: 1; transform: none; }

.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

@keyframes marquee { to { transform: translateX(-50%); } }
@keyframes travel { 0% { left: 10%; opacity: 0; } 8% { opacity: 1; } 92% { opacity: 1; } 100% { left: calc(90% - 12px); opacity: 0; } }
@keyframes panelIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .js .reveal { opacity: 1; transform: none; }
  .stack__row, .flow__pulse { animation: none !important; }
  .carousel__track { scroll-behavior: auto; }
}

/* ---------- Responsivo ---------- */
@media (max-width: 1080px) {
  .solutions { grid-template-columns: 1fr; gap: 40px; }
  .solutions__list { display: flex; overflow-x: auto; gap: 8px; border-top: 0; padding-bottom: 4px; scrollbar-width: none; margin: 0 calc(var(--gutter) * -1); padding-left: var(--gutter); padding-right: var(--gutter); }
  .solutions__list::-webkit-scrollbar { display: none; }
  .solutions__tab { flex: none; width: auto; border: 1px solid var(--line); border-radius: 999px; padding: 10px 18px; background: var(--paper); }
  .solutions__tab::before { display: none; }
  .solutions__tab .solutions__meta { display: none; }
  .solutions__name { font-size: 14px; font-weight: 600; margin: 0; letter-spacing: 0; color: var(--muted); }
  .solutions__tab[aria-selected="true"] { background: var(--preto); border-color: var(--preto); }
  .solutions__tab[aria-selected="true"] .solutions__name { color: var(--branco); }
  .solutions__panel { position: static; }
  .flow { grid-template-columns: 1fr; gap: 8px; max-width: 460px; margin: 0 auto; }
  .flow::before { top: 44px; bottom: 44px; left: 44px; right: auto; width: 2px; height: auto; background: linear-gradient(180deg, rgba(168,85,247,.2), rgba(168,85,247,.7), rgba(52,199,89,.7)); }
  .flow__pulse { display: none; }
  .flow__step { display: grid; grid-template-columns: 88px 1fr; gap: 20px; text-align: left; padding: 0 0 24px; align-items: start; }
  .flow__node { margin: 0; }
  .flow__step h3 { margin-top: 4px; }
  .flow__step > div { padding-top: 10px; }
  .posts { grid-template-columns: 1fr 1fr; }
  .post--featured { grid-column: span 2; }
  .sol__grid, .diag { grid-template-columns: 1fr; gap: 40px; }
  .sol__intro { position: static; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .footer__grid > :first-child { grid-column: span 2; }
  .subscribe { grid-template-columns: 1fr; }
  .subscribe__actions { justify-content: flex-start; }
}

/* Menu recolhido até 1080 px */
@media (max-width: 1080px) {
  .nav__toggle { display: block; margin-left: auto; }
  .nav__links {
    position: fixed; inset: var(--nav-h) 0 auto 0; margin-left: 0; flex-direction: column; align-items: stretch; gap: 0;
    background: rgba(0,0,0,.97); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
    padding: 12px var(--gutter) 24px; border-bottom: 1px solid var(--line-dark);
    max-height: calc(100vh - var(--nav-h)); max-height: calc(100dvh - var(--nav-h)); overflow-y: auto; overscroll-behavior: contain;
    opacity: 0; visibility: hidden; transform: translateY(-8px); transition: opacity .2s, transform .2s, visibility .2s;
  }
  .nav.is-open { background: rgba(0,0,0,.97); }
  .nav.is-open .nav__links { opacity: 1; visibility: visible; transform: none; }
  .nav__grupo { flex-direction: column; align-items: stretch; gap: 0; }
  .nav__grupo > a, .nav__item > a { font-size: 17px; padding: 14px 4px; border-bottom: 1px solid var(--line-dark); border-radius: 0; width: 100%; color: var(--on-dark); }
  .nav__links a[aria-current="page"]:not(.btn) { background: none; color: var(--roxo); }
  .nav__item > a svg { display: none; }
  /* Celular: os itens de Soluções e do Hub ficam abertos embaixo de cada um (sem passar o mouse) */
  .nav__menu, .nav__item:hover .nav__menu, .nav__item:focus-within .nav__menu, .nav__item.is-fechado .nav__menu {
    position: static; display: grid; grid-template-columns: 1fr; gap: 0; width: auto; padding: 2px 0 10px 14px;
    opacity: 1; visibility: visible; transform: none; transition: none; background: none; border: 0; border-radius: 0; box-shadow: none;
  }
  .nav__menu::before { content: none; }
  .nav__menu a { padding: 9px 4px; }
  .nav__menu strong { font-size: 15px; font-weight: 500; color: var(--muted-on-dark); }
  .nav__menu span { display: none; }
  .nav__links > .btn { margin: 20px 0 0; font-size: 16px; border-bottom: 0; border-radius: var(--radius-btn); }
}

@media (max-width: 640px) {
  :root { --gutter: 16px; --nav-h: 64px; }
  .section { padding: 72px 0; }
  .section--tight { padding: 56px 0; }
  .section-head { margin-bottom: 40px; }
  .hero { padding: calc(var(--nav-h) + 32px) 0 72px; }
  .hero__logo { width: 116px; margin-bottom: 28px; }
  /* Celular: versão só "dig" (o manual pede tirar o "technologies" em telas pequenas); 72 px = 104 px do oficial */
  .nav .brand__logo { width: 72px; }
  .brand__tech { display: none; }
  /* no celular cada dado vira uma linha: número à esquerda, frase e fonte à direita */
  .dados-topo { margin-top: 40px; }
  .dados-topo__lista { grid-template-columns: minmax(0, 1fr); max-width: 440px; }
  .dado-topo { display: grid; grid-template-columns: 118px minmax(0, 1fr); column-gap: 14px; row-gap: 4px; align-items: center; padding: 14px 0; border-left: 0; border-top: 1px solid var(--line-dark); text-align: left; }
  .dado-topo:first-child { border-top: 0; padding-top: 0; }
  .dado-topo__numero { font-size: 32px; }
  .dado-topo__frase { max-width: none; font-size: 14px; }
  .hero__cta .btn { width: 100%; }
  .btn { white-space: normal; text-align: center; padding: 12px 20px; }
  .posts { grid-template-columns: 1fr; }
  .post--featured { grid-column: auto; flex-direction: column; }
  .post--featured .post__cover { min-height: 0; aspect-ratio: 16 / 9; flex: none; }
  .post--featured .post__body { padding: 24px; }
  .panel { padding: 24px; }
  .panel .checks { grid-template-columns: 1fr; }
  .diag__card { padding: 24px; }
  .sol { padding: 72px 0; }
  .subscribe { padding: 32px 24px; }
  .subscribe__actions .btn { width: 100%; }
  .footer__grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .page-hero { padding: calc(var(--nav-h) + 56px) 0 72px; }
}

/* ---------- Marca-texto (roxo com texto preto) ---------- */
.mark { background: var(--roxo); color: var(--preto); padding: 0 .22em; border-radius: .3em; -webkit-box-decoration-break: clone; box-decoration-break: clone; } /* pode quebrar linha: cada pedaço ganha o fundo (clone) */

/* ---------- Bloco de chamada: caixa preta (raio 20) no fim da seção branca ---------- */
.band-accent { background: var(--paper); padding: 0 0 96px; }
.band-accent__inner {
  display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap;
  background: var(--preto); color: var(--on-dark); border-radius: var(--radius-lg); padding: 48px;
}
.band-accent h2 { font-size: clamp(26px, 3vw, 36px); max-width: 22ch; }
.band-accent p { margin-top: 10px; font-size: 17px; color: var(--muted-on-dark); }
.band-accent .hero__cta { margin-top: 0; }

/* ---------- Setores ---------- */
.sectors .section-head { text-align: center; display: flex; flex-direction: column; align-items: center; }
.sectors .lead { text-align: center; }
.segmented {
  display: flex; width: max-content; max-width: 100%; margin: 0 auto 32px; padding: 4px;
  background: var(--paper); border: 1px solid var(--line); border-radius: 999px;
}
.segmented [role="tab"] {
  flex: none; height: 42px; padding: 0 20px; border: 0; border-radius: 999px; background: none;
  font-size: 14px; font-weight: 600; color: var(--muted); white-space: nowrap; transition: background .2s, color .2s;
}
.segmented [role="tab"]:hover { color: var(--ink); }
.segmented [role="tab"][aria-selected="true"] { background: var(--preto); color: var(--branco); }
.sector { display: grid; grid-template-columns: 1.1fr .9fr; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; }
.sector[hidden] { display: none; }
.sector.is-entering { animation: panelIn .35s ease; }
.sector__main { padding: 48px; }
/* foto de banco livre (Pexels/Unsplash) no topo de cada mercado, para o empresário se ver ali */
.sector__foto { margin: 0 0 28px; aspect-ratio: 16 / 9; overflow: hidden; border-radius: var(--radius); background: var(--paper-2); }
.sector__foto img { display: block; width: 100%; height: 100%; object-fit: cover; }
.sector:not([hidden]) .sector__foto img { animation: fotoEntra .6s ease both; }
@keyframes fotoEntra { from { opacity: 0; transform: scale(1.04); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .sector:not([hidden]) .sector__foto img { animation: none; } }
.sector__label { font-size: 12px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--roxo-texto); }
.sector__main h3 { font-size: clamp(24px, 2.6vw, 30px); margin-top: 14px; max-width: 20ch; }
.sector__main p { color: var(--muted); font-size: 17px; margin-top: 16px; max-width: 52ch; }
.sector__main .btn { margin-top: 32px; }
/* dado real do mercado, com fonte (conferido na fonte antes de entrar) */
.sector__dado { display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: center; gap: 6px 16px; margin-top: 24px; padding: 16px 18px; border-left: 3px solid var(--roxo); border-radius: 0 12px 12px 0; background: var(--paper-2); }
.sector__dado strong { grid-row: 1 / span 2; font-size: clamp(30px, 3vw, 40px); font-weight: 800; letter-spacing: -0.03em; line-height: 1; color: var(--roxo-texto); white-space: nowrap; }
.sector__main .sector__dado p { margin: 0; max-width: none; font-size: 15px; font-weight: 600; line-height: 1.4; color: var(--ink); }
.sector__dado a { font-size: 12px; color: var(--muted); text-decoration: underline; text-underline-offset: 2px; }
.sector__dado a:hover { color: var(--roxo-texto); }
@media (max-width: 480px) { .sector__dado { grid-template-columns: minmax(0, 1fr); } .sector__dado strong { grid-row: auto; } }
.sector__side { background: var(--paper-2); border-left: 1px solid var(--line); padding: 48px; }
.sector__side h4 { font-size: 12px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--roxo-texto); }
/* Radar "Onde mais dói": leitura da DIG de 1 a 5 por área, um por mercado (gerado por tmp/radar/radar_site.py) */
.radar { margin: 0 0 32px; }
.radar__topo { display: grid; gap: 6px; }
.radar__titulo { font-size: 17px; font-weight: 800; letter-spacing: -0.01em; line-height: 1.3; color: var(--ink); text-wrap: balance; }
.radar__maior { font-size: 15px; font-weight: 800; color: var(--roxo-texto); }
.radar__maior small { font-size: inherit; font-weight: 600; color: var(--muted); }
.radar__grafico { display: block; width: 100%; max-width: 380px; height: auto; margin: 6px auto 0; overflow: visible; }
.radar__grade polygon { fill: none; stroke: #D9D9D9; stroke-width: 1; }
.radar__grade polygon:last-child { fill: #FFFFFF; }
.radar__eixos line { stroke: #D9D9D9; stroke-width: 1; }
.radar__area { fill: rgba(168, 85, 247, .2); stroke: var(--roxo-texto); stroke-width: 2.5; stroke-linejoin: round; transform-box: view-box; transform-origin: 180px 128px; }
.radar__ponto { fill: var(--roxo-texto); }
.radar__ponto--maior { fill: var(--verde); stroke: #FFFFFF; stroke-width: 2.5; }
.radar__rotulo { font-family: inherit; font-size: 13px; font-weight: 600; fill: var(--muted); }
.radar__rotulo--maior { font-weight: 800; fill: var(--roxo-texto); }
.radar__nota { margin-top: 4px; font-size: 12px; color: var(--muted); text-align: center; }
.sector:not([hidden]) .radar__area { animation: radarIn .8s cubic-bezier(.2, .7, .2, 1) both; }
@keyframes radarIn { from { opacity: 0; transform: scale(.15); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .sector:not([hidden]) .radar__area { animation: none; } }
.sector__side .checks { margin-top: 20px; }
.sector__side .tags { margin-top: 28px; }


/* ---------- Carrossel (Hub na página inicial) ---------- */
.carousel__track {
  display: flex; gap: var(--gutter); overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; scrollbar-width: none;
  margin: 0 calc(var(--gutter) * -1); padding: 6px var(--gutter) 24px; scroll-padding-left: var(--gutter);
}
.carousel__track::-webkit-scrollbar { display: none; }
.carousel__track > .post { flex: 0 0 calc((100% - 2 * var(--gutter)) / 3); scroll-snap-align: start; }
.carousel__foot { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-top: 16px; }
.carousel__arrows { display: flex; gap: 10px; }
.carousel__arrows button { width: 48px; height: 48px; border-radius: 50%; border: 1px solid var(--line); background: var(--paper); display: grid; place-items: center; color: var(--ink); transition: border-color .2s, opacity .2s; }
.carousel__arrows button:hover:not([aria-disabled="true"]) { border-color: var(--preto); }
.carousel__arrows button[aria-disabled="true"] { opacity: .35; cursor: default; }
.carousel__arrows svg { width: 18px; height: 18px; }


@media (max-width: 1080px) {
  .sector { grid-template-columns: 1fr; }
  .sector__side { border-left: 0; border-top: 1px solid var(--line); }
  .carousel__track > .post { flex-basis: calc((100% - var(--gutter)) / 2); }
}
@media (max-width: 640px) {
  .band-accent { padding: 0 0 72px; }
  .band-accent__inner { padding: 32px 24px; }
  .band-accent .hero__cta { width: 100%; }
  .segmented { flex-wrap: wrap; justify-content: center; width: 100%; border-radius: 22px; overflow: visible; }
  .segmented [role="tab"] { height: 38px; padding: 0 14px; }
  .sector__main, .sector__side { padding: 28px 24px; }
  .carousel__track > .post { flex-basis: 86%; }
}
@media (max-width: 640px) {
  .eyebrow { letter-spacing: 0.22em; }
}
@media (max-width: 379px) {
  /* Sora é mais larga: em 320 px o "2 sem." não cabe na coluna com 26 px */
}

/* ---------- Formulário de diagnóstico (diagnostico.html) ---------- */
.quiz { max-width: 880px; margin: 0 auto; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 40px; }
.quiz__progress { display: none; }
.quiz.is-pronto .quiz__progress { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.quiz__progress li { display: flex; align-items: center; gap: 10px; padding-top: 12px; border-top: 3px solid var(--line); font-size: 13px; font-weight: 700; color: var(--muted); }
.quiz__progress li span { width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; flex: none; font-size: 12px; background: var(--paper-2); color: var(--muted); }
.quiz__progress li.is-active { color: var(--ink); border-top-color: var(--roxo); }
.quiz__progress li.is-active span { background: var(--roxo); color: var(--preto); }
.quiz__progress li.is-done { color: var(--ink); border-top-color: var(--verde); }
.quiz__progress li.is-done span { background: var(--verde); color: var(--preto); }
.quiz__status { margin: 10px 0 28px; font-size: 13px; color: var(--muted); }
.quiz:not(.is-pronto) .quiz__status { display: none; }

.quiz__step { border: 0; margin: 0; padding: 0; min-width: 0; }
/* Antes do script do formulário rodar, só a etapa 1 aparece; sem JavaScript, todas aparecem empilhadas e sem botões */
.js .quiz:not(.is-pronto) .quiz__step ~ .quiz__step { display: none; }
.quiz:not(.is-pronto) .quiz__step + .quiz__step { margin-top: 48px; padding-top: 40px; border-top: 1px solid var(--line); }
.quiz__step > legend { display: flex; align-items: baseline; gap: 12px; padding: 0; margin-bottom: 24px; font-size: clamp(22px, 2.6vw, 28px); font-weight: 800; letter-spacing: -0.02em; line-height: 1.2; }
/* Títulos recebem foco só para o leitor de tela anunciar a etapa; não são clicáveis, então sem contorno */
.quiz__step > legend:focus, .quiz__resultado h2:focus { outline: none; }
.quiz__num { font-size: 13px; font-weight: 700; letter-spacing: .12em; color: var(--roxo-texto); }
.quiz__hint { margin: -12px 0 20px; font-size: 14px; color: var(--muted); }

/* Cartões de escolha (segmento e dores) */
.options { display: grid; gap: 12px; }
.options--seg { grid-template-columns: repeat(5, 1fr); }
.options--dor { grid-template-columns: repeat(2, 1fr); }
.option { position: relative; display: block; cursor: pointer; }
.option input, .chips input { position: absolute; top: 0; left: 0; width: 1px; height: 1px; margin: 0; opacity: 0; }
.option__box {
  display: flex; flex-direction: column; align-items: flex-start; gap: 10px; height: 100%;
  padding: 16px; border: 1px solid #D4D4D4; border-radius: var(--radius); background: var(--paper);
  font-size: 14px; font-weight: 600; line-height: 1.35; transition: border-color .15s, box-shadow .15s;
}
.options--seg .option__box { align-items: center; text-align: center; }
.option__box i { width: 44px; height: 44px; border-radius: var(--radius-btn); background: var(--paper-2); color: var(--preto); display: grid; place-items: center; transition: background .15s; }
.option__box svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.option:hover .option__box { border-color: #8C8C8C; }
.option input:checked + .option__box { border-color: var(--roxo); box-shadow: inset 0 0 0 1px var(--roxo); }
.option input:checked + .option__box i { background: var(--roxo); }
.option input:focus-visible + .option__box { outline: 3px solid var(--roxo); outline-offset: 3px; }
.option input:disabled + .option__box { opacity: .45; cursor: not-allowed; }
.option input[aria-invalid="true"] + .option__box { border-color: #B42318; }
/* Dores: agrupadas por tema (gerar receita primeiro), cada uma com um ícone do problema e a caixa de marcar no canto */
.dores { display: grid; gap: 28px; }
.dores__titulo { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--ink); }
.dores__titulo i { width: 28px; height: 28px; border-radius: 8px; background: var(--roxo); color: var(--preto); display: grid; place-items: center; flex: none; }
.dores__titulo svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
/* Gerar receita vem em destaque: fundo cinza e ícone verde (verde = crescimento, pelo manual) */
.dores__grupo--receita { padding: 20px; border-radius: var(--radius-lg); background: var(--paper-2); }
.dores__grupo--receita .dores__titulo i { background: var(--verde); }
.dores__resto { display: grid; grid-template-columns: 1fr 1fr; gap: 28px 20px; align-items: start; }
.dores__resto .options--dor { grid-template-columns: 1fr; }
.option--dor .option__box { position: relative; flex-direction: row; align-items: center; gap: 14px; min-height: 72px; padding: 14px 48px 14px 14px; }
.option--dor .option__box i { width: 40px; height: 40px; flex: none; }
.option--dor .option__box::after {
  content: ""; position: absolute; top: 50%; right: 16px; margin-top: -10px; width: 20px; height: 20px;
  border: 2px solid #8C8C8C; border-radius: 6px; background: var(--paper) center/14px no-repeat;
}
.option--dor input:checked + .option__box::after {
  border-color: var(--roxo);
  background-color: var(--roxo);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5.5 10.5l3 3 6-7' fill='none' stroke='%23000000' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}

/* Campos */
.fields { display: grid; grid-template-columns: 1fr 1fr; gap: 0 20px; }
.field { display: grid; gap: 8px; margin-top: 20px; }
.field--full { grid-column: 1 / -1; }
.field label, .chips legend { font-size: 14px; font-weight: 700; color: var(--ink); }
.opcional { font-weight: 400; color: var(--muted); }
.field input, .field select, .field textarea {
  width: 100%; min-height: 48px; padding: 10px 14px; border: 1px solid #8C8C8C; border-radius: var(--radius-btn);
  background: var(--paper); color: var(--ink); font: inherit; font-size: 16px;
}
.field textarea { min-height: 96px; resize: vertical; }
.field [aria-invalid="true"] { border-color: #B42318; box-shadow: inset 0 0 0 1px #B42318; }

/* Grupos de botões redondos (empresa) */
.chips { border: 0; padding: 0; margin: 24px 0 0; min-width: 0; }
.chips legend { padding: 0; margin-bottom: 10px; }
.chips__opcoes { display: flex; flex-wrap: wrap; gap: 8px; }
.chips label { position: relative; }
.chips span {
  display: inline-flex; align-items: center; min-height: 44px; padding: 0 16px; border: 1px solid #8C8C8C; border-radius: 999px;
  font-size: 14px; font-weight: 600; cursor: pointer; transition: background .15s, color .15s, border-color .15s;
}
.chips label:hover span { border-color: var(--preto); }
.chips input:checked + span { background: var(--preto); border-color: var(--preto); color: var(--branco); }
.chips input:focus-visible + span { outline: 3px solid var(--roxo); outline-offset: 3px; }
.chips input[aria-invalid="true"] + span { border-color: #B42318; }

.consent { display: flex; gap: 12px; align-items: flex-start; margin-top: 24px; font-size: 14px; color: var(--muted); cursor: pointer; }
.consent input { flex: none; width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--roxo); }
.consent input[aria-invalid="true"] { outline: 2px solid #B42318; outline-offset: 2px; }

.quiz__erro { margin-top: 20px; padding: 12px 16px; border-radius: var(--radius-btn); background: #FDECEC; color: #B42318; font-size: 14px; font-weight: 600; }
.quiz__nav { display: flex; justify-content: flex-end; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.quiz__nav [data-prev] { margin-right: auto; }
.quiz:not(.is-pronto) [data-next], .quiz:not(.is-pronto) [data-prev], .quiz:not(.is-pronto) [data-enviar] { display: none; }

/* Pré-diagnóstico */
.quiz__resultado h2 { font-size: clamp(26px, 3vw, 34px); }
.resumo { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 24px 0 32px; }
.resumo div { padding: 16px 20px; border-radius: var(--radius); background: var(--paper-2); }
.resumo dt { font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--roxo-texto); }
.resumo dd { margin: 6px 0 0; font-weight: 600; }
.quiz__resultado h3 { margin-bottom: 14px; font-size: 20px; }
.recos { display: grid; gap: 12px; counter-reset: reco; }
.recos li {
  counter-increment: reco; display: grid; grid-template-columns: 44px 1fr; gap: 4px 16px; align-items: center;
  padding: 18px 20px; border: 1px solid var(--line); border-top: 3px solid var(--roxo); border-radius: var(--radius);
}
.recos li::before { content: counter(reco, decimal-leading-zero); grid-row: span 2; width: 44px; height: 44px; border-radius: var(--radius-btn); background: var(--roxo); color: var(--preto); display: grid; place-items: center; font-size: 13px; font-weight: 700; }
.recos a { font-size: 18px; font-weight: 800; color: var(--ink); text-decoration: underline; text-decoration-color: var(--roxo); text-decoration-thickness: 2px; text-underline-offset: 4px; }
.recos span { font-size: 14px; color: var(--muted); }
.lei-do-bem { margin-top: 24px; padding: 20px 24px; border-radius: var(--radius); background: var(--preto); color: var(--branco); }
.lei-do-bem strong { font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--verde); }
.lei-do-bem p { margin-top: 6px; font-size: 15px; color: var(--muted-on-dark); }
.quiz__resultado > .quiz__hint { margin: 24px 0 0; }
.quiz__nav--fim { justify-content: flex-start; margin-top: 16px; }
.resultado__acoes { display: flex; flex-wrap: wrap; gap: 8px 24px; margin-top: 20px; }
.link-refazer { padding: 4px 0; border: 0; background: none; font-size: 14px; font-weight: 700; color: var(--roxo-texto); text-decoration: underline; text-underline-offset: 3px; }

@media (max-width: 900px) {
  .options--seg { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 640px) {
  .quiz { padding: 24px 16px; border-radius: var(--radius); }
  .options--seg { grid-template-columns: repeat(2, 1fr); }
  .options--dor, .fields, .resumo, .dores__resto { grid-template-columns: 1fr; }
  .dores__grupo--receita { padding: 14px 10px; }
  /* Mais espaço para o texto da dor em telas estreitas */
  .option--dor .option__box { gap: 12px; padding: 12px 40px 12px 12px; }
  .option--dor .option__box i { width: 36px; height: 36px; }
  .option--dor .option__box::after { right: 12px; }
  .quiz__progress li { font-size: 0; gap: 0; }
  .quiz__progress li span { font-size: 12px; }
  .quiz__nav .btn { flex: 1 1 auto; }
  .quiz__nav [data-prev] { margin-right: 0; }
}

/* ---------- Método DIG (Discover, Innovate, Grow) ---------- */
.flow--dig { grid-template-columns: repeat(3, 1fr); }
.flow--dig::before { left: 16.66%; right: 16.66%; }
.flow--dig .flow__pulse { left: 16.66%; animation-name: travel3; }
/* "d" e "g" como no logo: Sora ExtraBold minúscula, roxo da marca */
.flow__node--letra { font-size: 72px; font-weight: 800; line-height: 1; letter-spacing: -0.015em; color: var(--roxo); }
.flow__node--d { padding-bottom: 6px; }
.flow__node--g { padding-bottom: 18px; } /* o "g" tem perna: sobe um pouco para ficar centralizado */
/* Grow: destaque em verde por borda e brilho (o manual não deixa o logo sobre fundo verde) */
.flow--dig .flow__step:nth-last-child(2) .flow__node { background: transparent; border-color: transparent; color: var(--roxo); box-shadow: none; text-shadow: 0 0 28px rgba(52, 199, 89, .45); }
/* o pulso passa por trás dos nós */
.flow--dig .flow__node { z-index: 1; }
.flow--dig .flow__pulse { z-index: 0; }
.flow__node--pa svg { width: auto; height: 66px; }
/* só a letra (e a pá), sem o quadrado: nó transparente; a linha tem vãos em volta das letras e a bolinha some ao passar por elas */
.flow--dig .flow__node { background: transparent; border-color: transparent; box-shadow: none; }
.flow--dig::before {
  -webkit-mask-image: linear-gradient(90deg, transparent 60px, #000 60px, #000 calc(50% - 60px), transparent calc(50% - 60px), transparent calc(50% + 60px), #000 calc(50% + 60px), #000 calc(100% - 60px), transparent calc(100% - 60px));
          mask-image: linear-gradient(90deg, transparent 60px, #000 60px, #000 calc(50% - 60px), transparent calc(50% - 60px), transparent calc(50% + 60px), #000 calc(50% + 60px), #000 calc(100% - 60px), transparent calc(100% - 60px));
}
.flow--dig .flow__step p { max-width: 30ch; margin-left: auto; margin-right: auto; }
.dig__frase { margin-top: 56px; text-align: center; font-size: clamp(22px, 2.6vw, 30px); font-weight: 800; letter-spacing: -0.02em; line-height: 1.25; text-wrap: balance; }
.dig__frase span { color: var(--roxo); }
@keyframes travel3 {
  0% { left: 16.66%; opacity: 0; } 20% { opacity: 0; } 23% { opacity: 1; }
  44% { opacity: 1; } 46% { opacity: 0; } 54% { opacity: 0; } 56% { opacity: 1; }
  77% { opacity: 1; } 79% { opacity: 0; } 100% { left: calc(83.33% - 12px); opacity: 0; }
}

/* Grow: quando a bolinha verde encosta no "g" (por volta de 81% dos 5 s do travel3, com a curva .5,0,.5,1),
   o "g" pulsa, duas ondas verdes se abrem (alcance) e uma seta sobe (crescimento). Mesmo tempo do pulso, então ficam sincronizados. */
.flow--dig .flow__node--g { animation: g-chega 5s ease-out infinite; }
.flow--dig .flow__node--g::before,
.flow--dig .flow__node--g::after {
  content: ""; position: absolute; inset: -1px; border-radius: 50%; border: 2px solid var(--verde);
  opacity: 0; pointer-events: none; animation: g-alcance 5s cubic-bezier(.2, .6, .3, 1) infinite;
}
.flow--dig .flow__node--g::after { animation-name: g-alcance-2; }
.flow__alcance {
  position: absolute; left: calc(100% - 6px); bottom: calc(100% - 14px); width: 86px; height: 59px; overflow: visible;
  fill: none; stroke: var(--verde); stroke-width: 3.2; stroke-linecap: round; stroke-linejoin: round;
  filter: drop-shadow(0 0 6px rgba(52, 199, 89, .7)); opacity: 0; pointer-events: none;
  animation: g-seta 5s ease-out infinite;
}
.flow__alcance-linha { stroke-dasharray: 80; stroke-dashoffset: 80; animation: g-traco 5s ease-out infinite; }
.flow__alcance-ponta { stroke-dasharray: 32; stroke-dashoffset: 32; animation: g-ponta 5s ease-out infinite; }
@keyframes g-chega {
  0%, 80% { transform: scale(1); text-shadow: 0 0 28px rgba(52, 199, 89, .45); }
  85% { transform: scale(1.12); text-shadow: 0 0 22px rgba(52, 199, 89, .95), 0 0 56px rgba(52, 199, 89, .7); }
  94%, 100% { transform: scale(1); text-shadow: 0 0 28px rgba(52, 199, 89, .45); }
}
@keyframes g-alcance { 0%, 80% { opacity: 0; transform: scale(1); } 82% { opacity: .9; } 100% { opacity: 0; transform: scale(1.8); } }
@keyframes g-alcance-2 { 0%, 85% { opacity: 0; transform: scale(1); } 87% { opacity: .6; } 100% { opacity: 0; transform: scale(1.5); } }
@keyframes g-seta { 0%, 81% { opacity: 0; } 83%, 95% { opacity: 1; } 100% { opacity: 0; } }
@keyframes g-traco { 0%, 82% { stroke-dashoffset: 80; } 90%, 100% { stroke-dashoffset: 0; } }
@keyframes g-ponta { 0%, 88% { stroke-dashoffset: 32; } 92%, 100% { stroke-dashoffset: 0; } }

@media (max-width: 1080px) {
  .flow--dig { grid-template-columns: 1fr; }
  .flow--dig::before { display: none; } /* em coluna, sem a linha: as letras ficam soltas como no desktop */
  .flow--dig .flow__step p { margin-left: 0; margin-right: 0; }
  .dig__frase { margin-top: 32px; }
  /* no layout em coluna a bolinha some, então o efeito do "g" também sai */
  .flow--dig .flow__node--g, .flow--dig .flow__node--g::before, .flow--dig .flow__node--g::after { animation: none; }
  .flow__alcance { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .flow--dig .flow__node--g, .flow--dig .flow__node--g::before, .flow--dig .flow__node--g::after { animation: none !important; }
  .flow__alcance { display: none; }
}

/* ---------- Mercados: nichos e problemas de cada mercado ---------- */
.segmented { flex-wrap: wrap; justify-content: center; border-radius: 22px; }
.sector__main .nichos-titulo { margin-top: 24px; font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--roxo-texto); }
.nichos-lista { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.nichos-lista li { padding: 6px 12px; border: 1px solid var(--line); border-radius: 999px; font-size: 13px; font-weight: 600; background: var(--paper); }
.problemas { display: grid; gap: 10px; margin-top: 18px; }
.problemas li { display: grid; grid-template-columns: 36px minmax(0, 1fr); align-items: center; gap: 12px; padding: 10px 12px; border-radius: 12px; background: var(--paper); border: 1px solid var(--line); font-size: 15px; font-weight: 600; line-height: 1.35; }
.problemas i { width: 36px; height: 36px; border-radius: var(--radius-btn); background: var(--paper-2); color: var(--preto); display: grid; place-items: center; }
.problemas svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
@media (max-width: 640px) {
  .problemas li { grid-template-columns: 32px minmax(0, 1fr); gap: 10px; font-size: 14px; }
  .problemas i { width: 32px; height: 32px; }
}

/* ---------- Hub: cartões de dados de mercado (com fonte) ---------- */
.post__cover--dado { display: flex; flex-direction: column; justify-content: flex-end; gap: 6px; padding: 24px; }
.post__cover--dado strong { font-size: clamp(44px, 5vw, 60px); font-weight: 800; letter-spacing: -0.03em; line-height: 1; }
.post__cover--oportunidade strong { color: var(--verde); }
.post__cover--problema strong { color: var(--alerta); }
.post__cover--marca strong { color: var(--roxo); }
/* o cartão contém o texto escondido; sem isso ele escapa do carrossel e cria rolagem lateral */
.post--dado { position: relative; }
.post__numero { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.post--dado h3 { font-size: 18px; line-height: 1.35; }
.post__fonte { align-self: flex-start; margin-top: auto; padding-top: 16px; font-size: 13px; font-weight: 700; color: var(--roxo-texto); text-decoration: underline; text-underline-offset: 3px; }
.post__fonte::after { content: " ↗"; content: " ↗" / ""; }
.carousel__conclusao { max-width: 56ch; font-size: 15px; color: var(--muted); }
.carousel__conclusao strong { color: var(--ink); }
.hub__cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }


/* ---------- Prova social: dados de mercado com botão "Entenda" ---------- */
.dados { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.dado { display: flex; flex-direction: column; gap: 10px; padding: 24px; border-radius: var(--radius); background: var(--paper); border: 1px solid var(--line); border-top: 3px solid var(--roxo); }
.dado__numero { font-size: clamp(40px, 4.4vw, 56px); font-weight: 800; letter-spacing: -0.03em; line-height: 1; }
.dado--oportunidade .dado__numero { color: var(--verde-texto); }
.dado--problema .dado__numero { color: var(--vermelho-texto); }
.dado--marca .dado__numero { color: var(--roxo-texto); }
.dado__frase { font-size: 15px; font-weight: 600; line-height: 1.45; }
.dado__fonte { font-size: 13px; color: var(--muted); }
.dado .btn { align-self: flex-start; margin-top: auto; }
.dark .dado { background: var(--bg-2); border-color: var(--line-dark); border-top-color: var(--roxo); }
.dark .dado__fonte { color: var(--muted-on-dark); }
.dark .dado--oportunidade .dado__numero { color: var(--verde); }
.dark .dado--problema .dado__numero { color: var(--alerta); }
.dark .dado--marca .dado__numero { color: var(--roxo); }
.dark .dado .btn--outline-ink { border-color: var(--branco); color: var(--branco); }
.dark .dado .btn--outline-ink:hover { background: rgba(255, 255, 255, .08); }

/* ---------- Referências: reportagens com o nome do veículo em destaque ---------- */
.refs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.ref { display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: var(--paper); }
.ref__capa { display: grid; place-items: center; aspect-ratio: 16 / 9; background: var(--preto); }
.ref__capa span { font-size: clamp(26px, 2.8vw, 34px); font-weight: 800; letter-spacing: -0.02em; color: var(--branco); }
/* logos dos veículos (só o logo, sem foto nem capa de revista: essas têm direitos dos veículos) */
.ref__capa { position: relative; overflow: hidden; }
.ref__capa img { position: absolute; inset: 0; display: block; width: 100%; height: 100%; object-fit: cover; }
.ref__capa--cnn { background: #FFFFFF; border-bottom: 1px solid var(--line); }
.ref__capa--exame { background: #E01B22; } /* mesmo vermelho do fundo do logo */
.ref__capa--exame img { object-fit: contain; }
.ref__capa--forbes svg { width: 52%; height: auto; fill: var(--branco); }
.ref__corpo { display: flex; flex-direction: column; gap: 10px; padding: 22px 24px 24px; flex: 1; }
.ref h3 { font-size: 19px; font-weight: 700; line-height: 1.3; }
.ref__corpo p { font-size: 15px; color: var(--muted); }
.ref__corpo .ref__sentido { color: var(--ink); font-weight: 600; }

@media (max-width: 1080px) {
  .dados { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 900px) {
  .refs { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .dados { grid-template-columns: 1fr; }
}

/* ---------- Faixa: apps que o empresário já usa (ícones oficiais da App Store) + tecnologias por grupo ---------- */
.stack__label { text-wrap: balance; } /* no celular, "USA" ficava sozinho na segunda linha */
.stack__label--tech { margin-top: 72px; }
.stack__row--reverso { animation-direction: reverse; animation-duration: 60s; }
.stack__row--apps { align-items: center; padding-block: 10px 18px; }
.stack__row--apps .app {
  flex: none; display: block; width: 112px; height: 112px; margin-right: 32px; overflow: hidden;
  border-radius: 22.37%; background: #FFFFFF; /* raio do ícone do iOS */
  box-shadow: 0 0 0 1px rgba(255, 255, 255, .1), 0 16px 28px -16px rgba(0, 0, 0, .9);
  transition: transform .2s;
}
.stack__row--apps .app img {
  display: block; width: 100%; height: 100%; object-fit: cover;
  pointer-events: none; user-select: none; -webkit-user-select: none; -webkit-touch-callout: none; /* no iPhone, segurar o dedo abria a prévia da imagem */
}
@media (hover: hover) { .stack__row--apps .app:hover { transform: translateY(-4px); } }
.stack__row--apps .app--logo { display: grid; place-items: center; } /* marca sem app próprio (SAP): logo oficial no quadrado branco */
.stack__row--apps .app--logo svg { width: 74%; height: auto; }
@media (max-width: 1024px) { .stack__row--apps .app { width: 96px; height: 96px; margin-right: 26px; } }
@media (max-width: 640px) {
  .stack__row--apps .app { width: 84px; height: 84px; margin-right: 20px; }
  .stack__label--tech { margin-top: 52px; }
}
@media (prefers-reduced-motion: reduce) { .stack__row--apps .app { transition: none; } }


/* ---------- Página Materiais gratuitos ---------- */
/* Botão do topo que leva à lista: a seta aponta e anda para baixo */
.mat-desce:hover svg { transform: translateY(3px); }
/* Cartões dos materiais; os filtros (.filter com data-filter) são os mesmos do Hub */
.mat-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.mat-card {
  position: relative; display: flex; flex-direction: column; gap: 12px; min-width: 0;
  padding: 28px; border-radius: var(--radius); background: var(--paper); border: 1px solid var(--line);
  transition: transform .25s, box-shadow .25s;
}
.mat-card:hover { transform: translateY(-4px); box-shadow: 0 24px 40px -24px rgba(0, 0, 0, .25); }
.mat-card__topo { display: flex; align-items: center; gap: 12px; margin-bottom: 8px; }
.mat-card .icon-tile { margin-bottom: 0; flex: none; }
.mat-tipo { font-size: 11px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--roxo-texto); }
.mat-card__topo .badge { margin-left: auto; }
.mat-card h3 { font-size: 20px; font-weight: 700; line-height: 1.25; }
.mat-card p { font-size: 15px; color: var(--muted); }
.mat-card .mat-nota { padding-left: 12px; border-left: 3px solid var(--roxo); font-size: 14px; }
.mat-card .mat-arquivo { margin-top: auto; padding-top: 8px; font-size: 13px; font-weight: 600; color: var(--ink); }
.mat-acoes { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; }
/* Em breve: fundo cinza e borda tracejada (mesmo cinza do hover dos filtros), sem o movimento dos cartões com arquivo */
.mat-card--breve { background: var(--paper-2); border: 1px dashed #BDBDBD; }
.mat-card--breve:hover { transform: none; box-shadow: none; }
.mat-card--breve .badge { background: var(--paper); }
.mat-card--breve .mat-acoes { margin-top: auto; padding-top: 8px; }
@media (max-width: 1080px) {
  .mat-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  .mat-grid { grid-template-columns: minmax(0, 1fr); }
  .mat-card { padding: 24px; }
  .mat-acoes .btn { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  .mat-card { transition: none; }
}

/* ---------- Página Lei do Bem ---------- */
/* lei-do-bem.html + assets/lei-do-bem.js. Classes com prefixo ldb-; reaproveita .section, .dark/.light, .diag, .flow--dig, .chips, .quiz__erro e .cta-band.
   Cores: roxo pequeno no branco = --roxo-texto; roxo da marca só no preto; verde só nos botões. */
.btn:hover .ldb-desce { transform: translateY(3px); }

/* Fontes e links da página (no branco, roxo de texto; no preto, roxo da marca) */
.ldb-fonte { display: inline-block; margin-top: 24px; font-size: 13px; font-weight: 700; color: var(--roxo-texto); text-decoration: underline; text-underline-offset: 3px; }
.dark .ldb-fonte, .ldb-numeros .ldb-fonte { color: var(--roxo); }
.ldb-fonte::after { content: " ↗"; content: " ↗" / ""; }
.ldb-link { justify-self: start; font-size: 15px; font-weight: 700; color: var(--on-dark); text-decoration: underline; text-decoration-color: var(--roxo); text-decoration-thickness: 2px; text-underline-offset: 4px; }

/* O que é: texto e números lado a lado */
.ldb-intro { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr); gap: 64px; align-items: center; }
.ldb-texto { display: grid; gap: 16px; margin-top: 24px; max-width: 62ch; font-size: 17px; color: var(--muted); }
.ldb-texto strong { color: var(--ink); }
.ldb-numeros { padding: 36px; border-radius: var(--radius-lg); background: var(--preto); color: var(--on-dark); }
.ldb-numeros__titulo { font-size: 12px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--roxo); }
.ldb-numeros ul { display: grid; gap: 18px; margin-top: 22px; }
.ldb-numeros li { display: grid; gap: 6px; padding-top: 18px; border-top: 1px solid var(--line-dark); }
.ldb-numeros li:first-child { padding-top: 0; border-top: 0; }
.ldb-numeros strong { font-size: clamp(32px, 3.4vw, 44px); font-weight: 800; letter-spacing: -0.03em; line-height: 1; color: var(--branco); }
.ldb-numeros span { font-size: 15px; color: var(--muted-on-dark); }

/* Quem pode usar */
.ldb-req { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.ldb-req li { padding: 28px; border-radius: var(--radius); background: var(--bg-2); border: 1px solid var(--line-dark); }
.ldb-req .icon-tile { margin-bottom: 20px; }
.ldb-req h3 { font-size: 21px; }
.ldb-req p { margin-top: 10px; font-size: 15px; color: var(--muted-on-dark); }
.ldb-obs { margin-top: 20px; max-width: 86ch; padding: 18px 22px; border-radius: var(--radius); border: 1px solid var(--line-dark); border-left: 3px solid var(--roxo); font-size: 15px; color: var(--muted-on-dark); }
.ldb-obs strong { color: var(--on-dark); }
.ldb-pdi { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: 20px; margin-top: 56px; align-items: start; }
.ldb-pdi__col { padding: 32px; border-radius: var(--radius-lg); background: var(--bg-2); border: 1px solid var(--line-dark); }
.ldb-pdi h3 { font-size: 22px; }
.ldb-pdi__intro { margin-top: 8px; font-size: 14px; color: var(--muted-on-dark); }
.ldb-pdi dl { display: grid; gap: 16px; margin: 20px 0 0; }
.ldb-pdi dl > div { padding-top: 16px; border-top: 1px solid var(--line-dark); }
.ldb-pdi dl > div:first-child { padding-top: 0; border-top: 0; }
.ldb-pdi dt { font-size: 15px; font-weight: 700; color: var(--roxo); }
.ldb-pdi dd { margin: 4px 0 0; font-size: 15px; color: var(--muted-on-dark); }
.ldb-pdi__col--nao ul { display: grid; gap: 12px; margin-top: 20px; }
.ldb-pdi__col--nao li { position: relative; padding-left: 30px; font-size: 15px; color: var(--muted-on-dark); }
.ldb-pdi__col--nao li::before {
  content: ""; position: absolute; left: 0; top: 3px; width: 18px; height: 18px; border-radius: 5px; border: 2px solid var(--alerta);
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 10 10'%3E%3Cpath d='M2.5 2.5l5 5M7.5 2.5l-5 5' fill='none' stroke='%23FF6B6B' stroke-width='1.6' stroke-linecap='round'/%3E%3C/svg%3E") center/10px no-repeat;
}
.ldb-pdi__dica { margin-top: 24px; padding-top: 20px; border-top: 1px solid var(--line-dark); font-size: 15px; color: var(--on-dark); }

/* Benefícios: o cartão principal ocupa duas colunas e duas linhas */
.ldb-beneficios { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.ldb-card { display: flex; flex-direction: column; gap: 10px; padding: 28px; border-radius: var(--radius); background: var(--paper); border: 1px solid var(--line); border-top: 3px solid var(--roxo); }
.ldb-card h3 { font-size: 20px; line-height: 1.25; }
.ldb-card p { font-size: 15px; color: var(--muted); }
.ldb-card .ldb-card__num { font-size: clamp(36px, 4vw, 48px); font-weight: 800; letter-spacing: -0.03em; line-height: 1; color: var(--roxo-texto); }
.ldb-card__num span { font-size: .5em; font-weight: 700; letter-spacing: 0; }
.ldb-card .ldb-card__fonte { margin-top: auto; padding-top: 8px; font-size: 12px; font-weight: 600; color: var(--muted); }
.ldb-card--destaque { grid-column: span 2; grid-row: span 2; justify-content: center; gap: 14px; padding: 40px; background: var(--preto); border-color: var(--preto); border-top-color: var(--roxo); color: var(--on-dark); }
.ldb-card--destaque h3 { font-size: clamp(22px, 2.4vw, 30px); }
.ldb-card--destaque p { max-width: 60ch; font-size: 16px; color: var(--muted-on-dark); }
.ldb-card--destaque .ldb-card__num { font-size: clamp(52px, 6.4vw, 84px); color: var(--roxo); }
.ldb-card--destaque .ldb-card__fonte { margin-top: 0; color: var(--muted-on-dark); }
.ldb-nota { display: grid; gap: 6px; margin-top: 24px; padding: 22px 26px; border-radius: var(--radius); background: var(--paper-2); border-left: 3px solid var(--roxo); }
.ldb-nota strong { font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--roxo-texto); }
.ldb-nota p { max-width: 90ch; font-size: 15px; color: var(--ink); }

/* Simulador */
.ldb-sim { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 40px 64px; align-items: center; }
.ldb-sim__form { margin-top: 32px; }
.ldb-sim__form label { display: block; margin-bottom: 10px; font-size: 14px; font-weight: 700; color: var(--on-dark); }
.ldb-sim__campo { display: flex; align-items: center; gap: 10px; min-height: 60px; padding: 0 18px; border-radius: var(--radius-btn); background: var(--paper); color: var(--ink); }
.ldb-sim__campo:focus-within { outline: 3px solid var(--roxo); outline-offset: 3px; }
.ldb-sim__campo span { font-size: 20px; font-weight: 700; color: var(--muted); }
.ldb-sim__campo input { flex: 1; min-width: 0; height: 56px; padding: 0; border: 0; background: transparent; font: inherit; font-size: 22px; font-weight: 700; color: var(--ink); }
.ldb-sim__campo input:focus-visible { outline: none; }
.ldb-sim__campo input::placeholder { color: #8C8C8C; font-weight: 600; }
.ldb-sim__dica { margin-top: 12px; font-size: 14px; color: var(--muted-on-dark); }
.ldb-sim__resultado { padding: 36px; border-radius: var(--radius-lg); background: var(--bg-2); border: 1px solid var(--line-dark); border-top: 3px solid var(--roxo); }
.ldb-sim__rotulo { font-size: 12px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--roxo); }
.ldb-sim__valor { margin-top: 12px; font-size: clamp(22px, 2.8vw, 32px); font-weight: 800; letter-spacing: -0.02em; line-height: 1.25; overflow-wrap: anywhere; }
.ldb-sim__linhas { display: grid; margin: 22px 0 0; }
.ldb-sim__linhas > div { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding: 12px 0; border-top: 1px solid var(--line-dark); font-size: 15px; }
.ldb-sim__linhas dt { min-width: 0; color: var(--muted-on-dark); }
.ldb-sim__linhas dd { min-width: 0; margin: 0; font-weight: 700; color: var(--on-dark); text-align: right; overflow-wrap: anywhere; }
.ldb-sim__conta { margin-top: 16px; font-size: 13px; color: var(--muted-on-dark); }
.ldb-sim__notas { grid-column: 1 / -1; display: grid; gap: 10px; max-width: 92ch; font-size: 14px; color: var(--muted-on-dark); }
.ldb-sim__notas strong { color: var(--on-dark); }

/* Teste rápido (as perguntas usam as pílulas .chips do formulário de diagnóstico) */
.ldb-teste { max-width: 880px; padding: 40px; border-radius: var(--radius-lg); background: var(--paper); border: 1px solid var(--line); }
.ldb-q { padding: 22px 0; }
.ldb-q:first-child { padding-top: 0; }
.ldb-q + .ldb-q { border-top: 1px solid var(--line); }
.ldb-q .chips { margin: 0; }
.ldb-q legend { position: relative; padding: 0 0 0 42px; margin-bottom: 14px; font-size: 17px; font-weight: 700; line-height: 1.45; color: var(--ink); }
.chips .ldb-q__num, .ldb-q__num { min-height: 0; padding: 0; border: 0; cursor: default; transition: none; position: absolute; left: 0; top: -1px; width: 28px; height: 28px; border-radius: 8px; background: var(--roxo); color: var(--preto); display: grid; place-items: center; font-size: 13px; font-weight: 800; line-height: 1; }
.ldb-q .chips__opcoes { padding-left: 42px; }
.ldb-teste__acoes { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 24px; margin-top: 28px; }
.ldb-resultado { margin-top: 28px; padding: 32px; border-radius: var(--radius-lg); background: var(--preto); color: var(--on-dark); }
.ldb-resultado__rotulo { font-size: 12px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--roxo); }
.ldb-resultado h3 { margin-top: 10px; font-size: clamp(22px, 2.6vw, 28px); line-height: 1.2; }
.ldb-resultado__texto { margin-top: 12px; max-width: 64ch; font-size: 16px; color: var(--muted-on-dark); }
.ldb-resultado__pontos { display: grid; gap: 10px; margin-top: 18px; }
.ldb-resultado__pontos li { padding: 14px 16px; border-radius: 12px; background: var(--bg-2); border: 1px solid var(--line-dark); font-size: 15px; color: var(--muted-on-dark); }
.ldb-resultado__pontos strong { color: var(--on-dark); }
.ldb-resultado .hero__cta { margin-top: 24px; }

/* Como nós ajudamos (método DIG) */
.ldb-aviso { margin: 48px auto 0; max-width: 70ch; text-align: center; font-size: 14px; color: var(--muted-on-dark); }

/* Perguntas frequentes */
.ldb-faq { max-width: 880px; border-top: 1px solid var(--line); }
.ldb-faq details { border-bottom: 1px solid var(--line); }
.ldb-faq summary { position: relative; display: block; padding: 22px 52px 22px 0; font-size: 18px; font-weight: 700; line-height: 1.35; cursor: pointer; list-style: none; transition: color .15s; }
.ldb-faq summary::-webkit-details-marker { display: none; }
.ldb-faq summary::after {
  content: ""; position: absolute; right: 4px; top: 50%; width: 30px; height: 30px; margin-top: -15px; border-radius: 8px;
  background: var(--paper-2) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 14'%3E%3Cpath d='M7 2v10M2 7h10' fill='none' stroke='%23000000' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E") center/14px no-repeat;
  transition: transform .2s, background-color .2s;
}
.ldb-faq summary:hover { color: var(--roxo-texto); }
.ldb-faq details[open] summary::after { transform: rotate(45deg); background-color: var(--roxo); }
.ldb-faq__resp { display: grid; gap: 12px; max-width: 72ch; padding: 0 52px 24px 0; font-size: 16px; color: var(--muted); }
.ldb-faq__resp a { font-weight: 700; color: var(--roxo-texto); text-decoration: underline; text-underline-offset: 3px; }

/* Fontes */
.ldb-fontes { max-width: 880px; margin-top: 56px; padding: 32px; border-radius: var(--radius-lg); background: var(--paper-2); }
.ldb-fontes h3 { font-size: 20px; }
.ldb-fontes > p { margin-top: 6px; font-size: 14px; color: var(--muted); }
.ldb-fontes ul { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 28px; margin-top: 20px; }
.ldb-fontes li { min-width: 0; font-size: 15px; line-height: 1.4; }
.ldb-fontes a { font-weight: 700; color: var(--ink); text-decoration: underline; text-decoration-color: var(--roxo); text-decoration-thickness: 2px; text-underline-offset: 4px; overflow-wrap: anywhere; }
.ldb-fontes a::after { content: " ↗"; content: " ↗" / ""; }
.ldb-fontes li > span { display: block; margin-top: 4px; font-size: 13px; color: var(--muted); }
.ldb-fontes .ldb-fontes__aviso { margin-top: 24px; padding-top: 18px; border-top: 1px solid var(--line); font-size: 14px; font-weight: 600; color: var(--ink); }

/* Faixa final */
.ldb-cta__extra { position: relative; margin-top: 28px; font-size: 15px; color: var(--muted-on-dark); }
.ldb-cta__extra a { font-weight: 700; color: var(--on-dark); text-decoration: underline; text-decoration-color: var(--roxo); text-decoration-thickness: 2px; text-underline-offset: 4px; }

@media (max-width: 1080px) {
  .ldb-intro, .ldb-sim { grid-template-columns: minmax(0, 1fr); gap: 40px; }
  .ldb-pdi { grid-template-columns: minmax(0, 1fr); }
  .ldb-beneficios { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ldb-card--destaque { grid-column: 1 / -1; grid-row: auto; }
  .ldb-beneficios > .ldb-card:last-child { grid-column: 1 / -1; }
}
@media (max-width: 900px) {
  .ldb-req { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 760px) {
  .ldb-fontes ul { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 640px) {
  .ldb-beneficios { grid-template-columns: minmax(0, 1fr); }
  .ldb-card, .ldb-card--destaque, .ldb-numeros, .ldb-pdi__col, .ldb-sim__resultado, .ldb-resultado, .ldb-fontes { padding: 24px; }
  .ldb-req li { padding: 24px; }
  .ldb-teste { padding: 24px 16px; border-radius: var(--radius); }
  .ldb-q legend { font-size: 16px; padding-left: 38px; }
  .ldb-q .chips__opcoes { padding-left: 0; }
  .ldb-faq summary { font-size: 16px; padding-right: 46px; }
  .ldb-faq__resp { padding-right: 0; }
  .ldb-sim__campo input { font-size: 20px; }
  .ldb-sim__linhas > div { font-size: 14px; }
  .ldb-aviso { margin-top: 32px; }
}
/* Simulador no celular: o valor desce para a linha de baixo em vez de quebrar no meio do número */
.ldb-sim__linhas > div { flex-wrap: wrap; }
.ldb-sim__linhas dd { margin-left: auto; white-space: nowrap; }

/* ---------- Tem uma ideia? (seção própria, só texto e o botão) ---------- */
.idea { border-top: 1px solid var(--line-dark); }
.idea__conteudo { max-width: 760px; }
.idea .hero__cta { margin-top: 36px; }

/* ---------- Hub: atalhos para as áreas (materiais, incentivo fiscal, guias, notícias) ---------- */
.hub-atalhos { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 12px; margin-top: 36px; }
.hub-atalho { display: block; padding: 18px 18px 20px; border: 1px solid var(--line-dark); border-radius: var(--radius); background: rgba(255, 255, 255, .03); text-decoration: none; transition: border-color .2s, background-color .2s; }
.hub-atalho strong { display: block; font-size: 16px; font-weight: 700; color: var(--on-dark); }
.hub-atalho span { display: block; margin-top: 6px; font-size: 13.5px; line-height: 1.45; color: var(--muted-on-dark); }
.hub-atalho:hover, .hub-atalho:focus-visible { border-color: rgba(168, 85, 247, .7); background: rgba(168, 85, 247, .08); }
@media (max-width: 480px) { .hub-atalhos { grid-template-columns: minmax(0, 1fr); } }

/* ---------- Página Setores (setores/index.html): 5 grupos; cada setor leva à sua página ---------- */
.setores-home__grupos { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 16px; }
.setores-home__grupo { padding: 22px 18px 18px; border-radius: var(--radius); border: 1px solid rgba(0, 0, 0, .08); background: #fff; }
.setores-home__grupo h2, .setores-home__grupo h3 { margin: 0 0 12px; line-height: 1.3; font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--roxo-texto); }
.setores-home__grupo ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.setores-home__grupo a { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 10px 8px; margin: 0 -8px; border-radius: 10px; font-size: 15.5px; font-weight: 600; line-height: 1.3; color: var(--ink, #111); text-decoration: none; transition: background-color .2s, color .2s; }
.setores-home__grupo a svg { width: 16px; height: 16px; flex: none; opacity: .45; transition: transform .2s, opacity .2s; }
.setores-home__grupo a:hover, .setores-home__grupo a:focus-visible { background: rgba(168, 85, 247, .08); color: var(--roxo-texto); }
.setores-home__grupo a:hover svg, .setores-home__grupo a:focus-visible svg { opacity: 1; transform: translateX(3px); }
@media (max-width: 1080px) { .setores-home__grupos { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 760px) { .setores-home__grupos { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 480px) { .setores-home__grupos { grid-template-columns: minmax(0, 1fr); } }

/* ---------- Soluções tributárias (solucoes.html#tributario) ---------- */
.trib-cabeca { padding-bottom: 0; }
.trib-cabeca .section-head { margin-bottom: 0; }
.sol__link { display: inline-flex; align-items: center; gap: 8px; margin-top: 16px; font-weight: 600; color: var(--roxo-texto); text-decoration: underline; text-underline-offset: 3px; }
.sol__link svg { width: 16px; height: 16px; }
/* módulos dentro de cada solução tributária */
.trib-mods { display: grid; margin-top: 16px; padding: 0; list-style: none; }
.trib-mods li { display: grid; gap: 4px; padding: 14px 0; border-bottom: 1px dashed var(--line); }
.trib-mods li:last-child { border-bottom: 0; padding-bottom: 0; }
.trib-mods strong { font-size: 16px; font-weight: 700; }
.trib-mods strong::before { content: ""; display: inline-block; width: 8px; height: 8px; margin-right: 10px; border-radius: 2px; background: var(--roxo); vertical-align: 2px; }
.trib-mods span { font-size: 15px; color: var(--muted); }
.trib-mods__nota { margin-top: 16px; font-size: 14px; font-weight: 600; color: var(--roxo-texto); }

/* ---------- Reforma tributária por dentro da solução (solucoes.html#reforma-linha-do-tempo; veio do incentivo-fiscal) ---------- */
.trib-reforma { margin-top: 88px; padding-top: 72px; border-top: 1px solid var(--line); }
.trib-reforma__cabeca { max-width: 820px; margin-bottom: 36px; }
.trib-reforma__titulo { font-size: clamp(26px, 3vw, 36px); font-weight: 800; letter-spacing: -0.02em; line-height: 1.15; }
.trib-reforma__lead { margin-top: 14px; font-size: 18px; line-height: 1.6; color: var(--muted); }
.trib-reforma__sub { margin: 0 0 28px; font-size: 12px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--roxo-texto); }
.trib-reforma__cta { margin-top: 40px; align-items: center; }
.if-glossario { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin: 0 0 64px; }
.if-glossario > div { min-width: 0; padding: 22px 22px 24px; border-radius: var(--radius); background: var(--paper-2); border: 1px solid var(--line); }
.if-glossario dt { font-size: 22px; font-weight: 800; letter-spacing: -0.02em; line-height: 1.1; color: var(--ink); }
.if-glossario dt span { display: block; margin-top: 6px; font-size: 12px; font-weight: 700; letter-spacing: .1em; line-height: 1.35; text-transform: uppercase; color: var(--roxo-texto); }
.if-glossario dd { margin: 10px 0 0; font-size: 15px; color: var(--muted); }
.if-linha { position: relative; display: grid; max-width: 960px; }
.if-linha::before { content: ""; position: absolute; left: 11px; top: 10px; bottom: 12px; width: 2px; background: linear-gradient(180deg, var(--roxo), rgba(168, 85, 247, .25)); }
.if-linha__item { position: relative; display: grid; grid-template-columns: 168px minmax(0, 1fr); gap: 8px 32px; padding: 0 0 40px 52px; }
.if-linha__item:last-child { padding-bottom: 0; }
.if-linha__item::before { content: ""; position: absolute; left: 3px; top: 4px; width: 18px; height: 18px; border-radius: 50%; background: var(--paper); border: 3px solid var(--roxo); box-sizing: border-box; }
.if-linha__item--feito::before { background: var(--roxo); }
.if-linha__item--agora::before { background: var(--preto); border-color: var(--roxo); box-shadow: 0 0 0 6px rgba(168, 85, 247, .22); }
.if-linha__quando { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; }
.if-linha__quando strong { font-size: 17px; font-weight: 800; letter-spacing: -0.01em; line-height: 1.2; color: var(--ink); }
.if-linha__status { display: inline-block; padding: 3px 10px; border-radius: 999px; font-size: 11px; font-weight: 700; letter-spacing: .08em; line-height: 1.4; text-transform: uppercase; color: var(--muted); background: var(--paper); border: 1px solid var(--line); }
.if-linha__status--agora { color: var(--branco); background: var(--preto); border-color: var(--preto); }
.if-linha__status--aberto { color: var(--roxo-texto); border-color: var(--roxo-texto); }
.if-linha__corpo { min-width: 0; }
.if-linha__corpo h3 { font-size: 21px; line-height: 1.25; }
.if-linha__corpo > p { margin-top: 10px; max-width: 70ch; font-size: 16px; color: var(--muted); }
.if-linha__corpo ul { display: grid; gap: 10px; margin-top: 12px; max-width: 72ch; }
.if-linha__corpo li { position: relative; padding-left: 20px; font-size: 15px; color: var(--muted); }
.if-linha__corpo li::before { content: ""; position: absolute; left: 0; top: .62em; width: 8px; height: 8px; border-radius: 2px; background: var(--roxo); }
.if-linha__corpo strong { color: var(--ink); }
.if-linha__fonte { margin-top: 12px; font-size: 13px; color: var(--muted); }
.if-linha__fonte a { font-weight: 700; color: var(--roxo-texto); text-decoration: underline; text-underline-offset: 3px; overflow-wrap: anywhere; }
.if-reforma__nota { margin-top: 48px; max-width: 86ch; padding: 18px 22px; border-radius: var(--radius); background: var(--paper-2); border-left: 3px solid var(--roxo); font-size: 15px; color: var(--ink); }
@media (max-width: 1080px) {
  .if-glossario { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 860px) {
  .if-linha__item { grid-template-columns: minmax(0, 1fr); gap: 10px; }
  .if-linha__quando { flex-direction: row; flex-wrap: wrap; align-items: center; gap: 8px 12px; }
}
@media (max-width: 640px) {
  .if-glossario { grid-template-columns: minmax(0, 1fr); margin-bottom: 48px; }
  .if-linha__item { padding-left: 40px; padding-bottom: 32px; }
  .if-linha__corpo h3 { font-size: 19px; }
}
.trib-entrega { margin-top: 16px; max-width: 72ch; padding: 14px 16px; border-radius: 14px; background: rgba(168, 85, 247, .06); border: 1px solid rgba(168, 85, 247, .28); }
.if-linha__item--agora .trib-entrega { background: rgba(168, 85, 247, .1); border-color: rgba(168, 85, 247, .5); }
.trib-entrega__rotulo { font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--roxo-texto); }
.trib-entrega p:not(.trib-entrega__rotulo) { margin-top: 4px; font-size: 15px; line-height: 1.5; color: var(--ink); }
.if-linha__corpo .trib-entrega__mods { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; max-width: none; }
.if-linha__corpo .trib-entrega__mods li { padding: 3px 9px; font-size: 11.5px; font-weight: 600; color: var(--roxo-texto); background: var(--paper); border: 1px solid rgba(168, 85, 247, .3); border-radius: 999px; }
.if-linha__corpo .trib-entrega__mods li::before { content: none; }
@media (max-width: 640px) { .trib-reforma { margin-top: 64px; padding-top: 56px; } }

/* ---------- Formulário: confirmação de envio e campo-isca para robôs ---------- */
.quiz__enviado { margin-top: 28px; padding: 18px 20px; border-radius: var(--radius); background: rgba(52, 199, 89, .1); border: 1px solid rgba(52, 199, 89, .45); }
.quiz__enviado strong { display: block; font-size: 17px; color: var(--verde-texto); }
.quiz__enviado p { margin-top: 4px; font-size: 15px; color: var(--ink); }
.campo-isca { position: absolute; left: -10000px; top: auto; width: 1px; height: 1px; overflow: hidden; }
