:root {
  --ink: #17130f;
  --paper: #f5f2ee;
  --white: #ffffff;
  --red: #d71920;
  --red-dark: #ad1015;
  --muted: #716961;
  --line: #dfd8d0;
  --soft: #ebe5de;
  --cream: #fff8e9;
  --green: #087d4b;
  --amber: #a66300;
  --shadow: 0 22px 60px rgba(32, 23, 16, .10);
  --radius: 24px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 28px; }
body {
  margin: 0;
  overflow-x: hidden;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; }
img { display: block; max-width: 100%; }
button, a { -webkit-tap-highlight-color: transparent; }
.skip-link { position: fixed; top: 8px; left: 8px; z-index: 100; padding: 10px 14px; color: #fff; background: #000; transform: translateY(-150%); }
.skip-link:focus { transform: translateY(0); }
.topline { height: 6px; background: linear-gradient(90deg, var(--red), #ff585b 62%, var(--ink)); }

.masthead {
  position: relative;
  overflow: hidden;
  color: #fff;
  background: var(--ink);
}
.masthead::after {
  content: "";
  position: absolute;
  right: -180px;
  bottom: -280px;
  width: 680px;
  height: 680px;
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 50%;
  box-shadow: 0 0 0 80px rgba(255,255,255,.025), 0 0 0 180px rgba(255,255,255,.018);
}
.masthead__bar, .masthead__content, .guide-grid, .footer__inner { width: min(1500px, calc(100% - 40px)); margin: 0 auto; }
.masthead__bar { position: relative; z-index: 2; padding: 24px 0; display: flex; align-items: center; justify-content: space-between; gap: 20px; border-bottom: 1px solid rgba(255,255,255,.12); }
.brand { display: flex; align-items: center; gap: 13px; text-decoration: none; }
.brand__mark { width: 40px; height: 40px; padding: 8px; border-radius: 12px; background: var(--red); display: grid; grid-template-columns: repeat(3, 1fr); align-items: end; gap: 3px; transform: rotate(4deg); }
.brand__mark i { display: block; border-radius: 5px; background: #fff; }
.brand__mark i:nth-child(1) { height: 55%; }
.brand__mark i:nth-child(2) { height: 100%; }
.brand__mark i:nth-child(3) { height: 76%; }
.brand__copy { display: flex; flex-direction: column; }
.brand__copy strong { font-size: 18px; letter-spacing: .12em; }
.brand__copy small { color: #aaa29a; font-size: 9px; letter-spacing: .22em; text-transform: uppercase; }
.masthead__actions { display: flex; align-items: center; gap: 10px; }
.button { min-height: 46px; padding: 11px 17px; border: 1px solid transparent; border-radius: 13px; display: inline-flex; align-items: center; justify-content: center; gap: 8px; font-weight: 800; text-decoration: none; cursor: pointer; }
.button--primary { color: #fff; background: var(--red); box-shadow: 0 12px 30px rgba(239,32,36,.22); }
.button--primary:hover { background: var(--red-dark); }
.button--ghost { color: #fff; border-color: rgba(255,255,255,.25); background: transparent; }
.button--light { color: var(--ink); border-color: var(--line); background: #fff; }
.button--small { min-height: 38px; padding: 8px 12px; font-size: 13px; }
.toc-toggle { display: none; color: #fff; border: 1px solid rgba(255,255,255,.24); background: transparent; }
.masthead__content { position: relative; z-index: 2; padding: 72px 0 82px; display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(320px, .8fr); align-items: end; gap: 60px; }
.eyebrow { margin: 0 0 16px; color: var(--red); font-size: 12px; font-weight: 900; letter-spacing: .18em; text-transform: uppercase; }
.masthead h1 { max-width: 820px; margin: 0; font-size: clamp(44px, 6vw, 86px); line-height: .98; letter-spacing: -.055em; }
.lead { max-width: 780px; margin: 24px 0 0; color: #d5cec7; font-size: clamp(17px, 2vw, 22px); line-height: 1.55; }
.release-badge { width: fit-content; margin: 24px 0 0; padding: 9px 13px; border: 1px solid rgba(255,255,255,.18); border-radius: 999px; display: flex; align-items: center; gap: 9px; color: #fff; background: rgba(255,255,255,.07); font-size: 12px; }
.release-badge span { padding: 3px 8px; border-radius: 999px; color: #fff; background: var(--red); font-size: 9px; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; }
.release-badge strong { font-size: 12px; }
.hero-note { padding: 28px; border: 1px solid rgba(255,255,255,.13); border-radius: 22px; background: rgba(255,255,255,.055); backdrop-filter: blur(12px); }
.hero-note strong { display: block; margin-bottom: 10px; font-size: 18px; }
.hero-note p { margin: 0; color: #c6beb6; font-size: 14px; }
.hero-note ul { margin: 18px 0 0; padding: 0; list-style: none; display: grid; gap: 9px; }
.hero-note li { display: flex; align-items: center; gap: 9px; color: #fff; font-size: 13px; font-weight: 700; }
.hero-note li::before { content: "✓"; width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; color: #fff; background: var(--green); font-size: 11px; }

.guide-grid { padding: 42px 0 90px; display: grid; grid-template-columns: 285px minmax(0, 1fr); align-items: start; gap: 38px; }
.toc { position: sticky; top: 22px; max-height: calc(100vh - 44px); padding: 23px; border: 1px solid var(--line); border-radius: 21px; background: rgba(255,255,255,.86); box-shadow: 0 15px 45px rgba(37,26,18,.06); overflow: auto; backdrop-filter: blur(14px); }
.toc__title { margin-bottom: 14px; display: flex; align-items: center; justify-content: space-between; }
.toc__title strong { font-size: 14px; }
.toc__title span { color: var(--red); font-size: 10px; font-weight: 900; letter-spacing: .12em; }
.toc nav { display: grid; gap: 2px; }
.toc a { padding: 8px 10px; border-radius: 9px; color: #615950; font-size: 12px; font-weight: 720; line-height: 1.3; text-decoration: none; }
.toc a:hover, .toc a.is-active { color: var(--red); background: #fff0f0; }
.toc__help { margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--line); }
.toc__help strong { display: block; font-size: 12px; }
.toc__help p { margin: 4px 0 0; color: var(--muted); font-size: 11px; }

.content { min-width: 0; overflow-wrap: anywhere; }
.chapter, .intro-panel, .final-panel { margin-bottom: 32px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); box-shadow: 0 14px 45px rgba(43,31,21,.045); }
.chapter { padding: clamp(25px, 4vw, 54px); }
.intro-panel { padding: clamp(25px, 4vw, 44px); }
.chapter__head { margin-bottom: 28px; display: grid; grid-template-columns: 56px minmax(0, 1fr); gap: 18px; }
.chapter__number { width: 56px; height: 56px; border-radius: 17px; display: grid; place-items: center; color: #fff; background: var(--ink); font-weight: 900; }
.chapter__head h2 { margin: 0; font-size: clamp(30px, 4vw, 48px); line-height: 1.06; letter-spacing: -.045em; }
.chapter__head p { max-width: 820px; margin: 10px 0 0; color: var(--muted); font-size: 16px; }
h3 { margin: 0 0 10px; font-size: 22px; line-height: 1.2; letter-spacing: -.025em; }
h4 { margin: 0 0 7px; font-size: 16px; }
p { margin-top: 0; }
.intro-panel h2 { margin: 0 0 12px; font-size: 31px; letter-spacing: -.035em; }
.intro-panel > p { color: var(--muted); }
.feature-grid { margin-top: 26px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.feature { padding: 20px; border: 1px solid var(--line); border-radius: 17px; background: #fbfaf8; }
.feature b { width: 34px; height: 34px; margin-bottom: 12px; border-radius: 10px; display: grid; place-items: center; color: var(--red); background: #ffe7e7; }
.feature strong { display: block; font-size: 15px; }
.feature p { margin: 6px 0 0; color: var(--muted); font-size: 12px; }
.steps { margin: 24px 0; padding: 0; list-style: none; counter-reset: guide-step; display: grid; gap: 12px; }
.steps li { position: relative; min-height: 55px; padding: 15px 18px 15px 64px; border: 1px solid var(--line); border-radius: 15px; background: #fbfaf8; }
.steps li::before { counter-increment: guide-step; content: counter(guide-step); position: absolute; top: 13px; left: 16px; width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; color: #fff; background: var(--red); font-size: 12px; font-weight: 900; }
.steps strong { display: block; margin-bottom: 2px; }
.steps span { color: var(--muted); font-size: 14px; }
.two-col { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.mini-card { padding: 21px; border: 1px solid var(--line); border-radius: 17px; background: #fbfaf8; }
.mini-card p, .mini-card li { color: var(--muted); font-size: 14px; }
.mini-card ul { margin-bottom: 0; padding-left: 20px; }
.mini-card--dark { color: #fff; border-color: var(--ink); background: var(--ink); }
.mini-card--dark p, .mini-card--dark li { color: #d2cbc4; }
.callout { margin: 24px 0; padding: 18px 20px; border: 1px solid #e9c881; border-radius: 16px; display: grid; grid-template-columns: 34px minmax(0, 1fr); gap: 13px; background: var(--cream); }
.callout__icon { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; color: #fff; background: var(--amber); font-weight: 900; }
.callout p { margin: 0; color: #6d4b14; font-size: 13px; }
.callout--success { border-color: #bcdcca; background: #eefaf3; }
.callout--success .callout__icon { background: var(--green); }
.callout--success p { color: #175d3c; }
.callout--danger { border-color: #ffc4c5; background: #fff2f2; }
.callout--danger .callout__icon { background: var(--red); }
.callout--danger p { color: #8b292c; }
.screenshot { margin: 30px 0; overflow: hidden; border: 1px solid #d6cec6; border-radius: 20px; background: #e8e3de; box-shadow: var(--shadow); }
.screenshot img { width: 100%; height: auto; }
.screenshot figcaption { padding: 12px 16px; color: #71685f; background: #fff; font-size: 11px; }
.screen-note { font-weight: 800; color: var(--red); }
.screenshot__link { position: relative; display: block; cursor: zoom-in; }
.screenshot__link::after { content: "Toque ou clique para ampliar"; position: absolute; right: 12px; bottom: 12px; padding: 7px 10px; border-radius: 999px; color: #fff; background: rgba(23,19,15,.84); font-size: 10px; font-weight: 800; }

.screen-map { margin: 30px 0; overflow: hidden; border: 1px solid #d6cec6; border-radius: 20px; background: #f7f4f1; box-shadow: var(--shadow); }
.screen-map__top { padding: 22px 24px; border-bottom: 1px solid var(--line); display: flex; align-items: baseline; justify-content: space-between; gap: 18px; background: #fff; }
.screen-map__top strong { font-size: clamp(19px, 3vw, 27px); line-height: 1.15; letter-spacing: -.025em; }
.screen-map__top span { color: var(--muted); font-size: 11px; text-align: right; }
.screen-map__actions { padding: 13px 18px; border-bottom: 1px solid var(--line); display: flex; flex-wrap: wrap; align-items: center; gap: 8px; background: #fbfaf8; }
.screen-map__actions span, .screen-map__actions b { min-height: 34px; padding: 7px 10px; border: 1px solid var(--line); border-radius: 9px; display: inline-flex; align-items: center; color: #584f47; background: #fff; font-size: 10px; }
.screen-map__actions b { color: #fff; border-color: var(--red); background: var(--red); }
.screen-map__metrics { padding: 16px; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.screen-map__metrics > div { min-width: 0; padding: 15px; border: 1px solid var(--line); border-radius: 13px; background: #fff; }
.screen-map__metrics > .is-paid { border-color: #bcdcca; background: #f1faf5; }
.screen-map__metrics small { min-height: 27px; display: block; color: #6d6258; font-size: 8px; font-weight: 900; letter-spacing: .08em; line-height: 1.35; }
.screen-map__metrics strong { display: block; overflow-wrap: anywhere; font-size: clamp(17px, 2.3vw, 24px); line-height: 1.15; }
.screen-map__tabs { padding: 9px 16px; display: flex; flex-wrap: wrap; gap: 7px; }
.screen-map__tabs span { padding: 6px 10px; border: 1px solid var(--line); border-radius: 999px; color: #5d554e; background: #fff; font-size: 9px; }
.screen-map__row { margin: 0 16px 10px; padding: 14px; border: 1px solid var(--line); border-left: 4px solid #e4a90e; border-radius: 13px; display: grid; grid-template-columns: minmax(80px, .6fr) minmax(150px, 1.5fr) minmax(115px, .8fr) minmax(100px, .7fr) minmax(135px, .9fr); align-items: center; gap: 12px; background: #fff; }
.screen-map__row > strong { font-size: 12px; }
.screen-map__row > span:not(.tag):not(.screen-map__month) { display: grid; color: var(--ink); font-size: 11px; }
.screen-map__row small { color: #71665c; font-size: 7px; font-weight: 900; letter-spacing: .09em; }
.screen-map__row > b { color: var(--red); font-size: 10px; text-align: right; }
.screen-map__month { font-size: 14px; font-weight: 900; }
.screen-map__month small { margin-left: 4px; color: var(--muted); font-size: 9px; letter-spacing: 0; }
.screen-map__danger { color: #b11418; }
.screen-map__overdue, .screen-map__notice { margin: 13px 16px 16px; padding: 13px 15px; border: 1px solid #efc6c7; border-radius: 12px; display: flex; align-items: center; justify-content: space-between; gap: 15px; background: #fff4f4; }
.screen-map__notice { border-color: #e9c881; background: var(--cream); }
.screen-map__overdue strong, .screen-map__notice strong { font-size: 11px; }
.screen-map__overdue span, .screen-map__notice span { color: var(--muted); font-size: 10px; text-align: right; }
.screen-map figcaption { padding: 12px 16px; color: #71685f; background: #fff; font-size: 11px; }
.screen-map--das .screen-map__row, .screen-map--parcelas .screen-map__row { border-left-color: var(--red); }
.screen-map--honorarios .screen-map__row { border-left-color: #e4a90e; }
.action-row { margin-top: 22px; display: flex; flex-wrap: wrap; gap: 10px; }
.definition-list { margin: 22px 0 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.definition-list div { padding: 17px; border-left: 4px solid var(--red); border-radius: 0 13px 13px 0; background: #f8f5f2; }
.definition-list dt { font-size: 13px; font-weight: 900; }
.definition-list dd { margin: 5px 0 0; color: var(--muted); font-size: 13px; }
.status-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.status { padding: 17px; border: 1px solid var(--line); border-radius: 15px; }
.status strong { display: block; margin-bottom: 4px; font-size: 13px; }
.status span { color: var(--muted); font-size: 12px; }
.tag { width: fit-content; margin-bottom: 8px; padding: 4px 8px; border-radius: 999px; color: var(--green); background: #e5f7ed; font-size: 9px; font-weight: 900; letter-spacing: .05em; text-transform: uppercase; }
.tag--wait { color: #916000; background: #fff2cf; }
.tag--danger { color: #b11418; background: #ffe4e5; }
.promo { position: relative; margin: 28px 0; padding: clamp(26px, 4vw, 42px); overflow: hidden; border-radius: 23px; color: #fff; background: var(--red); box-shadow: 0 24px 60px rgba(239,32,36,.22); }
.promo::after { content: "A1"; position: absolute; right: -12px; bottom: -75px; color: rgba(255,255,255,.10); font-size: 230px; line-height: 1; font-weight: 950; }
.promo__content { position: relative; z-index: 1; max-width: 760px; }
.promo .eyebrow { color: #fff; opacity: .8; }
.promo h3 { font-size: clamp(30px, 5vw, 55px); letter-spacing: -.05em; }
.promo p { max-width: 680px; color: #fff4f4; }
.promo__price { margin: 18px 0; display: flex; align-items: baseline; gap: 8px; }
.promo__price strong { font-size: clamp(42px, 6vw, 70px); letter-spacing: -.055em; }
.promo__price span { font-size: 15px; font-weight: 800; }
.promo .button { color: var(--ink); background: #fff; }
.promo.is-expired { background: #5a5149; box-shadow: none; }
.promo.is-expired .promo__price, .promo.is-expired [data-promo-active] { display: none; }
.promo [data-promo-expired] { display: none; }
.promo.is-expired [data-promo-expired] { display: block; }
.faq { display: grid; gap: 10px; }
.faq details { border: 1px solid var(--line); border-radius: 14px; background: #fbfaf8; }
.faq summary { padding: 17px 19px; cursor: pointer; font-weight: 850; }
.faq details p { padding: 0 19px 18px; margin: 0; color: var(--muted); font-size: 14px; }
.final-panel { overflow: hidden; }
.final-panel__top { padding: clamp(30px, 5vw, 55px); color: #fff; background: var(--ink); }
.final-panel h2 { margin: 0; font-size: clamp(32px, 5vw, 55px); line-height: 1.04; letter-spacing: -.05em; }
.final-panel p { max-width: 720px; margin: 15px 0 0; color: #cfc8c1; }
.final-panel__actions { padding: 23px; display: flex; flex-wrap: wrap; gap: 12px; background: #fff; }

.footer { color: #c5bdb5; background: #0f0c0a; }
.footer__inner { padding: 35px 0; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.footer strong { color: #fff; }
.footer small { display: block; margin-top: 4px; }
.footer a { color: #fff; font-weight: 800; }

@media (max-width: 1050px) {
  .guide-grid { grid-template-columns: 235px minmax(0, 1fr); gap: 22px; }
  .feature-grid, .status-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .chapter { padding: 30px; }
}

@media (max-width: 820px) {
  html { scroll-padding-top: 80px; }
  .masthead__bar { position: sticky; top: 0; }
  .masthead__actions .button--ghost { display: none; }
  .toc-toggle { display: inline-flex; }
  .masthead__content { padding: 52px 0 58px; grid-template-columns: 1fr; gap: 32px; }
  .guide-grid { width: min(100% - 28px, 760px); padding-top: 24px; grid-template-columns: 1fr; }
  .toc { position: fixed; inset: 0 0 0 auto; z-index: 50; width: min(88vw, 340px); max-height: none; border-radius: 0; visibility: hidden; transform: translateX(100%); transition: transform .22s ease, visibility 0s linear .22s; }
  .toc.is-open { visibility: visible; transform: translateX(0); transition-delay: 0s; }
  body.toc-open::before { content: ""; position: fixed; inset: 0; z-index: 45; background: rgba(0,0,0,.54); }
  .two-col, .definition-list { grid-template-columns: 1fr; }
  .screenshot { margin-inline: -10px; border-radius: 14px; }
  .screen-map { margin-inline: -10px; border-radius: 14px; }
  .screen-map__metrics { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .screen-map__row { grid-template-columns: minmax(75px, .6fr) minmax(140px, 1.4fr) repeat(2, minmax(105px, .8fr)) minmax(125px, .9fr); overflow-x: auto; }
}

@media (max-width: 560px) {
  .masthead__bar, .masthead__content, .footer__inner { width: min(100% - 28px, 1500px); }
  .masthead__bar { padding: 15px 0; }
  .brand__copy strong { font-size: 15px; }
  .brand__mark { width: 36px; height: 36px; }
  .masthead h1 { font-size: 46px; }
  .lead { font-size: 16px; }
  .hero-note { padding: 21px; }
  .chapter, .intro-panel { padding: 22px; border-radius: 19px; }
  .chapter__head { grid-template-columns: 45px minmax(0, 1fr); gap: 12px; }
  .chapter__number { width: 45px; height: 45px; border-radius: 13px; }
  .chapter__head h2 { font-size: 31px; }
  .feature-grid, .status-grid { grid-template-columns: 1fr; }
  .steps li { padding-left: 58px; }
  .button { width: 100%; }
  .masthead__actions .button { width: auto; }
  .screenshot { margin-inline: -14px; border-left: 0; border-right: 0; border-radius: 0; box-shadow: none; }
  .screen-map { margin-inline: -14px; border-left: 0; border-right: 0; border-radius: 0; box-shadow: none; }
  .screen-map__top { padding: 18px; align-items: flex-start; flex-direction: column; gap: 5px; }
  .screen-map__top span { text-align: left; }
  .screen-map__metrics { padding: 12px; }
  .screen-map__metrics > div { padding: 12px; }
  .screen-map__row { margin-inline: 12px; padding: 13px; grid-template-columns: 1fr; align-items: start; gap: 7px; overflow: visible; }
  .screen-map__row > b { padding-top: 5px; border-top: 1px solid var(--line); text-align: left; }
  .screen-map__overdue, .screen-map__notice { margin-inline: 12px; align-items: flex-start; flex-direction: column; gap: 4px; }
  .screen-map__overdue span, .screen-map__notice span { text-align: left; }
  .release-badge { align-items: flex-start; flex-direction: column; border-radius: 15px; }
  .promo { margin-inline: -8px; padding: 27px 22px; }
  .footer__inner { align-items: flex-start; flex-direction: column; }
}

@media (max-width: 420px) {
  .brand__copy { display: none; }
  .masthead__actions { gap: 6px; }
  .masthead__actions .button { padding-inline: 9px; white-space: nowrap; }
}

@media print {
  @page { size: A4; margin: 12mm; }
  :root { --paper: #fff; }
  .skip-link, .topline, .masthead__actions, .toc, .action-row, .final-panel__actions, .footer, .screenshot__link::after { display: none !important; }
  .masthead { color: #111; background: #fff; border-bottom: 2px solid #111; }
  .masthead::after, .promo::after { display: none; }
  .masthead__bar { border-bottom-color: #ddd; }
  .brand__copy strong, .hero-note li { color: #111; }
  .brand__copy small, .lead, .hero-note p { color: #555; }
  .hero-note { border-color: #ddd; }
  .masthead__content { padding: 35px 0; grid-template-columns: 1fr; }
  .guide-grid { width: 100%; padding: 20px 0; display: block; }
  .chapter, .intro-panel, .final-panel { break-inside: avoid; box-shadow: none; }
  .screenshot { box-shadow: none; break-inside: avoid; }
  .screen-map { box-shadow: none; break-inside: avoid; }
  .promo { color: #111; border: 2px solid #111; background: #fff; box-shadow: none; }
  .promo p { color: #333; }
}

.chapter-label { margin: 0 0 5px !important; color: var(--red) !important; font-size: 9px !important; font-weight: 900; letter-spacing: .13em; text-transform: uppercase; }
.module-flow { margin: 26px 0; padding: 18px; border: 1px solid var(--line); border-radius: 18px; display: grid; grid-template-columns: 1fr auto 1fr auto 1fr; align-items: center; gap: 12px; background: #f8f5f2; }
.module-flow > div { min-width: 0; padding: 17px; border-radius: 13px; background: #fff; }
.module-flow small, .module-flow strong { display: block; }
.module-flow small { color: var(--red); font-size: 8px; font-weight: 900; letter-spacing: .12em; }
.module-flow strong { margin-top: 4px; font-size: 13px; }
.module-flow i { color: var(--red); font-style: normal; font-weight: 900; }
@media (max-width: 560px) { .module-flow { grid-template-columns: 1fr; } .module-flow i { transform: rotate(90deg); text-align: center; } }
