/* Teixeira & Madruga — design system
   Cores e tipografia conforme o Manual de Identidade Visual (Fulgor Brand Studio, 2026):
   Petróleo #063038 · Carmim #BF1C45 · Literata (medium para títulos, regular para texto). */

/* Literata hospedada no próprio site (subconjunto latino, cobre o português) */
@font-face { font-family: "Literata"; font-style: normal; font-weight: 300 700; font-display: swap; src: url(/static/fonts/literata-latin.woff2) format("woff2"); }
@font-face { font-family: "Literata"; font-style: italic; font-weight: 400; font-display: swap; src: url(/static/fonts/literata-italic-latin.woff2) format("woff2"); }

:root {
  --petroleo: #063038;
  --petroleo-900: #04232a;
  --petroleo-700: #0b4450;
  --petroleo-100: #e5eced;
  --carmim: #bf1c45;
  --carmim-700: #9c1638;
  --nevoa: #a9b5bc;      /* cinza-azulado dos mockups da marca */
  --nevoa-100: #eef2f3;
  --tinta: #10272c;
  --tinta-60: #4b5d62;
  --linha: #d6dee0;
  --papel: #ffffff;

  --serif: "Literata", Georgia, "Times New Roman", serif;
  --w: 1240px;
  --gutter: clamp(16px, 4vw, 40px);
  --r: 2px;
  --shadow: 0 1px 2px rgba(6, 48, 56, .06), 0 8px 24px rgba(6, 48, 56, .06);
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*,
*::before,
*::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 96px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--papel);
  color: var(--tinta);
  font-family: var(--serif);
  font-size: 1.0625rem;
  line-height: 1.6;
  font-optical-sizing: auto;
  font-variation-settings: "opsz" 14;
  text-rendering: optimizeLegibility;
}

img, svg { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: .18em; }
a:hover { color: var(--carmim); }
:focus-visible { outline: 2px solid var(--carmim); outline-offset: 3px; }
button { font: inherit; color: inherit; }
[hidden] { display: none !important; }

.wrap { width: min(100% - 2 * var(--gutter), var(--w)); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 99; background: var(--carmim); color: #fff; padding: 10px 16px; }
.skip:focus { top: 12px; color: #fff; }

/* ---------- tipografia ---------- */
h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 500;
  line-height: 1.15;
  letter-spacing: -.01em;
  margin: 0 0 .5em;
  color: var(--petroleo);
  font-variation-settings: "opsz" 48;
  text-wrap: balance;
}
h1 { font-size: clamp(2.1rem, 1.2rem + 3.4vw, 3.6rem); }
h2 { font-size: clamp(1.6rem, 1.15rem + 1.6vw, 2.3rem); }
h3 { font-size: 1.3rem; }
p { margin: 0 0 1em; }

/* rótulo: versalete espaçado, como "ADVOGADOS ASSOCIADOS" e os títulos do manual */
.label {
  display: inline-block;
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--carmim);
  font-variation-settings: "opsz" 12;
}
.label--quiet { color: var(--tinta-60); }
.on-dark .label { color: #ff6b8e; }
.meta { font-size: .85rem; color: var(--tinta-60); }
.meta > * + *::before { content: "·"; margin: 0 .5em; color: var(--nevoa); }
.lede { font-size: 1.18rem; line-height: 1.55; color: var(--tinta-60); max-width: 60ch; }

/* ---------- botões ---------- */
.btn {
  display: inline-flex; align-items: center; gap: .6em;
  padding: .85em 1.4em;
  border: 1px solid transparent; border-radius: var(--r);
  font-size: .95rem; font-weight: 500; text-decoration: none; cursor: pointer;
  transition: background .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease);
}
.btn svg { width: 1em; height: 1em; transition: transform .2s var(--ease); }
.btn:hover svg { transform: translateX(3px); }
.btn--carmim { background: var(--carmim); color: #fff; }
.btn--carmim:hover { background: var(--carmim-700); color: #fff; }
.btn--petroleo { background: var(--petroleo); color: #fff; }
.btn--petroleo:hover { background: var(--petroleo-700); color: #fff; }
.btn--ghost { border-color: currentColor; color: var(--petroleo); background: transparent; }
.btn--ghost:hover { background: var(--petroleo); color: #fff; border-color: var(--petroleo); }
.on-dark .btn--ghost { color: #fff; }
.on-dark .btn--ghost:hover { background: #fff; color: var(--petroleo); }
.link-arrow { display: inline-flex; gap: .4em; align-items: center; font-weight: 500; text-decoration: none; color: var(--petroleo); border-bottom: 1px solid var(--carmim); padding-bottom: 2px; }
.link-arrow:hover { color: var(--carmim); }
.on-dark .link-arrow { color: #fff; }

/* ---------- aviso antifraude ---------- */
.fraudbar { background: var(--petroleo-900); color: #cfdcdf; font-size: .8rem; }
.fraudbar .wrap { display: flex; gap: .6em; align-items: center; padding-block: 7px; }
.fraudbar svg { width: 14px; height: 14px; flex: none; color: #ff6b8e; }
.fraudbar a { color: #fff; }

/* ---------- cabeçalho ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.96); backdrop-filter: saturate(1.4) blur(8px); border-bottom: 1px solid var(--linha); }
.site-header .wrap { display: flex; align-items: center; gap: 24px; height: 76px; }
.brand { flex: none; display: block; }
.brand img { height: 32px; width: auto; }
.nav { margin-left: auto; display: flex; align-items: center; gap: 4px; }
.nav a { position: relative; padding: 8px 12px; font-size: .95rem; text-decoration: none; color: var(--petroleo); }
.nav a[aria-current="page"]::after,
.nav a:hover::after { content: ""; position: absolute; left: 12px; right: 12px; bottom: 2px; height: 1px; background: var(--carmim); }
.nav .nav-hub { display: inline-flex; align-items: center; gap: 6px; }
.nav .nav-hub::before { content: ""; width: 6px; height: 6px; background: var(--carmim); transform: rotate(45deg); }
.nav .btn { margin-left: 10px; padding: .6em 1.1em; }
.nav .btn::after { display: none; }
.nav-toggle { display: none; margin-left: auto; background: none; border: 1px solid var(--linha); padding: 9px 11px; cursor: pointer; color: var(--petroleo); }
.nav-toggle svg { width: 22px; height: 22px; }

@media (max-width: 960px) {
  /* backdrop-filter cria um bloco de contenção e prenderia o menu fixo dentro do cabeçalho */
  .site-header { backdrop-filter: none; -webkit-backdrop-filter: none; background: #fff; }
  .nav-toggle { display: grid; place-items: center; }
  .nav-toggle .i-close { display: none; }
  .nav-toggle[aria-expanded="true"] .i-open { display: none; }
  .nav-toggle[aria-expanded="true"] .i-close { display: block; }
  .nav { position: fixed; top: 76px; left: 0; right: 0; height: calc(100vh - 76px); height: calc(100dvh - 76px); z-index: 60; flex-direction: column; align-items: stretch; gap: 0; background: #fff; padding: 12px var(--gutter) 32px; transform: translateY(-8px); opacity: 0; visibility: hidden; transition: .25s var(--ease); overflow-y: auto; }
  .nav.is-open { transform: none; opacity: 1; visibility: visible; }
  .nav a { padding: 16px 0; font-size: 1.25rem; border-bottom: 1px solid var(--linha); }
  .nav a::after { display: none; }
  .nav .btn { margin: 20px 0 0; justify-content: center; font-size: 1rem; padding: 1em; border: 0; }
  .brand img { height: 24px; }
}

/* ---------- linhas de construção (assinatura visual) ---------- */
.lines { position: absolute; inset: -3%; pointer-events: none; overflow: hidden; transform: translate3d(var(--px, 0px), var(--py, 0px), 0); transition: transform 1.2s var(--ease); }
.lines svg { position: absolute; width: 100%; height: 100%; }
.lines path { fill: none; stroke: var(--carmim); stroke-width: 1; vector-effect: non-scaling-stroke; }
.lines .base path { opacity: .75; }
/* desenho ao carregar (pathLength = 100) */
.lines--draw .base path { stroke-dasharray: 100; stroke-dashoffset: 100; animation: draw 2.4s var(--ease) .2s forwards; }
.lines--draw .base path:nth-child(2) { animation-delay: .45s; }
.lines--draw .base path:nth-child(3) { animation-delay: .7s; }
.lines--draw .base path:nth-child(4) { animation-delay: .95s; }
@keyframes draw { to { stroke-dashoffset: 0; } }
/* linhas vivas: brilho que percorre os traços + deriva lenta */
.lines--live svg { animation: drift 26s ease-in-out infinite alternate; transform-origin: 70% 40%; }
.lines--live .glow path { stroke: #ff7d9c; stroke-width: 1.8; stroke-dasharray: 7 93; stroke-dashoffset: 107; opacity: 0; animation: travel 8s linear 3s infinite; }
.lines--live .glow path:nth-child(2) { animation-delay: 5.5s; animation-duration: 9s; }
.lines--live .glow path:nth-child(3) { animation-delay: 4.2s; animation-duration: 10s; }
.lines--live .glow path:nth-child(4) { animation-delay: 7s; animation-duration: 7s; }
@keyframes travel { 0% { stroke-dashoffset: 107; opacity: 0; } 8% { opacity: 1; } 85% { opacity: 1; } 100% { stroke-dashoffset: 0; opacity: 0; } }
@keyframes drift { from { transform: translate3d(0, 0, 0) scale(1); } to { transform: translate3d(-2.5%, 2%, 0) scale(1.05); } }
.is-paused .lines svg, .is-paused .lines path { animation-play-state: paused; }
@media (prefers-reduced-motion: reduce) {
  .lines--draw .base path { animation: none; stroke-dashoffset: 0; }
  .lines--live svg, .lines--live .glow path { animation: none; }
  .lines--live .glow { display: none; }
  .lines { transform: none; transition: none; }
}

.on-dark { background: var(--petroleo); color: #dfe8ea; }
.on-dark h1, .on-dark h2, .on-dark h3 { color: #fff; }
.on-dark a:not(.btn):hover { color: #ff8aa6; }

/* ---------- hero da home ---------- */
.hero { display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr); border-bottom: 1px solid var(--linha); }
.hero { min-height: min(600px, calc(100svh - 76px)); }
.hero__main { position: relative; overflow: hidden; padding: clamp(36px, 4.5vw, 64px) clamp(24px, 4vw, 64px) clamp(36px, 4.5vw, 64px) max(var(--gutter), calc((100vw - var(--w)) / 2)); display: flex; flex-direction: column; justify-content: center; }
.hero__main > *:not(.lines) { position: relative; max-width: 620px; }
.hero__main h1 { margin: 14px 0 18px; font-size: clamp(2rem, 1.1rem + 2.1vw, 2.85rem); line-height: 1.12; }
.hero__main .lede { font-size: 1.08rem; }
.hero__main .lede { color: #c5d3d6; }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 14px 24px; align-items: center; margin-top: 12px; }
.hero__feed { padding: clamp(28px, 3vw, 44px) max(var(--gutter), calc((100vw - var(--w)) / 2)) clamp(24px, 3vw, 40px) clamp(24px, 3.5vw, 48px); display: flex; flex-direction: column; background: #fff; }
.hero__feed-head { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; padding-bottom: 14px; border-bottom: 2px solid var(--petroleo); }
.hero__feed-head strong { font-size: 1.3rem; font-weight: 500; color: var(--petroleo); font-variation-settings: "opsz" 40; }
.feed-item { display: block; padding: 14px 0; border-bottom: 1px solid var(--linha); text-decoration: none; }
.feed-item h3 { font-size: 1.02rem; margin: 4px 0 6px; line-height: 1.3; transition: color .2s; }
.feed-item:hover h3 { color: var(--carmim); }
.hero__feed .link-arrow { margin-top: auto; padding-top: 14px; align-self: flex-start; border: 0; }
@media (max-width: 960px) {
  .hero { grid-template-columns: 1fr; }
  .hero__main { min-height: 0; padding: 56px var(--gutter) 48px; }
  .hero__feed { padding: 32px var(--gutter); }
}

/* ---------- seções ---------- */
.section { padding-block: clamp(56px, 8vw, 112px); }
.section--tint { background: var(--nevoa-100); }
.section-head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 16px 32px; margin-bottom: clamp(28px, 4vw, 48px); }
.section-head > div { max-width: 680px; }
.section-head h2 { margin: 10px 0 8px; }
.section-head p { color: var(--tinta-60); margin: 0; }

/* índice de áreas */
.area-index { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--petroleo); }
.area-index li { border-bottom: 1px solid var(--linha); }
.area-index a { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1.4fr) auto; gap: 16px 40px; align-items: center; padding: 28px 8px; text-decoration: none; transition: background .25s var(--ease), padding .25s var(--ease); }
.area-index h3 { margin: 0; font-size: clamp(1.3rem, 1rem + 1vw, 1.75rem); }
.area-index p { margin: 0; color: var(--tinta-60); font-size: .98rem; }
.area-index .count { font-size: .8rem; color: var(--tinta-60); white-space: nowrap; display: flex; gap: 14px; align-items: center; }
.area-index .count svg { width: 22px; height: 22px; color: var(--carmim); transition: transform .25s var(--ease); }
.area-index a:hover { background: var(--nevoa-100); padding-inline: 20px; color: inherit; }
.area-index a:hover svg { transform: translateX(4px); }
@media (max-width: 760px) { .area-index a { grid-template-columns: 1fr; gap: 8px; } }

/* abas (séries, formatos) */
.tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 28px; }
.tab { background: transparent; border: 1px solid var(--linha); border-radius: 999px; padding: .5em 1.1em; font-size: .9rem; cursor: pointer; color: var(--petroleo); transition: .2s var(--ease); }
.tab:hover { border-color: var(--petroleo); }
.tab[aria-selected="true"], .tab.is-active { background: var(--petroleo); color: #fff; border-color: var(--petroleo); }
.tab .n { opacity: .6; margin-left: .35em; font-size: .85em; }
.tab[disabled] { opacity: .45; cursor: not-allowed; }
.series-desc { color: var(--tinta-60); margin: -8px 0 24px; max-width: 70ch; }

/* cards de conteúdo */
.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); gap: 24px; }
.card { position: relative; display: flex; flex-direction: column; background: #fff; border-top: 3px solid var(--petroleo); padding: 24px 24px 22px; box-shadow: var(--shadow); text-decoration: none; transition: transform .25s var(--ease), border-color .25s var(--ease); min-height: 240px; }
.card:hover { transform: translateY(-3px); border-top-color: var(--carmim); color: inherit; }
.card .tags { display: flex; flex-wrap: wrap; gap: 6px 14px; }
.card h2, .card h3 { font-size: 1.2rem; line-height: 1.3; margin: 14px 0 10px; }
.card:hover h2, .card:hover h3 { color: var(--carmim); }
.card p { color: var(--tinta-60); font-size: .95rem; margin: 0 0 16px; }
.card .meta { margin-top: auto; }

/* pessoas */
.people-tools { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 28px; }
.field { display: flex; flex-direction: column; gap: 6px; flex: 1 1 220px; }
.field label { font-size: .8rem; color: var(--tinta-60); }
.input, .select, textarea.input { width: 100%; font: inherit; font-size: 1rem; padding: .8em 1em; border: 1px solid var(--linha); border-radius: var(--r); background: #fff; color: var(--tinta); }
.input:focus, .select:focus { outline: none; border-color: var(--petroleo); box-shadow: 0 0 0 3px rgba(6, 48, 56, .12); }
.people { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr)); gap: 28px; }
.person { text-decoration: none; display: block; }
.person figure { margin: 0 0 16px; aspect-ratio: 4 / 5; overflow: hidden; background: var(--petroleo); position: relative; }
.person img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.person:hover img { transform: scale(1.03); }
.person h2, .person h3 { margin: 0 0 2px; font-size: 1.35rem; }
.person:hover h2, .person:hover h3 { color: var(--carmim); }
.person .cargo { font-size: .9rem; color: var(--tinta-60); margin: 0 0 8px; }
.empty { padding: 32px; border: 1px dashed var(--linha); color: var(--tinta-60); text-align: center; }

/* newsletter */
.signup { position: relative; overflow: hidden; }
.signup .wrap { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 48px; align-items: start; }
.signup h2 { margin-top: 10px; }
.signup p { color: #c5d3d6; }
.form-card { background: #fff; color: var(--tinta); padding: clamp(24px, 3vw, 36px); border-radius: var(--r); }
.form-card .row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.form-card .field { margin-bottom: 14px; }
.checks { border: 0; padding: 0; margin: 4px 0 16px; display: grid; grid-template-columns: 1fr 1fr; gap: 8px 16px; }
.checks legend { font-size: .8rem; color: var(--tinta-60); margin-bottom: 10px; padding: 0; }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: .95rem; cursor: pointer; }
.check input { accent-color: var(--carmim); width: 18px; height: 18px; margin-top: 3px; flex: none; }
.consent { font-size: .82rem; color: var(--tinta-60); }
.form-msg { margin-top: 14px; padding: 12px 14px; font-size: .92rem; border-left: 3px solid var(--petroleo); background: var(--nevoa-100); }
@media (max-width: 860px) { .signup .wrap, .form-card .row, .checks { grid-template-columns: 1fr; } }

/* bloco de contato final */
.talk { position: relative; overflow: hidden; }
.talk .wrap { position: relative; display: grid; grid-template-columns: 1.2fr 1fr; gap: 48px; align-items: center; }
.talk dl { margin: 0; display: grid; gap: 16px; }
.talk dt { font-size: .72rem; letter-spacing: .2em; text-transform: uppercase; color: #ff6b8e; }
.talk dd { margin: 2px 0 0; font-size: 1.1rem; color: #fff; }
.talk dd a { text-decoration: none; }
@media (max-width: 860px) { .talk .wrap { grid-template-columns: 1fr; } }

/* ---------- cabeçalho de página interna ---------- */
.page-head { position: relative; overflow: hidden; padding-block: clamp(48px, 7vw, 96px) clamp(40px, 5vw, 64px); }
.page-head .wrap { position: relative; }
.page-head h1 { max-width: 20ch; margin-top: 14px; }
.page-head .lede { color: #c5d3d6; }
.crumbs { font-size: .8rem; margin-bottom: 8px; }
.crumbs ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 4px; }
.crumbs li + li::before { content: "/"; margin-right: 4px; opacity: .5; }
.crumbs a { text-decoration: none; opacity: .8; }
.crumbs a:hover { opacity: 1; }

/* ---------- prosa (artigos, páginas) ---------- */
.prose { font-size: 1.1rem; line-height: 1.75; font-variation-settings: "opsz" 16; max-width: 70ch; }
.prose h2 { font-size: 1.65rem; margin: 2em 0 .6em; padding-top: .2em; }
.prose h3 { font-size: 1.28rem; margin: 1.6em 0 .5em; }
.prose p, .prose ul, .prose ol { margin: 0 0 1.15em; }
.prose ul, .prose ol { padding-left: 1.2em; }
.prose li { margin-bottom: .4em; }
.prose li::marker { color: var(--carmim); }
.prose a { color: var(--petroleo); text-decoration-color: var(--carmim); }
.prose a:hover { color: var(--carmim); }
.prose blockquote { margin: 1.6em 0; padding: 4px 0 4px 24px; border-left: 2px solid var(--carmim); font-style: italic; color: var(--tinta-60); }
.prose table { width: 100%; border-collapse: collapse; margin: 1.6em 0; font-size: .95rem; display: block; overflow-x: auto; }
.prose th, .prose td { border: 1px solid var(--linha); padding: 10px 12px; text-align: left; vertical-align: top; }
.prose tr:first-child td { background: var(--nevoa-100); font-weight: 600; }
.prose figure { margin: 1.6em 0; }
.prose figure img { border: 1px solid var(--linha); }
/* ementas citadas: quadro de julgado */
.prose .ementa { font-style: normal; font-size: .9rem; line-height: 1.6; background: var(--nevoa-100); border-left: 3px solid var(--petroleo); padding: 18px 22px; color: var(--tinta); position: relative; }
.prose .ementa::before { content: "Ementa"; display: block; font-size: .68rem; letter-spacing: .2em; text-transform: uppercase; color: var(--carmim); font-weight: 600; margin-bottom: 8px; }
.prose .ementa.is-collapsed { max-height: 230px; overflow: hidden; }
.prose .ementa.is-collapsed::after { content: ""; position: absolute; inset: auto 0 0 0; height: 80px; background: linear-gradient(transparent, var(--nevoa-100)); }
.ementa-toggle { display: block; margin: -1em 0 1.6em; background: none; border: 0; padding: 6px 0; color: var(--petroleo); font-size: .88rem; text-decoration: underline; text-decoration-color: var(--carmim); cursor: pointer; }

/* ---------- página de artigo ---------- */
.article-head { padding-block: clamp(40px, 6vw, 80px) 40px; border-bottom: 1px solid var(--linha); }
.article-head .wrap { max-width: 920px; }
.article-head h1 { font-size: clamp(2rem, 1.3rem + 2.6vw, 3.1rem); margin: 16px 0 16px; }
.article-head .lede { margin-bottom: 28px; }
.byline { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 32px; }
.byline .authors { display: flex; gap: 14px; align-items: center; }
.byline .authors img { width: 52px; height: 52px; border-radius: 50%; object-fit: cover; object-position: top; }
.byline .authors a { font-weight: 600; text-decoration: none; color: var(--petroleo); }
.byline .authors span { display: block; font-size: .85rem; color: var(--tinta-60); }
.share { display: flex; gap: 6px; margin-left: auto; }
.share a, .share button { width: 38px; height: 38px; display: grid; place-items: center; border: 1px solid var(--linha); border-radius: 50%; background: #fff; color: var(--petroleo); cursor: pointer; text-decoration: none; transition: .2s; }
.share a:hover, .share button:hover { border-color: var(--carmim); color: var(--carmim); }
.share svg { width: 16px; height: 16px; }

.article-layout { display: grid; grid-template-columns: 220px minmax(0, 1fr) 280px; gap: 48px; padding-block: 48px 80px; align-items: start; }
.toc { position: sticky; top: 100px; font-size: .88rem; max-height: calc(100vh - 120px); overflow: auto; }
.toc strong { display: block; font-size: .72rem; letter-spacing: .2em; text-transform: uppercase; color: var(--carmim); margin-bottom: 12px; }
.toc ol { list-style: none; margin: 0; padding: 0; border-left: 1px solid var(--linha); }
.toc a { display: block; padding: 6px 0 6px 14px; margin-left: -1px; border-left: 2px solid transparent; text-decoration: none; color: var(--tinta-60); line-height: 1.35; }
.toc a:hover { color: var(--petroleo); }
.toc a.is-active { color: var(--petroleo); border-left-color: var(--carmim); font-weight: 600; }
.toc .sub a { padding-left: 26px; font-size: .84rem; }
.aside { position: sticky; top: 100px; display: grid; gap: 20px; }

.tldr { background: var(--petroleo); color: #dfe8ea; padding: 26px 28px; margin-bottom: 36px; position: relative; overflow: hidden; }
.tldr .label { color: #ff6b8e; }
.tldr ul { margin: 12px 0 0; padding-left: 1.1em; }
.tldr li { margin-bottom: 8px; font-size: 1rem; line-height: 1.55; }
.tldr li::marker { color: #ff6b8e; }

.author-card { border: 1px solid var(--linha); padding: 20px; background: #fff; }
.author-card .who { display: flex; gap: 12px; align-items: center; }
.author-card img { width: 56px; height: 56px; border-radius: 50%; object-fit: cover; object-position: top; }
.author-card h3 { font-size: 1.05rem; margin: 0; }
.author-card .cargo { font-size: .82rem; color: var(--tinta-60); }
.author-card details { margin-top: 14px; font-size: .88rem; }
.author-card summary { cursor: pointer; color: var(--petroleo); font-weight: 600; list-style: none; display: flex; justify-content: space-between; }
.author-card summary::-webkit-details-marker { display: none; }
.author-card summary::after { content: "+"; color: var(--carmim); font-size: 1.1rem; line-height: 1; }
.author-card details[open] summary::after { content: "–"; }
.author-card dl { margin: 12px 0 0; display: grid; gap: 8px; }
.author-card dt { font-size: .7rem; letter-spacing: .16em; text-transform: uppercase; color: var(--tinta-60); }
.author-card dd { margin: 0; word-break: break-word; }
.author-card .btn { width: 100%; justify-content: center; margin-top: 14px; font-size: .9rem; }
.mini-signup { background: var(--nevoa-100); padding: 20px; font-size: .9rem; }
.mini-signup strong { display: block; font-size: 1.05rem; color: var(--petroleo); font-weight: 500; margin: 6px 0; }
.mini-signup .input { margin: 10px 0; font-size: .92rem; }
.mini-signup .btn { width: 100%; justify-content: center; }

.block { margin-top: 56px; }
.block > h2 { font-size: 1.5rem; display: flex; align-items: center; gap: 12px; }
.julgados { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr)); gap: 16px; }
.julgado { border: 1px solid var(--linha); border-top: 3px solid var(--petroleo); padding: 18px 20px; background: #fff; display: flex; flex-direction: column; gap: 10px; }
.julgado .meta strong { color: var(--petroleo); font-weight: 600; }
.julgado p { margin: 0; font-size: .95rem; line-height: 1.55; }
.julgado .efeito { align-self: flex-start; margin-top: auto; font-size: .78rem; padding: 3px 10px; border-radius: 999px; background: var(--petroleo-100); color: var(--petroleo); }
.julgado .efeito.neg { background: #f8e3e9; color: var(--carmim-700); }
.leis { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.leis a { display: flex; gap: 10px; align-items: baseline; text-decoration: none; color: var(--petroleo); }
.leis a::before { content: "§"; color: var(--carmim); font-weight: 600; }
.leis a:hover { color: var(--carmim); text-decoration: underline; }

.faq details { border-bottom: 1px solid var(--linha); }
.faq details:first-child { border-top: 1px solid var(--linha); }
.faq summary { cursor: pointer; list-style: none; padding: 18px 40px 18px 0; position: relative; font-size: 1.08rem; font-weight: 500; color: var(--petroleo); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 8px; top: 26px; width: 10px; height: 10px; border-right: 1.5px solid var(--carmim); border-bottom: 1.5px solid var(--carmim); transform: rotate(45deg); transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(-135deg); top: 30px; }
.faq .answer { padding: 0 0 20px; color: var(--tinta); max-width: 70ch; }

.disclaimer { margin-top: 40px; padding-top: 20px; border-top: 1px solid var(--linha); font-size: .85rem; color: var(--tinta-60); }
.updated { display: inline-flex; gap: 8px; align-items: center; font-size: .85rem; color: var(--tinta-60); background: var(--nevoa-100); padding: 6px 12px; margin-bottom: 24px; }

.inline-cta { margin: 2.4em 0; padding: 24px 28px; border: 1px solid var(--linha); border-left: 3px solid var(--carmim); display: flex; flex-wrap: wrap; gap: 16px 24px; align-items: center; justify-content: space-between; font-size: 1rem; }
.inline-cta p { margin: 0; max-width: 46ch; }
.inline-cta strong { color: var(--petroleo); font-weight: 600; }

@media (max-width: 1180px) {
  .article-layout { grid-template-columns: 200px minmax(0, 1fr); }
  .aside { position: static; grid-column: 2; grid-template-columns: 1fr 1fr; }
}
@media (max-width: 860px) {
  .article-layout { grid-template-columns: 1fr; padding-top: 24px; }
  .toc { position: static; max-height: none; border: 1px solid var(--linha); padding: 16px 18px; }
  .toc ol { max-height: none; }
  .aside { grid-column: 1; grid-template-columns: 1fr; }
  .share { margin-left: 0; }
}

/* ---------- hub ---------- */
.hub-tools { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr) minmax(0, 1fr); gap: 12px; margin-bottom: 18px; }
.hub-count { font-size: .9rem; color: var(--tinta-60); margin: 0 0 20px; }
.hub-feature { display: grid; grid-template-columns: 1.3fr 1fr; gap: 0; margin-bottom: 40px; text-decoration: none; box-shadow: var(--shadow); }
.hub-feature .cover { position: relative; overflow: hidden; min-height: 300px; padding: 32px; display: flex; align-items: flex-end; }
.hub-feature .cover h2 { position: relative; margin: 0; font-size: clamp(1.5rem, 1rem + 1.6vw, 2.2rem); }
.hub-feature .body { padding: 32px; background: #fff; display: flex; flex-direction: column; gap: 12px; }
.hub-feature .body p { color: var(--tinta-60); margin: 0; }
.hub-feature:hover h2 { color: #ffd5df; }
@media (max-width: 860px) { .hub-tools, .hub-feature { grid-template-columns: 1fr; } }

/* ---------- área / perfil ---------- */
.two-col { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 64px; align-items: start; }
.two-col .aside { top: 100px; }
@media (max-width: 960px) { .two-col { grid-template-columns: 1fr; gap: 40px; } .two-col .aside { position: static; } }
.temas { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 0 32px; }
.temas li { padding: 14px 0 14px 22px; border-bottom: 1px solid var(--linha); position: relative; }
.temas li::before { content: ""; position: absolute; left: 0; top: 23px; width: 8px; height: 8px; border: 1.5px solid var(--carmim); transform: rotate(45deg); }
@media (max-width: 700px) { .temas { grid-template-columns: 1fr; } }
.frentes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border-top: 1px solid var(--petroleo); }
.frentes div { padding: 24px 24px 24px 0; }
.frentes div + div { padding-left: 24px; border-left: 1px solid var(--linha); }
.frentes h3 { font-size: 1.15rem; margin-bottom: 8px; }
.frentes p { font-size: .95rem; color: var(--tinta-60); margin: 0; }
@media (max-width: 760px) { .frentes { grid-template-columns: 1fr; } .frentes div + div { padding-left: 0; border-left: 0; border-top: 1px solid var(--linha); } }

.profile-head { display: grid; grid-template-columns: 360px minmax(0, 1fr); gap: clamp(32px, 5vw, 72px); align-items: end; }
.profile-head figure { margin: 0; aspect-ratio: 4 / 5; overflow: hidden; position: relative; }
.profile-head figure img { width: 100%; height: 100%; object-fit: cover; }
.profile-head h1 { margin: 10px 0 4px; }
.profile-head .cargo { font-size: 1.1rem; color: #c5d3d6; margin-bottom: 24px; }
.contact-list { list-style: none; padding: 0; margin: 0 0 24px; display: grid; gap: 8px; }
.contact-list a { text-decoration: none; color: #fff; display: inline-flex; gap: 10px; align-items: center; }
.contact-list svg { width: 16px; height: 16px; color: #ff6b8e; }
.profile-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.profile-actions .btn { padding: .7em 1.1em; font-size: .9rem; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: 0; }
.chips a, .chips span { display: inline-block; padding: 5px 12px; border: 1px solid rgba(255,255,255,.3); border-radius: 999px; font-size: .85rem; text-decoration: none; }
.chips--light a, .chips--light span { border-color: var(--linha); color: var(--petroleo); }
.pubs { list-style: none; counter-reset: pub; padding: 0; margin: 0; }
.pubs li { counter-increment: pub; display: grid; grid-template-columns: 44px 1fr; padding: 16px 0; border-bottom: 1px solid var(--linha); }
.pubs li::before { content: counter(pub, decimal-leading-zero); color: var(--carmim); font-size: .9rem; padding-top: 3px; }
.pubs a { text-decoration: none; font-weight: 500; color: var(--petroleo); font-size: 1.08rem; }
.pubs a:hover { color: var(--carmim); }
@media (max-width: 860px) { .profile-head { grid-template-columns: 1fr; } .profile-head figure { max-width: 320px; } }

/* glossário */
.az { display: flex; flex-wrap: wrap; gap: 4px; margin-bottom: 32px; }
.az a { width: 36px; height: 36px; display: grid; place-items: center; border: 1px solid var(--linha); text-decoration: none; color: var(--petroleo); }
.az a:hover { background: var(--petroleo); color: #fff; }
.terms { margin: 0; }
.terms > div { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: 8px 40px; padding: 22px 0; border-bottom: 1px solid var(--linha); }
.terms dt { font-weight: 500; font-size: 1.15rem; color: var(--petroleo); }
.terms dd { margin: 0; max-width: 68ch; }
.terms dd a { font-size: .9rem; }
@media (max-width: 760px) { .terms > div { grid-template-columns: 1fr; } }

/* ---------- rodapé ---------- */
.site-footer { background: var(--petroleo-900); color: #b7c6c9; font-size: .92rem; padding-top: 72px; }
.site-footer a { text-decoration: none; color: #dfe8ea; }
.site-footer a:hover { color: #ff8aa6; }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 56px; }
.foot-grid h2 { font-size: .72rem; letter-spacing: .2em; text-transform: uppercase; color: #ff6b8e; font-weight: 600; margin-bottom: 16px; }
.foot-grid ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.foot-grid address { font-style: normal; line-height: 1.7; }
.foot-logo { display: block; max-width: 320px; margin-bottom: 22px; }
.foot-logo img { width: 100%; height: auto; }
.foot-fraud { border: 1px solid rgba(255,255,255,.15); padding: 14px 16px; margin-top: 20px; font-size: .85rem; line-height: 1.5; }
.foot-fraud strong { color: #fff; }
.foot-bottom { border-top: 1px solid rgba(255,255,255,.12); padding-block: 22px; display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: space-between; font-size: .8rem; }
@media (max-width: 960px) { .foot-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .foot-grid { grid-template-columns: 1fr; } }

/* barra de contato fixa no celular (CRO) */
.mobile-cta { display: none; }
@media (max-width: 760px) {
  /* só aparece depois da primeira dobra, para não disputar espaço com o hero */
  .mobile-cta { display: grid; grid-template-columns: 1fr 1fr; position: fixed; inset: auto 0 0 0; z-index: 40; box-shadow: 0 -6px 20px rgba(6,48,56,.15);
    transform: translateY(110%); visibility: hidden; transition: transform .35s var(--ease), visibility 0s linear .35s; }
  .mobile-cta.is-visible { transform: none; visibility: visible; transition: transform .35s var(--ease), visibility 0s; }
  .mobile-cta a { display: flex; gap: 8px; justify-content: center; align-items: center; padding: 15px; text-decoration: none; font-weight: 500; font-size: .95rem; }
  .mobile-cta a:first-child { background: var(--carmim); color: #fff; }
  .mobile-cta a:last-child { background: var(--petroleo); color: #fff; }
  .mobile-cta svg { width: 18px; height: 18px; }
  body { padding-bottom: 54px; }
  @media (prefers-reduced-motion: reduce) { .mobile-cta, .mobile-cta.is-visible { transition: none; } }
}

/* revelação suave ao rolar */
.reveal { opacity: 0; transform: translateY(14px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } }
.no-js .reveal { opacity: 1; transform: none; }

@media print {
  .site-header, .fraudbar, .site-footer, .mobile-cta, .toc, .aside, .share, .inline-cta { display: none !important; }
  .article-layout { display: block; }
}

/* aviso antifraude (toast fechável, como BMA/Cescon) */
.fraud-toast { position: fixed; right: 20px; bottom: 20px; z-index: 60; max-width: 380px; background: #fff; border-left: 3px solid var(--carmim); box-shadow: 0 10px 40px rgba(6,48,56,.22); padding: 16px 44px 16px 18px; font-size: .86rem; line-height: 1.5; color: var(--tinta); }
.fraud-toast strong { display: block; color: var(--carmim); font-size: .72rem; letter-spacing: .2em; text-transform: uppercase; margin-bottom: 4px; }
.fraud-toast p { margin: 0; }
.fraud-toast a { color: var(--petroleo); }
.fraud-toast button { position: absolute; top: 8px; right: 8px; width: 30px; height: 30px; border: 0; background: none; cursor: pointer; font-size: 20px; line-height: 1; color: var(--tinta-60); }
@media (max-width: 760px) { .fraud-toast { left: 12px; right: 12px; bottom: 66px; max-width: none; } }

.link-arrow svg, .count svg { width: 1.1em; height: 1.1em; flex: none; }
.label + .label { margin-left: 14px; }
.btn svg { flex: none; }

/* séries como trilhas de navegação (sem repetir os cards de artigos) */
.trilhas { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); gap: 0; border-top: 1px solid var(--petroleo); }
.trilha { display: flex; flex-direction: column; gap: 6px; padding: 28px 28px 28px 0; text-decoration: none; }
.trilha + .trilha { padding-left: 28px; border-left: 1px solid var(--linha); }
.trilha h3 { margin: 6px 0 4px; font-size: 1.35rem; }
.trilha p { color: var(--tinta-60); font-size: .96rem; margin: 0 0 12px; }
.trilha .link-arrow { margin-top: auto; align-self: flex-start; }
.trilha:hover h3 { color: var(--carmim); }
@media (max-width: 760px) { .trilha, .trilha + .trilha { padding: 22px 0; border-left: 0; border-bottom: 1px solid var(--linha); } }
.hub-serie { display: flex; gap: 10px; align-items: center; font-size: .92rem; margin: 0 0 12px; }
.hub-serie button { background: none; border: 0; padding: 0; color: var(--carmim); text-decoration: underline; cursor: pointer; font-size: .88rem; }

/* faixa de newsletter: compacta e explícita */
.nl-band { background: var(--nevoa-100); border-top: 1px solid var(--linha); border-bottom: 1px solid var(--linha); padding-block: clamp(40px, 5vw, 64px); }
.nl-band .wrap { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 24px 64px; align-items: center; }
.nl-band h2 { font-size: clamp(1.4rem, 1.1rem + 1vw, 1.9rem); margin: 8px 0 14px; }
.nl-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.nl-list li { position: relative; padding-left: 22px; font-size: .97rem; color: var(--tinta-60); }
.nl-list li::before { content: ""; position: absolute; left: 2px; top: .62em; width: 7px; height: 7px; border: 1.5px solid var(--carmim); transform: rotate(45deg); }
.nl-list strong { color: var(--petroleo); font-weight: 600; }
.nl-form label { display: block; font-size: .85rem; color: var(--tinta-60); margin-bottom: 8px; }
.nl-row { display: flex; gap: 8px; }
.nl-row .input { flex: 1; min-width: 0; }
.nl-row .btn { flex: none; }
.nl-note { font-size: .82rem; color: var(--tinta-60); margin: 10px 0 0; }
@media (max-width: 860px) { .nl-band .wrap { grid-template-columns: 1fr; } }
@media (max-width: 480px) { .nl-row { flex-direction: column; } .nl-row .btn { justify-content: center; } }

/* ---------- iconografia ---------- */
.ico { width: 24px; height: 24px; flex: none; color: var(--carmim); }
.ico--sm { width: 16px; height: 16px; }
.ico--lg { width: 36px; height: 36px; margin-bottom: 10px; }
.on-dark .ico { color: #ff6b8e; }
.ico-box { width: 56px; height: 56px; display: grid; place-items: center; border: 1px solid var(--linha); transition: background .3s var(--ease), border-color .3s var(--ease); }
.ico-box .ico { width: 28px; height: 28px; }
.area-index a { grid-template-columns: 56px minmax(0, 1fr) minmax(0, 1.35fr) auto; }
.area-index a:hover .ico-box { background: var(--petroleo); border-color: var(--petroleo); }
.area-index a:hover .ico-box .ico { color: #fff; }
@media (max-width: 760px) { .area-index a { grid-template-columns: 1fr; } .ico-box { width: 44px; height: 44px; } }
/* ícone se desenha ao entrar na tela */
.reveal .ico path { stroke-dasharray: 100; stroke-dashoffset: 100; transition: stroke-dashoffset 1.4s var(--ease) .15s; }
.reveal.is-in .ico path { stroke-dashoffset: 0; }
@media (prefers-reduced-motion: reduce) { .reveal .ico path { stroke-dashoffset: 0; transition: none; } }
.card .tags { align-items: center; }
.card .tags .ico--sm { margin-right: -4px; }
.trilha .ico--lg, .frentes .ico--lg { display: block; }
.nl-list li { display: flex; gap: 12px; padding-left: 0; align-items: flex-start; }
.nl-list li::before { display: none; }
.nl-list .ico { width: 22px; height: 22px; margin-top: 1px; }
.talk dt { display: flex; align-items: center; gap: 8px; }
/* ícone decorativo grande no topo das páginas de área */
.page-head .deco { position: absolute; right: max(var(--gutter), calc((100vw - var(--w)) / 2)); top: 50%; transform: translateY(-50%); pointer-events: none; }
.ico--deco { width: clamp(140px, 18vw, 240px); height: auto; color: #ff6b8e; opacity: .55; }
.ico--deco path { stroke-width: .5; stroke-dasharray: 100; stroke-dashoffset: 100; animation: draw 3s var(--ease) .4s forwards; }
@media (max-width: 960px) { .page-head .deco { display: none; } }
@media (prefers-reduced-motion: reduce) { .ico--deco path { animation: none; stroke-dashoffset: 0; } }

.feed-sub { font-size: .9rem; color: var(--tinta-60); margin-top: 2px; }

/* ---------- fotografia em duotone (hero e categorias) ---------- */
.has-img { position: relative; isolation: isolate; }
.has-img::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--bg) center / cover no-repeat; }
.has-img::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(100deg, rgba(4, 35, 42, .96) 0%, rgba(6, 48, 56, .86) 48%, rgba(6, 48, 56, .45) 100%); }
@media (max-width: 960px) {
  .has-img::before { background-image: var(--bg-sm); }
  .has-img::after { background: linear-gradient(180deg, rgba(4, 35, 42, .9), rgba(6, 48, 56, .82)); }
}
.hero__main.has-img::after { background: linear-gradient(100deg, rgba(4, 35, 42, .94) 0%, rgba(6, 48, 56, .8) 55%, rgba(6, 48, 56, .5) 100%); }
/* topo do artigo sobre a foto da categoria */
.article-head.on-dark { border-bottom: 0; color: #dfe8ea; }
.article-head.on-dark .lede { color: #c5d3d6; }
.article-head.on-dark .crumbs a, .article-head.on-dark .crumbs li { color: #dfe8ea; }
.article-head.on-dark .label--quiet { color: #c5d3d6; }
.article-head.on-dark .byline .authors a { color: #fff; }
.article-head.on-dark .byline .authors span, .article-head.on-dark .meta { color: #c5d3d6; }
.article-head.on-dark .meta > * + *::before { color: rgba(255, 255, 255, .35); }
.article-head.on-dark .byline .authors img { box-shadow: 0 0 0 2px rgba(255, 255, 255, .25); }
.article-head.on-dark .share a, .article-head.on-dark .share button { background: rgba(255, 255, 255, .06); border-color: rgba(255, 255, 255, .25); color: #fff; }
.article-head.on-dark .share a:hover, .article-head.on-dark .share button:hover { border-color: #ff8aa6; color: #ff8aa6; }

.hero__feed-head .feed-title { font-size: 1.3rem; font-weight: 500; margin: 0; color: var(--petroleo); font-variation-settings: "opsz" 40; }

/* sócios em cards horizontais (equipe de até 3 pessoas) */
.people--wide { grid-template-columns: repeat(auto-fit, minmax(min(100%, 480px), 1fr)); gap: 24px; }
.person-wide { display: grid; grid-template-columns: minmax(150px, 40%) 1fr; background: #fff; border: 1px solid var(--linha); border-top: 3px solid var(--petroleo); transition: border-color .25s var(--ease), box-shadow .25s var(--ease); }
.person-wide:hover { border-top-color: var(--carmim); box-shadow: var(--shadow); }
.pw-photo { display: block; overflow: hidden; background: var(--petroleo); }
.pw-photo img { width: 100%; height: 100%; object-fit: cover; object-position: top; transition: transform .6s var(--ease); }
.person-wide:hover .pw-photo img { transform: scale(1.03); }
.pw-body { padding: 24px 26px; display: flex; flex-direction: column; gap: 10px; }
.pw-body h2, .pw-body h3 { margin: 0; font-size: 1.45rem; }
.pw-body h2 a, .pw-body h3 a { text-decoration: none; }
.pw-body h2 a:hover, .pw-body h3 a:hover { color: var(--carmim); }
.pw-body p { margin: 0; color: var(--tinta-60); font-size: .96rem; }
.pw-links { margin-top: auto; padding-top: 8px; display: flex; flex-wrap: wrap; gap: 12px 20px; align-items: center; }
.pw-wa { display: inline-flex; gap: 6px; align-items: center; font-size: .92rem; text-decoration: none; color: var(--petroleo); }
.pw-wa svg { width: 16px; height: 16px; color: var(--carmim); }
.pw-wa:hover { color: var(--carmim); }
@media (max-width: 560px) { .person-wide { grid-template-columns: 1fr; } .pw-photo { aspect-ratio: 4 / 3; } }

.area-index .count { font-size: .9rem; font-weight: 500; color: var(--petroleo); gap: 10px; }
.area-index a:hover .count { color: var(--carmim); }

.foot-social { display: inline-flex; align-items: center; gap: 8px; margin-top: 12px; }
.foot-social .ico { color: #ff6b8e; }

/* telas grandes: conteúdo mais largo e tipografia/logo um pouco maiores, sem mudar o layout */
@media (min-width: 1600px) {
  :root { --w: 1360px; }
  html { font-size: 17px; }
  .brand img { height: 38px; }
}
@media (min-width: 2000px) {
  :root { --w: 1480px; }
  html { font-size: 18px; }
  .brand img { height: 42px; }
}

/* autoria do escritório (artigos sem autor individual) */
.firm-mark { width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; background: #fff; flex: none; }
.firm-mark img { width: 30px; height: auto; }
.firm-mark--lg { width: 56px; height: 56px; background: var(--nevoa-100); }
.article-head.on-dark .firm-mark { box-shadow: 0 0 0 2px rgba(255, 255, 255, .25); }
.leis span { display: flex; gap: 10px; align-items: baseline; color: var(--petroleo); }
.leis span::before { content: "§"; color: var(--carmim); font-weight: 600; }
.tldr p { margin: 12px 0 0; font-size: 1rem; line-height: 1.6; }
.hub-more-wrap { text-align: center; margin: 36px 0 0; }

/* crédito da agência: discreto, em cinza; o símbolo ganha as cores da Gapper no hover */
.dev-by { display: inline-flex; align-items: center; gap: 6px; color: #8fa3a8; text-decoration: none; }
.site-footer .dev-by { color: #8fa3a8; }
.dev-by .gapper { width: 14px; height: 14px; }
.dev-by .g-base { fill: #6f8489; transition: fill .25s var(--ease); }
.dev-by .g-arrow { fill: #a9b8bc; transition: fill .25s var(--ease); }
.site-footer .dev-by:hover { color: #fff; }
.dev-by:hover .g-base { fill: #b3b3b3; }
.dev-by:hover .g-arrow { fill: #1a14ff; }

/* página O escritório: frase de apresentação como título, em caixa normal */
.page-head--statement h1 { max-width: 46ch; font-size: clamp(1.5rem, 1rem + 1.7vw, 2.35rem); line-height: 1.25; font-weight: 400; text-wrap: pretty; }

/* ---------- landing pages de campanha ---------- */
.lp-header .wrap { justify-content: space-between; }
.lp-header-cta { padding: .65em 1.1em; font-size: .9rem; }
@media (max-width: 560px) { .lp-header-cta { font-size: 0; gap: 0; padding: .7em; } .lp-header-cta svg { width: 20px; height: 20px; } }
.lp-hero { position: relative; overflow: hidden; padding-block: clamp(56px, 9vw, 120px); }
.lp-hero.has-img::after { background: linear-gradient(100deg, rgba(4, 35, 42, .95) 0%, rgba(6, 48, 56, .85) 55%, rgba(6, 48, 56, .55) 100%); }
.lp-hero-inner { position: relative; z-index: 1; }
.lp-hero-inner > * { max-width: 760px; }
.lp-hero h1 { font-size: clamp(2rem, 1.2rem + 2.6vw, 3.2rem); margin: 16px 0 20px; }
.lp-hero .lede { color: #c5d3d6; margin-bottom: .8em; }
.lp-hero .btn { margin-top: 12px; }
.lp-block .section-head h2 { max-width: 26ch; }
.lp-timeline-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); gap: clamp(28px, 4vw, 56px); align-items: start; }
.lp-timeline { position: relative; overflow: hidden; padding: 32px; }
.lp-timeline ol { list-style: none; margin: 16px 0 0; padding: 0; position: relative; }
.lp-timeline li { padding: 16px 0 16px 22px; border-left: 1px solid rgba(255, 255, 255, .2); position: relative; }
.lp-timeline li::before { content: ""; position: absolute; left: -5px; top: 24px; width: 9px; height: 9px; background: var(--carmim); transform: rotate(45deg); }
.lp-timeline strong { font-size: 1.6rem; font-weight: 500; color: #fff; font-variation-settings: "opsz" 40; }
.lp-timeline p { margin: 4px 0 0; color: #c5d3d6; font-size: .97rem; }
.lp-prose { max-width: none; }
.lp-note { border-left: 3px solid var(--carmim); padding-left: 16px; color: var(--tinta-60); font-size: 1rem; }
.lp-text { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.3fr); gap: clamp(28px, 4vw, 64px); align-items: start; }
.lp-text h2 { margin-top: 0; }
.lp-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr)); gap: 20px; }
.lp-card { background: #fff; border-top: 3px solid var(--petroleo); padding: 26px 24px; display: flex; flex-direction: column; gap: 8px; box-shadow: var(--shadow); transition: border-color .25s var(--ease); }
.lp-card:hover { border-top-color: var(--carmim); }
.lp-card h3 { margin: 4px 0; font-size: 1.2rem; }
.lp-card p { margin: 0 0 12px; color: var(--tinta-60); font-size: .96rem; }
.lp-card-cta { margin-top: auto; align-self: flex-start; font-size: .92rem; }
.lp-card-cta svg { color: var(--carmim); }
.lp-center { text-align: center; margin: 36px 0 0; }
.lp-team { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); gap: 24px; }
.lp-person { display: grid; grid-template-columns: 120px 1fr; gap: 20px; align-items: start; border: 1px solid var(--linha); padding: 20px; }
.lp-person img { width: 120px; height: 150px; object-fit: cover; object-position: top; }
.lp-person h3 { margin: 0; font-size: 1.3rem; }
.lp-person .cargo { margin: 2px 0 10px; color: var(--tinta-60); font-size: .9rem; }
.lp-person p:last-child { margin: 0; font-size: .95rem; }
@media (max-width: 480px) { .lp-person { grid-template-columns: 1fr; } }
.lp-rating { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 14px; margin-bottom: 28px; }
.lp-rating strong { font-size: 3rem; font-weight: 500; color: var(--petroleo); line-height: 1; }
.stars { color: #c9a227; letter-spacing: .1em; }
.lp-rating span:last-child { color: var(--tinta-60); }
.lp-reviews { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr)); gap: 16px; }
.lp-review { margin: 0; background: #fff; padding: 20px 22px; border: 1px solid var(--linha); display: flex; flex-direction: column; gap: 10px; }
.lp-review p { margin: 0; font-size: .95rem; font-style: italic; color: var(--tinta); }
.lp-review cite { margin-top: auto; font-style: normal; font-weight: 600; color: var(--petroleo); font-size: .9rem; }
.lp-footer { background: var(--petroleo-900); color: #b7c6c9; font-size: .85rem; padding: 40px 0 90px; }
.lp-footer img { width: 260px; height: auto; margin-bottom: 16px; }
.lp-footer p { margin: 0 0 8px; }
.lp-footer a { color: #dfe8ea; }
.lp-float { position: fixed; right: 18px; bottom: 18px; z-index: 45; width: 58px; height: 58px; border-radius: 50%; display: grid; place-items: center; background: var(--carmim); color: #fff; box-shadow: 0 8px 24px rgba(6, 48, 56, .3); transition: transform .2s var(--ease), background .2s; }
.lp-float:hover { transform: scale(1.06); background: var(--carmim-700); color: #fff; }
.lp-float svg { width: 28px; height: 28px; }
@media (max-width: 860px) { .lp-timeline-grid, .lp-text { grid-template-columns: 1fr; } }
