/* =========================================================
   Páginas internas — usa os tokens de styles.css
   ========================================================= */
.nav a[aria-current="page"] { color: var(--on-dark); }

.page-hero {
  position: relative; overflow: hidden; isolation: isolate;
  background: var(--dark); color: var(--on-dark);
  margin-top: calc(var(--header-h) * -1);
  padding: calc(var(--header-h) + 56px) 0 64px;
}
.page-hero::before {
  content: ""; position: absolute; z-index: -1; pointer-events: none;
  width: 720px; height: 720px; right: -260px; top: -340px;
  background: radial-gradient(closest-side, rgba(0,85,161,.45), rgba(0,85,161,.12) 45%, rgba(0,85,161,0) 70%);
}
.page-hero__title { font-size: clamp(2.1rem, 5vw, 3.4rem); font-weight: 600; max-width: 20ch; margin-bottom: 18px; }
.page-hero__title em { font-style: normal; color: var(--blue-electric); }
.page-hero__lead { font-size: 1.12rem; color: var(--on-dark-2); max-width: 60ch; }
.page-hero .hero__ctas { margin-top: 28px; }
@media (min-width: 1000px) { .page-hero { padding: calc(var(--header-h) + 80px) 0 88px; } }

.breadcrumb { display: flex; flex-wrap: wrap; gap: 8px; font-size: .85rem; color: var(--on-dark-2); margin-bottom: 20px; }
.breadcrumb a { color: var(--on-dark-2); transition: color 150ms ease; }
.breadcrumb li + li::before { content: "/"; margin-right: 8px; opacity: .5; }
@media (hover: hover) and (pointer: fine) { .breadcrumb a:hover { color: var(--on-dark); } }

/* ---------- Serviços detalhados ---------- */
.svc-index { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 28px; }
.svc-index a {
  font-size: .88rem; font-weight: 700; padding: 8px 14px; border-radius: 999px;
  color: var(--on-dark); box-shadow: inset 0 0 0 1px rgba(255,255,255,.16);
  transition: box-shadow 150ms ease, transform 160ms var(--ease-out); touch-action: manipulation;
}
.svc-index a:active { transform: scale(0.97); }
@media (hover: hover) and (pointer: fine) { .svc-index a:hover { box-shadow: inset 0 0 0 1px rgba(255,255,255,.4); } }

.svc-list { display: grid; gap: 20px; }
.svc {
  display: grid; gap: 28px; background: var(--surface); border-radius: var(--radius-lg);
  padding: 32px 28px; box-shadow: var(--shadow-sm);
  scroll-margin-top: calc(var(--header-h) + 24px);
}
.svc__num { font-family: var(--font-display); font-weight: 600; font-size: .85rem; color: var(--blue); font-variant-numeric: tabular-nums; margin-bottom: 10px; }
.svc__title { font-size: clamp(1.5rem, 3vw, 2rem); font-weight: 600; margin-bottom: 12px; }
.svc__desc { color: var(--ink-2); max-width: 58ch; margin-bottom: 22px; }
.svc__for { font-size: .92rem; color: var(--ink-2); padding: 14px 16px; border-radius: 12px; background: var(--bg); max-width: 58ch; }
.svc__for strong { color: var(--ink); }
.svc__side h4 { font-family: var(--font-body); font-size: .78rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 14px; }
.svc__side ul { display: grid; gap: 10px; margin-bottom: 24px; }
.svc__side li { position: relative; padding-left: 28px; font-size: .95rem; }
.svc__side li::before {
  content: ""; position: absolute; left: 0; top: 3px; width: 18px; height: 18px; border-radius: 50%;
  background: var(--blue-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 8.5l2.5 2.5L12 5.5' fill='none' stroke='%230055A1' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 11px no-repeat;
}
@media (min-width: 900px) { .svc { grid-template-columns: 1.2fr 0.8fr; gap: 56px; padding: 44px 48px; } }

/* ---------- Sobre ---------- */
.mvv { display: grid; gap: 16px; }
.mvv__card { position: relative; overflow: hidden; background: var(--surface); border-radius: var(--radius-lg); padding: 32px 28px 28px; box-shadow: var(--shadow-sm); }
.mvv__card::before { content: ""; position: absolute; left: 0; top: 0; right: 0; height: 4px; background: var(--blue); }
.mvv__card:nth-child(2)::before { background: var(--blue-electric); }
.mvv__card:nth-child(3)::before { background: var(--orange); }
.mvv__card h3 { font-size: 1.25rem; font-weight: 600; margin-bottom: 10px; }
.mvv__card p, .mvv__card li { color: var(--ink-2); }
.mvv__card ul { display: grid; gap: 6px; margin-top: 14px; }
.mvv__card li::before { content: "•"; color: var(--blue); margin-right: 8px; }
/* Card em destaque: Nosso diferencial */
.mvv__card--featured {
  background: linear-gradient(160deg, var(--blue) 0%, var(--blue-dark) 85%);
  box-shadow: 0 0 0 1px rgba(255,255,255,.06), 0 24px 48px -16px rgba(0,31,77,.55);
}
.mvv__card--featured::before { background: var(--orange); }
.mvv__card--featured h3 { color: #fff; }
.mvv__card--featured p, .mvv__card--featured li { color: rgba(255,255,255,.82); }
.mvv__card--featured li::before { color: var(--orange); }
@media (min-width: 900px) {
  .mvv { grid-template-columns: repeat(3, 1fr); align-items: center; }
  .mvv__card--featured { padding-block: 44px; }
}

/* Assinatura institucional no rodapé */
.footer__sig { display: inline-block; color: var(--on-dark); font-family: var(--font-display); font-weight: 600; margin-bottom: 2px; }

.values { display: grid; gap: 12px; grid-template-columns: repeat(2, 1fr); }
.value { background: var(--dark-2); border-radius: var(--radius); padding: 22px; box-shadow: var(--shadow-dark); }
.value h3 { font-size: 1.05rem; font-weight: 600; margin-bottom: 4px; }
.value p { color: var(--on-dark-2); font-size: .92rem; }
@media (min-width: 900px) { .values { grid-template-columns: repeat(3, 1fr); } }

.voice { display: grid; gap: 16px; max-width: 980px; margin-inline: auto; }
.voice__col { border-radius: var(--radius-lg); padding: 28px; }
.voice__col h3 { font-size: 1.1rem; font-weight: 600; margin-bottom: 14px; }
.voice__col ul { display: grid; gap: 10px; }
.voice__col--yes { background: var(--surface); box-shadow: var(--shadow-sm); }
.voice__col--yes li { font-family: var(--font-display); font-weight: 500; }
.voice__col--no { box-shadow: inset 0 0 0 1px rgba(15,15,32,.12); }
.voice__col--no li { color: var(--ink-3); text-decoration: line-through; text-decoration-thickness: 1px; }
@media (min-width: 800px) { .voice { grid-template-columns: 1fr 1fr; } }

/* ---------- Cases detalhados ---------- */
.case-full { display: grid; gap: 24px; background: var(--surface); border-radius: var(--radius-lg); padding: 32px 28px; box-shadow: var(--shadow-sm); }
.case-full + .case-full { margin-top: 20px; }
.case-full__tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 16px; }
.case-full__tags li { font-size: .78rem; font-weight: 700; padding: 4px 10px; border-radius: 999px; background: var(--blue-soft); color: var(--blue); }
.case-full__body { display: grid; gap: 18px; }
.case-full__body h4 { font-family: var(--font-body); font-size: .78rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 4px; }
.case-full__body p { color: var(--ink-2); }
@media (min-width: 900px) {
  .case-full { grid-template-columns: 0.8fr 1.2fr; gap: 56px; padding: 44px 48px; }
  .case-full__body { grid-template-columns: repeat(3, 1fr); }
}

/* ---------- Contato ---------- */
.contact { display: grid; gap: 40px; align-items: start; }
.contact__channels { display: grid; gap: 12px; margin: 28px 0 36px; }
.channel {
  display: flex; align-items: center; gap: 14px; padding: 16px 18px; border-radius: var(--radius);
  background: var(--surface); box-shadow: var(--shadow-sm); touch-action: manipulation;
  transition: box-shadow 200ms ease, transform 160ms var(--ease-out);
}
.channel:active { transform: scale(0.98); }
@media (hover: hover) and (pointer: fine) { .channel:hover { box-shadow: var(--shadow-md); } }
.channel__icon { width: 42px; height: 42px; flex-shrink: 0; border-radius: 12px; display: grid; place-items: center; background: var(--blue-soft); }
.channel__icon svg { width: 20px; height: 20px; fill: none; stroke: var(--blue); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.channel__label { display: block; font-size: .8rem; color: var(--ink-3); }
.channel__value { display: block; font-weight: 700; overflow-wrap: anywhere; }
.next-steps { counter-reset: s; display: grid; gap: 14px; }
.next-steps li { counter-increment: s; position: relative; padding-left: 44px; color: var(--ink-2); }
.next-steps li::before {
  content: counter(s); position: absolute; left: 0; top: -2px; width: 30px; height: 30px; border-radius: 50%;
  display: grid; place-items: center; font-family: var(--font-display); font-weight: 600; font-size: .85rem;
  background: var(--blue); color: #fff;
}
.next-steps strong { color: var(--ink); }
.contact .form-card { box-shadow: var(--shadow-md); }
@media (min-width: 960px) {
  .contact { grid-template-columns: 1fr 1fr; gap: 72px; }
  .contact .form-card { position: sticky; top: calc(var(--header-h) + 24px); }
}

/* ---------- Texto longo (política, artigos) ---------- */
.prose { max-width: 70ch; color: var(--ink-2); font-size: 1.05rem; line-height: 1.75; }
.prose h2 { color: var(--ink); font-size: 1.5rem; font-weight: 600; margin: 44px 0 12px; }
.prose h3 { color: var(--ink); font-size: 1.15rem; font-weight: 600; margin: 28px 0 8px; }
.prose p, .prose ul, .prose ol { margin-bottom: 16px; }
.prose ul { list-style: disc; padding-left: 22px; }
.prose ol { list-style: decimal; padding-left: 22px; }
.prose li { margin-bottom: 6px; }
.prose a { color: var(--blue); text-decoration: underline; text-underline-offset: 3px; }
.prose strong { color: var(--ink); }
.prose blockquote { margin: 24px 0; padding: 4px 0 4px 20px; box-shadow: inset 3px 0 0 var(--blue); color: var(--ink); font-family: var(--font-display); font-size: 1.15rem; }
.notice { max-width: 70ch; padding: 16px 18px; border-radius: 12px; background: rgba(255, 196, 0, .16); color: var(--ink); font-size: .92rem; margin-bottom: 32px; }

/* ---------- Blog ---------- */
.blog-filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 32px; }
.chip {
  font-size: .88rem; font-weight: 700; padding: 8px 16px; border-radius: 999px; min-height: 40px;
  background: var(--surface); color: var(--ink-2); box-shadow: var(--shadow-sm); touch-action: manipulation;
  transition: background-color 150ms ease, color 150ms ease, transform 160ms var(--ease-out);
}
.chip:active { transform: scale(0.97); }
.chip[aria-pressed="true"] { background: var(--blue-dark); color: #fff; box-shadow: none; }
.posts { display: grid; gap: 20px; }
.post-card {
  display: flex; flex-direction: column; background: var(--surface); border-radius: var(--radius-lg);
  overflow: hidden; box-shadow: var(--shadow-sm);
  transition: box-shadow 200ms ease, transform 160ms var(--ease-out);
}
.post-card[hidden] { display: none; }
.post-card:active { transform: scale(0.99); }
@media (hover: hover) and (pointer: fine) { .post-card:hover { box-shadow: var(--shadow-md); } }
.post-card__cover { aspect-ratio: 16 / 9; display: grid; place-items: center; background: linear-gradient(135deg, var(--blue) 0%, var(--blue-dark) 80%); }
.post-card__cover img { width: 22%; opacity: .85; }
.post-card__body { display: flex; flex-direction: column; gap: 10px; padding: 22px 24px 26px; flex: 1; }
.post-card__meta { font-size: .8rem; color: var(--ink-3); display: flex; flex-wrap: wrap; gap: 10px; }
.post-card__cat { color: var(--blue); font-weight: 700; }
.post-card__title { font-size: 1.2rem; font-weight: 600; }
.post-card__excerpt { color: var(--ink-2); font-size: .95rem; }
.posts-empty { color: var(--ink-3); text-align: center; padding: 40px 0; }
@media (min-width: 720px) { .posts { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1080px) { .posts { grid-template-columns: repeat(3, 1fr); } }

.article-meta { display: flex; flex-wrap: wrap; gap: 14px; font-size: .9rem; color: var(--on-dark-2); margin-top: 18px; }
.article-cta { max-width: 70ch; margin-top: 48px; padding: 28px; border-radius: var(--radius-lg); background: var(--blue-dark); color: var(--on-dark); }
.article-cta h3 { font-size: 1.3rem; font-weight: 600; margin-bottom: 8px; }
.article-cta p { color: var(--on-dark-2); margin-bottom: 18px; }
