/* ─── RESET ────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
/* Regras com display (ex.: .form-sucesso) venciam o atributo hidden. */
[hidden] { display: none !important; }

/* ─── TOKENS DE MARCA ──────────────────────────────────────
   Fonte: arquivo final do logotipo (gemini-svg.svg).
   #1D82FF é a cor da marca; #0F62D0 é a variante acessível
   para texto e botões sobre fundo claro (WCAG AA).          */
:root {
  --grafite:      #111E2E;
  --grafite-icon: #2D3134;
  --blue:         #1D82FF;
  --blue-ink:     #0F62D0;
  --blue-deep:    #0B4EA8;
  --blue-soft:    #E8F1FE;
  --slate:        #5A6E85;
  --off-white:    #F6F8FB;
  --white:        #FFFFFF;
  --ink-2:        #3D4E63;
  --rule:         #DCE3EC;
  --rule-strong:  #BFCBDA;
  --ok:           #129A6B;
  --warn:         #C2410C;

  --maxw: 72rem;
  --nav-h: 96px;
  --radius: 4px;
}

html { scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 16px); }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; transition-duration: .001ms !important; }
}

body {
  font-family: Inter, "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 17px;
  line-height: 1.62;
  color: var(--ink-2);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3, h4 { color: var(--grafite); line-height: 1.14; letter-spacing: -0.028em; text-wrap: balance; }
h1 { font-size: clamp(2rem, 3.9vw, 2.9rem); font-weight: 800; letter-spacing: -0.034em; line-height: 1.08; }
h2 { font-size: clamp(1.65rem, 3.4vw, 2.4rem); font-weight: 800; }
h3 { font-size: 1.15rem; font-weight: 700; letter-spacing: -0.018em; }
p { max-width: 68ch; }
a { color: var(--blue-ink); }
img { max-width: 100%; height: auto; display: block; }

:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; border-radius: 2px; }

.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 1.5rem; }
.eyebrow {
  font-size: .6875rem; font-weight: 700; letter-spacing: .18em;
  text-transform: uppercase; color: var(--slate); margin-bottom: .875rem;
}
.lede { font-size: 1.125rem; max-width: 60ch; }
.section { padding: clamp(3.5rem, 8vw, 6.5rem) 0; }
.section-head { max-width: 46rem; margin-bottom: clamp(2rem, 4vw, 3rem); }
.section-head p { margin-top: .875rem; }
.bg-off { background: var(--off-white); border-block: 1px solid var(--rule); }
.bg-dark { background: var(--grafite); }

/* ─── MARCA ───────────────────────────────────────────────── */
/* Duas versões do arquivo oficial. O fundo do chip é transparente nas duas,
   então ele assume a cor de onde o logotipo for aplicado. */
.lockup { display: block; width: 100%; height: auto; }

/* ─── SKIP NAV ─────────────────────────────────────────────── */
.skip-nav {
  position: absolute; top: -100%; left: 0; z-index: 10000;
  background: var(--blue-ink); color: #fff; padding: .75rem 1.5rem;
  font-weight: 700; text-decoration: none;
}
.skip-nav:focus { top: 0; }

/* ─── NAVBAR ───────────────────────────────────────────────── */
.navbar {
  position: fixed; inset: 0 0 auto 0; height: var(--nav-h); z-index: 1000;
  background: rgba(255,255,255,.88);
  -webkit-backdrop-filter: saturate(180%) blur(12px);
  backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color .25s, box-shadow .25s;
}
.navbar.scrolled { border-bottom-color: var(--rule); box-shadow: 0 1px 20px rgba(17,30,46,.06); }
.nav-inner {
  max-width: var(--maxw); margin: 0 auto; padding: 0 1.5rem; height: 100%;
  display: flex; align-items: center; justify-content: space-between; gap: 1.5rem;
}
.nav-logo { display: block; width: 216px; flex-shrink: 0; }
.nav-links { display: flex; align-items: center; gap: 1.375rem; list-style: none; }
.nav-links a {
  font-size: .875rem; font-weight: 600; color: var(--grafite); white-space: nowrap;
  text-decoration: none; padding: .25rem 0; border-bottom: 2px solid transparent;
  transition: color .2s, border-color .2s;
}
.nav-links a:hover { color: var(--blue-ink); border-bottom-color: var(--blue); }
.nav-cta { display: flex; align-items: center; gap: 1rem; flex-shrink: 0; }
.nav-area {
  font-size: .875rem; font-weight: 600; color: var(--grafite);
  text-decoration: none; white-space: nowrap; border-bottom: 2px solid transparent;
  padding: .25rem 0; transition: color .2s, border-color .2s;
}
.nav-area:hover { color: var(--blue-ink); border-bottom-color: var(--blue); }
.hamburger {
  display: none; background: none; border: 1px solid var(--rule-strong);
  border-radius: var(--radius); padding: .5rem .625rem; cursor: pointer;
}
.hamburger span { display: block; width: 20px; height: 2px; background: var(--grafite); margin: 4px 0; border-radius: 2px; }

.mobile-menu {
  position: fixed; top: var(--nav-h); left: 0; right: 0; z-index: 999;
  background: var(--white); border-bottom: 1px solid var(--rule);
  padding: 1rem 1.5rem 1.5rem; display: none; flex-direction: column; gap: .25rem;
  box-shadow: 0 12px 28px rgba(17,30,46,.10);
}
.mobile-menu.open { display: flex; }
.mobile-menu a {
  padding: .75rem 0; font-weight: 600; color: var(--grafite);
  text-decoration: none; border-bottom: 1px solid var(--rule);
}
.mobile-menu .btn { margin-top: 1rem; text-align: center; }

/* ─── BOTÕES ───────────────────────────────────────────────── */
.btn {
  display: inline-block; font-weight: 700; font-size: .95rem; line-height: 1.2;
  padding: .9rem 1.6rem; border-radius: var(--radius);
  text-decoration: none; border: 1px solid transparent; cursor: pointer;
  transition: background .2s, border-color .2s, transform .12s, color .2s;
  font-family: inherit;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--blue-ink); color: #fff; }
.btn-primary:hover { background: var(--blue-deep); }
.btn-ghost { background: transparent; color: var(--grafite); border-color: var(--rule-strong); }
.btn-ghost:hover { border-color: var(--grafite); }
.btn-sm { padding: .625rem 1.1rem; font-size: .875rem; white-space: nowrap; }
.btn-on-dark { background: var(--blue); color: #06111F; }
.btn-on-dark:hover { background: #4D9CFF; }
.btn-row { display: flex; flex-wrap: wrap; gap: .875rem; align-items: center; }
.micro { font-size: .85rem; color: var(--slate); }

/* ─── HERO ─────────────────────────────────────────────────── */
.hero { padding: calc(var(--nav-h) + clamp(2.5rem, 7vw, 5rem)) 0 clamp(3rem, 6vw, 5rem); position: relative; }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(60rem 32rem at 78% -10%, rgba(29,130,255,.09), transparent 62%),
    var(--off-white);
  border-bottom: 1px solid var(--rule);
}
.hero-grid { display: grid; grid-template-columns: 1.18fr .82fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.hero-grid > *, .cta-grid > *, .grid-2 > *, .grid-4 > *, .steps > *, .case > * { min-width: 0; }
.hero-copy h1 { margin-bottom: 1.1rem; }
.hero-sub { font-size: clamp(1.05rem, 1.9vw, 1.3rem); font-weight: 600; color: var(--grafite); letter-spacing: -.015em; margin-bottom: .75rem; max-width: 34ch; }
.hero-copy .lede { margin-bottom: 1.75rem; }
.hero-copy .btn-row { margin-bottom: .875rem; }

/* painel de agentes — a prova visual do hero */
.panel {
  background: var(--grafite); border-radius: 8px; overflow: hidden;
  box-shadow: 0 24px 60px rgba(17,30,46,.24); border: 1px solid #22334A;
}
.panel-bar {
  display: flex; align-items: center; gap: .5rem;
  padding: .75rem 1rem; border-bottom: 1px solid #22334A; background: #0C1626;
}
.panel-bar i { width: 9px; height: 9px; border-radius: 50%; background: #33465F; display: block; }
.panel-bar strong {
  margin-left: .5rem; font-size: .7rem; letter-spacing: .14em; text-transform: uppercase;
  color: #8CA0B8; font-weight: 600;
}
.panel-body { padding: .5rem .375rem; }
.agent {
  display: grid; grid-template-columns: 1fr auto; align-items: center; gap: .75rem;
  padding: .8rem .875rem; border-radius: 5px;
}
.agent + .agent { border-top: 1px solid #1C2C41; }
.agent > div { min-width: 0; }
.agent-name { font-size: .875rem; font-weight: 600; color: #E4ECF6; overflow-wrap: anywhere; }
.agent-meta { font-size: .72rem; color: #7F94AD; font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
.pill {
  display: inline-flex; align-items: center; gap: .4rem;
  font-size: .68rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  padding: .28rem .55rem; border-radius: 999px;
  background: rgba(18,154,107,.14); color: #4BD39B; border: 1px solid rgba(18,154,107,.35);
}
.pill i { width: 6px; height: 6px; border-radius: 50%; background: currentColor; display: block; animation: blink 2.4s ease-in-out infinite; }
.pill.queued { background: rgba(29,130,255,.12); color: #6FB0FF; border-color: rgba(29,130,255,.32); }
@keyframes blink { 0%, 100% { opacity: 1; } 50% { opacity: .35; } }
.panel-foot {
  display: flex; justify-content: space-between; gap: 1rem;
  padding: .8rem 1.125rem; border-top: 1px solid #22334A; background: #0C1626;
  font-size: .72rem; color: #7F94AD; font-variant-numeric: tabular-nums; flex-wrap: wrap;
}

/* ─── FAIXA DE CLIENTES ────────────────────────────────────── */
.trust { padding: 2rem 0; border-bottom: 1px solid var(--rule); background: var(--white); }
/* Dois grupos rotulados: cliente e produto próprio são provas diferentes e
   misturá-las sob o mesmo rótulo enfraqueceria as duas. */
.trust-inner {
  display: grid; grid-template-columns: auto 1fr;
  gap: 1.5rem 2.5rem; align-items: center;
}
.trust-label {
  font-size: .72rem; font-weight: 700; letter-spacing: .14em;
  text-transform: uppercase; color: var(--slate); max-width: 12rem;
}
.trust-logos { display: flex; flex-wrap: wrap; align-items: center; gap: 1.25rem 2.25rem; }
.trust-logos a { display: block; line-height: 0; }
/* Sem grayscale: os logos dos clientes já vêm em versão para fundo claro
   (integrativa_logo_light.png, inteligenda_logo_trim.png) e dessaturar
   apagaria a identidade de cada um. */
.trust-logos img { height: auto; max-height: 34px; max-width: 132px; width: auto; opacity: .82; transition: opacity .25s; }
.trust-logos img.stacked { max-height: 50px; }
/* Logo horizontal com texto miúdo (Fundação Padre Albino): a 34px o "FUNDAÇÃO" some. */
.trust-logos img.wide { max-height: 46px; max-width: 160px; }
.trust-logos img:hover { opacity: 1; }

/* ─── GRIDS ────────────────────────────────────────────────── */
.grid-2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(20rem, 1fr)); gap: 1.5rem; }
.grid-3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(18rem, 1fr)); gap: 1.5rem; }
.grid-3 > * { min-width: 0; }
.grid-4 { display: grid; grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr)); gap: 1.5rem; }

.card {
  background: var(--white); border: 1px solid var(--rule); border-radius: 6px;
  padding: 1.75rem; display: flex; flex-direction: column; gap: .75rem;
  transition: border-color .22s, box-shadow .22s, transform .22s;
}
.card:hover { border-color: var(--rule-strong); box-shadow: 0 14px 34px rgba(17,30,46,.07); transform: translateY(-2px); }
.card p { font-size: .95rem; max-width: none; }
.card-icon { width: 34px; height: 34px; color: var(--blue-ink); }
.card-icon svg { width: 100%; height: 100%; display: block; }
.card .pain {
  font-size: .68rem; font-weight: 700; letter-spacing: .14em;
  text-transform: uppercase; color: var(--slate);
}

/* produtos — cartões maiores */
.product { padding: 2rem; }
.product .tag {
  align-self: flex-start; font-size: .68rem; font-weight: 700; letter-spacing: .12em;
  text-transform: uppercase; color: var(--blue-ink);
  background: var(--blue-soft); padding: .3rem .6rem; border-radius: 3px;
}
.product h3 { font-size: 1.4rem; }
.feature-list { list-style: none; display: flex; flex-direction: column; gap: .5rem; margin-top: .25rem; }
.feature-list li { display: grid; grid-template-columns: 1.1rem 1fr; gap: .625rem; font-size: .925rem; }
.feature-list svg { width: 1.1rem; height: 1.1rem; color: var(--blue-ink); margin-top: .28rem; }
.product-logo {
  height: auto; max-height: 3.5rem; max-width: 13rem; width: auto;
  align-self: flex-start; margin-bottom: .5rem;
}
.product-logo.stacked { max-height: 4.5rem; max-width: 9.5rem; }
.product-note {
  margin-top: .5rem; padding: .75rem .875rem; border-radius: var(--radius);
  background: var(--off-white); border-left: 3px solid var(--blue);
  font-size: .875rem; max-width: none;
}

/* ─── METODOLOGIA ──────────────────────────────────────────── */
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr)); gap: 1.5rem; counter-reset: step; }
.step { position: relative; padding-top: 1.75rem; border-top: 2px solid var(--rule); }
.step::before {
  counter-increment: step; content: counter(step, decimal-leading-zero);
  position: absolute; top: -.85rem; left: 0;
  background: var(--off-white); padding-right: .625rem;
  font-size: 1.05rem; font-weight: 800; color: var(--blue-ink);
  font-variant-numeric: tabular-nums; letter-spacing: -.02em;
}
.step h3 { margin-bottom: .5rem; }
.step p { font-size: .95rem; max-width: none; }

/* ─── PROVA / CASES ────────────────────────────────────────── */
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(11rem, 1fr)); gap: 2rem 1.75rem; margin-bottom: 3rem; }
.stat b {
  display: block; font-size: clamp(2rem, 4vw, 2.75rem); font-weight: 800;
  letter-spacing: -.04em; color: var(--grafite); line-height: 1;
  font-variant-numeric: tabular-nums; margin-bottom: .45rem;
}
.stat span { font-size: .875rem; color: var(--slate); display: block; max-width: 26ch; }

.cases { display: flex; flex-direction: column; gap: 1.5rem; }
.case {
  display: grid; grid-template-columns: 13rem 1fr; gap: 2rem;
  padding: 1.75rem; border: 1px solid var(--rule); border-radius: 6px; background: var(--white);
}
.case-brand { display: flex; flex-direction: column; gap: .875rem; }
.case-brand img { height: auto; max-height: 40px; max-width: 150px; width: auto; }
.case-brand img.stacked { max-height: 58px; }
.case-brand .tag {
  align-self: flex-start; font-size: .66rem; font-weight: 700; letter-spacing: .12em;
  text-transform: uppercase; color: var(--slate); border: 1px solid var(--rule-strong);
  padding: .28rem .5rem; border-radius: 3px;
}
.case-body h3 { margin-bottom: .625rem; }
.case-body p { font-size: .95rem; }
.case-body p + p { margin-top: .75rem; }
.case-result {
  margin-top: 1rem; padding-left: .875rem; border-left: 3px solid var(--blue);
  font-weight: 700; color: var(--grafite); font-size: .95rem;
}

/* ─── BLOCO SEO ────────────────────────────────────────────── */
.prose { max-width: 46rem; }
.prose p + p { margin-top: 1.1rem; }

/* Bloco SEO: ocupa a mesma largura dos cards de case. Em coluna única a linha
   passaria de 100 caracteres, então o texto corre em duas colunas. */
#o-que-fazemos .section-head { max-width: none; }
#o-que-fazemos .prose { max-width: none; columns: 2; column-gap: 3.5rem; }
/* Sem break-inside: avoid — com 5 parágrafos de tamanhos diferentes ele
   empurra tudo para a primeira coluna e deixa a segunda pela metade.
   orphans/widows impedem que sobre uma linha solta na virada. */
#o-que-fazemos .prose p { max-width: none; orphans: 3; widows: 3; }
#o-que-fazemos .prose p:first-child { margin-top: 0; }
@media (max-width: 62rem) {
  #o-que-fazemos .prose { columns: 1; }
  #o-que-fazemos .prose p { max-width: 68ch; }
}
.prose strong { color: var(--grafite); }
.prose a { font-weight: 600; }

/* ─── CTA FINAL ────────────────────────────────────────────── */
.cta-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(2rem, 5vw, 4rem); align-items: start; }
.bg-dark h2, .bg-dark h3 { color: #fff; }
.bg-dark p { color: #A9BACE; }
.bg-dark .eyebrow { color: #8CA0B8; }
.cta-logo { width: 224px; margin-bottom: 1.75rem; }
.cta-list { list-style: none; display: flex; flex-direction: column; gap: .625rem; margin-top: 1.5rem; }
.cta-list li { display: grid; grid-template-columns: 1.1rem 1fr; gap: .625rem; color: #C3D0DF; font-size: .95rem; }
.cta-list svg { width: 1.1rem; height: 1.1rem; color: var(--blue); margin-top: .28rem; }

.form-card { background: #0B1522; border: 1px solid #22334A; border-radius: 8px; padding: 1.75rem; }
.form-card h3 { font-size: 1.15rem; margin-bottom: .375rem; }
.form-card > p { font-size: .875rem; margin-bottom: 1.5rem; }
.field { display: flex; flex-direction: column; gap: .375rem; margin-bottom: 1rem; }
.field label { font-size: .78rem; font-weight: 600; letter-spacing: .04em; color: #A9BACE; }
.field input, .field textarea {
  font-family: inherit; font-size: .95rem; color: #EAF0F8;
  background: #111E2E; border: 1px solid #2A3D57; border-radius: var(--radius);
  padding: .7rem .8rem; width: 100%; transition: border-color .2s;
}
.field input::placeholder, .field textarea::placeholder { color: #61748C; }
.field input:focus, .field textarea:focus { border-color: var(--blue); outline: none; }
.field textarea { resize: vertical; min-height: 5rem; }
.form-card .btn { width: 100%; text-align: center; margin-top: .375rem; }
.form-foot { margin-top: 1rem; font-size: .78rem; color: #7F94AD; text-align: center; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-erro {
  margin-top: .875rem; font-size: .85rem; color: #FFB4A2;
  background: rgba(194, 65, 12, .18); border: 1px solid rgba(194, 65, 12, .45);
  border-radius: var(--radius); padding: .625rem .75rem;
}
.form-card .btn[disabled] { opacity: .6; cursor: progress; }
.form-sucesso { display: flex; flex-direction: column; align-items: center; text-align: center; gap: .75rem; padding: 1.5rem .5rem; }
.form-sucesso svg { width: 2.75rem; height: 2.75rem; color: var(--blue); }
.form-sucesso h3 { margin: 0; }
.form-sucesso p { font-size: .9rem; max-width: 34ch; }
.form-foot a { color: #6FB0FF; }

/* ─── FOOTER ───────────────────────────────────────────────── */
footer { background: #08111C; padding: 3.5rem 0 2rem; border-top: 1px solid #1A2838; }
.foot-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 2.5rem; margin-bottom: 3rem; }
.foot-logo { width: 224px; margin-bottom: 1.125rem; }
footer p, footer li, footer a { font-size: .875rem; color: #8CA0B8; }
footer a { text-decoration: none; transition: color .2s; }
footer a:hover { color: var(--blue); }
footer h4 {
  font-size: .72rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase;
  color: #E4ECF6; margin-bottom: 1rem;
}
footer ul { list-style: none; display: flex; flex-direction: column; gap: .625rem; }
.foot-bottom {
  border-top: 1px solid #1A2838; padding-top: 1.5rem;
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: .75rem;
}
.foot-bottom p { font-size: .8rem; color: #61748C; }

/* ─── REVEAL ───────────────────────────────────────────────── */
.reveal { opacity: 0; transform: translateY(14px); transition: opacity .6s ease, transform .6s ease; }
.reveal.visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; } }

/* ─── RESPONSIVO ───────────────────────────────────────────── */
@media (max-width: 62rem) {
  .hero-grid, .cta-grid { grid-template-columns: 1fr; }
  .panel { max-width: 34rem; }
  .foot-grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
}
/* 70rem = 1120px. O menu inteiro mede 1094px; abaixo disso ele apertava e
   quebrava as palavras no meio, em vez de virar o menu compacto. */
@media (max-width: 70rem) {
  .nav-links, .nav-cta .btn, .nav-area { display: none; }
  .hamburger { display: block; }
}
@media (max-width: 54rem) {
  .trust-inner { grid-template-columns: 1fr; gap: .625rem 0; }
  .trust-inner .trust-logos { margin-bottom: .75rem; }
  .case { grid-template-columns: 1fr; gap: 1.25rem; }
}
@media (max-width: 34rem) {
  body { font-size: 16px; }
  .nav-logo { width: 178px; }
  .foot-grid { grid-template-columns: 1fr; }
  .card, .product, .case, .form-card { padding: 1.375rem; }
}

/* ─── ATENDIMENTO REGIONAL ─────────────────────────────────── */
.hero-local { margin-top: 1rem; font-size: .9rem; color: var(--slate); max-width: 52ch; }
.hero-local a { font-weight: 600; }
.card-link { margin-top: auto; padding-top: .5rem; font-size: .925rem; font-weight: 700; }
.card-link a { text-decoration: none; }
.card-link a:hover { text-decoration: underline; }
.foot-local { margin-top: .75rem; }

/* ─── PÁGINAS INTERNAS ─────────────────────────────────────── */
.page-hero { padding: calc(var(--nav-h) + clamp(2.5rem, 6vw, 4.5rem)) 0 clamp(2.5rem, 6vw, 4rem); border-bottom: 1px solid var(--rule); }
.page-hero h1 { max-width: 22ch; margin-top: .25rem; }
.page-hero .lede { margin-top: 1.125rem; }
.page-hero .btn-row { margin-top: 1.75rem; }
.breadcrumb { list-style: none; display: flex; flex-wrap: wrap; gap: .375rem; font-size: .8rem; color: var(--slate); margin-bottom: 1.25rem; }
.breadcrumb li + li::before { content: "/"; margin-right: .375rem; color: var(--rule-strong); }
.breadcrumb a { color: var(--slate); text-decoration: none; }
.breadcrumb a:hover { color: var(--blue-ink); }
.checks { list-style: none; display: grid; grid-template-columns: repeat(auto-fit, minmax(17rem, 1fr)); gap: .75rem 2rem; margin-top: 1.5rem; }
.checks li { display: grid; grid-template-columns: 1.1rem 1fr; gap: .625rem; }
.checks svg { width: 1.1rem; height: 1.1rem; color: var(--blue-ink); margin-top: .3rem; }
.faq { max-width: 46rem; display: flex; flex-direction: column; border-top: 1px solid var(--rule); }
.faq details { border-bottom: 1px solid var(--rule); padding: 1.125rem 0; }
.faq summary { cursor: pointer; font-weight: 700; color: var(--grafite); list-style-position: outside; }
.faq details p { margin-top: .75rem; font-size: .95rem; }
.related { display: flex; flex-wrap: wrap; gap: .75rem 1.5rem; margin-top: 1rem; font-weight: 600; }

/* ─── PAINEL DO HERO: AGENTES RELATANDO ────────────────────── */
.feed { padding: .5rem .5rem .625rem; display: flex; flex-direction: column; gap: .5rem; }
.msg { background: #16263A; border: 1px solid #22334A; border-radius: 6px; padding: .75rem .875rem; }
.msg-head { display: flex; justify-content: space-between; align-items: baseline; gap: .75rem; margin-bottom: .3rem; }
.msg-head b { font-size: .72rem; letter-spacing: .08em; text-transform: uppercase; color: #6FB0FF; font-weight: 700; }
.msg-head time { font-size: .7rem; color: #61748C; font-variant-numeric: tabular-nums; }
.msg p { font-size: .85rem; line-height: 1.5; color: #E4ECF6; max-width: none; }
.msg .pill { margin-top: .55rem; }
.msg-actions { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: .65rem; }
.act {
  font-size: .75rem; font-weight: 700; padding: .38rem .7rem; border-radius: var(--radius);
  border: 1px solid #2A3D57; color: #C3D0DF;
}
.act.primary { background: var(--blue); border-color: var(--blue); color: #fff; }

/* ─── DOIS NÍVEIS ──────────────────────────────────────────── */
.levels { display: grid; grid-template-columns: repeat(auto-fit, minmax(20rem, 1fr)); gap: 1.5rem; }
.levels > * { min-width: 0; }
.level { border: 1px solid var(--rule); border-radius: 6px; padding: 1.75rem; display: flex; flex-direction: column; gap: .75rem; background: var(--off-white); }
.level.win { background: var(--white); border-color: var(--blue); box-shadow: 0 0 0 1px var(--blue), 0 14px 34px rgba(17,30,46,.07); }
.level-tag { font-size: .68rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--slate); }
.level.win .level-tag { color: var(--blue-ink); }
.level h3 { font-size: 1.4rem; }
.level h3 em { font-style: normal; color: var(--blue-ink); }
.level > p:not(.level-tag) { font-size: .95rem; max-width: none; }
.feature-list.muted svg { color: var(--slate); }
.feature-list.muted li { color: var(--slate); }

/* ─── AGENTES POR ÁREA ─────────────────────────────────────── */
.tablist { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 1.5rem; }
.tablist [role="tab"] {
  font: inherit; font-size: .9rem; font-weight: 700; cursor: pointer;
  padding: .55rem 1rem; border-radius: 999px; border: 1px solid var(--rule-strong);
  background: var(--white); color: var(--grafite); transition: background .2s, color .2s, border-color .2s;
}
.tablist [role="tab"]:hover { border-color: var(--blue); color: var(--blue-ink); }
.tablist [role="tab"][aria-selected="true"] { background: var(--grafite); border-color: var(--grafite); color: #fff; }
.area-panel {
  display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; align-items: start;
  background: var(--white); border: 1px solid var(--rule); border-radius: 6px; padding: 1.75rem;
}
.area-panel + .area-panel { margin-top: 1rem; } /* sem JS, todas aparecem empilhadas */
.area-panel > * { min-width: 0; }
.area-panel h3 { font-size: 1.3rem; margin-bottom: .75rem; }
.area-feed { background: var(--grafite); border-radius: 6px; padding: .875rem; display: flex; flex-direction: column; gap: .5rem; }
.area-feed-label { font-size: .68rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: #8CA0B8; margin-bottom: .125rem; }
@media (max-width: 54rem) { .area-panel { grid-template-columns: 1fr; padding: 1.375rem; } }

/* ─── PRÉ-REQUISITOS ───────────────────────────────────────── */
.prereq { margin-top: 3rem; padding: 1.75rem; background: var(--white); border: 1px solid var(--rule); border-left: 3px solid var(--blue); border-radius: 6px; }
.prereq .checks { margin-top: 1rem; grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (max-width: 54rem) { .prereq .checks { grid-template-columns: 1fr; } }
.prereq .checks li { font-size: .95rem; }
.prereq > p { margin-top: 1.25rem; font-size: .9rem; color: var(--slate); }

.areas-more { margin-top: 1.25rem; font-weight: 700; }

/* ─── CASE EM DESTAQUE (Fundação Padre Albino) ─────────────── */
.case.featured { border-color: var(--blue); border-top-width: 4px; }
.case-brand img.wide { max-height: 56px; max-width: 190px; }
.units { list-style: none; display: flex; flex-wrap: wrap; gap: .4rem; margin: .875rem 0; padding: 0; }
.units li { font-size: .78rem; font-weight: 600; color: var(--grafite); background: var(--off-white); border: 1px solid var(--rule); border-radius: 999px; padding: .25rem .65rem; }
