/* Páginas de conteúdo (lista e post): mesmo visual do site SYX-AI. */
:root { --bg: #0E0E10; --surface: #16161A; --line: #26272D; --text: #F4F2EE; --muted: #B9BCC4; --dim: #8A8E98; --accent: #E2565C; --red: #A41014; --paper: #F6F5F2; --card: #FDFDFB; --ink: #0F2143; --ink2: #4A5570; --edge: #E3E3DE; }
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--text); font: 16px/1.5 Inter, system-ui, sans-serif; }
a { color: var(--accent); }
a:hover { color: var(--text); }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }
img { max-width: 100%; }
.skip { position: absolute; left: -10000px; top: 8px; background: #FFFFFF; color: var(--bg); padding: 10px 16px; border-radius: 8px; z-index: 100; font-weight: 600; }
.skip:focus { left: 16px; }
.wrap { max-width: 1200px; margin: 0 auto; padding-left: 24px; padding-right: 24px; }
.wrap.narrow { max-width: 820px; }
.pad { padding-top: 72px; padding-bottom: 112px; }
.pad-sm { padding-top: 24px; padding-bottom: 96px; }
.pad-hero { padding-top: 120px; padding-bottom: 140px; }
.eyebrow { margin: 0 0 16px; font-size: 14px; font-weight: 600; letter-spacing: .25em; text-transform: uppercase; color: var(--accent); }
.eyebrow.sm { font-size: 13px; margin: 0; }
.h1 { margin: 0; font-family: Sora, Inter, sans-serif; font-weight: 600; font-size: clamp(32px, 4.6vw, 54px); line-height: 1.1; }
.h2 { margin: 0 0 32px; font-family: Sora, Inter, sans-serif; font-weight: 600; font-size: clamp(26px, 3vw, 36px); line-height: 1.15; }
.lead { margin: 22px 0 0; font-size: 20px; line-height: 1.5; color: var(--muted); max-width: 720px; }
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; background: #FFFFFF; color: var(--bg); padding: 14px 24px; border-radius: 12px; font-weight: 600; font-size: 16px; text-decoration: none; border: 1px solid #FFFFFF; }
.btn:hover { color: var(--bg); background: #E9E8E3; border-color: #E9E8E3; }
.btn.ghost-dark { background: none; color: var(--ink); border-color: var(--ink2); }
.btn.ghost-dark:hover { color: var(--ink); border-color: var(--ink); }

/* cabeçalho (igual ao do site) */
.hdr { position: sticky; top: 0; z-index: 30; background: var(--bg); border-bottom: 1px solid var(--line); }
.hdr-in { max-width: 1200px; margin: 0 auto; padding: 20px 24px; display: flex; flex-wrap: wrap; gap: 16px 32px; align-items: center; justify-content: space-between; }
.hdr-logo { display: flex; }
.hdr-logo img { height: 30px; width: auto; display: block; }
.hdr-nav { display: flex; flex-wrap: wrap; gap: 8px 28px; font-size: 15px; font-weight: 600; }
.hdr-nav a { color: var(--muted); text-decoration: none; }
.hdr-nav a:hover, .hdr-nav a[aria-current="page"] { color: var(--text); }
.hdr-cta { background: #FFFFFF; color: var(--bg); padding: 12px 20px; border-radius: 12px; font-weight: 600; font-size: 15px; text-decoration: none; }
.hdr-cta:hover { color: var(--bg); background: #E9E8E3; }
.hdr-burger { display: none; width: 44px; height: 44px; border-radius: 12px; border: 1px solid var(--line); background: none; color: var(--text); cursor: pointer; align-items: center; justify-content: center; }
.lbl-sm { display: none; }

/* topo da lista */
.page-hero { border-bottom: 1px solid var(--line); }
.page-hero .wrap { padding-top: 96px; padding-bottom: 72px; }

/* área clara (como a seção Conteúdo da home) */
.light { background: var(--paper); color: var(--ink); }
.light a { color: var(--red); }
.light a:hover { color: var(--ink); }
.light .eyebrow { color: var(--red); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 40px; }
.chip { display: inline-flex; align-items: center; min-height: 44px; padding: 8px 18px; border-radius: 999px; border: 1px solid var(--edge); background: var(--card); color: var(--ink) !important; font-weight: 600; font-size: 15px; text-decoration: none; }
.chip:hover { border-color: var(--ink2); }
.chip[aria-current="page"] { background: var(--ink); color: var(--card) !important; border-color: var(--ink); }
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 24px; }
.card { background: var(--card); border: 1px solid var(--edge); border-radius: 20px; overflow: hidden; transition: border-color .2s, transform .2s; }
.card:hover { border-color: #C9C9C2; transform: translateY(-2px); }
.card-link { display: flex; flex-direction: column; height: 100%; color: var(--ink) !important; text-decoration: none; }
.card-img { aspect-ratio: 16 / 10; background: #E9E8E3; overflow: hidden; }
.card-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.card-ph { display: block; width: 100%; height: 100%; background: linear-gradient(135deg, #16161A 0%, #2A1416 100%); }
.card-body { display: flex; flex-direction: column; gap: 12px; padding: 24px 26px 28px; flex: 1; }
.card-body h3 { margin: 0; font-family: Sora, Inter, sans-serif; font-weight: 600; font-size: 21px; line-height: 1.3; }
.card-body p { margin: 0; font-size: 15px; line-height: 1.5; color: var(--ink2); }
.card-body time { margin-top: auto; padding-top: 4px; font-size: 14px; color: #666A74; }
.empty { text-align: center; padding: 48px 0 24px; }
.empty h2 { margin: 0 0 8px; font-family: Sora, Inter, sans-serif; font-size: 26px; }
.empty p { margin: 0; color: var(--ink2); }
.pager { display: flex; flex-wrap: wrap; gap: 16px; align-items: center; justify-content: center; margin-top: 48px; color: var(--ink2); }
.cta-band { margin-top: 64px; background: #16161A; color: var(--text); border: 1px solid var(--line); border-radius: 20px; padding: 32px; display: flex; flex-wrap: wrap; gap: 24px; align-items: center; justify-content: space-between; }
.cta-band > div { flex: 1 1 380px; min-width: 0; }
.cta-band .eyebrow { color: var(--accent); font-size: 13px; margin-bottom: 10px; }
.cta-title { margin: 0; font-family: Sora, Inter, sans-serif; font-weight: 600; font-size: 24px; line-height: 1.25; }
.cta-text { margin: 10px 0 0; font-size: 16px; line-height: 1.5; color: var(--muted); }
.light .cta-band .btn, .cta-band .btn { color: var(--bg); }

/* post */
.admin-bar { background: #2A1416; border-bottom: 1px solid #5A1F22; font-size: 14px; }
.admin-bar .wrap { display: flex; gap: 16px; justify-content: space-between; align-items: center; padding-top: 10px; padding-bottom: 10px; }
.admin-bar a { color: var(--text); font-weight: 600; }
.post-head .wrap { padding-top: 72px; padding-bottom: 56px; }
.crumbs { display: flex; gap: 10px; flex-wrap: wrap; font-size: 14px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 20px; color: var(--dim); }
.crumbs a { color: var(--accent); text-decoration: none; }
.crumbs a:hover { color: var(--text); }
.post-meta { margin: 24px 0 0; font-size: 15px; color: var(--dim); }
.post-body { padding-bottom: 8px; }
.post-cover { margin: 0 auto; padding-top: 0; transform: translateY(-1px); }
.post-cover img { display: block; width: 100%; max-height: 640px; object-fit: cover; border-radius: 0 0 20px 20px; }
.prose { padding-top: 56px; padding-bottom: 72px; font-size: 18px; line-height: 1.7; color: #1B2A4A; }
.prose > :first-child { margin-top: 0; }
.prose p { margin: 0 0 1.2em; }
.prose h2 { font-family: Sora, Inter, sans-serif; font-weight: 600; font-size: 28px; line-height: 1.25; margin: 1.8em 0 .6em; color: var(--ink); }
.prose h3 { font-family: Sora, Inter, sans-serif; font-weight: 600; font-size: 21px; line-height: 1.3; margin: 1.6em 0 .5em; color: var(--ink); }
.prose ul, .prose ol { margin: 0 0 1.2em; padding-left: 1.4em; }
.prose li { margin: .35em 0; }
.prose li::marker { color: var(--red); }
.prose blockquote { margin: 1.6em 0; padding: 4px 0 4px 22px; border-left: 3px solid var(--accent); font-size: 20px; color: var(--ink2); }
.prose strong { color: var(--ink); }
.prose a { text-decoration-thickness: 1px; text-underline-offset: 3px; }
.video { margin: 40px 0; aspect-ratio: 16 / 9; border-radius: 16px; overflow: hidden; background: #000; }
.video iframe, .video video { width: 100%; height: 100%; border: 0; display: block; }
.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 16px; margin: 40px 0; }
.gallery figure { margin: 0; }
.g-open { display: block; width: 100%; padding: 0; border: 0; background: #E9E8E3; border-radius: 12px; overflow: hidden; cursor: zoom-in; aspect-ratio: 4 / 3; }
.g-open img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .3s; }
.g-open:hover img { transform: scale(1.04); }
.gallery figcaption { margin-top: 8px; font-size: 14px; line-height: 1.4; color: var(--ink2); }

/* foto ampliada */
.lightbox { width: 100vw; height: 100vh; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; background: rgba(8,8,10,.94); color: var(--text); }
.lightbox[open] { display: flex; align-items: center; justify-content: center; }
.lightbox::backdrop { background: rgba(8,8,10,.94); }
.lightbox figure { margin: 0; max-width: calc(100vw - 160px); text-align: center; }
.lightbox img { max-width: 100%; max-height: calc(100vh - 120px); display: block; margin: 0 auto; border-radius: 8px; }
.lightbox figcaption { margin-top: 12px; color: var(--muted); font-size: 15px; }
.lightbox button { position: absolute; width: 52px; height: 52px; border-radius: 50%; border: 1px solid var(--line); background: rgba(22,22,26,.85); color: var(--text); font-size: 30px; line-height: 1; cursor: pointer; }
.lightbox button:hover { border-color: var(--dim); }
.lb-close { top: 16px; right: 16px; }
.lb-prev { left: 20px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 20px; top: 50%; transform: translateY(-50%); }

/* rodapé (igual ao do site) */
.ftr { background: var(--bg); border-top: 1px solid var(--line); }
.ftr-in { max-width: 1200px; margin: 0 auto; padding: 56px 24px 40px; }
.ftr-cols { display: flex; flex-wrap: wrap; gap: 40px; justify-content: space-between; }
.ftr-brand { flex: 1 1 260px; min-width: 0; }
.ftr-brand img { height: 34px; width: auto; display: block; }
.ftr-brand p { margin: 20px 0 0; font-size: 15px; line-height: 1.5; color: var(--muted); max-width: 300px; }
.ftr nav, .ftr-contact { flex: 1 1 160px; display: flex; flex-direction: column; gap: 10px; font-size: 15px; }
.ftr nav span, .ftr-contact span { font-weight: 600; }
.ftr a { color: var(--muted); text-decoration: none; }
.ftr a:hover { color: var(--text); }
.ftr-base { display: flex; flex-wrap: wrap; gap: 12px 24px; justify-content: space-between; margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--line); font-size: 14px; color: var(--dim); }

@media (max-width: 760px) {
  .hdr-in { padding: 10px 16px; flex-wrap: nowrap; gap: 10px; }
  .hdr-logo { min-height: 44px; align-items: center; }
  .hdr-logo img { height: 26px; }
  .hdr-nav { display: none; }
  .hdr[data-open="true"] .hdr-nav { display: flex; position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; background: var(--bg); border-bottom: 1px solid var(--line); padding: 4px 16px 16px; gap: 0; box-shadow: 0 24px 48px rgba(14,14,16,.6); }
  .hdr[data-open="true"] .hdr-nav a { display: flex; align-items: center; min-height: 52px; font-size: 18px; border-top: 1px solid var(--line); }
  .hdr-cta { margin-left: auto; padding: 0 14px; font-size: 14px; white-space: nowrap; min-height: 44px; display: inline-flex; align-items: center; }
  .lbl-lg { display: none; } .lbl-sm { display: inline; }
  .hdr-burger { display: inline-flex; flex: 0 0 auto; }
  .wrap { padding-left: 20px; padding-right: 20px; }
  .page-hero .wrap { padding-top: 56px; padding-bottom: 44px; }
  .lead { font-size: 17px; margin-top: 16px; }
  .pad { padding-top: 40px; padding-bottom: 64px; }
  .pad-sm { padding-bottom: 64px; }
  .post-head .wrap { padding-top: 40px; padding-bottom: 36px; }
  .post-cover { padding: 0; }
  .post-cover img { border-radius: 0; max-height: 360px; }
  .prose { padding-top: 36px; padding-bottom: 48px; font-size: 17px; }
  .prose h2 { font-size: 24px; }
  .grid { grid-template-columns: 1fr; gap: 16px; }
  .gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .cta-band { padding: 24px 20px; margin-top: 48px; }
  .cta-band .btn { width: 100%; }
  .ftr a { display: inline-flex; align-items: center; min-height: 44px; }
  .lightbox figure { max-width: 100vw; padding: 0 8px; }
  .lb-prev, .lb-next { top: auto !important; bottom: 20px; transform: none !important; }
  .lb-prev { left: calc(50% - 64px); }
  .lb-next { right: calc(50% - 64px); }
  .lightbox img { max-height: calc(100vh - 180px); }
}
@media (prefers-reduced-motion: reduce) {
  .card, .g-open img { transition: none; }
}
