/* Design "Opção 3 – Institucional e Estruturada" (Figma 9LPRv9AL8WuAtvszuNodRd) nas páginas internas.
   Camada carregada depois de styles.css e pages.css em todas as páginas, menos a home (que usa home-o3.css).
   Só muda a aparência: a marcação, os textos (data-i18n) e o JS das páginas continuam os mesmos.
   Base: branco, naval #0b1f3f, azul de destaque #2f6db5, Source Serif 4 SemiBold nos títulos e Inter no texto. */
:root {
  --ink: #0b1f3f; --ink-2: #0e2a55; --slate: #5d6472; --mist: #a8b0bd;
  --paper: #fff; --tint: #f3f7fc; --white: #fff; --rule: #dbe2ec; --rule-dark: rgba(255,255,255,.16);
  --blue: #2f6db5; --blue-100: #e6eef8; --blue-50: #f3f7fc; --g300: #c9d2df; --body: #1f2a3d; --green: #1e8e4e;
  --f-display: "Source Serif 4", Georgia, "Times New Roman", serif;
  --f-body: "Inter", "Helvetica Neue", Arial, sans-serif;
  --f-mono: "Inter", "Helvetica Neue", Arial, sans-serif;
  --radius: 10px;
  --wrap: 1248px;
  --gutter: 24px;
}
body { background: #fff; color: var(--body); line-height: 1.6; }
html { scroll-padding-top: 110px; }
:focus-visible { outline-color: var(--blue); }

/* Tipografia */
h1, h2, .page-head h1, .prose h2, .post-body h2, .cv h1, .nf h1, .about__main h2, .case h2, .contact h2 { font-family: var(--f-display); font-weight: 600; color: inherit; letter-spacing: -.01em; }
h2 { font-weight: 600; line-height: 1.2; color: var(--ink); }
h3 { color: var(--ink); }
.section--ink h2, .section--ink h3, .side-box--ink h3, .nf h2 { color: #fff; }
.sec-head h2::after, .howto h2::after { content: ""; display: block; width: 56px; height: 3px; background: var(--blue); margin-top: 10px; }
.sec-head--light h2::after { background: #9fc0ea; }
.eyebrow { font: 600 13px/1.3 var(--f-body); letter-spacing: .08em; color: var(--blue); gap: 0; }
.eyebrow::before { display: none; }
.eyebrow--light, .section--ink .eyebrow { color: #9fc0ea; }
.tbl .num, .num, .field output, .nums__v, .timeline__y, .sim__val, .fig__n { font-variant-numeric: tabular-nums lining-nums; }

/* Botões (componente Button do Figma) */
.btn { border-radius: 8px; padding: 14px 24px; font: 600 16px/1.2 var(--f-body); border-width: 1.5px; transition: background-color .15s, color .15s, border-color .15s; }
.btn:hover { background: var(--ink-2); border-color: var(--ink-2); transform: none; }
.btn--small { padding: 11px 18px; font-size: 15px; }
.btn--light { background: #fff; color: var(--ink); border-color: #fff; }
.btn--light:hover { background: var(--blue-50); color: var(--ink); border-color: var(--blue-50); }
.btn--ghost { border-radius: 8px; border: 1.5px solid var(--ink); background: #fff; color: var(--ink); }
.btn--ghost:hover { background: var(--blue-50); color: var(--ink); }
.link-arrow { color: var(--ink); border-bottom: 0; font-weight: 600; }
.link-arrow:hover { color: var(--blue); }
.link-arrow--light, .section--ink .link-arrow { color: #fff; }
.link-btn { color: var(--blue); }

/* Cabeçalho (mesmo visual do cabeçalho da home) */
.topbar { background: #fff; backdrop-filter: none; border-bottom: 1px solid var(--blue-100); }
.topbar.is-scrolled { border-bottom-color: var(--blue-100); box-shadow: 0 6px 24px rgba(10,31,64,.06); }
.topbar__in { height: 96px; gap: 36px; }
.brand img { width: 176px; }
.nav { gap: 32px; }
.nav a { font: 500 16px/1.2 var(--f-body); color: var(--ink); }
.nav a::after { bottom: -10px; height: 2px; background: var(--blue); }
.nav a:hover, .nav a[aria-current="page"] { color: var(--blue); }
.lang { font: 600 14px/1 var(--f-body); color: var(--ink); letter-spacing: .04em; }
.lang:hover { color: var(--blue); }
.wa-btn { height: 46px; padding: 0 18px; border: 1.5px solid var(--ink); border-radius: 8px; background: #fff; color: var(--ink); font: 600 15px/1 var(--f-body); }
.wa-btn:hover { background: var(--blue-50); border-color: var(--ink); }
.topbar .btn--small { padding: 0 18px; height: 46px; }
.menu span { background: var(--ink); height: 2px; }

/* Cabeçalho das páginas internas: degradê claro com o painel naval diagonal do herói da home */
.page-head { background: linear-gradient(100deg, #e9f1fb 0%, #f4f8fd 48%, #fff 100%); color: var(--ink); border-bottom: 1px solid var(--blue-100); padding: 56px 0 52px; }
.page-head::before { inset: 0 0 0 auto; width: 30%; min-width: 260px; opacity: 1; mask-image: none; -webkit-mask-image: none;
  background: linear-gradient(137deg, rgba(6,18,40,.9) 0%, rgba(8,30,66,.72) 55%, rgba(12,52,105,.55) 100%), var(--ph, none) center / cover no-repeat, #0b1f3f;
  clip-path: polygon(34% 0, 100% 0, 100% 100%, 0 100%); }
/* Foto do painel (as mesmas fotos da home), por página */
[data-page="atuacao/index.html"], [data-page="en/practice/index.html"] { --ph: url(assets/fotos/predio-960.webp); }
[data-page="atuacao/defesa-da-concorrencia.html"], [data-page="en/practice/competition.html"] { --ph: url(assets/fotos/concorrencia-960.webp); }
[data-page="atuacao/defesa-comercial.html"], [data-page="en/practice/trade-remedies.html"] { --ph: url(assets/fotos/comercial-960.webp); }
[data-page="atuacao/arbitragens.html"], [data-page="en/practice/arbitration.html"] { --ph: url(assets/fotos/arbitragens-960.webp); }
[data-page="atuacao/regulacao.html"], [data-page="en/practice/regulation.html"] { --ph: url(assets/fotos/regulacao-960.webp); }
[data-page="atuacao/valuation.html"], [data-page="en/practice/valuation.html"] { --ph: url(assets/fotos/valuation-960.webp); }
[data-page="atuacao/metodos-quantitativos.html"], [data-page="en/practice/quantitative-methods.html"] { --ph: url(assets/fotos/quantitativos-960.webp); }
[data-page="atuacao/estudos-setoriais.html"], [data-page="en/practice/sector-studies.html"] { --ph: url(assets/fotos/setoriais-960.webp); }
[data-page="casos.html"] { --ph: url(assets/fotos/empresas-960.webp); }
[data-page="parceiros.html"], [data-page="en/partners.html"] { --ph: url(assets/fotos/escritorios-960.webp); }
[data-page="blog/index.html"], [data-page="en/blog/index.html"], [data-page="glossario.html"] { --ph: url(assets/fotos/livros-480.webp); }
[data-page="ferramentas/index.html"], [data-page="en/tools/index.html"], [data-page="ferramentas/hhi.html"], [data-page="en/tools/hhi.html"] { --ph: url(assets/fotos/valuation-960.webp); }
[data-page="ferramentas/notificacao-cade.html"], [data-page="en/tools/cade-filing.html"] { --ph: url(assets/fotos/arbitragens-960.webp); }
[data-page="ferramentas/defesa-comercial.html"], [data-page="en/tools/trade-remedies.html"] { --ph: url(assets/fotos/industria-960.webp); }
[data-page="ferramentas/tarifas.html"], [data-page="en/tools/import-tariffs.html"] { --ph: url(assets/fotos/comercial-960.webp); }
[data-page="privacidade.html"], [data-page="en/privacy.html"] { --ph: url(assets/fotos/predio-960.webp); }
.page-head::after { content: ""; position: absolute; top: 0; bottom: 0; right: calc(30% - 2px); width: 3px; background: var(--blue); opacity: .0; }
.page-head .wrap { padding-right: calc(30% + 24px); max-width: none; width: min(var(--wrap), 100%); }
.page-head h1 { font-weight: 600; font-size: clamp(2rem, 1.3rem + 2.4vw, 3.25rem); line-height: 1.12; color: var(--ink); max-width: 22ch; }
.page-head p.lead { color: var(--g600, #4a5466); font-size: 1.125rem; line-height: 1.55; }
.page-head .eyebrow, .page-head .eyebrow--light { color: var(--blue); padding-bottom: 6px; border-bottom: 2px solid var(--blue); display: inline-flex; margin-bottom: 18px; }
.page-head .btn--light { background: var(--ink); color: #fff; border-color: var(--ink); }
.page-head .btn--light:hover { background: var(--ink-2); border-color: var(--ink-2); color: #fff; }
.page-head .link-arrow--light, .page-head .link-btn--light { color: var(--ink); }
.page-head a:not(.btn) { color: var(--ink); }
.crumbs { font: 400 14px/1.4 var(--f-body); color: var(--slate); }
.crumbs a { color: var(--blue) !important; border-bottom: 0; }
.crumbs a:hover { text-decoration: underline; text-underline-offset: 3px; }

/* Seções */
.section { padding: clamp(56px, 7vw, 88px) 0; }
.section--tint { background: var(--blue-50); }
.section--ink { background: linear-gradient(110deg, #081a38 0%, #0b1f3f 55%, #173f78 100%); }
.sec-head > p:not(.eyebrow) { color: var(--slate); font-size: 1.0625rem; }
.sec-head--light > p:not(.eyebrow) { color: #c9d2df; }

/* Cartões */
.cards { gap: 24px; background: none; border: 0; }
.card { border: 1px solid var(--rule); border-radius: var(--radius); background: #fff; transition: border-color .15s, box-shadow .15s; }
a.card:hover { background: #fff; border-color: var(--g300); box-shadow: 0 12px 32px rgba(10,31,64,.08); }
.card__k { font: 600 12px/1.3 var(--f-body); letter-spacing: .08em; text-transform: uppercase; color: var(--blue); }
.card h3 { font-family: var(--f-display); font-weight: 600; font-size: 1.3rem; line-height: 1.25; }
.card p { color: var(--slate); }
.card__more { color: var(--ink); font-weight: 600; }
.section--tint .cards { background: none; }

/* Áreas: página de cada área */
.area-page__main > h2, .prose h2 { font-size: clamp(1.5rem, 1.2rem + .9vw, 1.875rem); color: var(--ink); }
.side-box { border-radius: var(--radius); border-color: var(--rule); box-shadow: 0 1px 0 rgba(10,31,64,.02); }
.side-box--ink { background: linear-gradient(137deg, #061228 0%, #0b1f3f 55%, #0c3469 100%); border-color: transparent; }
.side-box--ink p:not(.eyebrow) { color: #dbe3ee; }
.side-links a { color: var(--ink); font-weight: 500; }
.side-links a:hover { color: var(--blue); }
.side-links li + li { border-top-color: var(--blue-100); }
.ticks li { border-color: var(--blue-100); padding-left: 36px; }
.ticks li::before { left: 0; top: .95em; width: 22px; height: 22px; transform: translateY(-50%); border-radius: 50%; background: var(--blue-100) url(assets/icones/lucide/check.svg) center / 14px no-repeat; }
.sectors li { border: 1px solid var(--blue-100); background: var(--blue-50); color: var(--ink); border-radius: 999px; padding: 6px 14px; font-size: .9rem; }
.featured { border: 1px solid var(--rule); border-left: 4px solid var(--blue); border-radius: var(--radius); }
.featured h3 { font-family: var(--f-display); font-weight: 600; }
.case__ref, .featured .case__ref { font: 500 13px/1.4 var(--f-body); border-radius: 6px; border-color: var(--blue-100); background: var(--blue-50); color: var(--ink); }
.cta-strip { border: 0; border-radius: var(--radius); background: linear-gradient(90deg, #0b1f3f 0%, #173f78 70%, #2f6db5 100%); color: #fff; }
.cta-strip p { font-family: var(--f-display); font-weight: 600; color: #fff; }
.cta-strip .btn { background: #fff; color: var(--ink); border-color: #fff; }
.cta-strip .btn:hover { background: var(--blue-50); }

/* Casos */
.deal { border-radius: var(--radius); }
.cases-more, .more-cases { border-radius: var(--radius); }
.case-area { border-radius: var(--radius); }

/* Listas, linhas do tempo, método, FAQ */
.who { border-top-color: var(--blue); }
.method li { border-top: 3px solid var(--blue); }
.method__n { color: var(--blue); font-family: var(--f-display); font-weight: 600; }
.steps li::before { border-color: var(--blue); }
.steps li:last-child::before { background: var(--blue); }
.faq__list { border-top: 0; display: grid; gap: 12px; }
.faq details { border: 1px solid var(--rule); border-radius: var(--radius); background: #fff; padding: 0 20px; }
.faq summary::after { font-family: var(--f-body); color: var(--ink); }

/* Formulários e filtros */
.fld input, .fld select, .fld textarea, .filters input, .filters select, .blog-search input, .money__in, .firm input[type="text"] { border-radius: 8px; border-color: var(--g300); background: #fff; }
.fld input:focus, .fld select:focus, .fld textarea:focus, .filters input:focus, .filters select:focus, .blog-search input:focus { border-color: var(--blue); box-shadow: 0 0 0 3px rgba(47,109,181,.15); outline: none; }
.fld label, .filters label { font: 600 14px/1.3 var(--f-body); color: var(--ink); text-transform: none; letter-spacing: 0; }
.tag { border-radius: 999px; font: 500 13px/1.3 var(--f-body); border-color: var(--g300); color: var(--ink); padding: 6px 14px; }
.tag[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: #fff; }
.tool, .notify, .sim { border-radius: var(--radius); overflow: hidden; }
.deals, .case-areas, .partner-grid { gap: 16px; background: none; border: 0; }
.deal, .case-area, .partner { border: 1px solid var(--rule); border-radius: var(--radius); overflow: hidden; }
.deal--total { background: linear-gradient(137deg, #061228 0%, #0b1f3f 55%, #0c3469 100%); border-color: transparent; }
.deal__n { font-family: var(--f-display); font-weight: 600; }
.cases-more { border-top-color: var(--blue); }
.news { border-radius: var(--radius); background: linear-gradient(90deg, #0b1f3f 0%, #173f78 70%, #2f6db5 100%); }
.news form { border-radius: 8px; overflow: hidden; }
.news button { border-radius: 0 8px 8px 0; }
.pcard__flag { color: var(--blue); font-family: var(--f-body); font-weight: 600; }
.pcard__flag::before { background: var(--blue); }
.scale__zone:nth-child(1) { background: #dbe5f2; }
.scale__zone:nth-child(2) { background: #6f93c4; }
.scale__zone:nth-child(3) { background: #0e2a55; }
.cv { border-radius: var(--radius); }
.gloss { border-top-color: var(--blue); }
.verdict { border-radius: 8px; }
.pill { border-radius: 999px; }

/* Tabelas (monitor de defesa comercial etc.) */
.tbl-wrap { border-radius: var(--radius); border: 1px solid var(--rule); }
.tbl th { font: 600 12px/1.3 var(--f-body); letter-spacing: .06em; color: var(--ink); background: var(--blue-50); border-bottom: 1px solid var(--g300); }
.tbl td { border-color: var(--blue-100); }
.tabs [role="tab"] { font-family: var(--f-body); }
.tabs [role="tab"][aria-selected="true"] { color: var(--blue); border-bottom-color: var(--blue); }

/* Blog */
.pcard__media, .pcard__ph { border-radius: var(--radius); overflow: hidden; }
.pcard h3 { font-family: var(--f-display); font-weight: 600; }
.pcard__cat { color: var(--blue); }
.pcard:hover h3 a, .pcard h3 a:focus-visible { color: var(--blue); }
.post-row h3 { font-family: var(--f-display); font-weight: 600; }
.post-row h3 a:hover { color: var(--blue); }
.post-body h2 { font-size: clamp(1.5rem, 1.2rem + .9vw, 1.875rem); color: var(--ink); }
.post-body a, .prose a:not(.btn) { color: var(--blue); }
.post-cover img { border-radius: var(--radius); }
.author__pic img { border-radius: 50%; }

/* Parceiros, glossário, CV, política */
.partner { border-radius: var(--radius); }
.az a { border-radius: 6px; }
.gloss dt { font-family: var(--f-display); font-weight: 600; }
.cv h2 { font-family: var(--f-body); font-weight: 600; font-size: 13px; letter-spacing: .08em; text-transform: uppercase; color: var(--blue); }
.cv__photo { border-radius: var(--radius); overflow: hidden; }
.legal h2 { font-family: var(--f-display); font-weight: 600; color: var(--ink); }

/* 404 */
.nf { background: linear-gradient(100deg, #e9f1fb 0%, #f4f8fd 50%, #fff 100%); color: var(--ink); border-bottom: 1px solid var(--blue-100); }
.nf::before { display: none; }
.nf h1 { color: var(--ink); font-weight: 600; }
.nf h1 em { color: var(--blue); }
.nf__lead { color: var(--slate); }
.nf .eyebrow--light { color: var(--blue); }
.nf .btn--light { background: var(--ink); color: #fff; border-color: var(--ink); }
.nf .btn--light:hover { background: var(--ink-2); color: #fff; }
.nf .link-arrow--light, .nf .link-btn--light { color: var(--ink); }
.nf__req { color: var(--slate); }
.nf__req b, .nf__req code { color: var(--ink); }

/* Rodapé (como o da home) */
.footer { background: #fff; color: var(--ink); border-top: 1px solid var(--blue-100); padding: 32px 0 26px; }
.footer img { width: 166px; padding-right: 30px; border-right: 1px solid var(--g300); box-sizing: content-box; }
.footer__links { gap: 6px 22px; }
.footer__links a { color: var(--ink); font: 400 14px/1.3 var(--f-body); }
.footer__links a:hover { color: var(--blue); }
.footer__small { font: 400 13px/1.5 var(--f-body); color: var(--body); }
.footer__small a { color: inherit; }
.footer .footer__key, .footer .footer__key:hover { color: inherit; }

/* Banner de cookies */
.consent { border-radius: var(--radius); }
.consent__btn { border-radius: 8px; }

@media (max-width: 1320px) {
  .nav { gap: 22px; }
  .topbar__in { gap: 22px; }
}
@media (max-width: 1180px) {
  .brand img { width: 150px; }
  .nav a { font-size: 15px; }
}
@media (max-width: 860px) {
  .topbar__in { height: 66px; gap: 12px; }
  .brand img { width: 118px; }
  .nav { inset: 66px 0 auto 0; background: #fff; border-bottom: 1px solid var(--blue-100); box-shadow: 0 16px 30px rgba(10,31,64,.1); }
  .nav a { border-bottom-color: var(--blue-100); font-size: 17px; color: var(--ink); }
  .wa-btn { height: 36px; padding: 0 12px; font-size: 14px; border-radius: 6px; }
  .topbar .btn--small { height: 36px; padding: 0 12px; font-size: 13px; border-radius: 6px; }
  .page-head { padding: 32px 0 30px; }
  .page-head::before { width: 64px; min-width: 0; clip-path: polygon(46% 0, 100% 0, 100% 100%, 0 100%); }
  .page-head .wrap { padding-right: 84px; }
  .page-head p.lead { font-size: 1rem; }
  .footer { padding: 26px 0 22px; }
  .footer img { padding-right: 0; border-right: 0; }
}
@media (max-width: 560px) {
  .page-head::before { width: 40px; }
  .page-head .wrap { padding-right: 56px; }
  .cards { gap: 16px; }
}
@media print {
  .page-head { background: none; }
  .page-head::before { display: none; }
  .page-head .wrap { padding-right: 0; }
}
@media (max-width: 560px) {
  .news form { overflow: visible; }
  .news button { border-radius: 8px; padding: 12px 20px; }
  .news input { border-radius: 8px; border: 1px solid rgba(255,255,255,.35); }
}
.news h3, .notify h2, .notify h3, .section--ink h3, .deal--total h3 { color: #fff; }
.post-tags li { border-radius: 999px; }
