/* =========================================================
   3BF Agência — pages.css
   Componentes das páginas internas (serviços, sobre, blog,
   portfólio) e da seção 3BF CMS na home.

   Estende base.css / sections.css. Não redefine tokens:
   tudo aqui reaproveita as mesmas variáveis de marca.
   ========================================================= */

/* ---------------------------------------------------------
   HOME — itens do acordeão viram links para as páginas
   dedicadas de cada serviço.
   --------------------------------------------------------- */
.svc__list li:has(a) { padding: 0; }
.svc__list li a {
  display: block;
  flex: 1;
  padding: 1rem 1.1rem 1rem 0;
  transition: color 0.3s var(--ease), transform 0.3s var(--ease);
}
.svc__list li:has(a)::before { margin: 1.55rem 0 0 1.1rem; }
.svc__list li a:hover { color: var(--orange-600); transform: translateX(3px); }

/* ---------------------------------------------------------
   MIGALHAS
   --------------------------------------------------------- */
.crumbs {
  padding-top: calc(var(--header-h) + clamp(1.25rem, 3vw, 2.25rem));
  padding-bottom: 0;
}
.crumbs ol {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem 0.6rem;
  font-family: var(--font-display);
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted-2);
}
.crumbs li { display: inline-flex; align-items: center; gap: 0.6rem; }
.crumbs li + li::before {
  content: "";
  width: 4px; height: 4px;
  background: var(--line);
  transform: rotate(45deg);
}
.crumbs a { color: var(--muted); }
.crumbs a:hover { color: var(--orange-600); }
.crumbs [aria-current] { color: var(--ink); }

.crumbs--paper ol { color: rgba(255, 255, 255, 0.45); }
.crumbs--paper a { color: rgba(255, 255, 255, 0.6); }
.crumbs--paper a:hover { color: #fff; }
.crumbs--paper [aria-current] { color: #fff; }
.crumbs--paper li + li::before { background: rgba(255, 255, 255, 0.28); }

/* ---------------------------------------------------------
   HERO DAS PÁGINAS INTERNAS
   Três tratamentos distintos, aplicados por página para que
   as 12 landing pages não tenham o mesmo ritmo visual.
   --------------------------------------------------------- */
.phero {
  position: relative;
  overflow: hidden;
  padding-top: calc(var(--header-h) + clamp(2.5rem, 6vw, 5rem));
  padding-bottom: clamp(3rem, 7vw, 6rem);
}
.phero .shell { position: relative; z-index: 2; }

.phero__kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-display);
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--orange-600);
}
.phero__kicker::before {
  content: "";
  width: 22px; height: 1px;
  background: currentColor;
}

.phero__title {
  margin-top: clamp(1rem, 2vw, 1.6rem);
  font-size: clamp(2.3rem, 6.4vw, 5.6rem);
  font-weight: 500;
  line-height: 0.92;
  letter-spacing: -0.045em;
  font-variation-settings: "wdth" 90;
  max-width: 17ch;
}
.phero__title strong { font-weight: 700; font-variation-settings: "wdth" 100; }
.phero__title em { font-style: normal; color: var(--muted-2); }

.phero__lede {
  margin-top: clamp(1.25rem, 3vw, 2rem);
  max-width: 56ch;
  font-size: var(--step-1);
  line-height: 1.55;
  color: var(--ink-2);
}
.phero__lede b { font-weight: 600; }

.phero__actions {
  margin-top: clamp(1.5rem, 3vw, 2.25rem);
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

/* Linha de "provas" logo abaixo do hero */
.phero__facts {
  margin-top: clamp(2.25rem, 5vw, 3.5rem);
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}
.phero__facts div { background: var(--paper); padding: 1.1rem 1.15rem; }
.phero__facts b {
  display: block;
  font-family: var(--font-display);
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--orange-600);
  margin-bottom: 0.45rem;
}
.phero__facts span { font-size: 0.875rem; line-height: 1.5; color: var(--muted); }

/* -- Variante A: cena WebGL de partículas sobre papel -- */
.phero__canvas {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 0.9;
}
.phero__canvas canvas { width: 100% !important; height: 100% !important; }

/* -- Variante com vídeo de fundo controlado pelo scroll -- */
.phero__video {
  position: absolute;
  inset: 0;
  z-index: -1;
  overflow: hidden;
  background: var(--paper, #fbfaf8);
}
.phero__video video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
  filter: saturate(0.92) brightness(1.02);
}
.phero__video::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg,
    rgba(251, 250, 248, 0.98) 0%,
    rgba(251, 250, 248, 0.9) 20%,
    rgba(251, 250, 248, 0.5) 42%,
    rgba(251, 250, 248, 0.14) 62%,
    rgba(251, 250, 248, 0.06) 100%);
}
.phero__video::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg,
    rgba(251, 250, 248, 0) 62%,
    rgba(251, 250, 248, 0.55) 84%,
    var(--paper, #fbfaf8) 100%);
}
.phero--video .phero__canvas { mix-blend-mode: multiply; opacity: 0.5; }

/* -- Seção seguinte cobrindo totalmente o hero fixado --
   Sem transform e sem cantos arredondados: a própria rolagem
   nativa já faz a seção subir e tampar o hero por completo
   (que fica parado, preso pelo pin do vídeo). Só a sombra
   de profundidade é animada, para reforçar a leitura de
   camada por cima sem deixar nenhuma borda "vazando". */
.section--rise {
  position: relative;
  z-index: 2;
  background: var(--paper, #fbfaf8);
  box-shadow: 0 -50px 80px -34px rgba(8, 21, 44, 0);
  will-change: box-shadow;
}

.phero__glow {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  display: none;
}
.no-webgl .phero__glow { display: block; }
.phero__glow::before,
.phero__glow::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.42;
}
.phero__glow::before {
  width: 40vw; height: 40vw;
  right: 2vw; top: -6vh;
  background: radial-gradient(circle at 40% 40%, var(--accent-2), transparent 68%);
}
.phero__glow::after {
  width: 26vw; height: 26vw;
  right: 24vw; top: 26vh;
  background: radial-gradient(circle at 55% 45%, var(--accent), transparent 66%);
}

/* -- Variante B: hero escuro com o sólido de ruído -- */
.phero--dark {
  background: var(--navy-900);
  color: #fff;
}
.phero--dark::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    radial-gradient(58% 58% at 76% 26%, rgba(43, 118, 232, 0.3), transparent 70%),
    radial-gradient(42% 42% at 14% 82%, rgba(242, 106, 33, 0.24), transparent 72%);
}
.phero--dark .phero__kicker { color: var(--orange-400); }
.phero--dark .phero__lede { color: rgba(255, 255, 255, 0.68); }
.phero--dark .phero__title em { color: rgba(255, 255, 255, 0.4); }
.phero--dark .phero__facts { background: rgba(255, 255, 255, 0.14); border-color: rgba(255, 255, 255, 0.14); }
.phero--dark .phero__facts div { background: var(--navy-900); }
.phero--dark .phero__facts b { color: var(--blue-300); }
.phero--dark .phero__facts span { color: rgba(255, 255, 255, 0.68); }
.phero--dark .btn--ghost { --btn-fg: #fff; border-color: rgba(255, 255, 255, 0.28); }
.phero--dark .btn--ghost:hover { --btn-bg: rgba(255, 255, 255, 0.08); }

.phero__solid {
  position: absolute;
  right: -6%;
  top: 50%;
  transform: translateY(-50%);
  width: min(48vw, 620px);
  aspect-ratio: 1;
  z-index: 0;
}
.phero__solid canvas { width: 100% !important; height: 100% !important; }
.phero__solid-fallback {
  position: absolute;
  inset: 0;
  display: none;
  place-items: center;
}
.no-webgl .phero__solid-fallback { display: grid; }
.phero__solid-fallback img {
  width: 46%;
  animation: spinSoft 24s linear infinite;
  filter: drop-shadow(0 30px 60px rgba(0, 0, 0, 0.5));
}
.phero--dark .phero__title,
.phero--dark .phero__lede { max-width: 15ch; }
.phero--dark .phero__lede { max-width: 46ch; }

/* -- Variante C: hero editorial dividido (tipo + imagem real) -- */
.phero--split { padding-bottom: 0; }
.phero--split .phero__grid {
  display: grid;
  grid-template-columns: minmax(0, 6fr) minmax(0, 5fr);
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: end;
}
.phero--split .phero__art {
  position: relative;
  margin-bottom: clamp(-4rem, -5vw, -2rem);
}
.phero--split .phero__art .figbox { aspect-ratio: 4 / 5; }
.phero--split .phero__stamp {
  position: absolute;
  left: clamp(-1rem, -2vw, -0.5rem);
  bottom: clamp(1.5rem, 4vw, 3rem);
  z-index: 2;
  background: var(--navy-900);
  color: #fff;
  padding: 0.9rem 1.15rem;
  max-width: 15rem;
  font-size: 0.8125rem;
  line-height: 1.45;
}
.phero--split .phero__stamp b {
  display: block;
  font-family: var(--font-display);
  font-size: 0.625rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--orange-400);
  margin-bottom: 0.35rem;
}

/* ---------------------------------------------------------
   ÍNDICE FIXO (páginas de serviço)
   --------------------------------------------------------- */
.layout {
  display: grid;
  grid-template-columns: minmax(0, 3fr) minmax(0, 9fr);
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: start;
}
.toc {
  position: sticky;
  top: calc(var(--header-h) + 1.5rem);
  display: grid;
  gap: 0.15rem;
  border-left: 1px solid var(--line);
  padding-left: 1.1rem;
}
.toc a {
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: var(--muted);
  padding-block: 0.4rem;
  transition: color 0.3s var(--ease), transform 0.3s var(--ease);
}
.toc a:hover { color: var(--ink); transform: translateX(3px); }
.toc a[aria-current] { color: var(--orange-600); }

/* ---------------------------------------------------------
   DOR — o problema, nomeado
   --------------------------------------------------------- */
.pain { background: var(--navy-900); color: #fff; }
.pain .sec-title, .pain .sec-num { color: #fff; }
.pain .sec-num { color: var(--orange-400); }
.pain .label { color: rgba(255, 255, 255, 0.5); }
.pain .sec-lede { color: rgba(255, 255, 255, 0.6); }

.pain__lead {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3.4vw, 2.9rem);
  font-weight: 400;
  line-height: 1.12;
  letter-spacing: -0.035em;
  font-variation-settings: "wdth" 92;
  max-width: 24ch;
}
.pain__lead b {
  font-weight: 600;
  color: var(--orange-400);
}

.pain__list {
  margin-top: clamp(2rem, 4vw, 3.25rem);
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1px;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.14);
}
.pain__item {
  background: var(--navy-900);
  padding: clamp(1.35rem, 2.6vw, 2rem);
  display: grid;
  gap: 0.6rem;
  align-content: start;
  transition: background-color 0.45s var(--ease);
}
.pain__item:hover { background: rgba(255, 255, 255, 0.05); }
.pain__item i {
  font-style: normal;
  font-family: var(--font-display);
  font-size: 0.625rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--orange-400);
}
.pain__item h3 {
  font-size: var(--step-1);
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.02em;
}
.pain__item p { color: rgba(255, 255, 255, 0.62); font-size: 0.9375rem; line-height: 1.6; }

/* Variante clara do mesmo bloco, para alternar o ritmo entre páginas */
.pain--paper { background: var(--paper-2); color: var(--ink); border-block: 1px solid var(--line); }
.pain--paper .sec-title { color: var(--ink); }
.pain--paper .sec-num { color: var(--orange-600); }
.pain--paper .label { color: var(--muted); }
.pain--paper .sec-lede { color: var(--muted); }
.pain--paper .pain__lead b { color: var(--orange-600); }
.pain--paper .pain__list { background: var(--line); border-color: var(--line); }
.pain--paper .pain__item { background: var(--paper); }
.pain--paper .pain__item:hover { background: #fff; }
.pain--paper .pain__item i { color: var(--orange-600); }
.pain--paper .pain__item p { color: var(--muted); }

/* ---------------------------------------------------------
   ABORDAGEM — passos numerados
   --------------------------------------------------------- */
.steps { border-top: 1px solid var(--line); margin-top: clamp(1.5rem, 3vw, 2.5rem); }
.steps__item {
  display: grid;
  grid-template-columns: 4.5rem minmax(0, 4fr) minmax(0, 7fr);
  gap: clamp(1rem, 3vw, 2.5rem);
  padding-block: clamp(1.4rem, 2.8vw, 2.2rem);
  border-bottom: 1px solid var(--line);
  align-items: baseline;
  transition: background-color 0.45s var(--ease);
}
.steps__item:hover { background: var(--paper-2); }
.steps__n {
  font-family: var(--font-display);
  font-size: clamp(1.3rem, 2.6vw, 2rem);
  font-weight: 600;
  font-variation-settings: "wdth" 70;
  color: var(--line);
  line-height: 1;
  transition: color 0.45s var(--ease);
}
.steps__item:hover .steps__n { color: var(--orange-500); }
.steps__item h3 {
  font-size: var(--step-2);
  font-weight: 500;
  font-variation-settings: "wdth" 90;
}
.steps__item p { color: var(--muted); line-height: 1.65; max-width: 62ch; }

/* ---------------------------------------------------------
   O QUE ENTRA — entregáveis
   --------------------------------------------------------- */
.incl {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  margin-top: clamp(1.5rem, 3vw, 2.5rem);
}
.incl__item {
  background: var(--paper);
  padding: clamp(1.25rem, 2.4vw, 1.75rem);
  display: grid;
  gap: 0.5rem;
  align-content: start;
  transition: background-color 0.4s var(--ease);
}
.incl__item:hover { background: var(--paper-2); }
.incl__item h3 {
  font-size: 1.0625rem;
  font-weight: 600;
  letter-spacing: -0.015em;
  line-height: 1.25;
  display: flex;
  gap: 0.65rem;
  align-items: baseline;
}
.incl__item h3::before {
  content: "";
  width: 6px; height: 6px;
  flex: none;
  background: var(--blue-500);
  transform: rotate(45deg);
}
.incl__item p { color: var(--muted); font-size: 0.9375rem; line-height: 1.6; }

/* ---------------------------------------------------------
   BLOCO EM DUAS COLUNAS (texto + imagem real)
   --------------------------------------------------------- */
.duo {
  display: grid;
  grid-template-columns: minmax(0, 6fr) minmax(0, 6fr);
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}
.duo--flip > *:first-child { order: 2; }
.duo__copy { display: grid; gap: 1.25rem; align-content: start; }
.duo__copy h3 {
  font-size: var(--step-3);
  font-weight: 500;
  font-variation-settings: "wdth" 90;
}
.duo__copy p { color: var(--muted); line-height: 1.7; max-width: 52ch; }
.duo__copy p b { color: var(--ink-2); font-weight: 600; }
.duo__media .figbox { aspect-ratio: 4 / 3; }
.duo__media--tall .figbox { aspect-ratio: 3 / 4; }

/* Citação editorial usada para quebrar o ritmo entre seções */
.pull {
  margin-block: clamp(2.5rem, 6vw, 5rem);
  padding-block: clamp(2rem, 4vw, 3rem);
  border-block: 1px solid var(--line);
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 3.2vw, 2.6rem);
  font-weight: 400;
  line-height: 1.14;
  letter-spacing: -0.035em;
  font-variation-settings: "wdth" 92;
  max-width: 26ch;
}
.pull b {
  font-weight: 600;
  background: linear-gradient(100deg, var(--navy-800), var(--blue-600) 48%, var(--orange-500));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ---------------------------------------------------------
   FAQ (details/summary nativos — sem JS)
   --------------------------------------------------------- */
.faq { border-top: 1px solid var(--line); margin-top: clamp(1.5rem, 3vw, 2.5rem); }
.faq__item { border-bottom: 1px solid var(--line); }
.faq__item summary {
  list-style: none;
  cursor: pointer;
  padding-block: clamp(1.1rem, 2.2vw, 1.6rem);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  font-family: var(--font-display);
  font-size: clamp(1.05rem, 2vw, 1.4rem);
  font-weight: 500;
  letter-spacing: -0.02em;
  font-variation-settings: "wdth" 90;
  transition: color 0.3s var(--ease);
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary:hover { color: var(--orange-600); }
.faq__item summary::after {
  content: "";
  width: 30px; height: 30px;
  flex: none;
  border: 1px solid var(--line);
  border-radius: 50%;
  background:
    linear-gradient(currentColor, currentColor) center / 11px 1.5px no-repeat,
    linear-gradient(currentColor, currentColor) center / 1.5px 11px no-repeat;
  transition: transform 0.4s var(--ease);
}
.faq__item[open] summary::after {
  background: linear-gradient(currentColor, currentColor) center / 11px 1.5px no-repeat;
  transform: rotate(180deg);
}
.faq__item p {
  padding-bottom: clamp(1.1rem, 2.2vw, 1.6rem);
  color: var(--muted);
  line-height: 1.7;
  max-width: 68ch;
}

/* ---------------------------------------------------------
   CTA CONTEXTUAL + BRIEFING ESTÁTICO
   --------------------------------------------------------- */
.cta { background: var(--navy-900); color: #fff; position: relative; overflow: hidden; }
.cta::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(52% 60% at 10% 16%, rgba(242, 106, 33, 0.24), transparent 70%),
    radial-gradient(55% 55% at 90% 84%, rgba(26, 85, 192, 0.3), transparent 72%);
}
.cta .shell { position: relative; z-index: 1; }
.cta .label { color: rgba(255, 255, 255, 0.5); }
.cta .sec-num { color: var(--orange-400); }

.cta__title {
  margin-top: 1.25rem;
  font-size: clamp(2rem, 5.4vw, 4.5rem);
  font-weight: 500;
  line-height: 0.94;
  letter-spacing: -0.045em;
  font-variation-settings: "wdth" 88;
  max-width: 18ch;
}
.cta__title em { font-style: normal; color: rgba(255, 255, 255, 0.4); }

.cta__grid {
  margin-top: clamp(2rem, 4vw, 3.25rem);
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(2rem, 4vw, 3.5rem);
  align-items: start;
}
.cta__side { display: grid; gap: 1.5rem; align-content: start; }
.cta__side p { color: rgba(255, 255, 255, 0.68); line-height: 1.7; }
.cta__direct {
  display: grid;
  gap: 1px;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.14);
}
.cta__direct a {
  background: var(--navy-900);
  padding: 1rem 1.15rem;
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  transition: background-color 0.4s var(--ease);
}
.cta__direct a:hover { background: rgba(255, 255, 255, 0.06); }
.cta__direct b {
  font-family: var(--font-display);
  font-size: 0.625rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.5);
  flex: none;
}
.cta__direct span {
  font-family: var(--font-display);
  font-size: 1.0625rem;
  font-weight: 500;
  letter-spacing: -0.015em;
  word-break: break-word;
}

/* Formulário */
.brief {
  display: grid;
  gap: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.14);
  padding: clamp(1.25rem, 3vw, 2rem);
  background: rgba(255, 255, 255, 0.03);
}
.brief__row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
}
.brief label {
  display: grid;
  gap: 0.4rem;
  font-family: var(--font-display);
  font-size: 0.625rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
}
.brief input,
.brief textarea {
  font-family: var(--font-body);
  font-size: 0.9375rem;
  font-weight: 400;
  letter-spacing: 0;
  text-transform: none;
  color: #fff;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius);
  padding: 0.8rem 0.9rem;
  width: 100%;
  transition: border-color 0.3s var(--ease), background-color 0.3s var(--ease);
}
.brief textarea { min-height: 118px; resize: vertical; }
.brief input:focus,
.brief textarea:focus {
  outline: none;
  border-color: var(--orange-400);
  background: rgba(255, 255, 255, 0.08);
}
.brief input::placeholder,
.brief textarea::placeholder { color: rgba(255, 255, 255, 0.32); }

.brief__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
}
.brief__note {
  font-size: 0.75rem;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.45);
}
.brief__status { font-size: 0.8125rem; min-height: 1.2em; }
.brief__status[data-state="error"] { color: var(--orange-400); }
.brief__status[data-state="ok"] { color: var(--blue-300); }

/* ---------------------------------------------------------
   CASOS RELACIONADOS (páginas de serviço)
   --------------------------------------------------------- */
.cases {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: clamp(1.25rem, 2.6vw, 2.25rem);
  margin-top: clamp(1.5rem, 3vw, 2.5rem);
}
.case {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
}
.case .figbox { aspect-ratio: 4 / 3; }
.case--tall .figbox { aspect-ratio: 3 / 4; }
.case__meta {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}
.case h3 {
  font-size: 1.15rem;
  font-weight: 500;
  font-variation-settings: "wdth" 90;
}
.case__cat {
  font-family: var(--font-display);
  font-size: 0.625rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted-2);
  flex: none;
}
.case p { color: var(--muted); font-size: 0.9375rem; line-height: 1.6; }

/* ---------------------------------------------------------
   PORTFÓLIO — barra de filtro
   --------------------------------------------------------- */
.pfx {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  align-items: center;
  padding-block: 1.25rem;
  border-block: 1px solid var(--line);
  margin-bottom: clamp(2rem, 4vw, 3rem);
}
.pfx button {
  padding: 0.55rem 1.1rem;
  border: 1px solid var(--line);
  border-radius: 100px;
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--muted);
  transition: color 0.3s var(--ease), background-color 0.3s var(--ease), border-color 0.3s var(--ease);
}
.pfx button:hover { color: var(--ink); background: var(--paper-2); }
.pfx button[aria-pressed="true"] {
  background: var(--navy-900);
  border-color: var(--navy-900);
  color: #fff;
}
.pfx__count {
  margin-left: auto;
  font-family: var(--font-display);
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted-2);
}

/* ---------------------------------------------------------
   BLOG — índice
   --------------------------------------------------------- */
.posts {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}
.post {
  background: var(--paper);
  padding: clamp(1.5rem, 3vw, 2.25rem);
  display: grid;
  gap: 0.9rem;
  align-content: start;
  transition: background-color 0.45s var(--ease);
}
.post:hover { background: var(--paper-2); }
.post__top {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  font-family: var(--font-display);
  font-size: 0.625rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.post__cat { color: var(--orange-600); }
.post__date { color: var(--muted-2); flex: none; }
.post h3 {
  font-size: clamp(1.15rem, 2vw, 1.5rem);
  font-weight: 500;
  line-height: 1.14;
  font-variation-settings: "wdth" 90;
}
.post h3 a { display: inline; }
.post p { color: var(--muted); font-size: 0.9375rem; line-height: 1.65; }
.post__go {
  font-family: var(--font-display);
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink);
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
}
.post__go svg { width: 13px; height: 13px; transition: transform 0.4s var(--ease); }
.post:hover .post__go svg { transform: translate(3px, -3px); }

/* Destaque do topo do blog */
.post--lead {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: center;
}
.post--lead h3 { font-size: clamp(1.6rem, 3.4vw, 2.6rem); letter-spacing: -0.03em; }
.post--lead .post__body { display: grid; gap: 0.9rem; }

/* Artigo (páginas de leitura) */
.article { max-width: 74ch; margin-inline: auto; }
.article__head { margin-bottom: clamp(2rem, 4vw, 3rem); }
.article h1 {
  font-size: clamp(1.9rem, 4.6vw, 3.4rem);
  font-weight: 500;
  line-height: 1.02;
  letter-spacing: -0.04em;
  font-variation-settings: "wdth" 90;
}
.article__meta {
  margin-top: 1.1rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.1rem;
  font-family: var(--font-display);
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted-2);
}
.article__body { display: grid; gap: 1.4rem; }
.article__body h2 {
  margin-top: 1.4rem;
  font-size: var(--step-2);
  font-weight: 500;
  font-variation-settings: "wdth" 90;
}
.article__body p { color: var(--ink-2); line-height: 1.75; }
.article__body ul { display: grid; gap: 0.7rem; }
.article__body li {
  display: flex;
  gap: 0.75rem;
  color: var(--ink-2);
  line-height: 1.65;
}
.article__body li::before {
  content: "";
  width: 6px; height: 6px;
  margin-top: 0.62rem;
  flex: none;
  background: var(--orange-500);
  transform: rotate(45deg);
}
.article__end {
  margin-top: clamp(2rem, 4vw, 3rem);
  padding-top: 1.75rem;
  border-top: 1px solid var(--line);
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 2rem;
  align-items: center;
  justify-content: space-between;
}

/* ---------------------------------------------------------
   3BF CMS — seção da home e blocos de produto
   --------------------------------------------------------- */
.cms {
  background: var(--paper-2);
  border-block: 1px solid var(--line);
  position: relative;
  overflow: hidden;
}
.cms__badge {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.4rem 0.9rem;
  border: 1px solid var(--line);
  border-radius: 100px;
  background: var(--paper);
  font-family: var(--font-display);
  font-size: 0.625rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--blue-600);
  margin-bottom: 1.25rem;
}
.cms__badge::before {
  content: "";
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--orange-500);
  box-shadow: 0 0 0 3px rgba(242, 106, 33, 0.18);
}

.cms__clarify {
  margin-top: 1.5rem;
  padding: 1.1rem 1.25rem;
  border-left: 2px solid var(--orange-500);
  background: var(--paper);
  font-size: 0.9375rem;
  line-height: 1.65;
  color: var(--ink-2);
  max-width: 62ch;
}
.cms__clarify b { font-weight: 600; }

/* Vitrine de telas reais do produto */
.cms__shots {
  margin-top: clamp(2rem, 4vw, 3.25rem);
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: clamp(0.75rem, 1.6vw, 1.25rem);
}
.cms__shot {
  position: relative;
  grid-column: span 4;
  display: grid;
  gap: 0.6rem;
}
.cms__shot--lead { grid-column: span 8; grid-row: span 2; }
.cms__shot .figbox { aspect-ratio: 16 / 9; background: var(--navy-900); }
.cms__shot--lead .figbox { aspect-ratio: 16 / 10; height: 100%; }
.cms__shot figcaption {
  font-family: var(--font-display);
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted-2);
}
.cms__shot figcaption b { display: block; color: var(--ink); letter-spacing: 0.14em; }

.cms__mods {
  margin-top: clamp(2rem, 4vw, 3.25rem);
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}
.cms__mod {
  background: var(--paper);
  padding: clamp(1.2rem, 2.4vw, 1.7rem);
  display: grid;
  gap: 0.5rem;
  align-content: start;
}
.cms__mod b {
  font-family: var(--font-display);
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--blue-600);
}
.cms__mod h3 { font-size: 1.0625rem; font-weight: 600; letter-spacing: -0.015em; }
.cms__mod p { color: var(--muted); font-size: 0.9rem; line-height: 1.6; }

/* Planos de assinatura */
.plans {
  margin-top: clamp(2rem, 4vw, 3.25rem);
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: clamp(1rem, 2vw, 1.5rem);
}
.plan {
  border: 1px solid var(--line);
  background: var(--paper);
  padding: clamp(1.5rem, 3vw, 2.25rem);
  display: grid;
  gap: 1rem;
  align-content: start;
}
.plan--featured {
  background: var(--navy-900);
  border-color: var(--navy-900);
  color: #fff;
}
.plan__tag {
  font-family: var(--font-display);
  font-size: 0.625rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--orange-600);
}
.plan--featured .plan__tag { color: var(--orange-400); }
.plan h3 {
  font-size: var(--step-2);
  font-weight: 500;
  font-variation-settings: "wdth" 90;
}
.plan__price {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 600;
  font-variation-settings: "wdth" 82;
  letter-spacing: -0.035em;
  line-height: 1;
}
.plan__price small {
  display: block;
  margin-top: 0.5rem;
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0;
  color: var(--muted);
}
.plan--featured .plan__price small { color: rgba(255, 255, 255, 0.6); }
.plan ul { display: grid; gap: 0.6rem; }
.plan li {
  display: flex;
  gap: 0.7rem;
  font-size: 0.9375rem;
  line-height: 1.5;
  color: var(--muted);
}
.plan--featured li { color: rgba(255, 255, 255, 0.75); }
.plan li::before {
  content: "";
  width: 5px; height: 5px;
  margin-top: 0.5rem;
  flex: none;
  background: var(--blue-500);
  transform: rotate(45deg);
}
.plan--featured li::before { background: var(--orange-400); }
.plan .btn { justify-content: center; }

.cms__foot {
  margin-top: clamp(1.5rem, 3vw, 2.25rem);
  font-size: 0.8125rem;
  line-height: 1.6;
  color: var(--muted);
  max-width: 70ch;
}

/* ---------------------------------------------------------
   SOBRE — linha do tempo
   --------------------------------------------------------- */
.tl { border-top: 1px solid var(--line); margin-top: clamp(1.5rem, 3vw, 2.5rem); }
.tl__item {
  display: grid;
  grid-template-columns: 7rem minmax(0, 1fr);
  gap: clamp(1rem, 3vw, 2.5rem);
  padding-block: clamp(1.25rem, 2.6vw, 2rem);
  border-bottom: 1px solid var(--line);
  align-items: baseline;
}
.tl__y {
  font-family: var(--font-display);
  font-size: clamp(1.1rem, 2.2vw, 1.6rem);
  font-weight: 600;
  font-variation-settings: "wdth" 76;
  color: var(--orange-500);
  letter-spacing: -0.02em;
}
.tl__item h3 { font-size: var(--step-1); font-weight: 600; letter-spacing: -0.02em; margin-bottom: 0.4rem; }
.tl__item p { color: var(--muted); line-height: 1.65; max-width: 66ch; }

.values {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  margin-top: clamp(1.5rem, 3vw, 2.5rem);
}
.values div {
  background: var(--paper);
  padding: clamp(1.35rem, 2.6vw, 2rem);
  display: grid;
  gap: 0.6rem;
  align-content: start;
}
.values b {
  font-family: var(--font-display);
  font-size: 0.625rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--orange-600);
}
.values h3 { font-size: var(--step-1); font-weight: 600; letter-spacing: -0.02em; }
.values p { color: var(--muted); font-size: 0.9375rem; line-height: 1.6; }

/* ---------------------------------------------------------
   SERVIÇOS — grade do hub
   --------------------------------------------------------- */
.hub {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}
.hub__card {
  background: var(--paper);
  padding: clamp(1.5rem, 3vw, 2.25rem);
  display: grid;
  gap: 0.75rem;
  align-content: start;
  transition: background-color 0.45s var(--ease);
}
.hub__card:hover { background: var(--paper-2); }
.hub__k {
  font-family: var(--font-display);
  font-size: 0.625rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--orange-600);
}
.hub__card h3 {
  font-size: var(--step-2);
  font-weight: 500;
  font-variation-settings: "wdth" 88;
  line-height: 1.05;
}
.hub__card p { color: var(--muted); font-size: 0.9375rem; line-height: 1.6; }
.hub__go {
  margin-top: 0.35rem;
  font-family: var(--font-display);
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--ink);
}
.hub__go svg { width: 13px; height: 13px; transition: transform 0.4s var(--ease); }
.hub__card:hover .hub__go svg { transform: translate(3px, -3px); }

/* ---------------------------------------------------------
   RESPONSIVO
   --------------------------------------------------------- */
@media (max-width: 1024px) {
  .layout { grid-template-columns: 1fr; }
  .toc { display: none; }

  .phero--split .phero__grid { grid-template-columns: 1fr; }
  .phero--split .phero__art { margin-bottom: 0; margin-top: 2rem; }
  .phero--split .phero__art .figbox { aspect-ratio: 16 / 10; }
  .phero--split .phero__stamp { left: 0; }

  .phero__solid { position: relative; right: auto; top: auto; transform: none; width: min(70vw, 420px); margin: 2rem auto 0; }

  .duo { grid-template-columns: 1fr; }
  .duo--flip > *:first-child { order: 0; }

  .cta__grid { grid-template-columns: 1fr; }
  .post--lead { grid-template-columns: 1fr; }

  .cms__shot,
  .cms__shot--lead { grid-column: span 6; grid-row: auto; }
}

@media (max-width: 860px) {
  .steps__item { grid-template-columns: 3rem minmax(0, 1fr); }
  .steps__item p { grid-column: 2 / -1; margin-top: 0.5rem; }
  .tl__item { grid-template-columns: 4.5rem minmax(0, 1fr); }
  .cms__shot,
  .cms__shot--lead { grid-column: span 12; }
  .cms__shot--lead .figbox { aspect-ratio: 16 / 9; }
}

@media (max-width: 640px) {
  .crumbs ol { font-size: 0.625rem; }
  .phero { padding-top: calc(var(--header-h) + 2rem); }
  .phero__title { font-size: clamp(2rem, 11vw, 3rem); max-width: none; }
  .phero__actions .btn { width: 100%; justify-content: center; }
  .pain__lead { font-size: 1.45rem; max-width: none; }
  .pull { font-size: 1.35rem; max-width: none; }
  .steps__item { grid-template-columns: 2.5rem minmax(0, 1fr); }
  .cta__title { font-size: clamp(1.9rem, 10vw, 2.6rem); }
  .brief { padding: 1.15rem; }
  .pfx__count { margin-left: 0; width: 100%; }
}

@media print {
  .crumbs, .toc, .brief, .phero__canvas, .phero__solid { display: none !important; }
  .pain, .cta, .plan--featured { background: #fff !important; color: #000 !important; }
}
