/* Hubzen inner pages (blog, articles, advogados). Same tokens as the home page; dark-first. */
:root {
  --bg: #0A0F1C; --surface: #111A2C; --surface-2: #17223A; --line: #24314D;
  --fg: #E9EEF7; --muted: #93A0B8; --accent: #F3C33E; --accent-ink: #1A1404; --accent-text: #F3C33E;
  --good: #3DD68C; --bad: #FF7A6B;
  --font-display: "Outfit", "Segoe UI", Arial, sans-serif;
  --font-body: "Figtree", "Segoe UI", system-ui, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, Consolas, monospace;
  --font-serif: "Fraunces", Georgia, "Times New Roman", serif;
  --logo-filter: none;
  color-scheme: dark;
}
@media (prefers-color-scheme: light) {
  :root:not([data-theme="dark"]) {
    --bg: #F3F0EA; --surface: #FBF9F5; --surface-2: #E9E4DA; --line: #DDD7CB;
    --fg: #15130F; --muted: #5C574E; --accent-text: #8A6400; --good: #12895A; --bad: #C8402F;
    --logo-filter: invert(1); color-scheme: light;
  }
}
:root[data-theme="light"] {
  --bg: #F3F0EA; --surface: #FBF9F5; --surface-2: #E9E4DA; --line: #DDD7CB;
  --fg: #15130F; --muted: #5C574E; --accent-text: #8A6400; --good: #12895A; --bad: #C8402F;
  --logo-filter: invert(1); color-scheme: light;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
section[id], h2[id] { scroll-margin-top: 84px; }
body { margin: 0; background: var(--bg); color: var(--fg); font-family: var(--font-body); font-size: 17px; line-height: 1.65; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }
.wrap { max-width: 1160px; margin: 0 auto; padding-inline: clamp(16px, 4vw, 40px); }
h1, h2, h3 { font-family: var(--font-display); font-weight: 700; line-height: 1.12; letter-spacing: -0.02em; margin: 0; text-wrap: balance; }
p { margin: 0; }
.eyebrow { font-family: var(--font-mono); font-size: 12.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--accent-text); }
.hl { background: linear-gradient(transparent 70%, var(--accent) 70%, var(--accent) 86%, transparent 86%) no-repeat 0 0 / 100% 100%; -webkit-box-decoration-break: clone; box-decoration-break: clone; padding-inline: 2px; animation: hl-draw .9s cubic-bezier(.65, 0, .35, 1) .35s both; }
@keyframes hl-draw { from { background-size: 0% 100%; } }
@media (prefers-reduced-motion: reduce) { .hl { animation: none; } }

/* nav */
header.nav { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 10; background: color-mix(in srgb, var(--bg) 88%, transparent); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.nav .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-block: 14px; }
.logo { height: 26px; width: auto; filter: var(--logo-filter); display: block; }
.nav nav { display: flex; gap: 26px; font-size: 15px; color: var(--muted); }
.nav nav a { text-decoration: none; }
.nav nav a:hover, .nav nav a[aria-current="page"] { color: var(--fg); }
.btn-load { position: relative; isolation: isolate; overflow: hidden; flex: none; display: inline-flex; align-items: center; gap: 12px; padding: 12px 18px 12px 20px; border-radius: 6px; background: var(--accent); color: var(--accent-ink); text-decoration: none; font-family: var(--font-display); font-weight: 700; font-size: 14.5px; letter-spacing: .06em; text-transform: uppercase; box-shadow: inset 0 0 0 2px var(--accent); transition: color .25s ease .12s; }
.btn-load::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--accent-ink); transform: scaleX(0); transform-origin: left center; transition: transform .55s cubic-bezier(.65, 0, .35, 1); }
.btn-load svg { width: 18px; height: 18px; transition: transform .35s ease; }
.btn-load:hover, .btn-load:focus-visible { color: var(--accent); }
.btn-load:hover::before, .btn-load:focus-visible::before { transform: scaleX(1); }
.btn-load:hover svg, .btn-load:focus-visible svg { transform: translateX(4px); }
.btn-ghost { display: inline-flex; align-items: center; padding: 12px 20px; border-radius: 6px; box-shadow: inset 0 0 0 1px var(--line); text-decoration: none; font-weight: 600; }
.btn-ghost:hover { box-shadow: inset 0 0 0 1px var(--muted); }
@media (max-width: 900px) { .nav nav { display: none; } }
@media (max-width: 480px) { .btn-load { padding: 10px 14px; font-size: 13px; gap: 8px; letter-spacing: .03em; } .logo { height: 22px; } }

/* blog index: editorial covers (photo + dark gradient + title baked in the image) */
.blog-hero { padding-block: clamp(48px, 7vw, 88px) clamp(28px, 4vw, 44px); }
.blog-hero h1 { font-family: var(--font-serif); font-weight: 600; letter-spacing: -0.02em; font-size: clamp(38px, 5.6vw, 68px); margin-block: 14px 16px; }
.blog-hero p.lead { color: var(--muted); font-size: 19px; max-width: 60ch; }
.featured-wrap { padding-bottom: clamp(40px, 5vw, 64px); margin-bottom: clamp(40px, 5vw, 64px); border-bottom: 1px solid var(--line); }
.cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(36px, 4vw, 56px) clamp(24px, 3vw, 40px); padding-bottom: clamp(64px, 8vw, 104px); }
.post-card { display: grid; gap: 12px; align-content: start; text-decoration: none; color: inherit; }
.pc-cover { display: block; width: 100%; height: auto; aspect-ratio: 1200 / 630; max-width: 100%; object-fit: cover; background: var(--surface-2); transition: filter .3s ease; }
.post-card:hover .pc-cover { filter: brightness(1.08); }
.pc-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px; margin-top: 6px; font-family: var(--font-mono); font-size: 12.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.pc-tag { background: #0D0D0D; color: #F3C33E; padding: 5px 10px; }
.pc-title { font-family: var(--font-serif); font-weight: 400; font-size: clamp(22px, 2.2vw, 27px); line-height: 1.22; letter-spacing: -0.01em; }
.post-card.featured .pc-title { font-size: clamp(26px, 3.2vw, 38px); }
.post-card:hover .pc-title { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 5px; }
.pc-desc { color: var(--muted); font-size: 16px; line-height: 1.6; max-width: 80ch; }
@media (max-width: 760px) { .cards { grid-template-columns: minmax(0, 1fr); } }

/* article */
.crumbs { font-size: 14px; color: var(--muted); padding-top: 28px; }
.crumbs a { text-decoration: none; } .crumbs a:hover { color: var(--fg); }
.post { max-width: 820px; margin: 0 auto; padding-inline: clamp(16px, 4vw, 40px); padding-block: 18px clamp(48px, 6vw, 80px); }
.post-head { display: grid; gap: 14px; padding-block: 18px 30px; border-bottom: 1px solid var(--line); margin-bottom: 30px; }
.post-cover { display: block; width: 100%; height: auto; aspect-ratio: 1200 / 630; max-width: 100%; margin-bottom: 8px; }
.post-head h1 { font-family: var(--font-serif); font-weight: 400; letter-spacing: -0.015em; font-size: clamp(32px, 4.4vw, 48px); line-height: 1.15; }
.post-head .desc { font-size: 19px; color: var(--muted); }
.prose { font-size: 18px; max-width: 70ch; }
.prose > * + * { margin-top: 1.05em; }
.prose h2 { font-family: var(--font-serif); font-weight: 600; letter-spacing: -0.01em; font-size: clamp(26px, 3vw, 32px); margin-top: 1.9em; }
.prose h3 { font-size: 20px; margin-top: 1.5em; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li + li { margin-top: .4em; }
.prose li::marker { color: var(--accent-text); }
.prose a { color: var(--accent-text); text-underline-offset: 3px; }
.prose strong { color: var(--fg); }
.table-wrap { overflow-x: auto; border: 1px solid var(--line); }
.prose table { width: 100%; border-collapse: collapse; font-size: 16px; min-width: 520px; font-variant-numeric: tabular-nums; }
.prose th, .prose td { text-align: left; padding: 11px 14px; border-bottom: 1px solid var(--line); }
.prose thead th { background: var(--surface); font-family: var(--font-mono); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); font-weight: 400; }
.prose tr:last-child td { border-bottom: 0; }
.faq { margin-top: 2.4em; border-top: 1px solid var(--line); }
.faq h2 { font-family: var(--font-serif); font-weight: 600; font-size: 28px; margin: 1.4em 0 .4em; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; padding: 18px 36px 18px 0; font-family: var(--font-display); font-weight: 700; font-size: 18px; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 4px; top: 14px; font-size: 24px; color: var(--accent-text); font-weight: 400; transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding-bottom: 18px; color: var(--muted); }

/* CTA band */
.cta-band { background: var(--accent); color: var(--accent-ink); }
.cta-band .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px 32px; padding-block: clamp(32px, 5vw, 52px); }
.cta-band h2 { font-size: clamp(24px, 3vw, 34px); max-width: 26ch; }
.cta-band p { margin-top: 8px; max-width: 52ch; }
.cta-band .btn-load { background: var(--accent-ink); color: var(--accent); box-shadow: inset 0 0 0 2px var(--accent-ink); }
.cta-band .btn-load::before { background: #FFFFFF; }
.cta-band .btn-load:hover, .cta-band .btn-load:focus-visible { color: var(--accent-ink); }
.related { padding-block: clamp(48px, 6vw, 72px) 0; }
.related h2 { font-family: var(--font-serif); font-weight: 600; font-size: 30px; margin-bottom: 24px; }
.related .cards { padding-bottom: clamp(48px, 6vw, 72px); }

/* advogados */
.lp-hero { padding-block: clamp(56px, 8vw, 104px); border-bottom: 1px solid var(--line); background: radial-gradient(80% 120% at 90% 0%, color-mix(in srgb, var(--accent) 10%, transparent), transparent 60%); }
.lp-hero-inner { display: grid; gap: 22px; justify-items: start; }
.lp-hero h1 { font-size: clamp(36px, 5.6vw, 66px); max-width: 20ch; }
.lp-hero .lead { color: var(--muted); font-size: clamp(17px, 1.6vw, 20px); max-width: 60ch; }
.ctas { display: flex; flex-wrap: wrap; gap: 12px; }
section.block { padding-block: clamp(56px, 8vw, 96px); border-bottom: 1px solid var(--line); }
.head { display: grid; gap: 12px; max-width: 760px; margin-bottom: clamp(28px, 4vw, 44px); }
.head h2 { font-size: clamp(28px, 3.8vw, 44px); }
.head p { color: var(--muted); }
.two-col { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(24px, 5vw, 64px); align-items: start; }
.two-col .head { margin-bottom: 0; }
.rules { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.rule { background: var(--surface); border: 1px solid var(--line); border-radius: 8px; padding: 22px; }
.rule h3 { font-size: 20px; margin-bottom: 10px; display: flex; align-items: center; gap: 10px; }
.rule h3::before { content: ""; width: 12px; height: 12px; border-radius: 50%; background: var(--good); }
.rule.no h3::before { background: var(--bad); }
.rule ul { margin: 0; padding-left: 1.1em; color: var(--muted); font-size: 15.5px; display: grid; gap: 6px; }
.rules .fine { grid-column: 1 / -1; font-size: 13.5px; color: var(--muted); }
.svc-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: 8px; overflow: hidden; }
.svc-grid article { background: var(--bg); padding: clamp(22px, 3vw, 32px); display: grid; gap: 10px; align-content: start; }
.svc-grid .tag { font-family: var(--font-mono); font-size: 12px; color: var(--accent-text); }
.svc-grid h3 { font-size: 23px; }
.svc-grid p { color: var(--muted); }
.steps-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 18px; counter-reset: s; }
.steps-list li { counter-increment: s; display: grid; gap: 8px; align-content: start; padding-top: 16px; border-top: 2px solid var(--line); }
.steps-list li::before { content: counter(s, decimal-leading-zero); font-family: var(--font-mono); font-size: 13px; color: var(--accent-text); }
.steps-list b { font-family: var(--font-display); font-size: 19px; }
.steps-list span { color: var(--muted); font-size: 15px; }
.page-faq { max-width: 860px; }
@media (max-width: 900px) { .two-col { grid-template-columns: minmax(0, 1fr); } .steps-list { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .rules, .svc-grid, .steps-list { grid-template-columns: minmax(0, 1fr); } }

/* footer */
footer.site-foot { border-top: 1px solid var(--line); padding-block: 40px; color: var(--muted); font-size: 14.5px; }
.foot-grid { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 24px; align-items: flex-start; }
.foot-grid nav { display: flex; flex-wrap: wrap; gap: 10px 24px; }
.foot-grid nav a { text-decoration: none; } .foot-grid nav a:hover { color: var(--fg); }
.foot-grid .logo { height: 20px; margin-bottom: 10px; }
