/*
Theme Name: Conexão Justiça
Theme URI: https://conexaojustica.com
Author: Conexão Justiça
Description: Tema do portal Conexão Justiça — jornalismo de utilidade pública com Marcelle Altoé. Home com últimas notícias, editorias, Conexão Resolve, guias, vídeos e formulário "Envie seu caso".
Version: 1.3.0
Requires at least: 6.0
Tested up to: 7.1
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: conexao-justica
*/

/* ============ Base ============ */
:root {
  --cj-accent: #E1B030;
  --cj-black: #0B0B0C;
  --cj-ink: #18181B;
  --cj-text: #27272A;
  --cj-muted: #52525B;
  --cj-muted-2: #71717A;
  --cj-line: #E4E4E7;
  --cj-line-2: #D4D4D8;
  --cj-soft: #F4F4F5;
  --cj-dark-line: #222226;
  --cj-dark-muted: #A1A1AA;
  --cj-display: 'Space Grotesk', system-ui, sans-serif;
  --cj-body: 'Inter', system-ui, sans-serif;
  --cj-mono: 'JetBrains Mono', ui-monospace, monospace;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: var(--cj-body); font-size: 17px; line-height: 1.6; color: var(--cj-ink); background: #fff; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--cj-ink); }
a:hover { color: #000; }
button, input, select, textarea { font: inherit; }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link:focus { position: fixed; top: 8px; left: 8px; z-index: 100; width: auto; height: auto; clip: auto; background: #fff; padding: 10px 16px; border-radius: 8px; }
:focus-visible { outline: 3px solid var(--cj-accent); outline-offset: 2px; }

.wrap { max-width: 1200px; margin: 0 auto; padding-left: 24px; padding-right: 24px; }
.mono { font-family: var(--cj-mono); letter-spacing: 0.06em; text-transform: uppercase; }
.kicker { font-family: var(--cj-mono); font-size: 12.5px; letter-spacing: 0.06em; color: var(--cj-muted); text-transform: uppercase; }
.on-dark .kicker { color: var(--cj-dark-muted); }
.tag { display: inline-block; align-self: flex-start; font-family: var(--cj-mono); font-size: 11.5px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--cj-black); background: var(--cj-accent); padding: 3px 9px; border-radius: 6px; text-decoration: none; }
.meta { font-family: var(--cj-mono); font-size: 12px; color: var(--cj-muted); text-transform: uppercase; letter-spacing: 0.04em; }
.h-section { margin: 0; font-family: var(--cj-display); font-weight: 700; font-size: clamp(34px, 4.2vw, 52px); line-height: 1.02; letter-spacing: -0.04em; color: var(--cj-black); }
.on-dark .h-section { color: #fff; }
.section-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 16px 40px; margin-bottom: 40px; }
.section-head > div { flex: 1 1 520px; display: flex; flex-direction: column; gap: 12px; }
.section-head p { margin: 0; color: var(--cj-muted); font-size: 17px; }
.on-dark .section-head p { color: var(--cj-dark-muted); }
.section { padding-top: 96px; padding-bottom: 96px; }
.bg-soft { background: var(--cj-soft); border-top: 1px solid var(--cj-line); border-bottom: 1px solid var(--cj-line); }
.bg-dark { background: var(--cj-black); color: #fff; }
.dots { background-color: var(--cj-black); background-image: radial-gradient(#26262A 1px, transparent 1px); background-size: 28px 28px; color: #fff; }

/* Botões */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 46px; padding: 11px 22px; border-radius: 999px; font-weight: 600; font-size: 15.5px; text-decoration: none; border: 1px solid transparent; cursor: pointer; line-height: 1.2; }
.btn-accent { background: var(--cj-accent); color: var(--cj-black); }
.btn-accent:hover { color: var(--cj-black); filter: brightness(0.95); }
.btn-dark { background: var(--cj-black); color: #fff; }
.btn-dark:hover { color: #fff; background: #27272A; }
.btn-light { background: #fff; color: var(--cj-black); }
.btn-outline { background: transparent; color: var(--cj-black); border-color: var(--cj-black); }
.btn-outline-dark { background: transparent; color: #fff; border-color: #3F3F46; }
.btn-outline-dark:hover { color: #fff; border-color: #71717A; }
.btn svg { flex: none; }

/* ============ Header ============ */
.site-header { background: #fff; border-bottom: 1px solid var(--cj-line); position: relative; z-index: 20; }
.site-header .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px 24px; padding-top: 14px; padding-bottom: 14px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--cj-black); }
.brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.brand-name { font-family: var(--cj-display); font-weight: 700; font-size: 21px; letter-spacing: -0.02em; }
.brand-sub { font-family: var(--cj-mono); font-size: 11px; color: var(--cj-muted); letter-spacing: 0.04em; text-transform: uppercase; }
.brand .ring-a { stroke: var(--cj-accent); }
.brand-logo { display: block; height: 72px; width: auto; }
.site-header .wrap { padding-top: 10px; padding-bottom: 10px; }
.main-nav { display: flex; align-items: center; gap: 6px; }
.main-nav ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 2px 4px; }
.main-nav a { display: block; color: #3F3F46; text-decoration: none; font-weight: 500; font-size: 15px; padding: 10px 12px; border-radius: 999px; }
.main-nav a:hover, .main-nav .current-menu-item > a, .main-nav .current_page_item > a, .main-nav a.is-active { background: var(--cj-soft); color: var(--cj-black); }
.main-nav .btn { margin-left: 10px; padding: 10px 18px; font-size: 15px; min-height: 44px; }
.main-nav a.btn-dark, .main-nav a.btn-dark:hover { color: #fff; background: var(--cj-black); }
.main-nav a.btn-dark:hover { background: #27272A; }
.nav-toggle { display: none; align-items: center; gap: 8px; background: none; border: 1px solid var(--cj-line-2); border-radius: 999px; padding: 9px 16px; min-height: 44px; cursor: pointer; font-weight: 600; color: var(--cj-black); }
@media (max-width: 480px) {
  .site-header .wrap { gap: 12px; }
  .brand-logo { height: 54px; }
  .brand-name { font-size: 18px; }
  .brand svg { width: 34px; height: 24px; }
  .nav-toggle { padding: 8px 12px; }
}
@media (max-width: 920px) {
  .nav-toggle { display: inline-flex; }
  .main-nav { display: none; width: 100%; flex-direction: column; align-items: stretch; padding-bottom: 8px; }
  .main-nav.is-open { display: flex; }
  .main-nav ul { flex-direction: column; }
  .main-nav a { font-size: 17px; padding: 12px 8px; border-radius: 10px; }
  .main-nav .btn { margin: 8px 0 0; }
}

/* ============ Hero ============ */
.hero > .wrap { max-width: 1000px; padding-top: 96px; padding-bottom: 56px; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 26px; }
.live-pill { display: inline-flex; align-items: center; gap: 10px; font-family: var(--cj-mono); font-size: 12.5px; letter-spacing: 0.05em; text-transform: uppercase; color: #E4E4E7; border: 1px solid #333338; border-radius: 999px; padding: 7px 16px; background: #121214; }
.live-dot { width: 8px; height: 8px; border-radius: 50%; background: #E5484D; }
.hero h1 { margin: 0; font-family: var(--cj-display); font-weight: 700; font-size: clamp(46px, 7.5vw, 84px); line-height: 0.98; letter-spacing: -0.045em; }
.hero h1 em { font-style: normal; color: var(--cj-accent); }
.hero p.lead { margin: 0; font-size: 19px; color: var(--cj-dark-muted); max-width: 36em; }
.cmd-search { width: 100%; max-width: 760px; margin-top: 10px; border: 1px solid #3F3F46; background: #141417; border-radius: 16px; padding: 8px 8px 8px 20px; display: flex; flex-wrap: wrap; align-items: center; gap: 12px; text-align: left; box-shadow: 0 0 0 6px rgba(255,255,255,0.03); }
.cmd-search input { flex: 1 1 260px; min-width: 0; font-size: 17px; padding: 12px 0; border: 0; background: transparent; color: #fff; outline: none; }
.cmd-search input::placeholder { color: #8B8B94; }
.cmd-search button { font-weight: 600; font-size: 16px; background: var(--cj-accent); color: var(--cj-black); border: 0; border-radius: 10px; padding: 12px 22px; min-height: 48px; cursor: pointer; }
.chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.chip-dark { font-size: 14px; color: #D4D4D8; border: 1px solid #333338; border-radius: 999px; padding: 9px 14px; text-decoration: none; }
.chip-dark:hover { color: #fff; border-color: #71717A; }
.seen-in { border-top: 1px solid var(--cj-dark-line); }
.seen-in .wrap { padding-top: 22px; padding-bottom: 22px; display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 12px 44px; font-family: var(--cj-mono); font-size: 13px; letter-spacing: 0.08em; color: var(--cj-muted-2); }
.seen-in strong { color: #D4D4D8; font-weight: 500; }

/* ============ Últimas notícias (home) ============ */
.news-grid { display: flex; flex-wrap: wrap; gap: 40px 48px; }
.news-lead { flex: 1.6 1 560px; min-width: 0; text-decoration: none; color: inherit; display: flex; flex-direction: column; gap: 18px; }
.news-lead h3 { margin: 0; font-family: var(--cj-display); font-size: clamp(28px, 3vw, 38px); font-weight: 700; line-height: 1.08; letter-spacing: -0.03em; color: var(--cj-black); }
.news-lead p { margin: 0; font-size: 18px; color: #3F3F46; }
.news-lead:hover h3 { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 4px; }
.news-side { flex: 1 1 340px; min-width: 0; display: flex; flex-direction: column; border-top: 2px solid var(--cj-black); }
.news-side a { text-decoration: none; color: inherit; display: flex; flex-direction: column; gap: 6px; padding: 20px 0; border-bottom: 1px solid var(--cj-line); }
.news-side strong { font-family: var(--cj-display); font-size: 20px; font-weight: 600; line-height: 1.25; color: var(--cj-black); }
.news-side a:hover strong { text-decoration: underline; text-underline-offset: 3px; }
.meta-row { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }

/* Imagens / placeholders */
.media { position: relative; overflow: hidden; background: var(--cj-line); border-radius: 20px; }
.media img { width: 100%; height: 100%; object-fit: cover; }
.ratio-16x9 { aspect-ratio: 16 / 9; }
.ratio-16x10 { aspect-ratio: 16 / 10; }
.ratio-21x9 { aspect-ratio: 21 / 9; }
.ratio-4x5 { aspect-ratio: 4 / 5; }
.media-empty { display: flex; align-items: center; justify-content: center; }
.media-empty svg { width: 44px; height: 44px; stroke: #A1A1AA; }

/* ============ Bento ============ */
.bento-wrap { background: var(--cj-soft); border-bottom: 1px solid var(--cj-line); }
.bento { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; padding-top: 56px; padding-bottom: 56px; }
.bento > * { border-radius: 20px; }
.b-video { grid-column: span 2; grid-row: span 2; background: var(--cj-black); color: #fff; padding: 20px; display: flex; flex-direction: column; gap: 16px; min-height: 420px; }
.b-video .bar { display: flex; justify-content: space-between; font-family: var(--cj-mono); font-size: 12px; letter-spacing: 0.06em; color: var(--cj-dark-muted); }
.b-video .screen { flex: 1; border-radius: 14px; background: #18181B; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; min-height: 260px; overflow: hidden; text-decoration: none; color: var(--cj-dark-muted); }
.b-video .screen iframe { width: 100%; height: 100%; min-height: 260px; border: 0; }
.b-video .title { font-family: var(--cj-display); font-size: 22px; font-weight: 600; letter-spacing: -0.01em; }
.play { width: 72px; height: 72px; border-radius: 50%; background: var(--cj-accent); display: flex; align-items: center; justify-content: center; }
.b-stat { background: #fff; border: 1px solid var(--cj-line); padding: 24px; display: flex; flex-direction: column; justify-content: space-between; gap: 12px; }
.b-stat strong { font-family: var(--cj-display); font-size: 84px; font-weight: 700; line-height: 0.9; letter-spacing: -0.05em; color: var(--cj-black); }
.b-stat span:last-child { font-size: 15px; color: #3F3F46; }
.b-stat.is-accent { background: var(--cj-accent); border-color: var(--cj-accent); }
.b-stat.is-accent span:last-child { color: var(--cj-black); }
.b-wa { grid-column: span 2; background: #fff; border: 1px solid var(--cj-line); padding: 24px 28px; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 16px 24px; }
.b-wa > div { flex: 1 1 260px; display: flex; flex-direction: column; gap: 6px; }
.b-wa strong { font-family: var(--cj-display); font-size: 26px; font-weight: 600; letter-spacing: -0.02em; color: var(--cj-black); line-height: 1.2; }
.b-wa span { font-size: 15px; color: #3F3F46; }
@media (max-width: 900px) { .bento { grid-template-columns: 1fr; } .bento > * { grid-column: auto !important; grid-row: auto !important; } }

/* ============ Editorias (lista) ============ */
.topic-list { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(440px, 100%), 1fr)); column-gap: 48px; border-top: 1px solid var(--cj-line); }
.topic { text-decoration: none; color: inherit; display: flex; align-items: center; gap: 18px; padding: 22px 0; border-bottom: 1px solid var(--cj-line); }
.topic .ico { flex: none; width: 48px; height: 48px; border-radius: 12px; background: var(--cj-black); display: flex; align-items: center; justify-content: center; }
.topic .ico svg { width: 22px; height: 22px; stroke: #fff; fill: none; stroke-width: 1.8; stroke-linejoin: round; stroke-linecap: round; }
.topic .txt { flex: 1; display: flex; flex-direction: column; }
.topic strong { font-family: var(--cj-display); font-size: 20px; font-weight: 600; color: var(--cj-black); }
.topic .txt span { color: var(--cj-muted); font-size: 15px; }
.topic .arrow { flex: none; width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--cj-line-2); display: flex; align-items: center; justify-content: center; font-size: 18px; color: var(--cj-black); transition: background .15s, color .15s; }
.topic:hover .arrow { background: var(--cj-black); color: #fff; border-color: var(--cj-black); }

/* ============ Conexão Resolve ============ */
.cards-3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr)); gap: 16px; }
.case { background: #fff; border: 1px solid var(--cj-line); border-radius: 20px; padding: 24px; display: flex; flex-direction: column; gap: 18px; text-decoration: none; color: inherit; }
.case-head { display: flex; align-items: center; gap: 14px; }
.case-head .avatar { flex: none; width: 52px; height: 52px; border-radius: 50%; background: var(--cj-line); overflow: hidden; }
.case-head .avatar img { width: 100%; height: 100%; object-fit: cover; }
.case-head strong { font-family: var(--cj-display); font-size: 20px; font-weight: 600; color: var(--cj-black); line-height: 1.25; display: block; }
.case-box { display: flex; flex-direction: column; gap: 4px; padding: 14px 16px; border-radius: 12px; background: var(--cj-soft); font-size: 15.5px; color: var(--cj-text); }
.case-box .mono { font-size: 11.5px; color: var(--cj-muted); }
.case-box.after { background: var(--cj-black); color: #fff; }
.case-box.after .mono { color: var(--cj-accent); }

/* ============ Guias ============ */
.guides { display: flex; flex-wrap: wrap; gap: 32px 64px; }
.guides-intro { flex: 1 1 340px; display: flex; flex-direction: column; gap: 12px; }
.guides-intro p { margin: 0; color: var(--cj-muted); font-size: 17px; }
.guide-list { flex: 2 1 560px; display: flex; flex-direction: column; border-top: 1px solid var(--cj-line); }
.guide { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 28px; padding: 24px 0; border-bottom: 1px solid var(--cj-line); text-decoration: none; color: inherit; }
.guide .num { font-family: var(--cj-mono); font-size: 14px; color: var(--cj-muted-2); width: 32px; }
.guide .txt { flex: 1 1 340px; display: flex; flex-direction: column; gap: 2px; }
.guide strong { font-family: var(--cj-display); font-size: 21px; font-weight: 600; color: var(--cj-black); }
.guide .txt span { color: var(--cj-muted); font-size: 15px; }
.guide .arrow { flex: none; width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--cj-line-2); display: flex; align-items: center; justify-content: center; font-size: 18px; color: var(--cj-black); }
.guide:hover .arrow, .case:hover { border-color: var(--cj-black); }
.pill-soon { font-family: var(--cj-mono); font-size: 12px; color: var(--cj-muted); border: 1px solid var(--cj-line-2); border-radius: 999px; padding: 4px 12px; text-transform: uppercase; }

/* ============ Vídeos ============ */
.video-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr)); gap: 16px; }
.video-embed { aspect-ratio: 16 / 9; border-radius: 14px; overflow: hidden; border: 1px solid #2A2A2F; background: #141417; }
.video-embed iframe { width: 100%; height: 100%; border: 0; display: block; }
.column-box { margin-top: 48px; padding: 22px 24px; border: 1px solid #2A2A2F; border-radius: 16px; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px 24px; color: #E4E4E7; }
.column-box a { color: #fff; font-weight: 600; }

/* ============ Sobre ============ */
.about { display: flex; flex-wrap: wrap; align-items: stretch; gap: 16px; }
.about-photo { flex: 1 1 360px; min-width: 0; min-height: 440px; border-radius: 20px; background: var(--cj-line); overflow: hidden; }
.about-photo img { width: 100%; height: 100%; object-fit: cover; }
.about-card { flex: 1.4 1 520px; min-width: 0; border: 1px solid var(--cj-line); border-radius: 20px; padding: clamp(24px, 4vw, 40px); display: flex; flex-direction: column; gap: 20px; }
.about-card p { margin: 0; font-size: 18px; color: var(--cj-text); }
.quote-dark { margin: 0; padding: 20px 24px; background: var(--cj-black); color: #fff; border-radius: 14px; font-family: var(--cj-display); font-size: 23px; font-weight: 600; line-height: 1.3; letter-spacing: -0.01em; }
.quote-dark .q { color: var(--cj-accent); }

/* ============ Envie seu caso ============ */
.send { display: flex; flex-wrap: wrap; gap: 48px; }
.send-intro { flex: 1 1 380px; min-width: 0; display: flex; flex-direction: column; gap: 20px; }
.send-intro p { margin: 0; font-size: 18px; color: #3F3F46; }
.contact-lines { display: flex; flex-direction: column; gap: 8px; font-size: 15.5px; color: #3F3F46; border-top: 1px solid var(--cj-line-2); padding-top: 18px; }
.contact-lines strong { color: var(--cj-black); }
.form-card { flex: 1 1 520px; min-width: 0; background: #fff; border: 1px solid var(--cj-line); border-radius: 20px; padding: clamp(20px, 3vw, 32px); display: flex; flex-direction: column; gap: 18px; }
.form-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 18px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field label { font-weight: 600; font-size: 14px; }
.field input, .field select, .field textarea { padding: 12px 14px; border: 1px solid var(--cj-line-2); border-radius: 10px; background: #FAFAFA; color: var(--cj-ink); width: 100%; }
.field textarea { resize: vertical; min-height: 140px; }
.check { display: flex; align-items: flex-start; gap: 10px; font-size: 15px; color: var(--cj-muted); }
.check input { width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--cj-black); flex: none; }
.form-note { font-size: 13.5px; color: var(--cj-muted); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.notice { padding: 14px 18px; border-radius: 12px; font-size: 15.5px; }
.notice-ok { background: #E7F6EC; color: #14532D; border: 1px solid #A7DDB8; }
.notice-err { background: #FDECEC; color: #7F1D1D; border: 1px solid #F3B4B4; }

/* ============ Lista / editoria ============ */
.page-hero .wrap { padding-top: 64px; padding-bottom: 56px; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 24px 48px; }
.page-hero .wrap > div { flex: 1 1 480px; display: flex; flex-direction: column; gap: 14px; }
.page-hero h1 { margin: 0; font-family: var(--cj-display); font-weight: 700; font-size: clamp(44px, 6vw, 68px); line-height: 1; letter-spacing: -0.045em; }
.page-hero p { margin: 0; font-size: 18px; color: var(--cj-dark-muted); }
.page-hero .cmd-search { flex: 0 1 420px; margin: 0; padding: 6px 6px 6px 16px; border-radius: 14px; box-shadow: none; }
.page-hero .cmd-search input { font-size: 16px; padding: 10px 0; flex-basis: 160px; }
.page-hero .cmd-search button { min-height: 44px; padding: 10px 18px; font-size: 15px; }
.filterbar { border-bottom: 1px solid var(--cj-line); background: #fff; }
.filterbar .wrap { padding-top: 18px; padding-bottom: 18px; display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.filterbar .kicker { margin-right: 8px; }
.chip { font-size: 14px; font-weight: 500; border-radius: 999px; padding: 9px 16px; min-height: 40px; text-decoration: none; background: #fff; color: #3F3F46; border: 1px solid var(--cj-line-2); display: inline-flex; align-items: center; }
.chip:hover { border-color: var(--cj-black); color: var(--cj-black); }
.chip.is-active { background: var(--cj-black); color: #fff; border-color: var(--cj-black); }
.listing { display: flex; flex-wrap: wrap; gap: 48px; padding-top: 48px; padding-bottom: 96px; }
.listing-main { flex: 999 1 600px; min-width: 0; display: flex; flex-direction: column; gap: 20px; }
.listing-side { flex: 1 1 300px; min-width: 0; display: flex; flex-direction: column; gap: 16px; }
.card-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(260px, 100%), 1fr)); gap: 16px; }
.card { text-decoration: none; color: inherit; border: 1px solid var(--cj-line); border-radius: 16px; overflow: hidden; display: flex; flex-direction: column; background: #fff; transition: border-color .15s; }
.card:hover { border-color: var(--cj-black); }
.card .media { border-radius: 0; }
.card-body { padding: 18px 20px 22px; display: flex; flex-direction: column; gap: 10px; }
.card-body strong { font-family: var(--cj-display); font-size: 19px; font-weight: 600; line-height: 1.25; color: var(--cj-black); }
.empty-box { border: 1px dashed var(--cj-line-2); border-radius: 16px; padding: 48px 24px; text-align: center; color: var(--cj-muted); }
.side-box { border: 1px solid var(--cj-line); border-radius: 16px; padding: 24px; display: flex; flex-direction: column; }
.side-box .kicker { margin-bottom: 8px; }
.rank { text-decoration: none; color: inherit; display: flex; gap: 14px; padding: 14px 0; border-bottom: 1px solid var(--cj-line); }
.rank:last-child { border-bottom: 0; padding-bottom: 4px; }
.rank .n { font-family: var(--cj-display); font-size: 28px; font-weight: 700; line-height: 1; color: #A1A1AA; }
.rank .t { font-weight: 600; font-size: 15.5px; line-height: 1.4; color: var(--cj-black); }
.dark-box { background: var(--cj-black); color: #fff; border-radius: 16px; padding: 24px; display: flex; flex-direction: column; gap: 12px; }
.dark-box .mono { font-size: 12px; color: var(--cj-accent); }
.dark-box strong { font-family: var(--cj-display); font-size: 22px; font-weight: 600; line-height: 1.25; }
.dark-box .btn { align-self: flex-start; }
.pagination .nav-links { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin-top: 16px; }
.pagination .page-numbers { min-width: 44px; min-height: 44px; display: inline-flex; align-items: center; justify-content: center; padding: 0 14px; border-radius: 999px; border: 1px solid var(--cj-line-2); text-decoration: none; color: var(--cj-black); font-weight: 600; font-size: 15px; }
.pagination .page-numbers.current { background: var(--cj-black); color: #fff; border-color: var(--cj-black); }

/* ============ Matéria ============ */
.article-head { padding-top: 56px; }
.article-head .inner { max-width: 920px; display: flex; flex-direction: column; gap: 22px; }
.crumbs { font-family: var(--cj-mono); font-size: 12.5px; letter-spacing: 0.05em; text-transform: uppercase; color: var(--cj-muted); display: flex; gap: 8px; flex-wrap: wrap; }
.crumbs a { color: var(--cj-muted); text-decoration: none; }
.crumbs a:hover { color: var(--cj-black); }
.article-head h1 { margin: 0; font-family: var(--cj-display); font-weight: 700; font-size: clamp(36px, 5vw, 58px); line-height: 1.03; letter-spacing: -0.04em; color: var(--cj-black); }
.article-head .dek { margin: 0; font-size: clamp(19px, 2vw, 22px); line-height: 1.45; color: #3F3F46; }
.byline { margin-top: 32px; padding: 18px 0; border-top: 1px solid var(--cj-line); border-bottom: 1px solid var(--cj-line); display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 16px; }
.byline .who { display: flex; align-items: center; gap: 14px; }
.byline .who img { width: 48px; height: 48px; border-radius: 50%; }
.byline .who strong { display: block; font-size: 16px; color: var(--cj-black); }
.share { display: flex; flex-wrap: wrap; gap: 8px; }
.share .btn { min-height: 44px; padding: 9px 16px; font-size: 14px; background: #fff; color: var(--cj-black); border-color: var(--cj-line-2); }
.share .btn:hover { border-color: var(--cj-black); }
.article-figure { margin: 32px auto 0; }
.article-figure figcaption { margin-top: 10px; font-family: var(--cj-mono); font-size: 12px; color: var(--cj-muted); text-transform: uppercase; letter-spacing: 0.04em; }
.article-body { display: flex; flex-wrap: wrap; gap: 48px 72px; padding-top: 48px; padding-bottom: 80px; }
.entry { flex: 999 1 560px; min-width: 0; max-width: 700px; font-size: 19px; line-height: 1.75; color: var(--cj-text); }
.entry > * { margin-top: 0; margin-bottom: 24px; }
.entry h2 { margin-top: 40px; margin-bottom: 16px; font-family: var(--cj-display); font-size: 30px; font-weight: 700; line-height: 1.15; letter-spacing: -0.03em; color: var(--cj-black); }
.entry h3 { margin-top: 32px; margin-bottom: 12px; font-family: var(--cj-display); font-size: 23px; font-weight: 600; line-height: 1.2; letter-spacing: -0.02em; color: var(--cj-black); }
.entry ul, .entry ol { padding-left: 24px; }
.entry li { margin-bottom: 8px; }
.entry a { color: var(--cj-black); text-decoration-thickness: 1px; text-underline-offset: 3px; }
.entry blockquote, .entry .wp-block-quote, .entry .wp-block-pullquote { margin: 32px 0; padding: 28px 32px; background: var(--cj-black); color: #fff; border: 0; border-radius: 16px; font-family: var(--cj-display); font-size: 24px; font-weight: 600; line-height: 1.35; letter-spacing: -0.01em; }
.entry blockquote p { margin: 0 0 12px; }
.entry blockquote p:last-of-type { margin-bottom: 0; }
.entry blockquote cite { display: block; margin-top: 14px; font-family: var(--cj-mono); font-size: 12.5px; font-style: normal; font-weight: 500; color: var(--cj-dark-muted); text-transform: uppercase; letter-spacing: 0.04em; }
.entry figure { margin-left: 0; margin-right: 0; }
.entry figure img { border-radius: 14px; }
.entry figcaption, .entry .wp-element-caption { margin-top: 8px; font-family: var(--cj-mono); font-size: 12px; color: var(--cj-muted); }
.entry .wp-block-embed iframe, .entry iframe { width: 100%; aspect-ratio: 16 / 9; height: auto; border: 0; border-radius: 14px; }
.entry table { width: 100%; border-collapse: collapse; font-size: 16px; }
.entry th, .entry td { border-bottom: 1px solid var(--cj-line); padding: 10px 8px; text-align: left; }
.entry .wp-block-group.has-background, .entry .box { background: var(--cj-soft); border-radius: 16px; padding: 28px 32px; font-size: 17px; line-height: 1.6; }
.disclaimer { font-size: 14px !important; line-height: 1.6 !important; color: var(--cj-muted); border-top: 1px solid var(--cj-line); padding-top: 18px; }
.post-tags { display: flex; flex-wrap: wrap; gap: 8px; font-size: 14px; }
.post-tags a { text-decoration: none; color: var(--cj-black); border: 1px solid var(--cj-line-2); border-radius: 999px; padding: 6px 14px; }
.article-aside { flex: 1 1 300px; min-width: 0; display: flex; flex-direction: column; gap: 16px; }
.summary { background: var(--cj-black); color: #fff; border-radius: 16px; padding: 24px; display: flex; flex-direction: column; gap: 14px; }
.summary .mono { font-size: 12px; color: var(--cj-accent); }
.summary ul { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 12px; }
.summary li { font-size: 15.5px; line-height: 1.55; color: #E4E4E7; padding-left: 18px; position: relative; }
.summary li::before { content: ""; position: absolute; left: 0; top: 0.62em; width: 7px; height: 7px; border-radius: 2px; background: var(--cj-accent); }
.cta-box { border: 1px solid var(--cj-line); border-radius: 16px; padding: 24px; display: flex; flex-direction: column; gap: 12px; }
.cta-box strong { font-family: var(--cj-display); font-size: 20px; font-weight: 600; line-height: 1.25; color: var(--cj-black); }
.cta-box span { font-size: 15px; color: var(--cj-muted); }
.cta-box .btn { align-self: flex-start; }

/* ============ Página simples ============ */
.page-simple { padding-top: 64px; padding-bottom: 96px; }
.page-simple h1 { margin: 0 0 32px; font-family: var(--cj-display); font-weight: 700; font-size: clamp(38px, 5vw, 56px); line-height: 1.02; letter-spacing: -0.04em; color: var(--cj-black); }
.page-simple .entry { max-width: 760px; }

/* ============ Rodapé ============ */
.site-footer { background: var(--cj-black); color: var(--cj-dark-muted); font-size: 15px; overflow: hidden; }
.site-footer .wrap { padding-top: 64px; display: flex; flex-direction: column; gap: 40px; }
.footer-top { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 24px 48px; }
.footer-top .legal { flex: 1 1 380px; display: flex; flex-direction: column; gap: 10px; max-width: 520px; }
.footer-nav ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 40px; }
.footer-nav a { color: #E4E4E7; text-decoration: none; }
.footer-nav a:hover { color: #fff; text-decoration: underline; }
.footer-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; border-top: 1px solid var(--cj-dark-line); padding-top: 20px; font-family: var(--cj-mono); font-size: 12.5px; text-transform: uppercase; letter-spacing: 0.04em; }
.wordmark { font-family: var(--cj-display); font-weight: 700; font-size: clamp(40px, 8.2vw, 124px); line-height: 1; letter-spacing: -0.05em; color: #fff; white-space: nowrap; padding-bottom: 40px; }
.wordmark span { color: var(--cj-accent); }

/* Capas do YouTube */
.is-yt { position: relative; overflow: hidden; display: block; }
.is-yt img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.12); }
.video-embed.is-yt img, .b-video .screen.is-yt img { transform: none; }
.b-video .screen.is-yt { position: relative; padding: 0; }
.b-video .screen.is-yt img { position: absolute; inset: 0; }
.is-yt .play { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); box-shadow: 0 8px 24px rgba(0,0,0,.35); }
.play-sm { position: absolute; left: 12px; bottom: 12px; width: 40px; height: 40px; border-radius: 50%; background: var(--cj-accent); display: flex; align-items: center; justify-content: center; }
.video-embed.is-yt .play { width: 60px; height: 60px; }
.yt-card { display: flex; flex-direction: column; gap: 12px; text-decoration: none; color: #fff; }
.yt-card strong { font-family: var(--cj-display); font-size: 19px; font-weight: 600; line-height: 1.3; }
.yt-card:hover strong { text-decoration: underline; text-underline-offset: 3px; }

/* Botão flutuante WhatsApp */
.wa-float { position: fixed; right: 20px; bottom: 20px; z-index: 50; width: 58px; height: 58px; border-radius: 50%; background: var(--cj-black); color: #fff; display: flex; align-items: center; justify-content: center; box-shadow: 0 10px 30px rgba(0,0,0,0.25); border: 2px solid var(--cj-accent); }
.wa-float:hover { color: #fff; transform: translateY(-2px); }

/* Alinhamentos padrão do WordPress */
.alignleft { float: left; margin: 0 24px 16px 0; }
.alignright { float: right; margin: 0 0 16px 24px; }
.aligncenter { margin-left: auto; margin-right: auto; }
.wp-caption-text { font-size: 13px; color: var(--cj-muted); }
.sticky, .bypostauthor, .gallery-caption { }
