:root {
  --bg: #0d0d0f;
  --bg-soft: #16161a;
  --bg-elev: #1d1d22;
  --text: #ececec;
  --text-mute: #8a8a92;
  --accent: #e8b34a;
  --accent-soft: #e8b34a33;
  --visual: #5a8aff;
  --visual-soft: #5a8aff22;
  --action: #9ae89a;
  --rule: #28282e;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--text);
  font-family: 'Iowan Old Style', 'Palatino', Georgia, serif;
  font-size: 22px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }

header.top {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(13, 13, 15, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--rule);
  padding: 14px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  font-size: 15px;
}

header.top .title {
  font-weight: 600;
  color: var(--text);
}

header.top .meta {
  color: var(--text-mute);
  font-size: 13px;
}

main {
  max-width: 760px;
  margin: 0 auto;
  padding: 48px 24px 120px;
}

h1.title-roteiro {
  font-family: 'Iowan Old Style', 'Palatino', Georgia, serif;
  font-size: 44px;
  line-height: 1.15;
  margin: 0 0 8px;
  letter-spacing: -0.5px;
}

p.sub {
  color: var(--text-mute);
  font-size: 16px;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  margin: 0 0 48px;
}

h2.bloco {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--accent);
  margin: 64px 0 24px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--accent-soft);
}

h3.cena {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  font-size: 18px;
  font-weight: 600;
  color: var(--text);
  margin: 36px 0 12px;
}

h3.cena .time {
  color: var(--text-mute);
  font-weight: 400;
  font-size: 14px;
  margin-left: 8px;
}

.visual, .acao {
  background: var(--bg-soft);
  border-left: 3px solid var(--visual);
  padding: 12px 16px;
  margin: 12px 0;
  font-size: 17px;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  color: var(--text-mute);
  line-height: 1.5;
}

.visual::before {
  content: "VISUAL · ";
  color: var(--visual);
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 1px;
}

.acao {
  border-left-color: var(--action);
}

.acao::before {
  content: "AÇÃO · ";
  color: var(--action);
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 1px;
}

.fala {
  margin: 18px 0;
  padding: 4px 0 4px 0;
  font-size: 26px;
  line-height: 1.45;
}

.fala .tag {
  display: block;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  font-size: 12px;
  letter-spacing: 1.5px;
  color: var(--accent);
  text-transform: uppercase;
  margin-bottom: 6px;
}

.fala blockquote {
  margin: 0;
  padding: 0;
  font-style: italic;
  color: var(--text);
}

.fala blockquote.solo {
  font-style: normal;
}

.ancor {
  display: block;
  margin: 28px 0;
  padding: 20px 22px;
  background: var(--accent-soft);
  border-radius: 8px;
  font-size: 28px;
  line-height: 1.35;
  color: var(--accent);
  font-weight: 600;
  text-align: center;
  font-style: italic;
}

.corte {
  display: block;
  margin: 36px 0;
  text-align: center;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  font-size: 13px;
  letter-spacing: 3px;
  color: var(--accent);
  text-transform: uppercase;
}

.corte::before, .corte::after {
  content: " — ";
  color: var(--text-mute);
}

p.narr {
  font-size: 24px;
  line-height: 1.5;
  margin: 14px 0;
}

p.narr.dest {
  color: var(--accent);
  font-weight: 600;
  font-style: italic;
}

.nota {
  margin-top: 80px;
  padding: 20px 24px;
  background: var(--bg-soft);
  border-radius: 8px;
  font-size: 15px;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  color: var(--text-mute);
  line-height: 1.6;
}

.nota h4 {
  color: var(--text);
  margin: 0 0 8px;
  font-size: 14px;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.list-roteiros {
  list-style: none;
  padding: 0;
  margin: 32px 0 0;
}

.list-roteiros li {
  margin: 0;
  padding: 24px 0;
  border-bottom: 1px solid var(--rule);
}

.list-roteiros a {
  display: block;
  color: var(--text);
}

.list-roteiros .roteiro-titulo {
  font-size: 28px;
  margin-bottom: 4px;
}

.list-roteiros .roteiro-meta {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  font-size: 14px;
  color: var(--text-mute);
}

/* Print-friendly */
@media print {
  body { background: white; color: black; }
  header.top { display: none; }
  .visual, .acao, .ancor, .nota { background: #f4f4f4; color: #333; }
  .fala { font-size: 20px; }
}
