/* Littera Hub Literário — estilos do site */
:root {
  --paper: #fbf8f3;
  --paper-2: #f3eee6;
  --card: #ffffff;
  --ink: #1d1530;
  --ink-2: #4b4360;
  --muted: #7a7289;
  --line: #e6dfd3;
  --brand: #5a17c8;
  --brand-ink: #3b0d8a;
  --brand-deep: #22094f;
  --brand-soft: #efe7fd;
  --gold: #c9a14a;
  --green: #1d7a4f;
  --red: #b42b2b;
  --radius: 14px;
  --radius-sm: 8px;
  --shadow: 0 1px 2px rgba(29, 21, 48, .06), 0 8px 24px rgba(29, 21, 48, .06);
  --shadow-book: 0 2px 4px rgba(29, 21, 48, .12), 0 14px 30px rgba(29, 21, 48, .16);
  --serif: "Fraunces", Georgia, "Times New Roman", serif;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --container: 1180px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 400 17px/1.65 var(--sans);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--brand); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--brand-ink); }
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 600; line-height: 1.15; margin: 0 0 .5em; letter-spacing: -.01em; }
p { margin: 0 0 1em; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; border-radius: 4px; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.narrow { max-width: 780px; }
.center { text-align: center; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: -999px; top: 8px; background: var(--ink); color: #fff; padding: 8px 14px; border-radius: 6px; z-index: 100; }
.skip-link:focus { left: 8px; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(251, 248, 243, .92);
  backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; min-height: 72px; gap: 24px; }
.brand { display: inline-flex; flex-direction: column; text-decoration: none; color: var(--ink); line-height: 1; }
.brand-mark { font-family: var(--serif); font-size: 30px; font-weight: 700; color: var(--brand); letter-spacing: -.02em; }
.brand-sub { font-size: 11px; text-transform: uppercase; letter-spacing: .22em; color: var(--muted); margin-top: 4px; padding-left: 2px; }
.brand-light .brand-mark { color: #fff; }
.brand-light .brand-sub { color: rgba(255, 255, 255, .6); }

.main-nav { display: flex; align-items: center; gap: 28px; }
.main-nav ul { display: flex; gap: 22px; list-style: none; margin: 0; padding: 0; }
.main-nav ul a { color: var(--ink-2); text-decoration: none; font-size: 15px; font-weight: 500; padding: 6px 0; border-bottom: 2px solid transparent; }
.main-nav ul a:hover { color: var(--brand); }
.main-nav ul a[aria-current="page"] { color: var(--brand); border-bottom-color: var(--brand); }
.nav-toggle { display: none; }

@media (max-width: 1080px) {
  .nav-toggle {
    display: inline-flex; align-items: center; justify-content: center;
    width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 10px; background: var(--card); cursor: pointer;
  }
  .nav-toggle-bar, .nav-toggle-bar::before, .nav-toggle-bar::after {
    display: block; width: 20px; height: 2px; background: var(--ink); border-radius: 2px; position: relative; transition: transform .2s;
  }
  .nav-toggle-bar::before, .nav-toggle-bar::after { content: ""; position: absolute; left: 0; }
  .nav-toggle-bar::before { top: -6px; }
  .nav-toggle-bar::after { top: 6px; }
  .nav-open .nav-toggle-bar { background: transparent; }
  .nav-open .nav-toggle-bar::before { transform: translateY(6px) rotate(45deg); }
  .nav-open .nav-toggle-bar::after { transform: translateY(-6px) rotate(-45deg); }
  .main-nav {
    display: none; position: absolute; left: 0; right: 0; top: 100%;
    flex-direction: column; align-items: stretch; gap: 8px;
    background: var(--paper); border-bottom: 1px solid var(--line); padding: 12px 24px 24px;
    box-shadow: 0 12px 24px rgba(29, 21, 48, .08);
  }
  .nav-open .main-nav { display: flex; }
  .main-nav ul { flex-direction: column; gap: 0; }
  .main-nav ul a { display: block; padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 17px; }
  .main-nav ul a[aria-current="page"] { border-bottom-color: var(--line); }
  .main-nav .btn { margin-top: 8px; }
}

/* ---------- Botões ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 46px; padding: 0 22px; border-radius: 999px; border: 1px solid transparent;
  font: 600 15px/1 var(--sans); text-decoration: none; cursor: pointer; transition: background .15s, color .15s, border-color .15s, transform .15s;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--brand); color: #fff; }
.btn-primary:hover { background: var(--brand-ink); color: #fff; }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn-ghost:hover { background: var(--ink); color: #fff; }
.btn-light { background: #fff; color: var(--brand-deep); }
.btn-light:hover { background: var(--gold); color: var(--brand-deep); }
.btn-link { background: none; color: var(--brand); padding: 0 8px; }
.btn-link:hover { text-decoration: underline; }
.btn-small { min-height: 38px; padding: 0 16px; font-size: 14px; }
.btn-large { min-height: 54px; padding: 0 28px; font-size: 16px; }
.btn-block { width: 100%; }
.btn-disabled { background: var(--paper-2); color: var(--muted); cursor: not-allowed; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin: 24px 0; }
.actions-center { justify-content: center; }
.link-arrow { font-weight: 600; text-decoration: none; white-space: nowrap; }
.link-arrow::after { content: " →"; transition: margin .15s; }
.link-arrow:hover::after { margin-left: 4px; }

/* ---------- Tipografia de seção ---------- */
.eyebrow { font-size: 13px; font-weight: 600; text-transform: uppercase; letter-spacing: .16em; color: var(--brand); margin: 0 0 12px; }
.display { font-size: clamp(42px, 6.4vw, 78px); font-weight: 600; line-height: 1.02; letter-spacing: -.025em; margin-bottom: 24px; }
.display em, .cta-band em { font-style: italic; font-weight: 400; color: var(--brand); }
.lead { font-size: 19px; color: var(--ink-2); max-width: 640px; }
.section { padding: 88px 0; }
.section-tight { padding: 48px 0 88px; }
.section-alt { background: var(--paper-2); }
.section-title { font-size: clamp(30px, 3.6vw, 44px); margin-bottom: 0; }
.section-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; margin-bottom: 40px; flex-wrap: wrap; }
.block-title { font-size: 24px; margin: 40px 0 16px; }
.page-head { padding: 72px 0 32px; border-bottom: 1px solid var(--line); }
.page-title { font-size: clamp(36px, 5vw, 60px); letter-spacing: -.02em; margin-bottom: 16px; }
.crumbs { font-size: 14px; color: var(--muted); margin-bottom: 16px; }
.crumbs a { color: var(--muted); }

/* ---------- Hero ---------- */
.hero { padding: 72px 0 88px; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 56px; align-items: center; }
.hero-art { position: relative; min-height: 380px; display: flex; align-items: center; justify-content: center; }
.hero-art::before {
  content: ""; position: absolute; width: 420px; height: 420px; border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, var(--brand-soft), transparent 70%);
}
.hero-books { position: relative; width: 340px; height: 400px; }
.hero-book { position: absolute; width: 200px; box-shadow: var(--shadow-book); border-radius: 4px 10px 10px 4px; overflow: hidden; transition: transform .3s; }
.hero-book .cover { width: 100%; aspect-ratio: 2 / 3; object-fit: cover; }
.hero-books .hero-book:nth-child(1) { left: 70px; top: 20px; z-index: 3; }
.hero-books.n2 .hero-book:nth-child(1), .hero-books.n3 .hero-book:nth-child(1) { left: 70px; top: 30px; }
.hero-books .hero-book:nth-child(2) { left: 0; top: 70px; transform: rotate(-8deg); z-index: 2; }
.hero-books .hero-book:nth-child(3) { left: 140px; top: 80px; transform: rotate(7deg); z-index: 1; }
.hero-ornament {
  position: relative; width: 300px; height: 360px; border-radius: 160px 160px 16px 16px;
  background: linear-gradient(160deg, var(--brand) 0%, var(--brand-deep) 100%);
  display: flex; align-items: center; justify-content: center; box-shadow: var(--shadow-book);
}
.hero-ornament span { font-family: var(--serif); font-style: italic; font-size: 220px; color: rgba(255, 255, 255, .9); line-height: 1; }

@media (max-width: 860px) {
  .hero { padding: 48px 0 64px; }
  .hero-grid { grid-template-columns: 1fr; gap: 32px; }
  .hero-art { min-height: 0; }
  .hero-art::before { width: 300px; height: 300px; }
  .hero-books { width: 260px; height: 290px; }
  .hero-book { width: 150px; }
  .hero-books .hero-book:nth-child(1) { left: 55px; }
  .hero-books .hero-book:nth-child(3) { left: 110px; }
  .hero-ornament { width: 200px; height: 240px; }
  .hero-ornament span { font-size: 150px; }
}

/* ---------- Números ---------- */
.stats-band { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--card); }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); }
.stats > div { padding: 28px 16px; text-align: center; border-left: 1px solid var(--line); }
.stats > div:first-child { border-left: 0; }
.stats strong { display: block; font-family: var(--serif); font-size: 38px; font-weight: 600; color: var(--brand); line-height: 1.1; }
.stats span { font-size: 14px; color: var(--muted); }
@media (max-width: 700px) {
  .stats { grid-template-columns: repeat(2, 1fr); }
  .stats > div:nth-child(3) { border-left: 0; }
  .stats > div:nth-child(n+3) { border-top: 1px solid var(--line); }
}

/* ---------- Livros ---------- */
.book-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 40px 28px; }
@media (max-width: 520px) { .book-grid { grid-template-columns: repeat(2, 1fr); gap: 28px 16px; } }
.book-card-link { display: block; text-decoration: none; color: inherit; }
.book-card-cover { border-radius: 3px 8px 8px 3px; overflow: hidden; box-shadow: var(--shadow-book); transition: transform .2s, box-shadow .2s; margin-bottom: 14px; background: var(--paper-2); }
.book-card-link:hover .book-card-cover { transform: translateY(-4px); box-shadow: 0 4px 8px rgba(29, 21, 48, .12), 0 22px 40px rgba(29, 21, 48, .2); }
.cover { width: 100%; aspect-ratio: 2 / 3; object-fit: cover; }
.book-card-title { font-size: 18px; line-height: 1.25; margin: 0 0 4px; }
.book-card-link:hover .book-card-title { color: var(--brand); }
.book-card-author { font-size: 14px; color: var(--ink-2); margin: 0; }
.book-card-selo { font-size: 12px; color: var(--muted); text-transform: uppercase; letter-spacing: .08em; margin: 6px 0 0; }

/* Capa gerada quando o livro não tem imagem */
.cover-ph {
  display: flex; flex-direction: column; justify-content: space-between; padding: 14% 12%;
  background:
    linear-gradient(90deg, rgba(0, 0, 0, .18) 0, rgba(0, 0, 0, 0) 7%),
    linear-gradient(160deg, hsl(var(--h), 55%, 38%), hsl(calc(var(--h) + 40), 60%, 18%));
  color: #fff; aspect-ratio: 2 / 3;
}
.cover-ph-title { font-family: var(--serif); font-size: clamp(15px, 1.6vw, 22px); font-weight: 600; line-height: 1.15; overflow-wrap: anywhere; }
.cover-ph-author { font-size: 12px; text-transform: uppercase; letter-spacing: .12em; opacity: .85; border-top: 1px solid rgba(255, 255, 255, .4); padding-top: 10px; }
.cover-large.cover-ph .cover-ph-title { font-size: clamp(22px, 3vw, 34px); }

.filters { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 20px; }
.filters .field-grow { flex: 1 1 280px; }
.result-count { color: var(--muted); font-size: 15px; margin-bottom: 32px; }

.book-detail { display: grid; grid-template-columns: 360px 1fr; gap: 64px; align-items: start; }
.book-detail-cover { position: sticky; top: 104px; border-radius: 4px 10px 10px 4px; overflow: hidden; box-shadow: var(--shadow-book); }
.book-author { font-size: 20px; color: var(--ink-2); font-family: var(--serif); font-style: italic; }
.details { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 0; margin: 40px 0 0; border-top: 1px solid var(--line); }
.details > div { padding: 14px 0; border-bottom: 1px solid var(--line); }
.details dt { font-size: 12px; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); }
.details dd { margin: 2px 0 0; font-weight: 500; }
.details-stack { grid-template-columns: 1fr; margin: 0 0 20px; }
@media (max-width: 820px) {
  .book-detail { grid-template-columns: 1fr; gap: 32px; }
  .book-detail-cover { position: static; max-width: 260px; }
}

/* ---------- Texto corrido ---------- */
.prose { font-size: 18px; color: var(--ink-2); }
.prose h2 { font-size: 28px; color: var(--ink); margin-top: 1.4em; }
.prose h3 { font-size: 22px; color: var(--ink); margin-top: 1.6em; }
.prose h4 { font-size: 18px; color: var(--ink); margin-top: 1.4em; }
.prose ul, .prose ol { padding-left: 1.3em; margin: 0 0 1em; }
.prose li { margin-bottom: .35em; }
.prose blockquote { margin: 1.5em 0; padding: 4px 0 4px 20px; border-left: 3px solid var(--gold); font-family: var(--serif); font-style: italic; font-size: 20px; }
.prose hr { border: 0; border-top: 1px solid var(--line); margin: 2em 0; }
.prose > :first-child { margin-top: 0; }
.doc { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 40px; margin-bottom: 32px; }
.doc .block-title { margin-top: 0; }
@media (max-width: 600px) { .doc { padding: 24px 20px; } .prose { font-size: 17px; } }

/* ---------- Quem somos / CTA ---------- */
.about { display: grid; grid-template-columns: .8fr 1.2fr; gap: 64px; }
@media (max-width: 820px) { .about { grid-template-columns: 1fr; gap: 16px; } }
.cta-band { background: var(--brand-deep); color: #fff; padding: 88px 0; text-align: center; position: relative; overflow: hidden; }
.cta-band::before { content: "“"; position: absolute; font-family: var(--serif); font-size: 420px; line-height: 1; color: rgba(255, 255, 255, .05); left: 4%; top: -40px; }
.cta-inner { position: relative; }
.cta-band h2 { font-size: clamp(32px, 4.4vw, 52px); margin-bottom: 16px; }
.cta-band em { color: var(--gold); }
.cta-band p { color: rgba(255, 255, 255, .78); font-size: 18px; margin-bottom: 32px; }
.cta-box { margin-top: 40px; padding: 40px; border-radius: var(--radius); background: var(--brand-soft); text-align: center; }
.cta-box h2 { font-size: 30px; }

/* ---------- Concursos ---------- */
.contest-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 24px; }
.contest-card, .contest-row {
  display: block; text-decoration: none; color: inherit; background: var(--card);
  border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; transition: border-color .15s, box-shadow .15s;
}
.contest-card:hover, .contest-row:hover { border-color: var(--brand); box-shadow: var(--shadow); color: inherit; }
.contest-card h3 { font-size: 24px; margin: 14px 0 10px; }
.contest-card p { color: var(--ink-2); font-size: 16px; }
.contest-list { display: grid; gap: 20px; }
.contest-row { display: grid; grid-template-columns: auto 1fr; gap: 28px; align-items: start; }
.contest-row > div:only-child { grid-column: 1 / -1; }
.contest-row h2 { font-size: 28px; margin: 12px 0 8px; }
.contest-row p { color: var(--ink-2); }
.contest-thumb { width: 220px; aspect-ratio: 16 / 10; object-fit: cover; border-radius: var(--radius-sm); }
@media (max-width: 680px) { .contest-row { grid-template-columns: 1fr; } .contest-thumb { width: 100%; } }
.meta { font-size: 14px; color: var(--muted); margin: 0; }
.badge { display: inline-block; font-size: 12px; font-weight: 600; letter-spacing: .04em; padding: 5px 12px; border-radius: 999px; background: var(--paper-2); color: var(--ink-2); }
.badge-inscricoes { background: #def5e8; color: var(--green); }
.badge-em_breve { background: #fdf3dc; color: #8a6413; }
.badge-avaliacao { background: #e6effc; color: #1f4f9a; }
.badge-resultado { background: var(--brand-soft); color: var(--brand-ink); }
.contest-head .badge { margin-bottom: 14px; }
.tabs { display: flex; gap: 8px; margin-top: 24px; }
.tabs a { padding: 8px 18px; border-radius: 999px; border: 1px solid var(--line); background: var(--card); text-decoration: none; color: var(--ink-2); font-size: 15px; font-weight: 500; }
.tabs a:hover { border-color: var(--brand); color: var(--brand); }
.contest-layout { display: grid; grid-template-columns: 1fr 320px; gap: 40px; align-items: start; }
.contest-cover { width: 100%; border-radius: var(--radius); margin-bottom: 32px; }
.contest-aside { position: sticky; top: 104px; display: grid; gap: 20px; }
.aside-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.aside-card .book-card { max-width: 160px; margin-bottom: 20px; }
.aside-title { font-size: 20px; margin-bottom: 16px; }
.aside-note { font-size: 14px; color: var(--ink-2); margin: 16px 0 0; overflow-wrap: anywhere; }
.doc ul { list-style: none; padding: 0; columns: 2; column-gap: 32px; }
.doc ul li { break-inside: avoid; padding: 6px 0; border-bottom: 1px dashed var(--line); font-size: 16px; }
.doc ul li strong { color: var(--ink); font-weight: 600; }
@media (max-width: 960px) {
  .contest-layout { grid-template-columns: 1fr; }
  .contest-aside { position: static; }
}
@media (max-width: 700px) { .doc ul { columns: 1; } }

/* ---------- Selos ---------- */
.selo-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 20px; }
.selo-card { display: block; text-decoration: none; color: inherit; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; transition: border-color .15s, box-shadow .15s; }
.selo-card:hover { border-color: var(--brand); box-shadow: var(--shadow); color: inherit; }
.selo-card h3 { font-size: 21px; margin: 18px 0 4px; }
.selo-card p { color: var(--muted); font-size: 14px; margin: 0; }
.selo-mono { display: inline-flex; align-items: center; justify-content: center; width: 56px; height: 56px; border-radius: 50%; background: var(--brand-soft); color: var(--brand); font-family: var(--serif); font-size: 28px; font-weight: 600; flex: none; }
.selo-logo { width: 72px; height: 72px; object-fit: contain; flex: none; }
.selo-logo-large { width: 140px; height: 140px; }
.selo-list { display: grid; gap: 16px; }
.selo-row { display: flex; gap: 24px; align-items: flex-start; text-decoration: none; color: inherit; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; }
.selo-row:hover { border-color: var(--brand); color: inherit; }
.selo-row h2 { font-size: 26px; margin-bottom: 6px; }
.selo-row p { color: var(--ink-2); margin-bottom: 8px; }
.selo-head { display: flex; gap: 32px; align-items: center; }
@media (max-width: 600px) { .selo-head, .selo-row { flex-direction: column; gap: 16px; } }

/* ---------- Formulários ---------- */
.field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 18px; }
.field > span { font-size: 14px; font-weight: 600; color: var(--ink-2); }
input, select, textarea {
  width: 100%; font: inherit; font-size: 16px; color: var(--ink); background: var(--card);
  border: 1px solid #d6cdbf; border-radius: 10px; padding: 12px 14px; min-height: 48px;
}
textarea { resize: vertical; line-height: 1.5; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px var(--brand-soft); }
.filters .field { margin: 0; }
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 32px; }
.contact-layout { display: grid; grid-template-columns: 1fr 340px; gap: 32px; align-items: start; }
@media (max-width: 860px) { .contact-layout { grid-template-columns: 1fr; } .card { padding: 24px 20px; } }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.plain-list { list-style: none; margin: 0; padding: 0; }
.plain-list li { padding: 12px 0; border-bottom: 1px solid var(--line); display: flex; flex-direction: column; overflow-wrap: anywhere; }
.plain-list strong { font-size: 12px; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); font-weight: 600; }
.alert { padding: 14px 18px; border-radius: 10px; margin-bottom: 20px; font-size: 15px; }
.alert-success { background: #def5e8; color: #135c3a; }
.alert-error { background: #fbe4e4; color: #8f1f1f; }

.empty { text-align: center; padding: 64px 24px; border: 1px dashed #d6cdbf; border-radius: var(--radius); color: var(--muted); }
.empty p { margin: 0; }

.pagination { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin-top: 56px; }
.pagination a { min-width: 42px; height: 42px; display: inline-flex; align-items: center; justify-content: center; border-radius: 10px; border: 1px solid var(--line); background: var(--card); text-decoration: none; color: var(--ink-2); font-weight: 500; }
.pagination a[aria-current="page"] { background: var(--brand); border-color: var(--brand); color: #fff; }

/* ---------- Rodapé ---------- */
.site-footer { background: var(--ink); color: rgba(255, 255, 255, .72); padding: 72px 0 0; font-size: 15px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 48px; padding-bottom: 48px; }
.footer-about p { margin-top: 18px; max-width: 360px; }
.footer-title { font-family: var(--sans); font-size: 12px; text-transform: uppercase; letter-spacing: .16em; color: rgba(255, 255, 255, .5); margin-bottom: 16px; font-weight: 600; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin-bottom: 10px; }
.site-footer a { color: rgba(255, 255, 255, .85); text-decoration: none; overflow-wrap: anywhere; }
.site-footer a:hover { color: var(--gold); }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, .12); padding-top: 24px; padding-bottom: 32px; font-size: 13px; color: rgba(255, 255, 255, .5); }
.footer-bottom p { margin: 0; }
@media (max-width: 760px) { .footer-grid { grid-template-columns: 1fr; gap: 32px; } }

@media (max-width: 600px) {
  body { font-size: 16px; }
  .container { padding: 0 16px; }
  .section { padding: 64px 0; }
  .section-tight { padding: 32px 0 64px; }
  .page-head { padding: 48px 0 24px; }
  .lead { font-size: 17px; }
}

@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; scroll-behavior: auto !important; }
}

/* Revistas */
.book-card-edicao { font-size: 13px; font-weight: 600; color: var(--brand); margin: 0 0 2px; }
.book-edicao { display: inline-block; font-size: 14px; font-weight: 600; color: var(--brand-ink); background: var(--brand-soft); padding: 4px 12px; border-radius: 999px; margin-bottom: 12px; }

/* Clube do Livro */
.clube-banner {
  display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap;
  background: linear-gradient(135deg, var(--brand) 0%, var(--brand-deep) 100%); color: #fff;
  border-radius: var(--radius); padding: 48px;
}
.clube-banner .eyebrow { color: var(--gold); }
.clube-banner .section-title { color: #fff; margin-bottom: 12px; }
.clube-banner p { color: rgba(255, 255, 255, .82); max-width: 620px; margin: 0; font-size: 18px; }
.clube-layout { display: grid; grid-template-columns: 1fr 440px; gap: 40px; align-items: start; }
.clube-layout > .doc { margin-bottom: 0; }
.clube-form-wrap { position: sticky; top: 104px; scroll-margin-top: 96px; }
.clube-form-wrap .card { padding: 28px; }
.clube-ok h2 { font-size: 26px; }
.row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0 14px; }
.check-line { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; color: var(--ink-2); margin: 4px 0 20px; cursor: pointer; }
.check-line input { width: 20px; height: 20px; min-height: 0; margin-top: 2px; flex: none; accent-color: var(--brand); }
@media (max-width: 960px) {
  .clube-layout { grid-template-columns: 1fr; }
  .clube-form-wrap { position: static; }
}
@media (max-width: 600px) {
  .clube-banner { padding: 32px 22px; }
  .row-2 { grid-template-columns: 1fr; }
}
