/* theoemothe.com.br — folha de estilos
   Layout: coluna de 1120px, branco de fundo, preto de texto, âmbar só como acento. */
:root {
  --bg: #FFFFFF;
  --ink: #111111;
  --text: #333333;
  --muted: #6B6B6B;
  --soft: #555555;
  --line: #E5E5E5;
  --line-mid: #CFCFCF;
  --black: #0A0A0A;
  --on-black: #FFFFFF;
  --on-black-soft: #CFCFCF;
  --on-black-muted: #A3A3A3;
  --black-line: #2A2A2A;
  --accent: #F2A900;
  --serif: 'Newsreader', Georgia, 'Times New Roman', serif;
  --sans: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --gutter-l: max(24px, env(safe-area-inset-left, 0px));
  --gutter-r: max(24px, env(safe-area-inset-right, 0px));
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.5;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}
main { flex: 1 0 auto; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
a:hover { text-decoration: underline; text-decoration-color: var(--accent); text-decoration-thickness: 2px; text-underline-offset: 4px; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
button, input, textarea { font-family: inherit; font-size: inherit; }
::placeholder { color: var(--muted); opacity: 1; }
h1, h2, h3 { text-wrap: balance; }

.wrap {
  max-width: 1120px;
  margin: 0 auto;
  padding-left: var(--gutter-l);
  padding-right: var(--gutter-r);
}

/* Cabeçalho */
.site-head { border-bottom: 1px solid var(--line); }
.site-head .wrap {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: 12px 32px; padding-block: 20px;
}
.brand { font-family: var(--serif); font-size: 22px; font-weight: 500; letter-spacing: -0.01em; }
.main-nav { display: flex; flex-wrap: wrap; gap: 4px 28px; font-size: 14px; font-weight: 500; }
.main-nav a { padding: 6px 0; border-bottom: 2px solid transparent; }
.main-nav a[aria-current="page"] { border-bottom-color: var(--accent); }
.main-nav a:hover { text-decoration: none; border-bottom-color: var(--accent); }

/* Blocos de abertura */
.hero { padding-block: clamp(56px, 8vw, 96px) clamp(48px, 6vw, 72px); }
.page-head { padding-block: clamp(56px, 7vw, 80px) 40px; }
.page-head .wrap { padding-bottom: 32px; border-bottom: 2px solid var(--ink); }
.page-head.no-rule .wrap { padding-bottom: 0; border-bottom: 0; }
.rule { width: 48px; height: 3px; background: var(--accent); margin-bottom: 24px; }
.eyebrow {
  margin: 0 0 20px; font-size: 12px; font-weight: 600; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--muted);
}
.display {
  margin: 0 0 24px; max-width: 820px; font-family: var(--serif);
  font-size: clamp(38px, 5.5vw, 60px); line-height: 1.08; font-weight: 500; letter-spacing: -0.015em;
}
.display.sm { font-size: clamp(36px, 5vw, 56px); }
.lead {
  margin: 0; max-width: 720px; font-family: var(--serif);
  font-size: clamp(19px, 2.2vw, 22px); line-height: 1.5; color: var(--text);
}
.lead.tight { max-width: 680px; margin-bottom: 36px; }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 24px; }

/* Botões e links */
.btn {
  display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 24px;
  background: var(--ink); color: var(--on-black); font-size: 14px; font-weight: 600; letter-spacing: 0.02em;
  border: 0; cursor: pointer; text-decoration: none;
}
.btn:hover { text-decoration: none; background: var(--black); }
.btn-accent { background: var(--accent); color: var(--ink); font-weight: 700; }
.btn-accent:hover { background: #E09C00; }
.textlink {
  display: inline-flex; align-items: center; min-height: 44px; padding: 0 4px; font-size: 14px; font-weight: 600;
  text-decoration: underline; text-decoration-color: var(--accent); text-decoration-thickness: 2px; text-underline-offset: 5px;
}
.textlink.s { min-height: 0; font-size: 13px; }

/* Seções e listas editoriais */
.section { padding-block: 24px 80px; }
.section.pad { padding-block: 80px; }
.section-head {
  display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between;
  gap: 12px 24px; padding-bottom: 18px; border-bottom: 2px solid var(--ink);
}
.section-title { margin: 0; font-family: var(--serif); font-size: clamp(28px, 3.5vw, 34px); line-height: 1.2; font-weight: 500; letter-spacing: -0.01em; }
.count { font-size: 12px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }
.section-intro { margin: 24px 0 32px; max-width: 640px; font-family: var(--serif); font-size: 19px; line-height: 1.5; color: var(--text); }

.entries { list-style: none; margin: 0; padding: 0; }
.entry {
  display: flex; flex-wrap: wrap; align-items: baseline; gap: 8px 32px;
  padding: 28px 0; border-bottom: 1px solid var(--line);
}
.entry-meta {
  flex: 0 0 200px; font-size: 12px; font-weight: 600; letter-spacing: 0.12em;
  text-transform: uppercase; line-height: 1.7; color: var(--muted);
}
.entry-meta b { display: block; font-weight: 600; color: var(--ink); }
.entry-body { flex: 1 1 420px; min-width: 0; }
.entry-title { margin: 0 0 10px; font-family: var(--serif); font-size: clamp(22px, 2.6vw, 26px); line-height: 1.25; font-weight: 500; }
.entry-title + .byline { margin-top: -4px; }
.byline { margin: 0 0 10px; font-family: var(--serif); font-size: 17px; font-style: italic; color: var(--soft); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  display: inline-block; padding: 3px 8px; border: 1px solid var(--ink);
  font-size: 11px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; line-height: 1.5;
}
.chip-muted { border-color: var(--line-mid); color: var(--soft); }
.chip-accent { background: var(--accent); border-color: var(--accent); color: var(--ink); font-weight: 700; }
.entry-cta { flex: 0 0 auto; }

/* Filtro de temas */
.filters { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 10px; padding-block: 28px 0; }
.filters-label { flex: 0 0 56px; font-size: 11px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }
.filter-btn {
  min-height: 44px; padding: 0 16px; border: 1px solid var(--ink); background: var(--bg); color: var(--ink);
  font-size: 13px; font-weight: 600; cursor: pointer;
}
.filter-btn[aria-pressed="true"] { background: var(--ink); color: var(--on-black); }
.filter-count { margin: 20px 0 0; font-size: 13px; color: var(--muted); }
.filter-empty { margin: 0; padding: 40px 0; font-family: var(--serif); font-size: 20px; color: var(--soft); }

/* Faixa preta */
.band { background: var(--black); color: var(--on-black); }
.band .wrap {
  display: flex; flex-wrap: wrap; align-items: flex-start; justify-content: space-between;
  gap: 32px 64px; padding-block: 72px;
}
.band-text { flex: 1 1 420px; min-width: 0; }
.band-title { margin: 0 0 16px; font-family: var(--serif); font-size: clamp(32px, 4vw, 40px); line-height: 1.15; font-weight: 500; letter-spacing: -0.01em; color: var(--on-black); }
.band-copy { margin: 0; max-width: 520px; font-family: var(--serif); font-size: 19px; line-height: 1.5; color: var(--on-black-soft); }
.tag {
  display: inline-block; margin-bottom: 20px; padding: 4px 10px; background: var(--accent); color: var(--ink);
  font-size: 11px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase;
}

/* Formulários */
.form { display: flex; flex-direction: column; gap: 12px; }
.band .form { flex: 1 1 360px; min-width: 0; padding-top: 8px; }
.form label { font-size: 14px; font-weight: 500; }
.form-row { display: flex; flex-wrap: wrap; gap: 12px; }
.input {
  min-height: 48px; padding: 0 16px; border: 1px solid var(--ink); background: var(--bg); color: var(--ink);
  font-size: 15px; width: 100%;
}
.form-row .input { flex: 1 1 220px; width: auto; }
.band .input { border-color: var(--on-black); }
textarea.input { min-height: 160px; padding: 12px 16px; line-height: 1.5; resize: vertical; }
.form .note { margin: 0; font-size: 12px; line-height: 1.5; color: var(--muted); }
.band .note { color: var(--on-black-muted); }
.form-status { margin: 0; font-size: 14px; font-weight: 500; }
.field { display: flex; flex-direction: column; gap: 8px; }
.form.stack { gap: 20px; }
.checkbox { display: flex; align-items: flex-start; gap: 10px; font-size: 14px; line-height: 1.5; cursor: pointer; font-weight: 400; }
.checkbox input { flex: 0 0 auto; width: 18px; height: 18px; margin: 3px 0 0; accent-color: var(--ink); }
.gotcha { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* Blocos da biblioteca (início) */
.tiles { display: flex; flex-wrap: wrap; gap: 16px; }
.tile {
  flex: 1 1 220px; min-height: 180px; padding: 24px; border: 1px solid var(--ink);
  display: flex; flex-direction: column; justify-content: space-between; gap: 32px;
}
.tile:hover { text-decoration: none; background: #FAFAFA; }
.tile-num { display: flex; align-items: center; gap: 10px; font-size: 12px; font-weight: 600; letter-spacing: 0.14em; color: var(--muted); }
.tile-num::before { content: ""; width: 10px; height: 10px; background: var(--accent); }
.tile-title { display: block; margin-bottom: 8px; font-family: var(--serif); font-size: 28px; line-height: 1.2; font-weight: 500; }
.tile-more { display: block; font-size: 13px; font-weight: 600; }
.disclaimer { margin: 24px 0 0; font-size: 12px; line-height: 1.5; color: var(--muted); }

/* Sobre */
.about { padding-block: 0 96px; }
.about .wrap { display: flex; flex-wrap: wrap; align-items: flex-start; gap: 48px 64px; }
.about-aside { flex: 0 1 320px; min-width: 0; display: flex; flex-direction: column; gap: 24px; }
.portrait { width: 100%; aspect-ratio: 2 / 3; object-fit: cover; object-position: center top; border: 1px solid var(--line); }
.facts { list-style: none; margin: 0; padding: 0; border-top: 2px solid var(--ink); font-size: 14px; }
.facts li { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 4px 16px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.facts .k { color: var(--muted); }
.facts .v { font-weight: 500; }
.facts a.v { text-decoration: underline; text-decoration-color: var(--accent); text-decoration-thickness: 2px; text-underline-offset: 4px; }
.about-main { flex: 1 1 520px; min-width: 0; display: flex; flex-direction: column; gap: 56px; }
.sub-title { margin: 0 0 8px; padding-bottom: 12px; border-bottom: 2px solid var(--ink); font-family: var(--serif); font-size: 30px; line-height: 1.2; font-weight: 500; letter-spacing: -0.01em; }
.sub-title.space { margin-bottom: 20px; }
.prose p { margin: 0 0 18px; font-family: var(--serif); font-size: 19px; line-height: 1.6; color: var(--text); }
.prose p:last-child { margin-bottom: 0; }
.rows { list-style: none; margin: 0; padding: 0; }
.rows li { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 4px 24px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.rows li.stacked { flex-direction: column; gap: 2px; }
.rows .k { font-weight: 500; }
.rows .v { color: var(--soft); }
.rows li.stacked .v { font-size: 14px; }

/* Biblioteca */
.jump { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 24px; }
.jump a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 16px; border: 1px solid var(--ink); font-size: 13px; font-weight: 600; }
.jump a:hover { text-decoration: none; background: var(--ink); color: var(--on-black); }
.books { list-style: none; margin: 0; padding: 0; }
.book { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 24px; padding: 22px 0; border-bottom: 1px solid var(--line); }
.book-num { flex: 0 0 40px; font-size: 12px; font-weight: 600; letter-spacing: 0.12em; color: var(--muted); font-variant-numeric: tabular-nums; }
.book-body { flex: 1 1 420px; min-width: 0; }
.book-title { margin: 0 0 2px; font-family: var(--serif); font-size: 23px; line-height: 1.25; font-weight: 500; }
.book-author { margin: 0 0 8px; font-size: 13px; font-weight: 500; color: var(--soft); }
.book-note { margin: 0; font-family: var(--serif); font-size: 17px; line-height: 1.5; color: var(--text); }
.shelf { padding-block: 24px 48px; }
.shelf.last { padding-bottom: 96px; }
.shelf[id] { scroll-margin-top: 24px; }

/* Curso */
.notice { padding-block: clamp(96px, 14vw, 160px) clamp(120px, 16vw, 180px); }
.notice .wrap { max-width: 640px; text-align: center; display: flex; flex-direction: column; align-items: center; }
.notice .tag { margin-bottom: 28px; padding: 5px 12px; letter-spacing: 0.14em; }
.notice .display { margin-bottom: 20px; }
.notice .lead { margin-bottom: 40px; font-size: 20px; }
.notice .form { width: 100%; max-width: 480px; text-align: left; }
.notice .textlink { margin-top: 32px; }

/* Contato */
.contact { padding-block: 0 96px; }
.contact .wrap { display: flex; flex-wrap: wrap; align-items: flex-start; gap: 48px 64px; }
.channels { flex: 0 1 360px; min-width: 0; list-style: none; margin: 0; padding: 0; border-top: 2px solid var(--ink); font-size: 15px; }
.channels li { display: flex; flex-direction: column; gap: 4px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.channels .k { font-size: 11px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }
.channels .v { font-weight: 500; overflow-wrap: anywhere; }
.channels a.v { text-decoration: underline; text-decoration-color: var(--accent); text-decoration-thickness: 2px; text-underline-offset: 4px; }
.contact .form { flex: 1 1 480px; min-width: 0; }
.submit-row { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 24px; }
.submit-row .note { flex: 1 1 280px; }

/* Páginas de texto (privacidade, 404) */
.text-page { padding-block: 0 96px; }
.text-page .wrap { max-width: 760px; }
.text-page h2 { margin: 40px 0 12px; font-family: var(--serif); font-size: 26px; line-height: 1.25; font-weight: 500; }
.text-page p, .text-page li { font-family: var(--serif); font-size: 18px; line-height: 1.6; color: var(--text); }
.text-page p { margin: 0 0 16px; }
.text-page ul { margin: 0 0 16px; padding-left: 22px; }
.text-page a { text-decoration: underline; text-decoration-color: var(--accent); text-decoration-thickness: 2px; text-underline-offset: 4px; }

/* Rodapé */
.site-foot { background: var(--black); color: var(--on-black); }
.site-foot .wrap { padding-block: 56px 32px; }
.foot-grid { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 32px 48px; }
.foot-brand { flex: 1 1 280px; min-width: 0; }
.foot-brand .brand { display: inline-block; margin-bottom: 10px; color: var(--on-black); }
.foot-brand p { margin: 0; font-size: 14px; line-height: 1.5; color: var(--on-black-muted); }
.foot-col { flex: 0 1 auto; display: flex; flex-direction: column; gap: 8px; font-size: 14px; }
.foot-col .label { margin-bottom: 4px; font-size: 11px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--on-black-muted); }
.foot-col a { color: var(--on-black); overflow-wrap: anywhere; }
.foot-bottom {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px;
  margin-top: 40px; padding-top: 20px; border-top: 1px solid var(--black-line);
  font-size: 12px; line-height: 1.5; color: var(--on-black-muted);
}
.foot-bottom a { color: var(--on-black-muted); }
