/*
Theme Name: Direitos do Trabalhador
Description: Tema custom leve do blog acidentedetrabalho.blog.br (Gomes Ribeiro). Design proprio, branco+azul, SEO e leitura mobile.
Author: Carlos Eduardo
Version: 1.0.0
*/

:root {
    --ink:#10262b; --ink-soft:#46606a; --petrol:#0f4c5c; --petrol-mid:#1b6b84; --blue:#1789ac; --blue-deep:#125f7a;
    --amber:#e79b2e; --red:#d34836; --bg:#eef3f3; --surface:#ffffff; --surface-2:#f6faf9; --line:#d7e4e3;
    --shadow:0 1px 2px rgba(16,38,43,.04),0 8px 24px rgba(16,38,43,.06);
    --shadow-lg:0 2px 6px rgba(16,38,43,.06),0 18px 46px rgba(16,38,43,.12);
    --radius:14px; --wrap:1140px;
    --font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  }
  * { box-sizing: border-box; }
  body { margin: 0; }
  .page { font-family: var(--font); background: var(--bg); color: var(--ink); line-height: 1.6; font-size: 16px; -webkit-font-smoothing: antialiased; }
  .wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
  a { color: inherit; }
  h1,h2,h3,h4,h5 { text-wrap: balance; line-height: 1.18; letter-spacing: -.015em; margin: 0; }

  /* header */
  .top { position: sticky; top: 0; z-index: 30; background: color-mix(in srgb, var(--surface) 92%, transparent); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
  .top .wrap { display: flex; align-items: center; gap: 16px; height: 62px; }
  .brand { display: flex; align-items: center; gap: 10px; font-weight: 800; letter-spacing: -.02em; font-size: 1.02rem; text-decoration: none; }
  .brand .mark { width: 32px; height: 32px; border-radius: 8px; flex: none; background: linear-gradient(150deg, var(--petrol-mid), var(--petrol)); display: grid; place-items: center; color: #fff; }
  .brand .mark svg { width: 18px; height: 18px; }
  .brand small { display: block; font-weight: 600; font-size: .62rem; letter-spacing: .04em; color: var(--ink-soft); text-transform: uppercase; }
  .nav { margin-left: 8px; display: none; align-items: center; gap: 20px; }
  @media (min-width: 880px) { .nav { display: flex; } }
  .nav a { text-decoration: none; font-weight: 600; font-size: .9rem; color: var(--ink-soft); }
  .nav a:hover { color: var(--ink); }
  .search { margin-left: auto; display: flex; align-items: center; gap: 8px; background: var(--surface-2); border: 1px solid var(--line); border-radius: 999px; padding: 8px 14px; color: var(--ink-soft); font-size: .86rem; }
  .search input { border: 0; background: transparent; font: inherit; color: var(--ink); outline: none; width: 120px; }
  .btn { display: inline-flex; align-items: center; gap: 8px; text-decoration: none; background: var(--blue); color: #fff; font-weight: 700; font-size: .9rem; padding: 10px 17px; border-radius: 999px; border: 0; cursor: pointer; box-shadow: 0 6px 16px color-mix(in srgb, var(--blue) 30%, transparent); transition: transform .16s, box-shadow .16s; }
  .btn:hover { transform: translateY(-1px); box-shadow: 0 10px 22px color-mix(in srgb, var(--blue) 38%, transparent); }
  @media (max-width: 560px) { .top .wrap { gap: 10px; } .search { display: none; } .brand { font-size: .92rem; } .brand small { font-size: .58rem; } .btn { padding: 9px 13px; font-size: .82rem; } }

  /* blog top */
  .blog-top { padding: 32px 0 4px; }
  .bc { font-size: .84rem; color: var(--ink-soft); margin-bottom: 14px; }
  .bc a { color: var(--blue-deep); text-decoration: none; font-weight: 600; }
  .blog-top h1 { font-size: clamp(1.9rem, 4.3vw, 2.7rem); font-weight: 800; }
  .blog-top p { font-size: 1.14rem; color: var(--ink-soft); max-width: 54ch; margin: 14px 0 0; }

  /* body 2-col */
  .blog-body { padding: 24px 0; display: grid; gap: 34px; grid-template-columns: 1fr; }
  @media (min-width: 960px) { .blog-body { grid-template-columns: minmax(0,1fr) 312px; } }
  .main { min-width: 0; }
  .side { display: grid; gap: 16px; align-content: start; }
  @media (min-width: 960px) { .side { position: sticky; top: 78px; } }

  /* categorias */
  .cats { display: flex; gap: 9px; flex-wrap: wrap; margin-bottom: 20px; }
  .chip { text-decoration: none; font-size: .85rem; font-weight: 600; color: var(--ink-soft); background: var(--surface); border: 1px solid var(--line); padding: 7px 14px; border-radius: 999px; transition: .14s; }
  .chip:hover, .chip.on { color: #fff; background: var(--petrol-mid); border-color: var(--petrol-mid); }

  /* destaque horizontal com metadados */
  .feature { display: grid; grid-template-columns: 1fr; background: var(--surface); border: 1px solid var(--line); border-radius: 18px; overflow: hidden; box-shadow: var(--shadow-lg); text-decoration: none; color: inherit; transition: transform .16s, box-shadow .16s; margin-bottom: 24px; }
  @media (min-width: 620px) { .feature { grid-template-columns: 300px 1fr; } }
  .feature:hover { transform: translateY(-3px); box-shadow: 0 22px 54px rgba(16,38,43,.14); }
  .feature .img { min-height: 220px; background: color-mix(in srgb, var(--petrol-mid) 10%, var(--surface)); display: grid; place-items: center; font-size: 4rem; }
  .feature .body { padding: 26px; display: flex; flex-direction: column; gap: 10px; }
  .feature .metatop { display: flex; flex-wrap: wrap; gap: 4px 14px; font-size: .8rem; color: var(--ink-soft); }
  .feature .metatop .au { color: var(--ink); font-weight: 700; }
  .feature .metatop .upd { width: 100%; font-style: italic; }
  .feature .cat { font-size: .7rem; text-transform: uppercase; letter-spacing: .08em; font-weight: 800; color: var(--blue-deep); }
  .feature h2 { font-size: clamp(1.3rem, 2.5vw, 1.7rem); font-weight: 800; }
  .feature p { margin: 0; color: var(--ink-soft); font-size: 1rem; }
  .feature .go { font-weight: 700; color: var(--blue); font-size: .92rem; margin-top: 2px; }

  /* guias */
  .sec-title { font-size: 1.35rem; font-weight: 800; margin: 30px 0 16px; }
  .guides { display: grid; gap: 14px; grid-template-columns: 1fr; margin-bottom: 8px; }
  @media (min-width: 680px) { .guides { grid-template-columns: 1fr 1fr; } }
  .guide { display: flex; gap: 14px; align-items: center; text-decoration: none; color: inherit; background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 16px; box-shadow: var(--shadow); transition: transform .15s, box-shadow .15s, border-color .15s; }
  .guide:hover { transform: translateY(-2px); box-shadow: var(--shadow-lg); border-color: color-mix(in srgb, var(--blue) 40%, var(--line)); }
  .guide .ic { width: 50px; height: 50px; flex: none; border-radius: 12px; background: color-mix(in srgb, var(--petrol-mid) 12%, var(--surface)); display: grid; place-items: center; font-size: 1.55rem; }
  .guide .tag2 { font-size: .66rem; text-transform: uppercase; letter-spacing: .07em; font-weight: 800; color: var(--blue-deep); }
  .guide h3 { font-size: 1rem; font-weight: 800; margin-top: 2px; }
  .guide p { margin: 2px 0 0; font-size: .82rem; color: var(--ink-soft); }

  /* feed */
  .feed { display: grid; gap: 20px; grid-template-columns: 1fr; }
  @media (min-width: 560px) { .feed { grid-template-columns: 1fr 1fr; } }
  .card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; text-decoration: none; color: inherit; box-shadow: var(--shadow); display: flex; flex-direction: column; transition: transform .16s, box-shadow .16s; }
  .card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
  .card .thumb { height: 150px; background: color-mix(in srgb, var(--petrol-mid) 10%, var(--surface)); border-bottom: 1px solid var(--line); display: grid; place-items: center; font-size: 2.8rem; }
  .card .body { padding: 18px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
  .card .cat { font-size: .68rem; text-transform: uppercase; letter-spacing: .08em; font-weight: 800; color: var(--blue-deep); }
  .card h3 { font-size: 1.1rem; font-weight: 800; }
  .card p { margin: 0; color: var(--ink-soft); font-size: .92rem; flex: 1; }
  .card .meta { display: flex; align-items: center; gap: 8px; font-size: .8rem; color: var(--ink-soft); }
  .card .av { width: 22px; height: 22px; border-radius: 50%; background: linear-gradient(150deg, var(--petrol-mid), var(--petrol)); display: grid; place-items: center; color: #fff; font-weight: 700; font-size: .6rem; }
  .loadmore { text-align: center; margin-top: 28px; }
  .loadmore a { text-decoration: none; font-weight: 700; color: var(--blue-deep); border: 1.5px solid var(--line); padding: 12px 26px; border-radius: 999px; display: inline-block; transition: .15s; }
  .loadmore a:hover { border-color: var(--blue); color: var(--blue); }

  /* sidebar */
  .side-card { background: var(--surface); border: 1px solid var(--line); border-radius: 15px; padding: 20px; box-shadow: var(--shadow); }
  .side-card h4 { font-size: .78rem; text-transform: uppercase; letter-spacing: .08em; color: var(--ink-soft); margin-bottom: 13px; }
  .side-card.wa { background: color-mix(in srgb, var(--blue) 9%, var(--surface)); border-color: color-mix(in srgb, var(--blue) 24%, var(--line)); }
  .side-card.wa h3 { font-size: 1.14rem; font-weight: 800; margin-bottom: 5px; }
  .side-card.wa p { margin: 0 0 14px; font-size: .9rem; color: var(--ink-soft); }
  .social { display: flex; align-items: center; gap: 13px; text-decoration: none; color: inherit; padding: 11px 0; border-top: 1px solid var(--line); }
  .social:first-of-type { border-top: 0; padding-top: 0; }
  .social .ic { width: 42px; height: 42px; flex: none; border-radius: 11px; display: grid; place-items: center; color: #fff; }
  .social .ic.ig { background: linear-gradient(45deg,#f09433,#e6683c,#dc2743,#cc2366,#bc1888); }
  .social .ic.yt { background: #ff0000; }
  .social h5 { margin: 0; font-size: .94rem; font-weight: 700; }
  .social span { font-size: .78rem; color: var(--ink-soft); }
  .mr { display: flex; gap: 12px; text-decoration: none; color: inherit; padding: 10px 0; border-top: 1px solid var(--line); }
  .mr:first-of-type { border-top: 0; padding-top: 0; }
  .mr .n { font-variant-numeric: tabular-nums; font-size: 1.2rem; font-weight: 800; line-height: 1; color: color-mix(in srgb, var(--petrol-mid) 45%, var(--line)); flex: none; width: 20px; }
  .mr h5 { margin: 0; font-size: .88rem; font-weight: 600; line-height: 1.32; }

  /* ===== ARTIGO ===== */
  .divider { text-align: center; padding: 40px 20px 6px; }
  .divider span { display: inline-flex; background: var(--ink); color: var(--bg); font-weight: 700; font-size: .8rem; letter-spacing: .04em; padding: 9px 18px; border-radius: 999px; text-transform: uppercase; }
  .article { padding: 26px 0 10px; }
  .art-wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 20px; display: grid; gap: 40px; grid-template-columns: 1fr; }
  @media (min-width: 940px) { .art-wrap { grid-template-columns: minmax(0,1fr) 300px; } }
  .breadcrumb { font-size: .82rem; color: var(--ink-soft); margin-bottom: 14px; }
  .breadcrumb a { text-decoration: none; color: var(--blue-deep); font-weight: 600; }
  .art-head .cat { display: inline-block; font-size: .72rem; text-transform: uppercase; letter-spacing: .08em; font-weight: 800; color: #fff; background: var(--petrol-mid); padding: 5px 12px; border-radius: 6px; }
  .art-head h1 { font-size: clamp(1.8rem, 4vw, 2.5rem); font-weight: 800; margin: 14px 0 12px; }
  .art-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; font-size: .85rem; color: var(--ink-soft); padding-bottom: 18px; border-bottom: 1px solid var(--line); }
  .art-meta .who { display: flex; align-items: center; gap: 8px; }
  .art-meta .av { width: 30px; height: 30px; border-radius: 50%; background: linear-gradient(150deg, var(--petrol-mid), var(--petrol)); display: grid; place-items: center; color: #fff; font-weight: 700; font-size: .78rem; }
  .art-meta .rev { display: inline-flex; align-items: center; gap: 6px; color: var(--blue-deep); font-weight: 600; }
  .art-cover { margin: 20px 0; height: 250px; border-radius: 15px; background: color-mix(in srgb, var(--petrol-mid) 9%, var(--surface)); border: 1px solid var(--line); display: grid; place-items: center; font-size: 3.8rem; }
  .toc { background: var(--surface-2); border: 1px solid var(--line); border-radius: 12px; padding: 17px 20px; margin-bottom: 22px; }
  .toc h4 { font-size: .76rem; text-transform: uppercase; letter-spacing: .08em; color: var(--ink-soft); margin-bottom: 9px; }
  .toc ol { margin: 0; padding-left: 20px; display: grid; gap: 6px; }
  .toc a { color: var(--petrol-mid); text-decoration: none; font-weight: 600; font-size: .92rem; }
  .prose { font-size: 1.1rem; line-height: 1.75; max-width: 68ch; }
  .prose p { margin: 0 0 18px; }
  .prose h2 { font-size: 1.45rem; font-weight: 800; margin: 30px 0 11px; }
  .prose ul { margin: 0 0 18px; padding-left: 22px; display: grid; gap: 7px; }
  .prose .lead-p { font-size: 1.2rem; color: var(--ink-soft); }
  .tldr { background: color-mix(in srgb, var(--blue) 8%, var(--surface)); border: 1px solid color-mix(in srgb, var(--blue) 22%, var(--line)); border-radius: 14px; padding: 20px 22px; margin: 0 0 26px; }
  .tldr h4 { font-size: .78rem; text-transform: uppercase; letter-spacing: .08em; color: var(--blue-deep); margin-bottom: 11px; display: flex; align-items: center; gap: 8px; }
  .tldr ul { margin: 0; padding-left: 20px; display: grid; gap: 8px; }
  .tldr li { font-weight: 500; }
  .cmp-wrap { overflow-x: auto; margin: 24px 0; border: 1px solid var(--line); border-radius: 12px; }
  .cmp-table { width: 100%; border-collapse: collapse; font-size: .98rem; min-width: 460px; }
  .cmp-table caption { text-align: left; font-weight: 800; padding: 14px 16px 0; font-size: 1.05rem; }
  .cmp-table th { background: var(--surface-2); text-align: left; font-weight: 800; padding: 12px 16px; border-bottom: 2px solid var(--line); font-size: .78rem; text-transform: uppercase; letter-spacing: .04em; color: var(--petrol); }
  .cmp-table td { padding: 12px 16px; border-bottom: 1px solid var(--line); vertical-align: top; }
  .cmp-table tr:last-child td { border-bottom: 0; }
  .cmp-table td:first-child { font-weight: 700; }
  .steps-num { display: grid; gap: 13px; margin: 24px 0; counter-reset: sn; }
  .steps-num .s { display: flex; gap: 15px; background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 16px 18px; }
  .steps-num .s .n { counter-increment: sn; width: 34px; height: 34px; flex: none; border-radius: 50%; background: var(--blue); color: #fff; display: grid; place-items: center; font-weight: 800; }
  .steps-num .s .n::before { content: counter(sn); }
  .steps-num .s h4 { font-size: 1.03rem; font-weight: 700; margin-bottom: 3px; }
  .steps-num .s p { margin: 0; color: var(--ink-soft); font-size: .95rem; }
  .callout { background: color-mix(in srgb, var(--blue) 9%, var(--surface)); border: 1px solid color-mix(in srgb, var(--blue) 24%, var(--line)); border-left: 4px solid var(--blue); border-radius: 12px; padding: 17px 20px; margin: 22px 0; }
  .callout .t { font-weight: 800; color: var(--blue-deep); display: flex; align-items: center; gap: 8px; margin-bottom: 6px; }
  .callout p { margin: 0; }
  .faq { margin: 28px 0; }
  .faq h2 { font-size: 1.45rem; font-weight: 800; margin-bottom: 13px; }
  .faq details { background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 2px 18px; margin-bottom: 9px; }
  .faq summary { cursor: pointer; font-weight: 700; padding: 14px 0; list-style: none; display: flex; justify-content: space-between; gap: 12px; align-items: center; }
  .faq summary::-webkit-details-marker { display: none; }
  .faq summary::after { content: "+"; color: var(--blue-deep); font-size: 1.4rem; }
  .faq details[open] summary::after { content: "–"; }
  .faq details p { margin: 0 0 15px; color: var(--ink-soft); }
  .art-cta { background: linear-gradient(135deg, var(--blue-deep), var(--blue)); border-radius: 15px; padding: 26px; color: #fff; margin: 26px 0; }
  .art-cta h3 { color: #fff; font-size: 1.26rem; font-weight: 800; }
  .art-cta p { color: #e6f3f7; margin: 8px 0 15px; }
  .art-cta .btn { background: #fff; color: var(--blue-deep); }
  .art-cta .fine { font-size: .76rem; color: #cde8f0; margin-top: 11px; }
  .authorbox { display: flex; gap: 15px; align-items: flex-start; background: var(--surface-2); border: 1px solid var(--line); border-radius: 14px; padding: 19px; }
  .authorbox .av { width: 50px; height: 50px; border-radius: 50%; flex: none; background: linear-gradient(150deg, var(--petrol-mid), var(--petrol)); display: grid; place-items: center; color: #fff; font-weight: 800; }
  .authorbox h4 { font-size: 1rem; }
  .authorbox p { margin: 4px 0 0; font-size: .88rem; color: var(--ink-soft); }
  .aside-card { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 17px; box-shadow: var(--shadow); margin-bottom: 16px; }
  .aside-card h4 { font-size: .76rem; text-transform: uppercase; letter-spacing: .08em; color: var(--ink-soft); margin-bottom: 11px; }
  .rel { display: flex; gap: 12px; text-decoration: none; color: inherit; padding: 10px 0; border-top: 1px solid var(--line); }
  .rel:first-of-type { border-top: 0; padding-top: 0; }
  .rel .ic { width: 40px; height: 40px; flex: none; border-radius: 9px; background: color-mix(in srgb, var(--petrol-mid) 12%, var(--surface)); display: grid; place-items: center; font-size: 1.2rem; }
  .rel h5 { margin: 0; font-size: .88rem; font-weight: 600; line-height: 1.3; }
  .rel span { font-size: .72rem; color: var(--ink-soft); }

  footer { background: var(--petrol); color: #b7d6dd; padding: 42px 0 24px; margin-top: 30px; }
  .foot-grid { display: grid; gap: 26px; grid-template-columns: 1fr; }
  @media (min-width: 760px) { .foot-grid { grid-template-columns: 1.5fr 1fr 1fr; } }
  footer h4 { color: #fff; font-size: .78rem; text-transform: uppercase; letter-spacing: .1em; margin: 0 0 12px; }
  footer a { color: #b7d6dd; text-decoration: none; display: block; padding: 4px 0; font-size: .92rem; }
  footer a:hover { color: #fff; }
  .foot-brand { font-weight: 800; color: #fff; font-size: 1.04rem; margin-bottom: 8px; }
  .foot-legal { border-top: 1px solid rgba(255,255,255,.14); margin-top: 26px; padding-top: 15px; font-size: .77rem; color: #8fb4bc; }

  @media (prefers-reduced-motion: reduce) { * { transition: none !important; } }
  :focus-visible { outline: 3px solid var(--blue); outline-offset: 2px; border-radius: 6px; }

/* Veja também (interligação) */
.serie { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 20px 22px; margin: 26px 0; box-shadow: var(--shadow); }
.serie h4 { font-size: .8rem; text-transform: uppercase; letter-spacing: .08em; color: var(--ink-soft); margin-bottom: 12px; }
.serie ol { margin: 0; padding: 0; list-style: none; display: grid; gap: 2px; }
.serie li { display: flex; gap: 10px; align-items: baseline; padding: 10px 0; border-top: 1px solid var(--line); }
.serie li:first-child { border-top: 0; padding-top: 0; }
.serie li::before { content: "\2192"; color: var(--blue); font-weight: 800; flex: none; }
.serie a { text-decoration: none; font-weight: 600; }
/* imagens do conteudo/thumb reais */
.feature .img img, .card .thumb img, .art-cover img { width: 100%; height: 100%; object-fit: cover; display: block; }
.art-cover { padding: 0; overflow: hidden; }

/* matéria: capa mostra a imagem COMPLETA (nao cortada); home/cards mantem cover */
.art-cover { height: auto; min-height: 0; background: transparent; display: block; }
.art-cover img { height: auto; object-fit: initial; }
/* artigos relacionados: foto do artigo no lugar do emoji */
.rel .ic { overflow: hidden; }
.rel .ic img { width: 100%; height: 100%; object-fit: cover; }
/* link secundário da calculadora no card WhatsApp */
.wa-alt { display: block; text-align: center; margin-top: 11px; font-size: .85rem; font-weight: 600; color: var(--blue-deep); text-decoration: none; }
.wa-alt:hover { text-decoration: underline; }
/* logo do escritório em todos os avatares (substitui o "GR") */
.av { background-image: url('https://acidentedetrabalho.blog.br/wp-content/uploads/2026/07/logo.png') !important; background-size: cover; background-position: center; background-repeat: no-repeat; font-size: 0 !important; color: transparent; }
/* correção: GR dourado inteiro (contain) sobre fundo petróleo, não cortado */
.av { background: var(--petrol) url('https://acidentedetrabalho.blog.br/wp-content/uploads/2026/07/logo.png') center / 64% no-repeat !important; }

/* ============================================================
   v2 — identidade azul + dourado · WhatsApp verde · logo no header
   compliance OAB · padrao WhatsApp + Calculadora
   ============================================================ */
:root {
  --gold:#c6a12e; --gold-ink:#8a6c14; --gold-soft:#f4ecd3;
  --wa:#1fbf5c; --wa-deep:#159a49;
}
/* header: logo do escritório, maior + faixa dourada */
.top { box-shadow: inset 0 -2px 0 color-mix(in srgb, var(--gold) 55%, transparent); }
.top .wrap { height: 72px; }
.brand { gap: 13px; font-size: 1.16rem; }
.brand .mark { width: 48px; height: 48px; border-radius: 11px; background: var(--petrol) url('https://acidentedetrabalho.blog.br/wp-content/uploads/2026/07/logo.png') center / 64% no-repeat; box-shadow: 0 2px 8px color-mix(in srgb, var(--petrol) 40%, transparent); }
.brand .mark svg { display: none; }
.brand small { margin-top: 2px; }
@media (max-width: 560px) { .top .wrap { height: 64px; } .brand { font-size: 1rem; } .brand .mark { width: 42px; height: 42px; } }

/* botões: base = WhatsApp (VERDE); .btn-calc = calculadora (azul + dourado) */
.btn { background: var(--wa); box-shadow: 0 6px 16px color-mix(in srgb, var(--wa) 30%, transparent); }
.btn:hover { box-shadow: 0 10px 22px color-mix(in srgb, var(--wa) 40%, transparent); }
.btn-calc { display: inline-flex; align-items: center; justify-content: center; gap: 8px; text-decoration: none; background: var(--blue-deep); color: #fff; font-weight: 700; font-size: .9rem; padding: 10px 17px; border-radius: 999px; border: 0; cursor: pointer; box-shadow: 0 6px 16px color-mix(in srgb, var(--blue-deep) 28%, transparent); transition: transform .16s, box-shadow .16s; }
.btn-calc:hover { transform: translateY(-1px); box-shadow: 0 10px 22px color-mix(in srgb, var(--blue-deep) 38%, transparent); }
.btn-calc svg { color: var(--gold); }

/* dourado nos detalhes */
.feature .cat, .card .cat, .guide .tag2 { color: var(--gold-ink); }
.sec-title { padding-left: 13px; border-left: 3px solid var(--gold); }
.mr .n { color: var(--gold); }
.loadmore a:hover { border-color: var(--gold); color: var(--gold-ink); }
.art-head .cat { background: var(--gold-ink); }
.callout { background: color-mix(in srgb, var(--gold) 12%, var(--surface)); border-color: color-mix(in srgb, var(--gold) 34%, var(--line)); border-left: 4px solid var(--gold); }
.callout .t { color: var(--gold-ink); }
.faq summary::after { color: var(--gold-ink); }

/* cards da lateral: WhatsApp = verde · Calculadora = azul */
.side-card.wa { background: color-mix(in srgb, var(--wa) 8%, var(--surface)); border-color: color-mix(in srgb, var(--wa) 26%, var(--line)); }
.side-card.calc { background: color-mix(in srgb, var(--blue) 8%, var(--surface)); border-color: color-mix(in srgb, var(--blue) 24%, var(--line)); }
.side-card.calc h3 { font-size: 1.1rem; font-weight: 800; margin-bottom: 5px; }
.side-card.calc p { margin: 0 0 14px; font-size: .9rem; color: var(--ink-soft); }
.side-card .of, .aside-card .of { font-size: .7rem; text-transform: uppercase; letter-spacing: .06em; font-weight: 800; color: var(--gold-ink); margin-bottom: 6px; }
.side-card.wa .of { color: var(--wa-deep); }
.side-card.wa h4, .side-card h4 { margin-bottom: 8px; }
.aside-card h3 { font-size: 1.08rem; font-weight: 800; margin-bottom: 5px; }

/* CTA do artigo: petróleo + dourado, botões WhatsApp(verde) + Calculadora(branco) */
.art-cta { background: linear-gradient(135deg, var(--petrol), var(--petrol-mid)); border-top: 3px solid var(--gold); }
.art-cta p { color: #dcecef; }
.art-cta .fine { color: #b7d6dd; }
.art-cta .cta-row { display: flex; flex-wrap: wrap; gap: 10px; }
.art-cta .btn { background: var(--wa); color: #fff; box-shadow: none; }
.art-cta .btn-calc { background: #fff; color: var(--blue-deep); box-shadow: none; }
.art-cta .btn-calc svg { color: var(--gold-ink); }

/* footer: faixa dourada + marca com logo */
footer { border-top: 3px solid var(--gold); }
.foot-brand { display: flex; align-items: center; gap: 11px; margin-bottom: 12px; }
.foot-brand .m { width: 42px; height: 42px; border-radius: 9px; flex: none; background: color-mix(in srgb, #fff 10%, var(--petrol)) url('https://acidentedetrabalho.blog.br/wp-content/uploads/2026/07/logo.png') center / 62% no-repeat; }
.foot-brand .n { font-weight: 800; color: #fff; font-size: 1.05rem; line-height: 1.2; }

:focus-visible { outline-color: var(--gold); }

/* título do blog centralizado + fonte serifada imponente (Playfair) */
.blog-top { text-align: center; }
.blog-top p { margin-left: auto; margin-right: auto; }
.blog-top h1, .art-head h1, .feature h2, .sec-title {
  font-family: "Playfair Display", Georgia, "Times New Roman", serif;
  letter-spacing: -.005em;
}
.blog-top h1 { font-weight: 800; font-size: clamp(2.1rem, 5vw, 3rem); }

/* ===== v2.1 — sidebar acompanha a leitura (desktop) + barra mobile ===== */
@media (min-width: 940px) {
  .article aside { position: sticky; top: 78px; align-self: start; }
}
.mcta { display: none; }
@media (max-width: 939px) {
  .mcta {
    display: flex; gap: 10px;
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 45;
    padding: 10px 14px calc(10px + env(safe-area-inset-bottom));
    background: color-mix(in srgb, var(--surface) 96%, transparent);
    backdrop-filter: blur(8px);
    border-top: 1px solid var(--line);
    box-shadow: 0 -6px 22px rgba(0,0,0,.10);
  }
  .mcta a {
    flex: 1; display: flex; align-items: center; justify-content: center; gap: 7px;
    padding: 12px 8px; border-radius: 12px;
    font-weight: 800; font-size: .9rem; text-decoration: none; color: #fff;
  }
  .mcta .wa { background: var(--wa); }
  .mcta .calc { background: var(--blue); }
  body { padding-bottom: 74px; }
}
