/* ══════════════════════════════════════════════════════════════
   O Livro do Não Fazer — hotsite
   Direção: papel & tinta. Um único acento: o corte (laranja).
   Zero dependência externa (sem CDN, sem webfont) — CSP-safe.
   ══════════════════════════════════════════════════════════════ */

:root {
  --paper: #fffaf5;
  --paper-2: #fff4ea;
  --ink: #1b1410;
  --ink-soft: #4a3d33;
  --muted: #6b5d52;
  --line: #ecdbcc;
  --line-soft: #f6e9dd;
  /* O laranja da marca (#ff6b35) só carrega ACENTO — borda, linha de corte, tesoura,
     risco. Onde ele teria que carregar TEXTO, entram dois tons derivados que passam
     WCAG AA: --cut-btn como fundo de botão (branco por cima = 5,2:1) e --cut-text
     como cor de texto sobre papel (5,4:1 no creme, 5,2:1 no creme-2). */
  --cut: #ff6b35;
  --cut-deep: #d94a15;
  --cut-btn: #c33f0e;
  --cut-text: #b83e0f;
  --dark: #17110c;
  --radius: 14px;
  --wrap: 1120px;
  --serif: Georgia, 'Iowan Old Style', 'Times New Roman', serif;
  --sans: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --shadow: 0 30px 60px -34px rgba(27, 20, 16, .38);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; }

a { color: var(--cut-text); text-decoration-thickness: 1px; text-underline-offset: 3px; }

.wrap { width: min(100% - 40px, var(--wrap)); margin-inline: auto; }
.narrow { width: min(100%, 720px); margin-inline: auto; }

.sr, .skip {
  position: absolute; width: 1px; height: 1px; padding: 0;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip:focus {
  position: fixed; top: 12px; left: 12px; width: auto; height: auto;
  clip: auto; padding: 10px 16px; background: var(--ink); color: #fff;
  border-radius: 8px; z-index: 99;
}

/* ── Tipografia ─────────────────────────────────────────────── */

h1, h2, h3 { font-family: var(--serif); font-weight: 700; letter-spacing: -.015em; line-height: 1.12; margin: 0 0 .5em; text-wrap: balance; }
h1 { font-size: clamp(40px, 7vw, 74px); }
h2 { font-size: clamp(28px, 4.2vw, 42px); }
h3 { font-size: 20px; line-height: 1.25; }
h1 em, h2 em { font-style: normal; color: var(--cut-deep); }

p { margin: 0 0 1.1em; }

.eyebrow {
  font-family: var(--sans); font-size: 12px; font-weight: 800;
  letter-spacing: .16em; text-transform: uppercase; color: var(--cut-text);
  margin-bottom: .8em;
}
.eyebrow.light { color: #ffab7f; }

.kicker {
  display: inline-block; font-size: 12px; font-weight: 700;
  letter-spacing: .12em; text-transform: uppercase; color: var(--muted);
  border: 1px solid var(--line); border-radius: 999px;
  padding: 6px 14px; background: #fff; margin-bottom: 22px;
}

.big { font-size: clamp(19px, 2.4vw, 23px); line-height: 1.5; }
.quiet { color: var(--muted); font-size: 16px; border-left: 3px solid var(--line); padding-left: 18px; }
.tiny { font-size: 13px; color: var(--muted); }
.fineprint { font-size: 14px; color: var(--muted); max-width: 52ch; }
.fineprint.light { color: #b9a494; max-width: none; }

/* ── Botões ─────────────────────────────────────────────────── */

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  background: var(--cut-btn); color: #fff; font-family: var(--sans);
  font-size: 16px; font-weight: 700; text-decoration: none;
  padding: 15px 26px; border: 0; border-radius: 12px; cursor: pointer;
  box-shadow: 0 14px 28px -14px rgba(217, 74, 21, .8);
  transition: transform .12s ease, filter .12s ease;
}
.btn:hover { transform: translateY(-1px); filter: brightness(1.06); }
.btn:active { transform: translateY(0); }
.btn-sm { padding: 10px 18px; font-size: 14.5px; border-radius: 10px; box-shadow: none; }
.btn-lg { padding: 18px 34px; font-size: 18px; }
.btn-ghost {
  background: transparent; color: var(--ink); border: 1.5px solid var(--line);
  box-shadow: none;
}
.btn-ghost:hover { border-color: var(--cut); color: var(--cut-text); }
.sec-dark .btn-ghost { color: #f3e7dd; border-color: #40332a; }

:where(a, button, input, select):focus-visible {
  outline: 3px solid var(--cut-deep); outline-offset: 2px; border-radius: 8px;
}

/* ── Nav ────────────────────────────────────────────────────── */

.nav {
  position: sticky; top: 0; z-index: 20;
  background: rgba(255, 250, 245, .88); backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line-soft);
}
.nav-in { display: flex; align-items: center; gap: 20px; padding: 12px 0; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); margin-right: auto; }
.brand-mark { color: var(--cut); font-size: 20px; }
.brand-txt { font-family: var(--serif); font-weight: 700; font-size: 17px; }
.brand-txt em { font-style: normal; color: var(--cut-text); }
.nav nav { display: flex; gap: 22px; }
.nav nav a { color: var(--muted); text-decoration: none; font-size: 14.5px; font-weight: 600; }
.nav nav a:hover { color: var(--cut-text); }

@media (max-width: 860px) { .nav nav { display: none; } }
@media (max-width: 560px) {
  .brand-txt { font-size: 15px; white-space: nowrap; }
  .nav .btn-sm { padding: 9px 14px; font-size: 13.5px; white-space: nowrap; }
  .nav-in { gap: 12px; }
}

/* ── Hero ───────────────────────────────────────────────────── */

.hero {
  padding: 76px 0 60px;
  background:
    radial-gradient(900px 420px at 80% -10%, #fff0e4 0, transparent 62%),
    var(--paper);
}
.hero-in { display: grid; grid-template-columns: 1.15fr .85fr; gap: 56px; align-items: center; }
.hero h1 { margin-bottom: 18px; }
.sub {
  font-family: var(--serif); font-size: clamp(19px, 2.6vw, 24px);
  color: var(--ink-soft); font-style: italic; line-height: 1.4;
  max-width: 26ch; margin-bottom: 26px;
}
.lead {
  font-size: 18px; line-height: 1.55; max-width: 46ch;
  border-left: 3px solid var(--cut); padding-left: 18px;
}
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin: 28px 0 20px; }

@media (max-width: 900px) {
  .hero-in { grid-template-columns: 1fr; gap: 44px; }
  .hero { padding-top: 48px; }
}

/* ── Capa ilustrativa ───────────────────────────────────────── */

.hero-art { display: flex; flex-direction: column; align-items: center; }
.cover {
  position: relative; width: 100%; max-width: 330px; aspect-ratio: 5 / 7;
  background: linear-gradient(170deg, #fffdfb, #fff2e6);
  border: 1px solid var(--line); border-radius: 6px 12px 12px 6px;
  box-shadow: var(--shadow), inset 6px 0 0 -2px var(--cut);
  padding: 26px 24px; display: flex; flex-direction: column;
  transform: rotate(-1.6deg);
}
.cover-kicker {
  font-size: 10.5px; letter-spacing: .22em; text-transform: uppercase;
  color: var(--muted); font-weight: 700;
}
.cover-list { margin-top: 22px; display: grid; gap: 11px; flex: 1; align-content: start; }
.ln {
  position: relative; font-size: 12.5px; color: var(--muted);
  font-family: var(--serif); font-style: italic; padding-left: 16px;
}
.ln::before { content: "—"; position: absolute; left: 0; color: var(--line); }
.ln.cut {
  /* risco do tamanho do texto — line-through mede sozinho, ::after não */
  text-decoration: line-through;
  text-decoration-color: var(--cut);
  text-decoration-thickness: 1.5px;
}
.cover-scissors {
  position: absolute; right: 14px; top: 42%; font-size: 42px; line-height: 1;
  color: var(--cut); transform: rotate(14deg);
  filter: drop-shadow(0 6px 10px rgba(217, 74, 21, .35));
}
.cover-title { margin-top: 18px; border-top: 1px dashed var(--line); padding-top: 16px; }
.cover-title span { display: block; font-family: var(--serif); font-size: 15px; color: var(--muted); }
.cover-title strong { display: block; font-family: var(--serif); font-size: 30px; line-height: 1.05; letter-spacing: -.02em; }
.cover-note { font-size: 12px; color: var(--muted); margin-top: 18px; text-align: center; }

/* ── Linha de corte (divisor) ───────────────────────────────── */

.cutline {
  position: relative; height: 1px; background: repeating-linear-gradient(90deg, var(--line) 0 10px, transparent 10px 20px);
  width: min(100% - 40px, var(--wrap)); margin: 0 auto;
}
.cutline span {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
  background: var(--paper); padding: 0 14px; color: var(--cut); font-size: 18px;
}

/* ── Seções ─────────────────────────────────────────────────── */

.sec { padding: 78px 0; }
.sec-cream { background: var(--paper-2); border-block: 1px solid var(--line-soft); }
.sec-dark { background: var(--dark); color: #f3e7dd; }
.sec-dark h2 { color: #fff; }
.sec-dark p { color: #d9c8bb; }

/* Caneta × Tesoura */
.duo { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin: 34px 0; }
.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px 24px;
}
.card-scissors { border-color: var(--cut); box-shadow: 0 20px 40px -30px rgba(217, 74, 21, .8); }
.card-ico { font-size: 26px; margin-bottom: 10px; }
.card h3 { margin-bottom: 2px; }
.card-tag {
  font-size: 11.5px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase;
  color: var(--muted); margin-bottom: 12px;
}
.card-scissors .card-tag { color: var(--cut-text); }
.card p:last-child { margin-bottom: 0; font-size: 15.5px; color: var(--ink-soft); }

@media (max-width: 720px) { .duo { grid-template-columns: 1fr; } }

/* Pull quote */
.pull {
  font-family: var(--serif); font-size: clamp(26px, 4.4vw, 42px);
  line-height: 1.22; color: #fff; margin-bottom: .5em;
}
.pull em { font-style: normal; color: var(--cut); }
.pull-sub { font-size: 18px; color: #b9a494 !important; }

/* O que NÃO é */
.nots { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 14px; }
.nots li {
  background: #fff; border: 1px solid var(--line); border-left: 3px solid var(--cut);
  border-radius: 10px; padding: 18px 20px; font-size: 16px; color: var(--ink-soft);
}
.nots strong { color: var(--ink); }

/* ── Exercício ──────────────────────────────────────────────── */

.sheet {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow); margin: 36px auto 0; padding: 8px 0;
  width: min(100%, 780px);
}
.step { padding: 26px 30px; border-bottom: 1px dashed var(--line); }
.step:last-of-type { border-bottom: 0; }
.step-head { display: flex; align-items: center; gap: 12px; margin-bottom: 6px; }
.step-n {
  flex: 0 0 30px; height: 30px; border-radius: 50%; background: var(--cut-btn); color: #fff;
  display: grid; place-items: center; font-size: 15px; font-weight: 800; font-family: var(--sans);
}
.step-head h3 { margin: 0; }
.step-help { font-size: 14.5px; color: var(--muted); margin: 0 0 14px; }
.step-help.tiny { margin-top: 10px; margin-bottom: 0; }

input[type="text"], select {
  width: 100%; padding: 13px 15px; font-size: 16px; font-family: inherit; color: var(--ink);
  background: var(--paper); border: 1.5px solid #9e8674; border-radius: 10px;
  transition: border-color .15s ease;
}
input[type="text"]:focus, select:focus { border-color: var(--cut); }
input::placeholder { color: #7f6f62; }
select { cursor: pointer; }

.add-row { display: flex; gap: 10px; }
.add-row input { flex: 1; }

.tasks { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.tasks li {
  display: flex; align-items: center; gap: 12px; padding: 11px 14px;
  background: var(--paper); border: 1px solid var(--line-soft); border-radius: 10px;
  font-size: 15.5px;
}
.tasks .txt { flex: 1; }
.tasks li.circled { background: #fff5ef; border-color: #f6c3a8; }
.tasks li.circled .txt {
  text-decoration: line-through; text-decoration-color: var(--cut);
  text-decoration-thickness: 2px; color: var(--muted);
}
.tasks li.keep .txt { color: var(--ink); }
.mark {
  border: 1.5px solid var(--line); background: #fff; border-radius: 8px;
  padding: 6px 11px; font-size: 13px; font-family: inherit; font-weight: 600;
  color: var(--muted); cursor: pointer; white-space: nowrap;
}
.mark:hover { border-color: var(--cut); color: var(--cut-text); }
.mark[aria-pressed="true"] { background: var(--cut-btn); border-color: var(--cut-btn); color: #fff; }
.mark.keep[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); }
.del {
  border: 0; background: none; color: var(--muted); font-size: 18px; line-height: 1;
  cursor: pointer; padding: 4px 6px;
}
.del:hover { color: var(--cut-text); }
.empty { font-size: 14.5px; color: var(--muted); font-style: italic; margin: 4px 0 0; }

/* Resultado */
.result {
  margin: 8px 26px 26px; padding: 26px 26px 22px;
  background: var(--dark); color: #f3e7dd; border-radius: 12px;
}
.result-eyebrow {
  font-size: 11.5px; font-weight: 800; letter-spacing: .18em; text-transform: uppercase;
  color: #ffab7f; margin-bottom: 10px;
}
.result-goal { font-family: var(--serif); font-size: 20px; color: #fff; margin-bottom: 16px; }
.result-list { list-style: none; padding: 0; margin: 0 0 18px; display: grid; gap: 7px; }
.result-list li {
  font-size: 15px; color: #c9b8ab;
  text-decoration: line-through; text-decoration-color: var(--cut); text-decoration-thickness: 2px;
}
.result-vow {
  font-family: var(--serif); font-size: 19px; color: #fff; line-height: 1.35;
  border-left: 3px solid var(--cut); padding-left: 16px; margin-bottom: 20px;
}
.result-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.result .btn-ghost { color: #f3e7dd; border-color: #40332a; }
.result .tiny { color: #9d8b7d; margin: 12px 0 0; }

.after-sheet { text-align: center; margin-top: 40px; }
.after-sheet p { margin-bottom: 22px; }

@media (max-width: 620px) {
  .step { padding: 22px 18px; }
  .result { margin: 8px 14px 18px; padding: 22px 18px; }
  .add-row { flex-direction: column; }
}

/* ── Autor ──────────────────────────────────────────────────── */

.author { display: flex; align-items: center; gap: 18px; margin-bottom: 22px; }
.avatar {
  width: 76px; height: 76px; flex-shrink: 0; border-radius: 50%;
  background: linear-gradient(135deg, var(--cut), var(--cut-deep));
  color: #fff; display: grid; place-items: center;
  font-size: 26px; font-weight: 800; letter-spacing: -.02em;
  box-shadow: 0 0 0 4px #fff, 0 0 0 5.5px var(--line);
}
.author-name { margin: 0; font-size: 26px; }
.author-role { margin: 2px 0 0; font-size: 14.5px; color: var(--muted); }
.bio { font-size: 16.5px; color: var(--ink-soft); }
.links { display: flex; flex-wrap: wrap; gap: 18px; font-size: 14.5px; }

/* ── Tiles ──────────────────────────────────────────────────── */

.tiles { display: grid; gap: 12px; margin-top: 28px; }
.tile {
  display: grid; grid-template-columns: 40px 1fr; gap: 4px 16px; align-items: center;
  background: #fff; border: 1px solid var(--line); border-radius: 12px;
  padding: 18px 20px; text-decoration: none; color: var(--ink);
  transition: border-color .15s ease, transform .15s ease;
}
.tile:hover { border-color: var(--cut); transform: translateX(3px); }
.tile-ico { grid-row: span 2; font-size: 22px; text-align: center; color: var(--cut); }
.tile strong { font-size: 16px; line-height: 1.35; }
.tile-meta { font-size: 13px; color: var(--muted); }

/* ── CTA final + footer ─────────────────────────────────────── */

.final { text-align: center; }
.final-h { font-size: clamp(26px, 3.8vw, 40px); margin-bottom: 18px; }
.final .btn { margin: 14px 0 18px; }

.foot { padding: 40px 0 56px; background: var(--paper); border-top: 1px solid var(--line-soft); }
.foot-in { text-align: center; color: var(--muted); }
.foot p { margin: 0 0 8px; font-size: 14.5px; }
.foot .en { font-family: var(--serif); font-style: italic; }
.foot a { color: var(--muted); }

/* ── Impressão: só a lista ──────────────────────────────────── */

@media print {
  .nav, .hero, .cutline, .sec:not(#exercicio), .foot, .step, .after-sheet, .result-actions { display: none !important; }
  body { background: #fff; }
  .sheet { box-shadow: none; border: 0; }
  .result { background: #fff !important; color: #000 !important; border: 1px solid #000; }
  .result-goal, .result-vow, .result-list li { color: #000 !important; }
  .result-eyebrow { color: #000 !important; }
}

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
}
