:root {
  --bg: #0b0c0f;
  --panel: #15171d;
  --border: #262a34;
  --text: #f2f3f6;
  --muted: #9aa1af;
  --accent: #c9a04f;
}
* { box-sizing: border-box; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; }
.site-container { max-width: 1040px; margin: 0 auto; padding: 0 24px; }
.skip-link { position: absolute; left: -9999px; top: 0; background: var(--accent); color: #171a21; padding: 10px 16px; z-index: 100; }
.skip-link:focus { left: 12px; top: 12px; }

.site-header { border-bottom: 1px solid var(--border); position: sticky; top: 0; background: rgba(11,12,15,.94); backdrop-filter: blur(6px); z-index: 10; }
.site-header-inner { display: flex; align-items: center; justify-content: space-between; height: 72px; gap: 20px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--text); }
.brand-mark { width: 36px; height: 36px; object-fit: contain; }
.brand span { display: flex; flex-direction: column; line-height: 1.25; font-size: 13px; color: var(--muted); }
.brand strong { font-family: Georgia, "Times New Roman", serif; font-size: 16px; color: var(--text); font-weight: 600; }
.site-nav { display: flex; gap: 26px; flex-wrap: wrap; }
.site-nav a { text-decoration: none; color: var(--muted); font-size: 14px; }
.site-nav a:hover, .site-nav a.active { color: var(--accent); }

.nav-toggle { display: none; flex-direction: column; justify-content: center; gap: 5px; width: 36px; height: 36px; background: none; border: 1px solid var(--border); border-radius: 6px; cursor: pointer; flex-shrink: 0; }
.nav-toggle span { display: block; width: 18px; height: 2px; background: var(--text); margin: 0 auto; transition: transform .2s, opacity .2s; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 700px) {
  .nav-toggle { display: flex; }
  .site-nav {
    display: none; flex-direction: column; gap: 0;
    position: absolute; top: 72px; left: 0; right: 0;
    background: var(--panel); border-bottom: 1px solid var(--border);
    padding: 8px 24px 16px;
  }
  .site-nav.open { display: flex; }
  .site-nav a { padding: 12px 0; border-top: 1px solid var(--border); font-size: 15px; }
  .site-nav a:first-child { border-top: none; }
  .brand span { display: none; }
}

.hero { padding: 64px 0 48px; border-bottom: 1px solid var(--border); }
.hero-grid { display: grid; grid-template-columns: 1.15fr 1fr; gap: 40px; align-items: center; }
@media (max-width: 820px) { .hero-grid { grid-template-columns: 1fr; } }
.hero-photo { position: relative; border-radius: 10px; overflow: hidden; border: 1px solid var(--border); }
.hero-photo img { width: 100%; height: 100%; object-fit: cover; display: block; aspect-ratio: 4/5; }
.hero-photo-caption {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 22px 22px 20px;
  background: linear-gradient(0deg, rgba(6,7,9,.92) 10%, rgba(6,7,9,.55) 60%, transparent 100%);
}
.hero-photo-name { font-family: Georgia, "Times New Roman", serif; font-size: 24px; line-height: 1.2; margin: 0 0 8px; color: #fff; }
.hero-photo-name span { color: var(--accent); }
.hero-photo-tags { font-size: 11px; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); margin: 0 0 10px; }
.hero-photo-text { font-size: 14px; line-height: 1.55; color: #e4e6ea; margin: 0; }
.hero-photo-text span { color: var(--accent); }
.eyebrow { font-size: 12px; text-transform: uppercase; letter-spacing: .09em; color: var(--accent); margin: 0 0 14px; }
.hero h1 { font-family: Georgia, "Times New Roman", serif; font-size: 42px; line-height: 1.18; margin: 0 0 16px; max-width: 680px; }
.hero h1 em { color: var(--accent); font-style: normal; }
.hero p { color: var(--muted); font-size: 17px; max-width: 560px; line-height: 1.6; margin: 0 0 26px; }
.hero-ctas { display: flex; gap: 12px; flex-wrap: wrap; }

.btn-gold { display: inline-flex; align-items: center; gap: 8px; background: var(--accent); color: #171a21; font-weight: 600; text-decoration: none; padding: 12px 22px; border-radius: 6px; font-size: 14px; }
.btn-gold:hover { opacity: .9; }
.btn-outline { display: inline-flex; align-items: center; gap: 8px; border: 1px solid var(--border); color: var(--text); text-decoration: none; padding: 12px 22px; border-radius: 6px; font-size: 14px; }
.btn-outline:hover { border-color: var(--accent); color: var(--accent); }

section.block { padding: 56px 0; }
section.block + section.block { border-top: 1px solid var(--border); }
.block-head { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 28px; }
.block-head h2 { font-family: Georgia, "Times New Roman", serif; font-size: 26px; margin: 0; }
.block-head a.see-all { color: var(--accent); text-decoration: none; font-size: 14px; white-space: nowrap; }

.sobre-grid { display: grid; grid-template-columns: 1fr 1.3fr; gap: 48px; align-items: center; }
.sobre-lead { font-size: 17px; line-height: 1.6; color: #dfe2e8; }
.sobre-extra { max-width: 700px; margin: 36px auto 0; }
.sobre-extra p { color: var(--muted); font-size: 16px; line-height: 1.7; margin: 0 0 16px; }
.sobre-extra strong { color: var(--text); font-weight: 600; }
@media (max-width: 780px) { .sobre-grid { grid-template-columns: 1fr; } }
.sobre-grid img { width: 100%; border-radius: 10px; border: 1px solid var(--border); }
.sobre-grid blockquote, .sobre-extra blockquote { font-family: Georgia, serif; font-style: italic; font-size: 19px; color: var(--text); border-left: 3px solid var(--accent); padding-left: 18px; margin: 22px 0; }
.sobre-grid p { color: var(--muted); font-size: 16px; line-height: 1.7; margin: 0 0 16px; }

.numbered-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
@media (max-width: 900px) { .numbered-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .numbered-grid { grid-template-columns: 1fr; } }
.numbered-card { display: block; }
a.numbered-card { text-decoration: none; color: inherit; }
a.numbered-card:hover h3 { color: var(--accent); }
.numbered-card .num { color: var(--accent); font-size: 13px; margin-bottom: 8px; }
.numbered-card-media { display: block; text-decoration: none; }
.numbered-card .card-cover { width: 100%; aspect-ratio: 3/4; object-fit: contain; background: transparent; border-radius: 6px; margin-bottom: 12px; }
.numbered-card .card-cover.no-image { object-fit: cover; display: flex; align-items: center; justify-content: center; color: var(--muted); font-size: 13px; text-align: center; padding: 16px; background: var(--panel); border: 1px solid var(--border); }
.numbered-card h3 { font-size: 16px; margin: 0 0 6px; line-height: 1.35; }
.numbered-card h3 a { color: inherit; text-decoration: none; }
.numbered-card h3 a:hover { color: var(--accent); }
.numbered-card > p { color: var(--muted); font-size: 13px; line-height: 1.5; margin: 0 0 12px; }
.btn-saiba-mais { display: inline-flex; align-items: center; gap: 6px; color: var(--accent); text-decoration: none; font-size: 13px; font-weight: 600; border: 1px solid var(--border); border-radius: 6px; padding: 7px 14px; }
.btn-saiba-mais:hover { border-color: var(--accent); }

.numbered-list-item { display: block; text-decoration: none; color: inherit; padding: 24px 0; border-top: 1px solid var(--border); }
.numbered-list-item:first-child { border-top: none; }
.numbered-list-item .num { color: var(--accent); font-size: 13px; margin-bottom: 6px; }
.numbered-list-item h3 { font-size: 19px; margin: 0 0 8px; }
.numbered-list-item p { color: var(--muted); font-size: 15px; line-height: 1.55; margin: 0 0 10px; }
.numbered-list-item .ler-link { color: var(--accent); font-size: 14px; }
.numbered-list-item:hover h3 { color: var(--accent); }

.list-row { display: flex; gap: 20px; padding: 22px 0; border-top: 1px solid var(--border); text-decoration: none; color: inherit; align-items: flex-start; }
.list-row:first-child { border-top: none; }
.list-row .cover-sm { width: 76px; height: 76px; border-radius: 8px; object-fit: cover; background: var(--panel); border: 1px solid var(--border); flex-shrink: 0; }
.list-row .cover-sm.no-image { display: flex; align-items: center; justify-content: center; color: var(--muted); font-size: 11px; text-align: center; }
.list-row-body { flex: 1; min-width: 0; }
.tag { font-size: 11px; text-transform: uppercase; letter-spacing: .07em; color: var(--accent); margin-bottom: 5px; }
.list-row h3 { font-size: 17px; margin: 0 0 6px; }
.list-row p { color: var(--muted); font-size: 14px; line-height: 1.5; margin: 0; }
.list-row:hover h3 { color: var(--accent); }

.detail-header { padding: 48px 24px 32px; display: grid; grid-template-columns: 220px 1fr; gap: 40px; align-items: start; }
@media (max-width: 700px) { .detail-header { grid-template-columns: 1fr; } }
.detail-header img { width: 100%; aspect-ratio: 3/4; object-fit: contain; background: var(--panel); border-radius: 10px; border: 1px solid var(--border); }
.detail-header h1 { font-family: Georgia, "Times New Roman", serif; font-size: 32px; margin: 0 0 16px; line-height: 1.25; }
.detail-header .excerpt { color: var(--muted); font-size: 16px; line-height: 1.65; margin-bottom: 12px; }
.detail-header .description { color: var(--text); font-size: 16px; line-height: 1.7; margin-bottom: 24px; }
.breadcrumb { font-size: 13px; color: var(--muted); padding: 20px 24px 0; }
.breadcrumb a { color: var(--muted); text-decoration: none; }
.breadcrumb a:hover { color: var(--accent); }

.empty { color: var(--muted); padding: 40px 0; }

.series-nav { border-top: 1px solid var(--border); margin-top: 40px; padding-top: 28px; }
.series-nav h2 { font-size: 13px; text-transform: uppercase; letter-spacing: .07em; color: var(--muted); margin: 0 0 14px; }
.series-nav ol { list-style: none; margin: 0; padding: 0; }
.series-nav li { display: flex; gap: 12px; padding: 11px 0; border-top: 1px solid var(--border); }
.series-nav li:first-child { border-top: none; }
.series-nav a { text-decoration: none; }
.series-nav a:hover { color: var(--accent); }
.series-nav .current { font-weight: 600; }
.series-nav .num { color: var(--muted); width: 20px; flex-shrink: 0; }

/* Leitor de artigos */
.article-head { padding: 48px 0 20px; max-width: 760px; margin: 0 auto; padding-left: 24px; padding-right: 24px; }
.article-head .eyebrow { margin-bottom: 16px; }
.article-head h1 { font-family: Georgia, serif; font-size: 32px; margin: 0 0 10px; line-height: 1.25; }
.article-subtitle { font-style: italic; color: var(--muted); font-size: 18px; margin: 0 0 16px; }
.article-excerpt { color: var(--text); font-size: 16px; line-height: 1.6; margin: 0 0 10px; }
.article-note { color: var(--muted); font-size: 13px; margin: 0 0 30px; }

.reader-shell { padding: 0 0 80px; }
.pdf-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap; padding: 14px 18px; background: var(--panel); border: 1px solid var(--border); border-radius: 10px 10px 0 0; }
.pdf-toolbar-group { display: flex; align-items: center; gap: 8px; }
.pdf-toolbar-label { font-size: 11px; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); margin-right: 4px; }
.pdf-toolbar button { background: #0f1115; border: 1px solid var(--border); color: var(--text); border-radius: 6px; padding: 7px 12px; cursor: pointer; font-size: 13px; }
.pdf-toolbar button:hover { border-color: var(--accent); color: var(--accent); }
.pdf-zoom-value { font-size: 13px; color: var(--muted); min-width: 42px; text-align: center; }
.pdf-page-info { font-size: 13px; color: var(--muted); }
#pdf-canvas-wrap { display: flex; justify-content: center; background: #05060a; border-left: 1px solid var(--border); border-right: 1px solid var(--border); padding: 24px; overflow: auto; user-select: none; }
#pdf-canvas-wrap canvas { max-width: 100%; height: auto; box-shadow: 0 10px 30px rgba(0,0,0,.4); background: #fff; }
.pdf-bottom-nav { display: flex; justify-content: space-between; gap: 10px; padding: 16px 18px; background: var(--panel); border: 1px solid var(--border); border-top: none; border-radius: 0 0 10px 10px; }
.pdf-bottom-nav button { background: #0f1115; border: 1px solid var(--border); color: var(--text); border-radius: 6px; padding: 9px 16px; cursor: pointer; font-size: 13px; }
.pdf-bottom-nav button:hover { border-color: var(--accent); color: var(--accent); }
.reader-note { color: var(--muted); font-size: 13px; margin-top: 16px; text-align: center; }

body.focus-mode .site-header,
body.focus-mode #articleChrome,
body.focus-mode #articleHeadChrome,
body.focus-mode #seriesNavChrome,
body.focus-mode .site-footer { display: none; }
body.focus-mode .reader-shell { padding-top: 24px; }

.site-footer { border-top: 1px solid var(--border); padding: 44px 0 0; color: var(--muted); font-size: 13px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 32px; padding-bottom: 32px; }
@media (max-width: 720px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
.footer-brand .brand-mark { width: 34px; margin-bottom: 10px; }
.footer-name { color: var(--text); font-weight: 600; letter-spacing: .04em; font-size: 12px; margin: 0 0 8px; }
.footer-tagline { max-width: 240px; line-height: 1.5; }
.footer-heading { color: var(--text); font-size: 12px; text-transform: uppercase; letter-spacing: .06em; margin: 0 0 12px; }
.site-footer a { display: block; text-decoration: none; color: var(--muted); font-size: 13px; margin-bottom: 8px; }
.site-footer a:hover { color: var(--accent); }
.footer-bottom { border-top: 1px solid var(--border); padding: 18px 24px; font-size: 12px; }

/* Aviso de cookies */
.cookie-banner {
  position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 50;
  max-width: 560px; margin: 0 auto;
  background: var(--panel); border: 1px solid var(--border); border-radius: 10px;
  padding: 18px 20px; display: flex; align-items: center; gap: 16px; flex-wrap: wrap;
  box-shadow: 0 12px 30px rgba(0,0,0,.5);
}
.cookie-banner p { margin: 0; font-size: 13px; color: var(--muted); flex: 1; min-width: 220px; line-height: 1.5; }
.cookie-banner a { color: var(--accent); text-decoration: underline; }
.cookie-banner button { background: var(--accent); color: #171a21; border: none; border-radius: 6px; padding: 9px 18px; font-size: 13px; font-weight: 600; cursor: pointer; white-space: nowrap; }

/* Página de novidades (linha do tempo) */
.timeline { position: relative; max-width: 780px; }
.timeline::before { content: ''; position: absolute; left: 108px; top: 8px; bottom: 8px; width: 1px; background: var(--border); }
.timeline-item { position: relative; display: grid; grid-template-columns: 90px 1fr; gap: 24px; padding-bottom: 40px; }
.timeline-item:last-child { padding-bottom: 0; }
.timeline-date { text-align: right; padding-top: 4px; }
.timeline-date .tl-day { display: block; font-family: Georgia, serif; font-size: 26px; color: var(--text); line-height: 1; }
.timeline-date .tl-month { display: block; font-size: 12px; text-transform: uppercase; letter-spacing: .06em; color: var(--accent); margin-top: 4px; }
.timeline-date .tl-year { display: block; font-size: 11px; color: var(--muted); }
.timeline-dot { position: absolute; left: 104px; top: 10px; width: 9px; height: 9px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 4px var(--bg); }
.timeline-card { background: var(--panel); border: 1px solid var(--border); border-radius: 10px; overflow: hidden; display: flex; gap: 0; }
.timeline-image { width: 180px; flex-shrink: 0; object-fit: cover; }
.timeline-body { padding: 20px 22px; flex: 1; min-width: 0; }
.timeline-body .tag { display: inline-block; margin-bottom: 8px; }
.timeline-body h2 { font-size: 18px; margin: 0 0 8px; line-height: 1.35; }
.timeline-body p { color: var(--muted); font-size: 14px; line-height: 1.55; margin: 0 0 12px; }
@media (max-width: 620px) {
  .timeline::before { left: 8px; }
  .timeline-item { grid-template-columns: 1fr; gap: 10px; }
  .timeline-dot { display: none; }
  .timeline-date { text-align: left; display: flex; align-items: baseline; gap: 8px; padding-left: 20px; }
  .timeline-card { flex-direction: column; }
  .timeline-image { width: 100%; height: 160px; }
}
.legal-page { max-width: 760px; padding: 48px 24px 80px; }
.legal-page h1 { font-family: Georgia, serif; font-size: 30px; margin: 0 0 6px; }
.legal-page .updated { color: var(--muted); font-size: 13px; margin: 0 0 30px; }
.legal-page h2 { font-size: 18px; margin: 34px 0 12px; }
.legal-page p, .legal-page li { color: #dfe2e8; font-size: 15px; line-height: 1.7; }
.legal-page ul { padding-left: 20px; }

/* Formulário de contato */
.contact-form { max-width: 560px; margin-top: 30px; }
.contact-form label { display: block; font-size: 13px; color: var(--muted); margin: 16px 0 6px; }
.contact-form label:first-of-type { margin-top: 0; }
.contact-form input, .contact-form textarea {
  width: 100%; background: var(--panel); border: 1px solid var(--border); color: var(--text);
  border-radius: 6px; padding: 11px 13px; font-size: 15px; font-family: inherit;
}
.contact-form textarea { min-height: 130px; resize: vertical; }
.form-status { margin-top: 16px; font-size: 14px; }
.form-status.ok { color: #4fa06b; }
.form-status.error { color: #c9524f; }




.social-icons {
  display: flex;
  gap: 16px;
  align-items: center;
}

.social-icons a {
  color: #ffffff; /* ajuste conforme a cor de fundo do seu footer */
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.social-icons a:hover {
  opacity: 0.7;
  transform: translateY(-2px);
}

/* Ações do card em Novidades (Ler mais / Saiba mais) */
.timeline-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.btn-ler-mais { background: none; cursor: pointer; font-family: inherit; }

/* Modal de leitura das novidades */
.modal-overlay {
  position: fixed; inset: 0; z-index: 200;
  background: rgba(5, 6, 10, .82); backdrop-filter: blur(3px);
  display: flex; align-items: center; justify-content: center; padding: 24px;
  opacity: 0; visibility: hidden; transition: opacity .2s ease;
}
.modal-overlay.open { opacity: 1; visibility: visible; }
.modal-box {
  position: relative; width: 100%; max-width: 640px; max-height: 85vh;
  background: var(--panel); border: 1px solid var(--border); border-radius: 12px;
  display: flex; flex-direction: column; box-shadow: 0 20px 50px rgba(0,0,0,.5);
}
.modal-close {
  position: absolute; top: 14px; right: 14px; z-index: 2;
  width: 32px; height: 32px; border-radius: 50%;
  background: #0f1115; border: 1px solid var(--border); color: var(--text);
  font-size: 18px; line-height: 1; display: flex; align-items: center; justify-content: center;
}
.modal-close:hover { border-color: var(--accent); color: var(--accent); }
.modal-scroll { overflow-y: auto; padding: 28px; }
.modal-scroll .modal-image { width: 100%; max-height: 280px; object-fit: cover; border-radius: 8px; margin-bottom: 16px; }
.modal-scroll .tag { display: inline-block; margin-bottom: 8px; }
.modal-scroll h2 { font-family: Georgia, serif; font-size: 22px; margin: 0 0 8px; line-height: 1.3; }
.modal-date { color: var(--muted); font-size: 13px; margin: 0 0 16px; }
.modal-body { color: #dfe2e8; font-size: 15px; line-height: 1.7; margin-bottom: 20px; }
body.modal-open { overflow: hidden; }
@media (max-width: 620px) {
  .modal-scroll { padding: 20px 18px; }
  .modal-box { max-height: 90vh; }
}

/* Página de Perguntas e Respostas */
.qa-list { display: flex; flex-direction: column; gap: 20px; max-width: 720px; }
.qa-item { background: var(--panel); border: 1px solid var(--border); border-radius: 10px; padding: 22px 24px; }
.qa-question { font-size: 15px; margin: 0 0 14px; color: var(--text); }
.qa-name { color: var(--accent); font-weight: 600; }
.qa-question-text { font-style: italic; }
.qa-answer { border-top: 1px solid var(--border); padding-top: 14px; }
.qa-answer p { color: #dfe2e8; line-height: 1.7; margin: 8px 0 10px; white-space: pre-wrap; }
.qa-date { color: var(--muted); font-size: 12px; }












