/* Estilo das páginas de artigos */
:root {
  --ink: #121815; --graphite: #2a302d; --graphite-2: #1b2320; --paper: #f4f1ea; --paper-2: #ebe6dc;
  --cream: #efe5d3; --muted: #6f746f; --line: rgba(42,48,45,.14); --accent: #c9ae84; --accent-dark: #86704b;
  --sans: Manrope, ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --serif: "Cormorant Garamond", "Times New Roman", Georgia, serif;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: var(--sans); color: var(--graphite); background: var(--paper); line-height: 1.75; -webkit-font-smoothing: antialiased; }
a { color: inherit; }
img { max-width: 100%; display: block; }

/* Cabeçalho */
.top { background: var(--ink); color: var(--paper); }
.top .nav { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 84px; max-width: 1240px; margin: 0 auto; padding: 0 32px; }
.brand { display: flex; align-items: center; gap: 14px; text-decoration: none; }
.brand img { height: 46px; width: auto; }
.brand .bar { width: 1px; height: 36px; background: currentColor; opacity: .7; }
.brand-txt { display: flex; flex-direction: column; line-height: 1; }
.brand-txt strong { font-family: var(--serif); font-weight: 600; letter-spacing: .05em; text-transform: uppercase; font-size: 17px; line-height: 1.02; }
.brand-txt small { font-family: var(--serif); font-weight: 500; font-size: 8.5px; letter-spacing: .55em; text-transform: uppercase; margin-top: 5px; opacity: .8; }
.top-links { display: flex; align-items: center; gap: 12px; }

/* Botões (mesmo padrão do site) */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-family: var(--sans); font-size: 12px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase;
  padding: 14px 24px; border-radius: 2px; border: 1px solid transparent; text-decoration: none; white-space: nowrap;
  transition: background .25s, border-color .25s;
}
.btn-cream { background: var(--cream); border-color: var(--cream); color: var(--ink); }
.btn-cream:hover { background: #f8f2e6; border-color: #f8f2e6; }
.btn-glass { background: transparent; border-color: rgba(244,241,234,.2); color: var(--paper); }
.btn-glass:hover { border-color: rgba(244,241,234,.38); }
.btn-line { background: transparent; border-color: rgba(42,48,45,.25); color: var(--graphite); }
.btn-line:hover { border-color: var(--graphite); }
.btn .lbl { position: relative; }
.btn .lbl::after { content: ""; position: absolute; left: 0; right: 0; bottom: -5px; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: left; transition: transform .4s ease; }
.btn:hover .lbl::after { transform: scaleX(1); }
.btn .arr { font-size: 14px; line-height: 1; opacity: .6; margin-left: 2px; transition: transform .3s ease, opacity .3s ease; }
.btn:hover .arr { transform: translateX(4px); opacity: 1; }

/* Capa do artigo */
.article-head { background: var(--graphite-2); color: var(--paper); padding: 72px 0 64px; }
.wrap { max-width: 780px; margin: 0 auto; padding: 0 24px; }
.wide { max-width: 1240px; margin: 0 auto; padding: 0 32px; }
.crumbs { font-size: 12.5px; letter-spacing: .06em; opacity: .65; margin-bottom: 28px; }
.crumbs a { text-decoration: none; }
.crumbs a:hover { text-decoration: underline; }
.tag { display: inline-block; font-size: 11.5px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--accent); margin-bottom: 16px; }
.article-head h1 { font-weight: 600; font-size: clamp(32px, 4.6vw, 52px); line-height: 1.08; letter-spacing: -.035em; }
.article-head .lead { font-size: 18px; opacity: .82; margin-top: 20px; line-height: 1.6; }
.byline { display: flex; align-items: center; gap: 14px; margin-top: 36px; font-size: 13px; }
.byline img { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; object-position: center 20%; }
.byline span { display: block; opacity: .65; font-size: 12.5px; }

/* Corpo */
.article-body { padding: 64px 0 40px; }
.article-body h2 { font-size: 25px; font-weight: 600; letter-spacing: -.02em; line-height: 1.25; margin: 52px 0 14px; }
.article-body h3 { font-size: 18px; font-weight: 600; margin: 30px 0 8px; }
.article-body p, .article-body li { font-size: 16.5px; }
.article-body p + p { margin-top: 14px; }
.article-body ul, .article-body ol { margin: 14px 0 0 22px; }
.article-body li + li { margin-top: 8px; }
.article-body strong { font-weight: 600; }
.law { font-size: 13px; color: var(--muted); white-space: nowrap; }
.callout { background: var(--paper-2); border-left: 2px solid var(--accent-dark); padding: 22px 26px; margin: 28px 0; }
.callout p { font-size: 15.5px; }
.callout .t { font-size: 11.5px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--accent-dark); margin-bottom: 6px; }
.table-wrap { overflow-x: auto; margin: 22px 0; }
table { width: 100%; border-collapse: collapse; font-size: 15px; min-width: 480px; }
th, td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--line); vertical-align: top; }
th { font-size: 12px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); background: var(--paper-2); }
.summary { border: 1px solid var(--line); padding: 26px 28px; margin: 48px 0 0; }
.summary h2 { margin-top: 0; font-size: 20px; }
.disclaimer { font-size: 13.5px; color: var(--muted); margin-top: 40px; padding-top: 20px; border-top: 1px solid var(--line); }

/* Chamada para contato */
.cta { background: var(--graphite-2); color: var(--paper); padding: 44px 40px; margin: 48px 0 0; }
.cta h2 { margin: 0 0 10px; font-size: 24px; }
.cta p { opacity: .8; font-size: 15.5px; margin-bottom: 24px; }
.cta .btns { display: flex; gap: 12px; flex-wrap: wrap; }

/* Lista de artigos */
.related { padding: 56px 0 96px; }
.related h2 { font-size: 13px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); margin-bottom: 20px; }
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.card { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); padding: 28px 26px; text-decoration: none; transition: border-color .25s, transform .25s; }
.card:hover { border-color: var(--graphite); transform: translateY(-2px); }
.card .tag { color: var(--accent-dark); margin-bottom: 12px; }
.card h3 { font-size: 19px; font-weight: 600; letter-spacing: -.02em; line-height: 1.3; }
.card p { font-size: 14.5px; color: #5a5f5b; margin-top: 10px; flex: 1; }
.card .more { font-size: 12px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; margin-top: 20px; }

/* Rodapé */
.foot { background: var(--ink); color: rgba(244,241,234,.7); font-size: 12.5px; padding: 32px 0; }
.foot .wide { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.foot a { text-decoration: none; }
.foot a:hover { text-decoration: underline; }

/* WhatsApp flutuante */
.wa-float {
  position: fixed; right: 22px; bottom: 22px; z-index: 60; width: 60px; height: 60px; border-radius: 50%;
  background: rgba(18,24,21,.82); border: 1px solid rgba(255,255,255,.14); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  display: grid; place-items: center; box-shadow: 0 8px 24px rgba(0,0,0,.25); transition: transform .2s, background .2s;
}
.wa-float:hover { transform: scale(1.07); background: #25d366; }
.wa-float svg { width: 26px; height: 26px; fill: #fff; }

.wa-bar { display: none; }

@media (max-width: 900px) { .cards { grid-template-columns: 1fr; } }
@media (max-width: 600px) {
  .top .nav { padding: 0 16px; height: 72px; }
  .brand img { height: 38px; }
  .brand-txt strong { font-size: 15px; }
  .top-links .btn-glass { display: none; }
  .top-links .btn { padding: 10px 14px; font-size: 11px; }
  .wrap, .wide { padding: 0 16px; }
  .article-head { padding: 48px 0 44px; }
  .article-body p, .article-body li { font-size: 16px; }
  .cta { padding: 32px 22px; }
  .cta .btns .btn { width: 100%; }
  .wa-float { display: none; }
  .wa-bar {
    display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
    background: rgba(18,24,21,.94); border-top: 1px solid rgba(244,241,234,.14); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  }
  .wa-bar .btn { width: 100%; padding: 14px 20px; }
  .wa-bar svg { width: 16px; height: 16px; fill: currentColor; }
  body { padding-bottom: 72px; }
}
