/* =========================================================================
   Aurag — sistema visual do site institucional
   Fonte: "Regras de Design.docx" (seção 17 — Sistema visual e regras globais)
   Paleta exclusiva: preto #020303 · branco #FFFFFF · verde #13D88B (acento)
   Tipografia exclusiva: New Order 400 (textos e títulos), 500 (destaques e
   botões), 700 (somente números e dados).
   Regras: sem degradês, sombras, brilhos, glassmorphism ou ícones coloridos;
   cards de cantos retos; nunca texto verde sobre fundo branco.
   ========================================================================= */

@font-face { font-family: "New Order"; src: url("../fonts/NewOrder-Regular.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "New Order"; src: url("../fonts/NewOrder-Medium.woff2") format("woff2"); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: "New Order"; src: url("../fonts/NewOrder-Bold.woff2") format("woff2"); font-weight: 700; font-style: normal; font-display: swap; }
/* Fallback com métrica aproximada para reduzir o salto de layout enquanto a fonte carrega */
@font-face { font-family: "New Order Fallback"; src: local("Arial"), local("Helvetica Neue"), local("Roboto"); size-adjust: 101%; }

:root {
  /* Cores oficiais */
  --ink: #020303;
  --paper: #FFFFFF;
  --green: #13D88B;

  /* Espaçamento — grid de 8px */
  --s1: 8px; --s2: 16px; --s3: 24px; --s4: 32px; --s5: 64px; --s6: 120px;
  --section-y: clamp(64px, 40.8px + 6.19vw, 120px);
  --gutter: 24px;
  --gap: 16px;
  --container: 1280px;
  --header-h: 72px;

  /* Escala tipográfica (desktop/mobile conforme as regras) */
  --fs-hero: clamp(30px, calc((100vw - 48px) / 8.9), 72px); /* 72px; no mobile, o limite é a largura de "operacionalizamos" */
  --fs-h1: clamp(36px, 27.7px + 2.21vw, 56px);
  --fs-h2: clamp(28px, 23px + 1.33vw, 40px);
  --fs-h3: clamp(22px, 19.5px + 0.66vw, 28px);
  --fs-lead: clamp(18px, 16.3px + 0.44vw, 22px);
  --fs-body: clamp(16px, 15.2px + 0.22vw, 18px);
  --fs-small: 14px;

  --ease-out: cubic-bezier(.2, .7, .2, 1);
  --font: "New Order", "New Order Fallback", system-ui, -apple-system, "Segoe UI", sans-serif;
}
@media (min-width: 768px) { :root { --gutter: 32px; --gap: 32px; } }

/* Contextos de cor: cada seção declara se é preta ou branca */
.on-ink {
  background: var(--ink); color: var(--paper);
  --fg: var(--paper); --fg-2: rgba(255, 255, 255, .72); --fg-3: rgba(255, 255, 255, .56);
  --line: rgba(255, 255, 255, .16); --line-strong: rgba(255, 255, 255, .4); --focus: var(--green);
}
.on-paper {
  background: var(--paper); color: var(--ink);
  --fg: var(--ink); --fg-2: rgba(2, 3, 3, .72); --fg-3: rgba(2, 3, 3, .6);
  --line: rgba(2, 3, 3, .14); --line-strong: rgba(2, 3, 3, .4); --focus: var(--ink);
}

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0; background: var(--ink); color: var(--paper);
  font-family: var(--font); font-weight: 400; font-size: var(--fs-body); line-height: 1.6;
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; text-rendering: optimizeLegibility;
  font-kerning: normal;
}
img, svg { display: block; max-width: 100%; }
img { height: auto; }
h1, h2, h3, h4, p, ul, ol, dl, dd, figure, blockquote { margin: 0; }
ul, ol { padding: 0; list-style: none; }
h1, h2, h3, h4 { font-weight: 400; text-wrap: balance; }
p { text-wrap: pretty; }
b, strong { font-weight: 500; }
a { color: inherit; }
address { font-style: normal; }
button { font: inherit; color: inherit; }
[id] { scroll-margin-top: calc(var(--header-h) + 24px); }
main:focus { outline: none; }
::selection { background: var(--green); color: var(--ink); }
:focus-visible { outline: 2px solid var(--focus, var(--green)); outline-offset: 3px; }

.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: 16px; top: -100px; z-index: 100; background: var(--green); color: var(--ink); padding: 12px 16px; font-weight: 500; text-decoration: none; }
.skip-link:focus { top: 16px; }

/* ---------- layout ---------- */
.wrap { width: min(100% - 2 * var(--gutter), var(--container)); margin-inline: auto; }
.section { padding-block: var(--section-y); }
.section--tight-top { padding-top: 0; }
.grid { display: grid; grid-template-columns: minmax(0, 1fr); row-gap: var(--s4); }
@media (min-width: 960px) {
  .grid { grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); }
  .grid > * { grid-column: 1 / -1; }
  .grid > [style*="--c"] { grid-column: var(--c); }
}

/* ---------- tipografia ---------- */
.t-hero { font-size: var(--fs-hero); line-height: 1.04; letter-spacing: -0.02em; }
.t-h1 { font-size: var(--fs-h1); line-height: 1.08; letter-spacing: -0.015em; }
.t-h2 { font-size: var(--fs-h2); line-height: 1.15; letter-spacing: -0.01em; }
.t-h3 { font-size: var(--fs-h3); line-height: 1.25; letter-spacing: -0.005em; }
.t-lead { font-size: var(--fs-lead); line-height: 1.5; color: var(--fg-2); }
.t-body { font-size: var(--fs-body); }
.t-small { font-size: var(--fs-small); line-height: 1.5; }
.muted { color: var(--fg-2); }
.faint { color: var(--fg-3); }
.measure { max-width: 38em; }
.prose > * + * { margin-top: 1em; }
.prose p { color: var(--fg-2); }
.prose strong { color: var(--fg); }
.num { font-weight: 700; letter-spacing: -0.02em; font-variant-numeric: lining-nums; }
.medium { font-weight: 500; }

/* Ponto final verde: assinatura do símbolo "co." — só aparece em verde sobre preto */
.dot { color: var(--green); }
.on-paper .dot { color: inherit; }

.eyebrow {
  display: flex; align-items: center; gap: var(--s2);
  font-size: var(--fs-small); font-weight: 500; letter-spacing: .12em; text-transform: uppercase; line-height: 1.3;
  color: var(--fg-2);
}
.eyebrow::before { content: ""; flex: 0 0 32px; height: 1px; background: currentColor; opacity: .6; }

/* Palavras do universo "co." (conhece, conecta, conexão...) */
.co { white-space: nowrap; }
.co b { font-weight: inherit; color: var(--green); }
.on-paper .co b { color: inherit; }

/* ---------- links e botões ---------- */
.icon { width: 18px; height: 18px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; transition: transform .25s var(--ease-out); }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  min-height: 56px; padding: 0 28px; border-radius: 999px; border: 1px solid transparent;
  font-family: inherit; font-size: 16px; font-weight: 500; line-height: 1.2; text-align: center; text-decoration: none;
  cursor: pointer; -webkit-tap-highlight-color: transparent;
  transition: background-color .2s ease, color .2s ease, border-color .2s ease, transform .15s ease;
}
.btn:active { transform: scale(.98); }
.btn:hover .icon { transform: translate(2px, -2px); }
.btn--primary { background: var(--green); color: var(--ink); }
.on-ink .btn--primary:hover { background: var(--paper); }
.on-paper .btn--primary:hover { background: var(--ink); color: var(--paper); }
.btn--ghost { background: transparent; color: var(--fg); border-color: var(--line-strong); }
.btn--ghost:hover { border-color: var(--fg); }
.btn--ghost:hover .icon { transform: translateX(4px); }
.btn--sm { min-height: 44px; padding: 0 20px; }
.btn--block { width: 100%; }

.actions { display: flex; flex-wrap: wrap; gap: var(--s2); align-items: center; }
.action-note { margin-top: var(--s2); font-size: var(--fs-small); color: var(--fg-3); }
@media (max-width: 559px) { .actions .btn { width: 100%; } }

.link-arrow {
  display: inline-flex; align-items: center; gap: 10px; font-weight: 500; text-decoration: none;
  padding-block: 8px; border-bottom: 1px solid var(--line-strong); transition: border-color .2s ease;
}
.link-arrow:hover { border-color: var(--fg); }
.link-arrow:hover .icon { transform: translateX(4px); }
.prose a, .inline-link { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: .2em; text-decoration-color: var(--line-strong); }
.prose a:hover, .inline-link:hover { text-decoration-color: currentColor; }

/* ---------- cabeçalho ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: var(--ink); color: var(--paper); border-bottom: 1px solid transparent; transition: border-color .2s ease; --focus: var(--green); --fg: var(--paper); --line-strong: rgba(255,255,255,.4); }
.site-header[data-scrolled] { border-bottom-color: rgba(255, 255, 255, .12); }
.site-header__inner { height: var(--header-h); display: flex; align-items: center; gap: var(--s4); }
.brand { display: block; padding: 8px 0; flex: none; }
.brand img { width: 88px; height: auto; }
.site-nav { margin-left: auto; display: none; }
.site-nav ul { display: flex; gap: var(--s4); }
.site-nav a { position: relative; display: block; padding: 8px 0; font-size: 16px; color: rgba(255, 255, 255, .72); text-decoration: none; transition: color .2s ease; }
.site-nav a:hover, .site-nav a[aria-current="page"] { color: var(--paper); }
.site-nav a[aria-current="page"]::after { content: ""; position: absolute; left: 0; right: 0; bottom: 2px; height: 1px; background: var(--green); }
.site-header__actions { margin-left: auto; display: flex; align-items: center; gap: var(--s2); }
.site-header__cta { display: none; }
.menu-toggle {
  display: inline-flex; align-items: center; gap: 12px; min-height: 44px; padding: 0 4px 0 16px;
  background: none; border: 0; cursor: pointer; font-size: 16px; font-weight: 500;
}
.menu-toggle__bars { position: relative; width: 24px; height: 12px; }
.menu-toggle__bars span { position: absolute; left: 0; right: 0; height: 1.5px; background: currentColor; transition: transform .25s var(--ease-out), top .25s var(--ease-out); }
.menu-toggle__bars span:first-child { top: 0; }
.menu-toggle__bars span:last-child { top: 10.5px; }
.menu-toggle[aria-expanded="true"] .menu-toggle__bars span:first-child { top: 5px; transform: rotate(45deg); }
.menu-toggle[aria-expanded="true"] .menu-toggle__bars span:last-child { top: 5px; transform: rotate(-45deg); }
@media (min-width: 640px) { .site-header__cta { display: inline-flex; } }
@media (min-width: 1024px) {
  .site-nav { display: block; }
  .site-header__actions { margin-left: var(--s2); }
  .menu-toggle { display: none; }
}

.mobile-menu { position: fixed; inset: var(--header-h) 0 0 0; z-index: 49; background: var(--ink); overflow-y: auto; border-top: 1px solid rgba(255, 255, 255, .12); }
.mobile-menu:not([hidden]) { animation: menu-in .25s var(--ease-out); }
@keyframes menu-in { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: none; } }
.mobile-menu__inner { display: flex; flex-direction: column; min-height: 100%; padding-block: var(--s3) var(--s4); }
.mobile-menu__links a { display: block; padding: 16px 0; font-size: var(--fs-h2); line-height: 1.15; text-decoration: none; border-bottom: 1px solid rgba(255, 255, 255, .12); }
.mobile-menu__links a[aria-current="page"]::after { content: "."; color: var(--green); }
.mobile-menu__foot { margin-top: auto; padding-top: var(--s5); }
.mobile-menu__note { margin-top: var(--s2); font-size: var(--fs-small); color: rgba(255, 255, 255, .56); text-align: center; }
@media (min-width: 1024px) { .mobile-menu { display: none !important; } }
body.menu-open { overflow: hidden; }

/* ---------- cabeçalhos de seção ---------- */
.section-head { display: grid; gap: var(--s3); margin-bottom: var(--s5); }
.section-head .t-lead { max-width: 34em; }
@media (min-width: 960px) {
  .section-head--split { grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); align-items: end; }
  .section-head--split > .eyebrow { grid-column: 1 / -1; }
  .section-head--split > h2 { grid-column: 1 / 8; }
  .section-head--split > .t-lead, .section-head--split > .section-head__aside { grid-column: 8 / 13; }
}

/* ---------- hero (home) ---------- */
.hero { padding-top: var(--s5); padding-bottom: var(--s5); }
.hero__grid { row-gap: var(--s5); }
.hero__text .eyebrow { margin-bottom: var(--s4); }
.hero__lead { margin-top: var(--s4); max-width: 32em; }
.hero__text .actions { margin-top: var(--s5); }
.hero__media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; object-position: 50% 32%; }
.hero__media figcaption { margin-top: var(--s2); font-size: var(--fs-small); color: var(--fg-3); }
@media (min-width: 960px) {
  .hero__text { grid-column: 1 / 9; }
  .hero__media { grid-column: 9 / 13; align-self: start; padding-top: 56px; }
  .hero__media img { aspect-ratio: 3 / 4; }
}

.stats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s4) var(--gap); border-top: 1px solid var(--line); padding-top: var(--s4); margin-top: var(--s5); }
.stats dt { font-size: var(--fs-h2); line-height: 1; }
.stats dd { margin-top: var(--s1); font-size: var(--fs-small); line-height: 1.45; color: var(--fg-2); max-width: 16em; }
@media (min-width: 960px) { .stats { grid-template-columns: repeat(4, minmax(0, 1fr)); } .stats--5 { grid-template-columns: repeat(5, minmax(0, 1fr)); } }

/* ---------- página interna: abertura ---------- */
.page-hero { padding-top: var(--s5); padding-bottom: var(--section-y); }
.breadcrumb ol { display: flex; flex-wrap: wrap; gap: 8px; font-size: var(--fs-small); color: var(--fg-3); margin-bottom: var(--s5); }
.breadcrumb li + li::before { content: "/"; margin-right: 8px; opacity: .6; }
.breadcrumb a { text-decoration: none; }
.breadcrumb a:hover { color: var(--fg); }
.page-hero .eyebrow { margin-bottom: var(--s3); }
.page-hero h1 { max-width: 16em; }
.page-hero__lead { margin-top: var(--s4); max-width: 36em; }
.page-hero .actions { margin-top: var(--s5); }
.anchor-nav { margin-top: var(--s5); display: flex; flex-wrap: wrap; gap: var(--s1); }
.anchor-nav a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 20px; border: 1px solid var(--line-strong); border-radius: 999px; font-size: var(--fs-small); font-weight: 500; text-decoration: none; transition: border-color .2s ease; }
.anchor-nav a:hover { border-color: var(--fg); }

/* ---------- lista numerada com linhas finas ---------- */
.rows { counter-reset: row; border-bottom: 1px solid var(--line); }
.rows > li { counter-increment: row; display: grid; grid-template-columns: 48px minmax(0, 1fr); gap: var(--s2); padding-block: var(--s3); border-top: 1px solid var(--line); }
.rows > li::before { content: counter(row, decimal-leading-zero); font-size: var(--fs-small); font-weight: 700; color: var(--fg-3); padding-top: .35em; }
.rows--lead > li { font-size: var(--fs-lead); line-height: 1.45; }

/* Convicção (frase de posicionamento) */
.statement { margin-top: var(--s6); padding-top: var(--s5); border-top: 1px solid var(--line); }
.statement blockquote p { font-size: var(--fs-h1); line-height: 1.1; letter-spacing: -0.015em; }
.statement figcaption { margin-top: var(--s3); max-width: 34em; color: var(--fg-2); }

/* ---------- jornada de compra (co.nhece · co.necta · co.mpra · co.mpartilha) ---------- */
.journey { margin-top: var(--s5); }
/* Onda da jornada: um arco por etapa, alternando para cima e para baixo (desenho da apresentação) */
.stage { position: relative; }
.stage__arc { display: none; }
.stage__arc path { fill: none; stroke: var(--line-strong); stroke-width: 1.25; }
.journey__fronts { display: grid; gap: var(--s5); }
.front__label { display: flex; align-items: center; gap: var(--s2); padding-bottom: var(--s3); font-size: var(--fs-small); font-weight: 500; letter-spacing: .12em; text-transform: uppercase; color: var(--fg-2); }
.front__label::after { content: ""; flex: 1; height: 1px; background: var(--line-strong); }
.front__label .front__goal { text-transform: none; letter-spacing: 0; font-weight: 400; color: var(--fg-3); }
.front__stages { display: grid; gap: var(--s5); }
.stage__verb { font-size: var(--fs-h3); line-height: 1.2; }
.stage__name { margin-top: var(--s2); font-size: 18px; font-weight: 500; }
.stage__desc { margin-top: var(--s1); color: var(--fg-2); font-size: 16px; }
.stage__list { margin-top: var(--s3); border-top: 1px solid var(--line); }
.stage__list li { padding: 10px 0; border-bottom: 1px solid var(--line); font-size: var(--fs-small); color: var(--fg-2); }
@media (min-width: 720px) { .front__stages { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: var(--gap); } }
@media (min-width: 1100px) {
  .journey__fronts { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: var(--gap); }
  .stage__arc { display: block; width: calc(100% + var(--gap)); height: 40px; margin-bottom: var(--s3); overflow: visible; }
  .front:last-child .stage:last-child .stage__arc { width: 100%; }
  .stage::before { content: ""; position: absolute; left: -4px; top: 16px; width: 8px; height: 8px; border-radius: 50%; background: var(--green); z-index: 1; }
}

/* ---------- método (linha + ponto, como na apresentação) ---------- */
.steps { display: grid; gap: var(--s5) var(--gap); }
@media (min-width: 720px) { .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .steps { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.step__head { display: flex; align-items: center; gap: 12px; }
.step__num { font-size: var(--fs-small); font-weight: 700; color: var(--fg-3); }
.step__title { font-size: 22px; line-height: 1.2; font-weight: 500; }
.step__head::after { content: ""; flex: 1; height: 1px; background: var(--line-strong); }
.step__dot { order: 2; width: 8px; height: 8px; border-radius: 50%; background: var(--green); flex: none; }
.step__head::after { order: 1; }
.step p { margin-top: var(--s2); color: var(--fg-2); font-size: 16px; }
.section-foot { margin-top: var(--s5); display: flex; flex-wrap: wrap; gap: var(--s3) var(--s4); align-items: center; }

/* ---------- pilares / diferenciais ---------- */
.pillars { display: grid; gap: var(--s5) var(--gap); }
@media (min-width: 900px) { .pillars { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.pillar { border-top: 1px solid var(--line-strong); padding-top: var(--s4); }
.pillar__num { font-size: var(--fs-small); font-weight: 700; color: var(--fg-3); }
.pillar h3 { margin-top: var(--s3); font-size: var(--fs-h3); line-height: 1.25; }
.pillar p { margin-top: var(--s2); color: var(--fg-2); }

/* ---------- cases (cards da home) ---------- */
.case-cards { display: grid; gap: var(--s5) var(--gap); }
@media (min-width: 720px) { .case-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .case-cards { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.case-card { display: flex; flex-direction: column; text-decoration: none; }
.case-card__media { overflow: hidden; background: var(--ink); }
.case-card__media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: transform .6s var(--ease-out); }
.case-card:hover .case-card__media img { transform: scale(1.03); }
.case-card__meta { margin-top: var(--s3); font-size: var(--fs-small); color: var(--fg-3); }
.case-card__name { margin-top: var(--s1); font-size: var(--fs-h3); line-height: 1.2; display: flex; align-items: center; justify-content: space-between; gap: var(--s2); }
.case-card:hover .case-card__name .icon { transform: translateX(4px); }
.case-card__hero { margin-top: var(--s3); display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; }
.case-card__hero .num { font-size: var(--fs-h1); line-height: 1; }
.case-card__hero span:last-child { font-size: var(--fs-small); color: var(--fg-2); }
.case-card__facts { margin-top: var(--s3); border-top: 1px solid var(--line); display: grid; grid-template-columns: 1fr 1fr; gap: var(--s2); padding-top: var(--s2); }
.case-card__facts dt { font-size: 22px; line-height: 1.1; }
.case-card__facts dd { margin-top: 4px; font-size: var(--fs-small); line-height: 1.4; color: var(--fg-2); }

/* ---------- depoimentos ---------- */
.quotes { display: grid; gap: var(--s5) var(--gap); }
@media (min-width: 900px) { .quotes { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.quote__media img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.quote blockquote { margin-top: var(--s4); }
.quote blockquote p { font-size: var(--fs-h3); line-height: 1.35; }
.quote blockquote p::before { content: "“"; display: block; font-size: 56px; line-height: .6; height: 28px; color: var(--green); }
.on-paper .quote blockquote p::before { color: inherit; }
.quote figcaption { margin-top: var(--s3); font-size: var(--fs-small); color: var(--fg-3); }
.quote figcaption b { display: block; font-size: 16px; color: var(--fg); }

/* ---------- logos de clientes ---------- */
.logos { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--s2); }
@media (min-width: 560px) { .logos { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (min-width: 960px) { .logos { grid-template-columns: repeat(8, minmax(0, 1fr)); gap: var(--s3) var(--s4); } }
.logos li { display: flex; justify-content: center; }
.logos img { width: 100%; max-width: 128px; aspect-ratio: 1; opacity: .86; transition: opacity .2s ease; }
.logos li:hover img { opacity: 1; }
.logos-note { margin-top: var(--s4); font-size: var(--fs-small); color: var(--fg-3); }

/* ---------- sobre (teaser e página) ---------- */
.collage { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: var(--s2); }
.collage img { width: 100%; height: 100%; object-fit: cover; }
.collage__a { grid-column: 1 / 5; grid-row: 1; aspect-ratio: 1 / 1; }
.collage__b { grid-column: 4 / 7; grid-row: 1; margin-top: 45%; aspect-ratio: 564 / 610; position: relative; outline: var(--s2) solid var(--paper); }
.on-ink .collage__b { outline-color: var(--ink); }
.co-list { display: flex; flex-wrap: wrap; gap: 8px 24px; font-size: var(--fs-lead); }
.mini-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--gap); border-top: 1px solid var(--line); padding-top: var(--s3); }
.mini-stats dt { font-size: var(--fs-h2); line-height: 1; }
.mini-stats dd { margin-top: var(--s1); font-size: var(--fs-small); color: var(--fg-2); line-height: 1.4; }
.stack > * + * { margin-top: var(--s4); }
.stack-sm > * + * { margin-top: var(--s3); }

/* ---------- CTA de diagnóstico ---------- */
.cta-band { border-top: 1px solid rgba(255, 255, 255, .12); }
.cta-band h2 { max-width: 14em; }
.cta-band__desc { margin-top: var(--s4); max-width: 34em; }
.cta-band__promise { margin-top: var(--s4); display: grid; grid-template-columns: 48px minmax(0, 1fr); gap: var(--s2); align-items: start; max-width: 34em; font-size: 16px; color: var(--fg-2); }
.cta-band__promise img { width: 48px; height: auto; margin-top: 4px; }
.cta-steps { border-top: 1px solid var(--line); counter-reset: st; }
.cta-steps li { counter-increment: st; display: grid; grid-template-columns: 48px minmax(0, 1fr); gap: var(--s2); padding-block: var(--s3); border-bottom: 1px solid var(--line); }
.cta-steps li::before { content: counter(st, decimal-leading-zero); font-weight: 700; font-size: var(--fs-small); color: var(--fg-3); padding-top: .25em; }
.cta-steps strong { display: block; font-weight: 500; }
.cta-steps span { display: block; color: var(--fg-2); font-size: 16px; margin-top: 4px; }
.cta-band .actions { margin-top: var(--s4); }
@media (min-width: 960px) { .cta-band__aside { padding-top: 8px; } }

/* ---------- página de cases ---------- */
.case { display: grid; gap: var(--s4); padding-block: var(--s5); border-top: 1px solid var(--line); }
.case:first-child { border-top: 0; padding-top: 0; }
.case__media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.case__tag { font-size: var(--fs-small); color: var(--fg-3); }
.case__name { margin-top: var(--s1); }
.case__context { margin-top: var(--s3); color: var(--fg-2); max-width: 36em; }
.case__label { margin-top: var(--s4); font-size: var(--fs-small); font-weight: 500; letter-spacing: .12em; text-transform: uppercase; color: var(--fg-3); }
.metrics { margin-top: var(--s2); display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s3) var(--gap); border-top: 1px solid var(--line); padding-top: var(--s3); }
.metrics dt { font-size: var(--fs-h2); line-height: 1; }
.metrics dd { margin-top: var(--s1); font-size: var(--fs-small); line-height: 1.45; color: var(--fg-2); }
@media (min-width: 960px) {
  .case { grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); padding-block: var(--s6); align-items: start; }
  .case__media { grid-column: 1 / 7; position: sticky; top: calc(var(--header-h) + 32px); }
  .case__body { grid-column: 8 / 13; }
  .case--flip .case__media { grid-column: 7 / 13; grid-row: 1; }
  .case--flip .case__body { grid-column: 1 / 6; grid-row: 1; }
}

/* Tabela de períodos (Astro) com barras proporcionais aos dados reais */
.periods { width: 100%; margin-top: var(--s2); border-collapse: collapse; font-size: var(--fs-small); }
.periods caption { text-align: left; color: var(--fg-3); padding-bottom: var(--s2); }
.periods th, .periods td { text-align: left; padding: 12px 8px 12px 0; border-top: 1px solid var(--line); vertical-align: middle; font-weight: 400; }
.periods thead th { color: var(--fg-3); font-weight: 500; border-top: 0; padding-top: 0; }
.periods .num { font-size: 18px; }
.bar { display: block; height: 2px; margin-top: 8px; background: var(--line); width: 100%; min-width: 64px; }
.bar i { display: block; height: 100%; width: var(--w); background: var(--ink); }
.on-ink .bar i { background: var(--green); }
@media (max-width: 639px) {
  .periods thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .periods tr { display: grid; grid-template-columns: 1fr 1fr; gap: 4px var(--s2); padding: 12px 0; border-top: 1px solid var(--line); }
  .periods th, .periods td { border: 0; padding: 0; }
  .periods th[scope="row"] { grid-column: 1 / -1; font-weight: 500; }
  .periods td::before { content: attr(data-label); display: block; color: var(--fg-3); }
}

/* ---------- etapas detalhadas (página Método) ---------- */
.phases { display: grid; gap: var(--s3); }
@media (min-width: 900px) { .phases { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--gap); } }
.phase { border-top: 1px solid var(--line-strong); padding-top: var(--s3); }
.phase__steps { margin-top: var(--s2); color: var(--fg-2); font-size: 16px; }
.method-step { display: grid; gap: var(--s3); padding-block: var(--s5); border-top: 1px solid var(--line); }
.method-step:last-child { border-bottom: 1px solid var(--line); }
.method-step__num { font-size: var(--fs-h1); line-height: 1; }
.method-step__q { margin-top: var(--s3); font-size: var(--fs-small); color: var(--fg-3); }
.method-step__q strong { display: block; color: var(--fg); font-size: var(--fs-lead); font-weight: 400; margin-top: 4px; line-height: 1.4; }
.tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: var(--s3); }
.tags li { font-size: var(--fs-small); padding: 6px 14px; border: 1px solid var(--line-strong); border-radius: 999px; color: var(--fg-2); }
@media (min-width: 960px) {
  .method-step { grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); }
  .method-step__num { grid-column: 1 / 3; }
  .method-step__title { grid-column: 3 / 7; }
  .method-step__body { grid-column: 7 / 13; }
}

/* ---------- soluções por etapa ---------- */
.solution { display: grid; gap: var(--s4); }
.solution__verb { font-size: var(--fs-h3); }
.solution__headline { margin-top: var(--s3); }
.solution__desc { margin-top: var(--s3); color: var(--fg-2); max-width: 32em; }
.deliverables { border-top: 1px solid var(--line); counter-reset: dl; }
.deliverables li { counter-increment: dl; display: grid; grid-template-columns: 48px minmax(0, 1fr); gap: var(--s2); align-items: baseline; padding-block: var(--s3); border-bottom: 1px solid var(--line); font-size: var(--fs-lead); line-height: 1.35; }
.deliverables li::before { content: counter(dl, decimal-leading-zero); font-size: var(--fs-small); font-weight: 700; color: var(--fg-3); }
@media (min-width: 960px) {
  .solution { grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); }
  .solution__intro { grid-column: 1 / 6; }
  .solution__list { grid-column: 7 / 13; }
}

.audience { display: grid; gap: var(--s4) var(--gap); }
@media (min-width: 720px) { .audience { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.audience li { border-top: 1px solid var(--line-strong); padding-top: var(--s3); }
.audience h3 { font-size: 22px; font-weight: 500; line-height: 1.25; }
.audience p { margin-top: var(--s1); color: var(--fg-2); }

/* ---------- contato ---------- */
.contact-list { border-top: 1px solid var(--line); }
.contact-list > div { display: grid; gap: 4px; padding-block: var(--s3); border-bottom: 1px solid var(--line); }
@media (min-width: 720px) { .contact-list > div { grid-template-columns: 200px minmax(0, 1fr); gap: var(--gap); } }
.contact-list dt { font-size: var(--fs-small); font-weight: 500; letter-spacing: .12em; text-transform: uppercase; color: var(--fg-3); padding-top: .3em; }
.contact-list dd { font-size: var(--fs-lead); line-height: 1.45; }
.contact-list dd a { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: .2em; text-decoration-color: var(--line-strong); }
.contact-list dd a:hover { text-decoration-color: currentColor; }
.contact-list .faint { font-size: var(--fs-small); }

.check-list li { position: relative; padding: var(--s2) 0 var(--s2) var(--s4); border-bottom: 1px solid var(--line); }
.check-list li:first-child { border-top: 1px solid var(--line); }
.check-list li::before { content: ""; position: absolute; left: 0; top: calc(var(--s2) + .7em); width: 12px; height: 1px; background: currentColor; }

/* ---------- galeria (sobre) ---------- */
.gallery { display: grid; gap: var(--s2); }
.gallery figure img { width: 100%; height: 100%; object-fit: cover; }
.gallery figcaption { margin-top: var(--s1); font-size: var(--fs-small); color: var(--fg-3); }
@media (min-width: 720px) {
  .gallery { grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--gap); align-items: start; }
  .gallery figure:nth-child(1) { grid-column: 1 / 5; }
  .gallery figure:nth-child(2) { grid-column: 5 / 9; margin-top: var(--s6); }
  .gallery figure:nth-child(3) { grid-column: 9 / 13; margin-top: var(--s5); }
}
.gallery figure:nth-child(1) img { aspect-ratio: 9 / 14; object-position: 50% 30%; }
.gallery figure:nth-child(2) img { aspect-ratio: 1 / 1; }
.gallery figure:nth-child(3) img { aspect-ratio: 564 / 610; }

.values { display: grid; gap: var(--s2); }
@media (min-width: 720px) { .values { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--gap); } }
@media (min-width: 1100px) { .values { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.values li { border-top: 1px solid var(--line-strong); padding-top: var(--s3); font-size: var(--fs-h2); line-height: 1.1; }

/* ---------- rodapé ---------- */
.site-footer { padding-top: var(--s5); padding-bottom: var(--s4); border-top: 1px solid rgba(255, 255, 255, .12); }
.site-footer__top { display: grid; gap: var(--s4) var(--gap); padding-bottom: var(--s5); }
@media (min-width: 720px) { .site-footer__top { grid-template-columns: repeat(3, minmax(0, 1fr)); } .site-footer__brand { grid-column: 1 / -1; } }
@media (min-width: 1100px) { .site-footer__top { grid-template-columns: 5fr 2fr 3fr 2fr; } .site-footer__brand { grid-column: auto; } }
.site-footer__brand img { width: 96px; }
.site-footer__brand p { margin-top: var(--s3); max-width: 18em; font-size: var(--fs-lead); line-height: 1.4; }
.site-footer__title { font-size: var(--fs-small); font-weight: 500; letter-spacing: .12em; text-transform: uppercase; color: var(--fg-3); margin-bottom: var(--s2); }
.site-footer__col li + li { margin-top: var(--s1); }
.site-footer__col a, .site-footer__col address { font-size: 16px; color: var(--fg-2); text-decoration: none; line-height: 1.5; }
.site-footer__col a:hover { color: var(--fg); text-decoration: underline; text-underline-offset: .2em; }
.site-footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: var(--s2) var(--s4); padding-top: var(--s3); border-top: 1px solid var(--line); font-size: var(--fs-small); color: var(--fg-3); }
.co-values { display: flex; flex-wrap: wrap; gap: 4px 16px; }
.co-values b { color: var(--green); font-weight: inherit; }

/* ---------- CTA fixo no mobile ---------- */
.sticky-cta { display: none; }
@media (max-width: 767px) {
  .sticky-cta {
    display: block; position: fixed; left: 0; right: 0; bottom: 0; z-index: 40;
    padding: 12px var(--gutter) calc(12px + env(safe-area-inset-bottom));
    background: var(--ink); border-top: 1px solid rgba(255, 255, 255, .16); --focus: var(--green);
    transform: translateY(100%); visibility: hidden; transition: transform .3s var(--ease-out), visibility 0s linear .3s;
  }
  .sticky-cta.is-visible { transform: none; visibility: visible; transition: transform .3s var(--ease-out), visibility 0s; }
  .site-footer { padding-bottom: calc(var(--s4) + 80px + env(safe-area-inset-bottom)); }
}
@media (prefers-reduced-motion: reduce) { .sticky-cta { transition: none !important; } }

/* ---------- 404 ---------- */
.notfound { min-height: 60vh; display: flex; flex-direction: column; justify-content: center; }

/* ---------- entrada suave dos blocos ---------- */
.js [data-reveal] { opacity: 0; transform: translateY(16px); transition: opacity .7s var(--ease-out), transform .7s var(--ease-out); transition-delay: calc(var(--d, 0) * 90ms); }
.js [data-reveal].is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .js [data-reveal] { opacity: 1; transform: none; transition: none; }
  .case-card__media img, .icon, .btn { transition: none; }
}

@media print {
  .site-header, .sticky-cta, .mobile-menu { display: none !important; }
  .on-ink { background: #fff; color: #000; }
}
