:root{
  --ink:#14171c;
  --paper:#f5f1e8;
  --paper-line:#e4ddc9;
  --surface:#fffdf8;
  --accent:#2f5561;
  --accent-strong:#1f3d47;
  --accent-soft:#cfe1e4;
  --price:#a9781f;
  --price-soft:#f2e6cc;
  --muted:#5b655f;
  --font-display:'Fraunces', Georgia, 'Times New Roman', serif;
  --font-body:'Inter Tight', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-mono:'IBM Plex Mono', ui-monospace, SFMono-Regular, Menlo, monospace;
}

*{ box-sizing:border-box; }
html{ -webkit-text-size-adjust:100%; }
body{
  margin:0; min-height:100vh;
  background:var(--paper); color:var(--ink);
  font-family:var(--font-body); font-size:16px; line-height:1.5;
  overflow-x:hidden;
}
a{ color:inherit; }
h1,h2,h3{ font-family:var(--font-display); margin:0; text-wrap:balance; }

/* Ilustrações espalhadas no fundo */
.doodles{ position:fixed; inset:0; pointer-events:none; z-index:0; }

.doodles svg{ position:absolute; color:var(--accent-strong); opacity:.11; }

.page{
  position:relative; z-index:1;
  max-width:460px; margin:0 auto; padding:40px 16px 48px;
}

/* Topo */
.hero{ text-align:center; margin-bottom:28px; }
.avatar{
  width:112px; height:112px; border-radius:50%; object-fit:cover; object-position:50% 50%;
  border:3px solid var(--surface); box-shadow:0 0 0 2px var(--accent-strong);
  display:block; margin:0 auto 14px;
}
.name{ font-size:1.55rem; font-weight:700; letter-spacing:-.01em; }
.eyebrow{
  font-family:var(--font-mono); font-size:.72rem; font-weight:600;
  letter-spacing:.08em; text-transform:uppercase; color:var(--accent);
  margin:6px 0 14px;
}
.tagline{
  font-family:var(--font-display); font-style:italic; font-weight:500;
  font-size:1.12rem; line-height:1.4; color:var(--accent-strong);
  margin:0 auto; max-width:360px;
}

/* Botão principal (Leitura Aplicada) */
.feature{
  display:block; text-decoration:none;
  background:var(--accent-strong); color:var(--paper);
  border-radius:18px; padding:22px 20px 20px; margin-bottom:14px;
  box-shadow:0 10px 24px -14px rgba(20,23,28,.55);
  transition:transform .15s ease, box-shadow .15s ease;
}
.feature:hover{ transform:translateY(-2px); box-shadow:0 14px 28px -14px rgba(20,23,28,.6); }
.feature .tag{
  display:inline-block; font-family:var(--font-mono); font-size:.7rem; font-weight:600;
  letter-spacing:.06em; text-transform:uppercase;
  background:var(--price-soft); color:#6f4f12; border-radius:999px; padding:4px 10px;
}
.feature h2{ font-size:1.45rem; margin:12px 0 6px; }
.feature p{ margin:0 0 16px; color:#d9e4e2; font-size:.97rem; }
.feature .brand{ display:flex; align-items:center; gap:16px; margin:12px 0 16px; }
.feature .brand img{ width:96px; height:auto; flex:0 0 96px; }
.feature .brand p{ margin:0; }
.sr{ position:absolute; width:1px; height:1px; overflow:hidden; clip:rect(0 0 0 0); white-space:nowrap; }
.feature .go{
  display:flex; align-items:center; justify-content:center; gap:8px;
  background:var(--paper); color:var(--accent-strong);
  font-weight:700; border-radius:12px; padding:13px 16px; font-size:1rem;
}

/* Botões secundários */
.link{
  display:flex; align-items:center; gap:14px; text-decoration:none;
  background:var(--surface); border:1.5px solid var(--paper-line);
  border-radius:16px; padding:14px 16px; margin-bottom:12px;
  transition:border-color .15s ease, transform .15s ease;
}
.link:hover{ border-color:var(--accent); transform:translateY(-1px); }
.link .ico{
  flex:0 0 44px; height:44px; border-radius:12px; background:var(--accent-soft);
  display:flex; align-items:center; justify-content:center; color:var(--accent-strong);
}
.link .ico svg{ width:24px; height:24px; }
.link strong{ display:block; font-size:1.02rem; }
.link span.sub{ display:block; color:var(--muted); font-size:.9rem; line-height:1.35; }
.link .arrow{ margin-left:auto; color:var(--accent); font-size:1.1rem; }

.divider{
  display:flex; align-items:center; gap:12px; margin:26px 0 14px;
  font-family:var(--font-mono); font-size:.7rem; font-weight:600;
  letter-spacing:.08em; text-transform:uppercase; color:var(--muted);
}
.divider::before,.divider::after{ content:""; flex:1; height:1px; background:var(--paper-line); }

/* Cartão da Assessoria Raiz, na identidade visual dela (negocio1/marca/design-guide.md) */
.link.raiz{ background:#1E3D34; border-color:#356050; color:#F5F5F5; }
.link.raiz:hover{ border-color:#CBA135; }
.link.raiz .ico{ background:#254337; }
.link.raiz .ico img{ width:34px; height:34px; object-fit:contain; }
.link.raiz span.sub{ color:#c9d4cf; }
.link.raiz .arrow{ color:#CBA135; }

/* Rodapé */
.social{ display:flex; justify-content:center; gap:10px; margin-top:28px; }
.social a{
  width:42px; height:42px; border-radius:50%; display:flex; align-items:center; justify-content:center;
  border:1.5px solid var(--paper-line); background:var(--surface); color:var(--accent-strong);
}
.social a:hover{ border-color:var(--accent); }
.social svg{ width:20px; height:20px; }
.foot{ text-align:center; color:var(--muted); font-size:.78rem; margin-top:18px; }

/* Página de indicações */
.back{
  display:inline-flex; align-items:center; gap:6px; text-decoration:none;
  font-family:var(--font-mono); font-size:.75rem; font-weight:600; letter-spacing:.06em;
  text-transform:uppercase; color:var(--accent); margin-bottom:22px;
}
.page-title{ font-size:1.9rem; line-height:1.15; margin-bottom:10px; }
.intro{ color:var(--muted); margin:0 0 24px; }
.book{
  display:flex; gap:14px; background:var(--surface); border:1.5px solid var(--paper-line);
  border-radius:16px; padding:14px; margin-bottom:12px;
}
.spine{
  flex:0 0 58px; height:84px; border-radius:4px 8px 8px 4px;
  background:var(--c, var(--accent-strong)); position:relative;
  box-shadow:inset 6px 0 0 rgba(0,0,0,.18);
  display:flex; align-items:flex-end; justify-content:center; padding-bottom:8px;
  font-family:var(--font-mono); font-size:.72rem; font-weight:600; color:rgba(255,255,255,.85);
}
.book h3{ font-size:1.05rem; line-height:1.25; }
.book .author{ color:var(--muted); font-size:.85rem; margin:2px 0 6px; }
.book p{ margin:0 0 10px; font-size:.93rem; line-height:1.4; }
.book .buy{
  display:inline-flex; align-items:center; gap:6px; text-decoration:none;
  font-weight:700; font-size:.88rem; color:var(--accent-strong);
  border-bottom:2px solid var(--accent-soft);
}
.book .buy:hover{ border-color:var(--accent); }
.upsell{
  background:var(--accent-strong); color:var(--paper); border-radius:18px;
  padding:22px 20px; margin-top:24px; text-align:center;
}
.upsell h2{ font-size:1.25rem; margin-bottom:8px; }
.upsell p{ margin:0 0 16px; color:#d9e4e2; font-size:.95rem; }
.upsell a{
  display:block; text-decoration:none; background:var(--paper); color:var(--accent-strong);
  font-weight:700; border-radius:12px; padding:13px 16px;
}
.disclosure{ color:var(--muted); font-size:.78rem; text-align:center; margin-top:18px; line-height:1.45; }

@media (prefers-reduced-motion:reduce){
  .feature,.link{ transition:none; }
  .feature:hover,.link:hover{ transform:none; }
}

/* Indicações: seções, filtro por tema e linhas compactas */
.theme-title{ font-size:1.35rem; margin:26px 0 4px; }
.theme-sub{ color:var(--muted); margin:0 0 14px; font-size:.95rem; }
#favoritos .theme-title{ margin-top:0; }
.chips{ display:flex; flex-wrap:wrap; gap:8px; margin:12px 0 18px; }
.chip{
  font:600 .82rem var(--font-body); color:var(--accent-strong); cursor:pointer;
  background:var(--surface); border:1.5px solid var(--paper-line); border-radius:999px; padding:7px 13px;
}
.chip:hover{ border-color:var(--accent); }
.chip.on{ background:var(--accent-strong); border-color:var(--accent-strong); color:var(--paper); }
.theme{ margin-bottom:20px; }
.theme-name{
  display:flex; align-items:center; gap:8px; font-family:var(--font-mono); font-size:.74rem; font-weight:600;
  letter-spacing:.08em; text-transform:uppercase; color:var(--muted); margin:0 0 8px;
}
.theme-name span{ width:10px; height:10px; border-radius:3px; display:inline-block; }
.row{
  display:flex; align-items:center; justify-content:space-between; gap:12px;
  background:var(--surface); border:1.5px solid var(--paper-line); border-radius:12px;
  padding:11px 14px; margin-bottom:8px;
}
.row strong{ display:block; font-size:.98rem; line-height:1.3; }
.row .author{ display:block; color:var(--muted); font-size:.84rem; }
.row p{ margin:4px 0 0; font-size:.88rem; line-height:1.35; }
.row .buy{ flex:0 0 auto; white-space:nowrap; }
.row .fav{ display:inline-block; margin-top:4px; font-family:var(--font-mono); font-size:.68rem; font-weight:600; letter-spacing:.06em; text-transform:uppercase; color:var(--price); }
