/* ============================================================
   Melina Moura Advocacia — Design system
   Direção: autoridade editorial. Papel frio + tinta navy +
   um único acento bronze usado com parcimônia.
   Display: Spectral (serif). Corpo: pilha de sistema (rápido).
   ============================================================ */

:root {
  /* Kintsugi — neutros (porcelana + tinta sumi). 70–90% dos pixels */
  --paper:    #f3efe7;   /* porcelana / cerâmica quente */
  --surface:  #faf8f2;   /* esmalte claro (cards) */
  --ink:      #221e18;   /* sumi — preto-marrom quente */
  --ink-soft: #3a342b;
  --muted:    #645a4b;   /* texto secundário (taupe) — ≥4.5:1 na porcelana */
  --border:   #e4ddcf;
  --hairline: #d8cfbd;

  /* Laca (urushi) — seções escuras */
  --deep:     #17120d;
  --deep-2:   #0f0b07;
  --on-deep:  #efe9dc;
  --on-deep-muted: #a99c86;

  /* Acento único — OURO kintsugi (5–10%) */
  --accent:      #b08a3e;   /* ouro */
  --accent-deep: #7a5d28;   /* ouro escuro p/ texto sobre claro (≥4.5:1) */
  --accent-tint: #efe6d2;   /* ouro pálido (fundos) */

  /* Folha de ouro — degradê metálico (veios e costuras) */
  --gold-1: #e8cf8a;   /* brilho */
  --gold-2: #c9a24a;   /* meio */
  --gold-3: #9a7327;   /* sombra */
  --gold-grad: linear-gradient(120deg, #9a7327 0%, #e8cf8a 34%, #c9a24a 58%, #8a6420 100%);

  /* Tipografia */
  --font-display: 'Spectral', 'Iowan Old Style', 'Charter', Georgia, 'Times New Roman', serif;
  --font-body: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, system-ui, sans-serif;

  /* Escala (1.25) */
  --step--1: clamp(0.8rem, 0.78rem + 0.1vw, 0.86rem);
  --step-0:  clamp(1rem, 0.96rem + 0.2vw, 1.06rem);
  --step-1:  clamp(1.2rem, 1.12rem + 0.4vw, 1.33rem);
  --step-2:  clamp(1.45rem, 1.3rem + 0.7vw, 1.75rem);
  --step-3:  clamp(1.85rem, 1.6rem + 1.2vw, 2.4rem);
  --step-4:  clamp(2.3rem, 1.9rem + 2vw, 3.4rem);
  --step-5:  clamp(2.9rem, 2.2rem + 3.4vw, 4.8rem);

  --maxw: 1180px;
  --gutter: clamp(20px, 5vw, 64px);
  --radius: 4px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: var(--step-0);
  line-height: 1.65;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; height: auto; display: block; }

::selection { background: var(--accent-tint); color: var(--ink); }

a { color: inherit; text-decoration: none; }

/* ---------- Tipografia base ---------- */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 500;
  line-height: 1.1;
  letter-spacing: -0.015em;
  color: var(--ink);
  text-wrap: balance;
}
h1 { font-size: var(--step-5); letter-spacing: -0.025em; font-weight: 400; }
h2 { font-size: var(--step-3); }
h3 { font-size: var(--step-1); letter-spacing: -0.01em; }
p  { max-width: 65ch; text-wrap: pretty; }
strong { font-weight: 600; }

.lead {
  font-size: var(--step-1);
  line-height: 1.55;
  color: var(--ink-soft);
  font-weight: 400;
}

/* ---------- Layout ---------- */
.container { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: clamp(56px, 8vw, 116px); }
.section--tight { padding-block: clamp(40px, 5vw, 72px); }
.divider { border: 0; height: 1px; background: linear-gradient(90deg, transparent, var(--accent) 18%, var(--gold-1) 50%, var(--accent) 82%, transparent); opacity: 0.85; }

.kicker {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-body);
  font-size: 0.72rem; font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.16em;
  color: var(--accent-deep);
}
.kicker::before {
  content: attr(data-num);
  font-variant-numeric: tabular-nums;
  color: var(--muted); letter-spacing: 0.1em;
}
.kicker--plain::before { content: none; }

.sec-head { max-width: 60ch; margin-bottom: clamp(28px, 4vw, 52px); }
.sec-head h2 { margin-top: 14px; }
.sec-head p { margin-top: 16px; color: var(--muted); }

/* ---------- Botões (CTAs neutros, conformes OAB) ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 26px;
  font-family: var(--font-body); font-size: 0.95rem; font-weight: 600;
  letter-spacing: 0.01em;
  border-radius: var(--radius); cursor: pointer;
  border: 1px solid var(--ink);
  background: var(--ink); color: #fff;
  transition: transform 0.15s var(--ease), background 0.2s, box-shadow 0.2s;
}
.btn:hover { background: var(--deep); transform: translateY(-2px); box-shadow: 0 10px 24px rgba(18,26,48,0.18); }
.btn:active { transform: translateY(0); }
.btn--ghost { background: transparent; color: var(--ink); border-color: var(--hairline); }
.btn--ghost:hover { background: var(--surface); border-color: var(--ink); box-shadow: 0 8px 20px rgba(18,26,48,0.08); }
.btn--light { background: #fff; color: var(--ink); border-color: #fff; }
.btn--light:hover { background: var(--accent-tint); }
.btn .ic { width: 18px; height: 18px; stroke: currentColor; stroke-width: 1.7; fill: none; }

.link-arrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-weight: 600; font-size: 0.95rem; color: var(--ink);
  border-bottom: 1px solid var(--hairline); padding-bottom: 3px;
  transition: gap 0.2s var(--ease), border-color 0.2s, color 0.2s;
}
.link-arrow:hover { gap: 13px; border-color: var(--accent); color: var(--accent-deep); }
.link-arrow .ic { width: 16px; height: 16px; stroke: currentColor; stroke-width: 1.8; fill: none; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--paper) 88%, transparent);
  backdrop-filter: saturate(180%) blur(12px);
  -webkit-backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s, background 0.3s;
}
.site-header.is-scrolled { border-color: var(--border); }
.nav { display: flex; align-items: center; justify-content: space-between; min-height: 78px; gap: 24px; }
.brand { display: flex; align-items: baseline; gap: 12px; }
.brand .mark {
  font-family: var(--font-display); font-weight: 500; font-size: 1.28rem;
  letter-spacing: -0.01em; color: var(--ink);
}
.brand .mark b { font-weight: 600; }
.brand .oab {
  font-size: 0.62rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--muted); border-left: 1px solid var(--hairline); padding-left: 12px;
}
.nav-links { display: flex; align-items: center; gap: 30px; list-style: none; }
.nav-links a {
  font-size: 0.92rem; font-weight: 500; color: var(--ink-soft); position: relative; padding: 6px 0;
  transition: color 0.2s;
}
.nav-links a::after {
  content: ''; position: absolute; left: 0; bottom: 0; width: 0; height: 1.5px;
  background: var(--accent); transition: width 0.25s var(--ease);
}
.nav-links a:hover, .nav-links a[aria-current="page"] { color: var(--ink); }
.nav-links a:hover::after, .nav-links a[aria-current="page"]::after { width: 100%; }
.nav-right { display: flex; align-items: center; gap: 16px; }
.nav-toggle {
  display: none; width: 46px; height: 46px; border: 1px solid var(--border);
  border-radius: var(--radius); background: var(--surface); cursor: pointer;
  align-items: center; justify-content: center;
}
.nav-toggle .bars { display: block; width: 20px; height: 2px; background: var(--ink); position: relative; transition: background 0.2s; }
.nav-toggle .bars::before, .nav-toggle .bars::after {
  content: ''; position: absolute; left: 0; width: 20px; height: 2px; background: var(--ink);
  transition: transform 0.25s var(--ease), top 0.25s;
}
.nav-toggle .bars::before { top: -6px; }
.nav-toggle .bars::after { top: 6px; }
.nav-toggle[aria-expanded="true"] .bars { background: transparent; }
.nav-toggle[aria-expanded="true"] .bars::before { top: 0; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] .bars::after { top: 0; transform: rotate(-45deg); }

/* ---------- Hero ---------- */
.hero { position: relative; padding-block: clamp(64px, 11vw, 150px) clamp(48px, 7vw, 96px); overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.55fr 1fr; gap: clamp(36px, 5vw, 80px); align-items: end; }
.hero h1 { margin-bottom: 0; }
.hero .lead { margin-top: 26px; max-width: 46ch; }
.hero-cta { margin-top: 38px; display: flex; flex-wrap: wrap; gap: 14px; }
.hero-aside {
  border-left: 1px solid var(--hairline); padding-left: clamp(20px, 2.5vw, 34px);
  align-self: stretch; display: flex; flex-direction: column; justify-content: flex-end; gap: 22px;
}
.hero-aside .aside-item { }
.hero-aside .aside-item .t { font-family: var(--font-display); font-size: 1.05rem; color: var(--ink); margin-bottom: 4px; }
.hero-aside .aside-item .d { font-size: 0.86rem; color: var(--muted); }
.serif-accent { font-style: italic; color: var(--accent-deep); }

/* ---------- Áreas (cards) ---------- */
.area-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--border); border: 1px solid var(--border); }
.area-card {
  background: var(--surface); padding: clamp(28px, 3vw, 44px); display: flex; flex-direction: column;
  min-height: 320px; position: relative; transition: background 0.3s, transform 0.3s var(--ease);
}
.area-card:hover { background: #fff; }
.area-card .num { font-family: var(--font-display); font-size: 0.95rem; color: var(--accent-deep); letter-spacing: 0.1em; }
.area-card h3 { margin-top: 18px; font-size: var(--step-2); }
.area-card p { margin-top: 14px; color: var(--muted); font-size: 0.96rem; flex-grow: 1; }
.area-card .topics { list-style: none; margin: 18px 0; display: flex; flex-wrap: wrap; gap: 8px; }
.area-card .topics li {
  font-size: 0.78rem; color: var(--ink-soft); background: var(--paper);
  border: 1px solid var(--border); border-radius: 999px; padding: 5px 12px;
}
.area-card .link-arrow { margin-top: auto; align-self: flex-start; }

/* ---------- Bloco "sobre" resumido ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.portrait {
  position: relative; aspect-ratio: 4/5; border-radius: var(--radius); overflow: hidden;
  background: linear-gradient(155deg, var(--deep), var(--deep-2));
  display: flex; align-items: flex-end; padding: 28px;
}
/* Rachadura dourada — SVG inline no HTML (.portrait > .crack), não data-URI,
   para o coletor de assets do deploy não tratar como arquivo externo. */
.portrait .crack { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; mix-blend-mode: screen; opacity: 0.95; }
.portrait .crack path { stroke: url(#crackGold); fill: none; stroke-linecap: round; }
.portrait .ph-label { color: var(--on-deep-muted); font-size: 0.8rem; letter-spacing: 0.04em; position: relative; z-index: 1; }
.portrait .seal { z-index: 1; }
.portrait .seal {
  position: absolute; top: 24px; right: 24px; width: 64px; height: 64px; border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.2); display: grid; place-items: center;
  font-family: var(--font-display); color: var(--on-deep); font-size: 0.7rem; text-align: center; line-height: 1.2;
}
.stat-row { display: flex; gap: clamp(24px, 4vw, 48px); margin-top: 30px; flex-wrap: wrap; }
.stat .n { font-family: var(--font-display); font-size: var(--step-2); color: var(--ink); }
.stat .l { font-size: 0.82rem; color: var(--muted); margin-top: 2px; max-width: 18ch; }

/* ---------- Artigos (blog) ---------- */
.article-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(20px, 2.5vw, 32px); }
.post-card {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 26px; display: flex; flex-direction: column; gap: 14px;
  transition: transform 0.25s var(--ease), box-shadow 0.25s, border-color 0.25s;
}
.post-card:hover { transform: translateY(-4px); box-shadow: 0 16px 40px rgba(18,26,48,0.09); border-color: var(--hairline); }
.post-card .tag {
  align-self: flex-start; font-size: 0.7rem; font-weight: 600; text-transform: uppercase;
  letter-spacing: 0.08em; color: var(--accent-deep); background: var(--accent-tint);
  padding: 4px 10px; border-radius: 3px;
}
.post-card h3 { font-size: var(--step-1); }
.post-card .excerpt { font-size: 0.92rem; color: var(--muted); flex-grow: 1; }
.post-card .meta { font-size: 0.8rem; color: var(--muted); display: flex; gap: 10px; align-items: center; }
.post-card time { font-variant-numeric: tabular-nums; }

/* ---------- Caixa de autora (E-E-A-T) ---------- */
.author-box {
  display: flex; gap: 22px; align-items: flex-start; background: var(--surface);
  border: 1px solid var(--border); border-radius: var(--radius); padding: 26px;
}
.author-box .avatar {
  flex: none; width: 72px; height: 72px; border-radius: 50%;
  background: linear-gradient(155deg, var(--deep), var(--deep-2)); color: var(--on-deep);
  display: grid; place-items: center; font-family: var(--font-display); font-size: 1.4rem;
}
.author-box .who { font-family: var(--font-display); font-size: 1.1rem; }
.author-box .oab { font-size: 0.8rem; color: var(--accent-deep); font-weight: 600; letter-spacing: 0.04em; margin: 2px 0 8px; }
.author-box .bio { font-size: 0.9rem; color: var(--muted); }

/* ---------- Depoimentos ---------- */
.quote-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(20px, 2.5vw, 28px); }
.quote-card {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  padding: clamp(26px, 3vw, 38px); display: flex; flex-direction: column; gap: 18px;
}
.quote-card .q-mark { font-family: var(--font-display); font-size: 2.6rem; line-height: 0.5; color: var(--accent); height: 24px; }
.quote-card blockquote { font-family: var(--font-display); font-size: var(--step-1); line-height: 1.45; color: var(--ink); font-weight: 400; }
.quote-card .by { font-size: 0.84rem; color: var(--muted); margin-top: auto; }
.quote-card .by b { color: var(--ink-soft); font-weight: 600; }

.notice {
  background: var(--accent-tint); border: 1px solid color-mix(in srgb, var(--accent) 30%, transparent);
  border-radius: var(--radius); padding: 18px 22px; font-size: 0.88rem; color: var(--ink-soft);
  display: flex; gap: 12px; align-items: flex-start;
}
.notice .ic { flex: none; width: 20px; height: 20px; stroke: var(--accent-deep); stroke-width: 1.7; fill: none; margin-top: 1px; }

/* ---------- Formulário ---------- */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { display: flex; flex-direction: column; gap: 7px; }
.field.full { grid-column: 1 / -1; }
.field label { font-size: 0.82rem; font-weight: 600; color: var(--ink-soft); letter-spacing: 0.01em; }
.field input, .field textarea, .field select {
  font-family: var(--font-body); font-size: 0.98rem; color: var(--ink);
  background: var(--surface); border: 1px solid var(--hairline); border-radius: var(--radius);
  padding: 14px 16px; min-height: 52px; transition: border-color 0.2s, box-shadow 0.2s;
}
.field textarea { min-height: 140px; resize: vertical; }
.field input:focus, .field textarea:focus, .field select:focus {
  outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-tint);
}
.field .err { font-size: 0.78rem; color: #b4452f; display: none; }
.field.invalid input, .field.invalid textarea { border-color: #c75a43; }
.field.invalid .err { display: block; }
.consent { display: flex; gap: 12px; align-items: flex-start; font-size: 0.84rem; color: var(--muted); }
.consent input { width: 20px; height: 20px; min-height: 0; flex: none; margin-top: 2px; accent-color: var(--accent); }
.form-status { font-size: 0.9rem; padding: 14px 16px; border-radius: var(--radius); display: none; }
.form-status.ok { display: block; background: #e9f1ea; color: #2c5d3a; border: 1px solid #bcd8c4; }

/* ---------- Breadcrumb ---------- */
.crumbs { font-size: 0.82rem; color: var(--muted); display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.crumbs a:hover { color: var(--accent-deep); }
.crumbs .sep { color: var(--hairline); }

/* ---------- Página: cabeçalho de seção interna ---------- */
.page-head { padding-block: clamp(40px, 6vw, 80px) clamp(20px, 3vw, 36px); }
.page-head h1 { font-size: var(--step-4); margin-top: 18px; }
.page-head p { margin-top: 18px; color: var(--muted); }

/* ---------- Bloco CTA escuro ---------- */
.cta-band { background: var(--deep); color: var(--on-deep); border-radius: var(--radius); padding: clamp(36px, 5vw, 64px); position: relative; overflow: hidden; }
.cta-band h2 { color: #fff; }
.cta-band p { color: var(--on-deep-muted); margin-top: 14px; }
.cta-band .hero-cta { margin-top: 30px; }
.cta-band .edge { position: absolute; right: -40px; top: -40px; width: 220px; height: 220px; border: 1px solid rgba(255,255,255,0.07); border-radius: 50%; }
.cta-band .edge.b { right: 20px; top: 20px; width: 140px; height: 140px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--deep-2); color: var(--on-deep-muted); padding-block: clamp(48px, 6vw, 80px) 32px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: clamp(28px, 4vw, 56px); }
.footer-grid h4 { color: var(--on-deep); font-family: var(--font-body); font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.12em; font-weight: 600; margin-bottom: 16px; }
.footer-grid ul { list-style: none; display: flex; flex-direction: column; gap: 11px; }
.footer-grid a { font-size: 0.9rem; transition: color 0.2s; }
.footer-grid a:hover { color: var(--on-deep); }
.footer-brand .mark { font-family: var(--font-display); font-size: 1.4rem; color: #fff; }
.footer-brand p { font-size: 0.9rem; margin-top: 14px; max-width: 34ch; }
.footer-bottom { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; margin-top: clamp(36px, 5vw, 60px); padding-top: 24px; border-top: 1px solid rgba(255,255,255,0.08); font-size: 0.8rem; }
.footer-bottom .compliance { max-width: 62ch; line-height: 1.6; }

/* ---------- Reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: 0.08s; }
.reveal.d2 { transition-delay: 0.16s; }
.reveal.d3 { transition-delay: 0.24s; }

/* ---------- Mobile nav drawer ---------- */
.mobile-menu {
  position: fixed; inset: 0 0 0 auto; width: min(86vw, 360px); background: var(--surface);
  transform: translateX(100%); transition: transform 0.32s var(--ease); z-index: 60;
  box-shadow: -20px 0 60px rgba(18,26,48,0.18); display: flex; flex-direction: column; padding: 28px 26px;
}
.mobile-menu.open { transform: none; }
.mobile-menu .mm-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 28px; }
.mobile-menu .mm-close { width: 46px; height: 46px; border: 1px solid var(--border); border-radius: var(--radius); background: var(--surface); font-size: 22px; color: var(--ink); cursor: pointer; }
.mobile-menu nav { display: flex; flex-direction: column; gap: 4px; }
.mobile-menu nav a { font-family: var(--font-display); font-size: 1.45rem; padding: 12px 0; border-bottom: 1px solid var(--border); color: var(--ink); }
.mobile-menu .mm-cta { margin-top: 26px; }
.scrim { position: fixed; inset: 0; background: rgba(13,20,38,0.4); opacity: 0; visibility: hidden; transition: opacity 0.3s; z-index: 55; }
.scrim.open { opacity: 1; visibility: visible; }

/* ============================================================
   Responsivo
   ============================================================ */
@media (max-width: 980px) {
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero-aside { border-left: 0; border-top: 1px solid var(--hairline); padding-left: 0; padding-top: 26px; flex-direction: row; flex-wrap: wrap; gap: 28px; }
  .area-grid { grid-template-columns: 1fr; }
  .article-grid { grid-template-columns: 1fr 1fr; }
  .split { grid-template-columns: 1fr; }
  .split .portrait { max-width: 420px; }
  .quote-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 720px) {
  .nav-links, .nav-right .btn { display: none; }
  .nav-toggle { display: flex; }
  .article-grid { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px 24px; }
  .author-box { flex-direction: column; gap: 16px; }
}
@media (max-width: 460px) {
  .footer-grid { grid-template-columns: 1fr; }
  .brand .oab { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  * { scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* ============================================================
   Kintsugi — folha de ouro, veios e costuras
   ============================================================ */

/* Texto em ouro metálico — usar só em texto grande (≥18px) */
.gold {
  background: var(--gold-grad);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}

/* Costura dourada reutilizável (linha de junção kintsugi) */
.seam {
  height: 2px; border: 0; width: 100%;
  background: var(--gold-grad);
  background-size: 200% 100%;
  border-radius: 2px;
}

/* Hero em laca (urushi) escura com veio de ouro */
.hero--lacquer { background: var(--deep); color: var(--on-deep); }
.hero--lacquer::before {
  content: ''; position: absolute; inset: 0; pointer-events: none; opacity: 0.5;
  background:
    radial-gradient(60% 80% at 85% 30%, rgba(201,162,74,0.10), transparent 70%),
    radial-gradient(50% 60% at 10% 90%, rgba(122,93,40,0.10), transparent 70%);
}
.hero--lacquer::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold-3) 12%, var(--gold-1) 50%, var(--gold-3) 88%, transparent);
}
.hero--lacquer .container { position: relative; z-index: 2; }
.hero--lacquer h1 { color: var(--on-deep); }
.hero--lacquer .lead { color: var(--on-deep-muted); }
.hero--lacquer .kicker { color: var(--gold-1); }
.hero--lacquer .kicker::before { color: var(--on-deep-muted); }
.hero--lacquer .serif-accent { color: var(--gold-1); }
.hero--lacquer .hero-aside { border-color: rgba(232,207,138,0.22); }
.hero--lacquer .hero-aside .aside-item .t { color: var(--on-deep); }
.hero--lacquer .hero-aside .aside-item .d { color: var(--on-deep-muted); }
.hero--lacquer .btn--ghost { color: var(--on-deep); border-color: rgba(232,207,138,0.32); }
.hero--lacquer .btn--ghost:hover { background: rgba(232,207,138,0.08); border-color: var(--gold-2); box-shadow: none; }

/* Veio decorativo do hero (SVG inline posicionado) */
.hero-vein { position: absolute; top: 0; right: clamp(-30px, 2vw, 60px); height: 100%; width: auto; z-index: 1; pointer-events: none; opacity: 0.9; }
.hero-vein path { stroke: url(#veinGold); fill: none; stroke-linecap: round; }
@media (max-width: 980px) { .hero-vein { opacity: 0.35; right: -10%; } }

/* Costura que cresce no hover dos cards (junção kintsugi) */
.area-card { overflow: hidden; }
.area-card::before, .post-card::before {
  content: ''; position: absolute; left: 0; right: 0; top: 0; height: 2px;
  background: var(--gold-grad); transform: scaleX(0); transform-origin: left;
  transition: transform 0.5s var(--ease);
}
.post-card { position: relative; overflow: hidden; }
.area-card:hover::before, .post-card:hover::before { transform: scaleX(1); }

/* Botão primário com fio de ouro */
.btn--light:hover { background: var(--accent-tint); }
.btn.btn--gold { background: var(--deep); border-color: var(--gold-3); }
.btn.btn--gold:hover { border-color: var(--gold-1); box-shadow: 0 10px 28px rgba(122,93,40,0.28); }

/* Marca do cabeçalho com sublinhado dourado sutil */
.brand .mark b { background: var(--gold-grad); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: transparent; }

/* Faixa CTA — bordas em ouro */
.cta-band .edge { border-color: rgba(232,207,138,0.16); }
.cta-band::after {
  content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 3px;
  background: var(--gold-grad);
}

/* Selo do retrato — anel dourado */
.portrait .seal { border-color: rgba(232,207,138,0.4); color: var(--gold-1); }

/* Costura no topo do rodapé */
.site-footer { position: relative; }
.site-footer::before {
  content: ''; position: absolute; left: 0; right: 0; top: 0; height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold-3), var(--gold-1) 50%, var(--gold-3), transparent);
  opacity: 0.6;
}

/* Hero interno em laca (páginas de pilar / artigo) */
.page-hero { position: relative; overflow: hidden; background: var(--deep); color: var(--on-deep); }
.page-hero .page-head { position: relative; z-index: 2; }
.page-hero::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold-3) 12%, var(--gold-1) 50%, var(--gold-3) 88%, transparent);
}
.page-hero .crumbs { color: var(--on-deep-muted); }
.page-hero .crumbs a { color: var(--on-deep); }
.page-hero .crumbs a:hover { color: var(--gold-1); }
.page-hero .crumbs .sep { color: rgba(232,207,138,0.35); }
.page-hero .kicker { color: var(--gold-1); }
.page-hero .kicker::before { color: var(--on-deep-muted); }
.page-hero h1 { color: var(--on-deep); }
.page-hero .lead, .page-hero .page-head p { color: var(--on-deep-muted); }

/* Corpo de artigo (prose) — medida de leitura confortável */
.prose { max-width: 68ch; }
.prose > * + * { margin-top: 1.15em; }
.prose h2 { font-size: var(--step-2); margin-top: 1.7em; }
.prose h3 { font-size: var(--step-1); margin-top: 1.4em; }
.prose p, .prose li { color: var(--ink-soft); }
.prose ul, .prose ol { margin-left: 1.2em; display: flex; flex-direction: column; gap: 0.55em; }
.prose a { color: var(--accent-deep); border-bottom: 1px solid var(--hairline); transition: border-color 0.2s; }
.prose a:hover { border-color: var(--accent); }
.prose blockquote {
  border-left: 2px solid; border-image: var(--gold-grad) 1; padding-left: 22px;
  font-family: var(--font-display); font-style: italic; font-size: var(--step-1); color: var(--ink); max-width: 56ch;
}
.prose .source { font-size: 0.86rem; color: var(--muted); }
.article-meta { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; font-size: 0.86rem; color: var(--on-deep-muted); margin-top: 20px; }
.article-meta time { font-variant-numeric: tabular-nums; }
.article-meta .dot { color: rgba(232,207,138,0.4); }
