/* ============ Utudu — design system ============ */
:root {
  --ink: #10201b;
  --ink-2: #33433d;
  --muted: #637169;
  --paper: #f5f2ea;
  --paper-2: #ece7da;
  --white: #fffdf8;
  --line: #ddd6c6;
  --green: #0f5c45;
  --green-2: #0b4535;
  --lime: #c8f051;
  --coral: #ff6a3d;
  --coral-2: #e8542a;
  --radius: 18px;
  --radius-sm: 12px;
  --shadow: 0 1px 0 rgba(16,32,27,.04), 0 10px 30px -14px rgba(16,32,27,.22);
  --display: "Bricolage Grotesque", "Figtree", system-ui, sans-serif;
  --body: "Figtree", system-ui, -apple-system, "Segoe UI", sans-serif;
  --wrap: 1180px;
}
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 17px/1.6 var(--body); -webkit-font-smoothing: antialiased; }
img, svg { display: block; max-width: 100%; }
a { color: var(--green); text-underline-offset: 3px; }
a:hover { color: var(--green-2); }
h1, h2, h3, h4 { font-family: var(--display); line-height: 1.12; letter-spacing: -.02em; margin: 0 0 .5em; font-weight: 800; }
h1 { font-size: clamp(2rem, 4.6vw, 3.4rem); }
h2 { font-size: clamp(1.4rem, 2.6vw, 1.9rem); }
h3 { font-size: 1.15rem; font-weight: 700; letter-spacing: -.01em; }
p { margin: 0 0 1em; }
button { font: inherit; cursor: pointer; }
:focus-visible { outline: 3px solid var(--coral); outline-offset: 2px; border-radius: 6px; }
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
.narrow { max-width: 780px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: #fff; padding: 8px 14px; border-radius: 8px; z-index: 100; }
.skip:focus { left: 8px; }
.muted { color: var(--muted); }
.small { font-size: .88rem; }
.lead { font-size: 1.15rem; color: var(--ink-2); max-width: 62ch; }
.eyebrow { font-weight: 700; font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; color: var(--green); margin-bottom: .9em; }

/* ---------- botões ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5em; padding: .78em 1.3em; border-radius: 999px; border: 2px solid transparent; font-weight: 700; font-size: .98rem; text-decoration: none; line-height: 1.1; transition: transform .15s, background .15s, box-shadow .15s; }
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--green); color: #fff; }
.btn-primary:hover { background: var(--green-2); color: #fff; }
.btn-coral { background: var(--coral); color: #fff; box-shadow: 0 6px 18px -8px rgba(255,106,61,.7); }
.btn-coral:hover { background: var(--coral-2); color: #fff; }
.btn-ghost { background: transparent; border-color: var(--ink); color: var(--ink); }
.btn-ghost:hover { background: var(--ink); color: var(--paper); }
.btn-sm { padding: .55em 1em; font-size: .88rem; }
.btn-lg { padding: 1em 1.8em; font-size: 1.08rem; }
.btn-disabled { background: var(--paper-2); color: var(--muted); border: 2px dashed var(--line); cursor: not-allowed; }
.link-btn { background: none; border: 0; color: var(--green); text-decoration: underline; padding: 0; }

/* ---------- header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(245,242,234,.88); backdrop-filter: saturate(1.4) blur(12px); border-bottom: 1px solid var(--line); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); font: 800 1.55rem/1 var(--display); letter-spacing: -.04em; }
.logo-mark { width: 34px; height: 34px; }
.nav { display: flex; gap: 4px; }
.nav a { padding: .55em .95em; border-radius: 999px; text-decoration: none; color: var(--ink-2); font-weight: 600; font-size: .97rem; }
.nav a:hover { background: var(--paper-2); color: var(--ink); }
.nav a[aria-current="page"] { background: var(--ink); color: var(--paper); }
.menu-toggle { display: none; background: none; border: 0; width: 44px; height: 44px; padding: 10px; }
.menu-toggle span { display: block; height: 2px; background: var(--ink); margin: 5px 0; border-radius: 2px; transition: transform .2s, opacity .2s; }
@media (max-width: 860px) {
  .menu-toggle { display: block; }
  .nav { position: absolute; top: 68px; left: 0; right: 0; flex-direction: column; background: var(--paper); border-bottom: 1px solid var(--line); padding: 10px 16px 18px; display: none; }
  .nav.open { display: flex; }
  .nav a { padding: .9em 1em; font-size: 1.05rem; }
  .menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
}

/* ---------- hero ---------- */
.hero { padding: 64px 0 40px; overflow-x: clip; position: relative; z-index: 5; }
.hero-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 48px; align-items: center; }
.hero h1 { font-size: clamp(2.3rem, 5.4vw, 4.1rem); }
.hl { position: relative; white-space: nowrap; z-index: 0; }
.hl::after { content: ""; position: absolute; left: -4px; right: -4px; bottom: .06em; height: .38em; background: var(--lime); z-index: -1; border-radius: 4px; transform: rotate(-1.2deg); }
.hero-quick { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 20px; }
.search { position: relative; margin-top: 28px; max-width: 560px; }
.search > svg { position: absolute; left: 18px; top: 50%; width: 22px; height: 22px; transform: translateY(-50%); fill: none; stroke: var(--muted); stroke-width: 2; pointer-events: none; }
.search input { width: 100%; padding: 18px 20px 18px 52px; border-radius: 999px; border: 2px solid var(--ink); background: var(--white); font: 500 1.02rem var(--body); color: var(--ink); box-shadow: 4px 4px 0 var(--ink); }
.search input:focus { outline: none; box-shadow: 4px 4px 0 var(--coral); border-color: var(--ink); }
.search-results { position: absolute; top: calc(100% + 10px); left: 0; right: 0; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-sm); box-shadow: var(--shadow); z-index: 20; overflow: hidden; }
.search-results a { display: block; padding: 12px 18px; text-decoration: none; color: var(--ink); border-bottom: 1px solid var(--paper-2); }
.search-results a:last-child { border-bottom: 0; }
.search-results a:hover, .search-results a.active { background: var(--paper); }
.search-results small { display: block; color: var(--muted); font-size: .82rem; }
.search-results .none { padding: 14px 18px; color: var(--muted); }

.hero-art { position: relative; height: 380px; }
.stack { position: absolute; inset: 0; }
.stack .cc { position: absolute; }
.stack .s1 { top: 10px; right: 0; transform: rotate(9deg); }
.stack .s2 { top: 95px; right: 50px; transform: rotate(-4deg); }
.stack .s3 { top: 185px; right: 10px; transform: rotate(3deg); }
.float-note { position: absolute; background: var(--white); border: 2px solid var(--ink); border-radius: 999px; padding: 8px 16px; font-weight: 600; font-size: .9rem; box-shadow: 3px 3px 0 var(--ink); }
.float-note b { color: var(--coral); }
.n1 { left: 0; top: 40px; transform: rotate(-4deg); }
.n2 { left: 20px; bottom: 20px; }
.dot { display: inline-block; width: 9px; height: 9px; border-radius: 50%; background: #2fbf71; margin-right: 6px; box-shadow: 0 0 0 4px rgba(47,191,113,.2); }
@media (max-width: 860px) {
  .hero { padding-top: 36px; }
  .hero-grid { grid-template-columns: 1fr; gap: 24px; }
  .hero-art { height: 250px; order: -1; }
  .stack .cc-lg { width: 230px; height: 145px; }
  .stack .s1 { right: 4%; } .stack .s2 { top: 60px; right: 30%; } .stack .s3 { top: 110px; right: 8%; }
  .n1 { top: 4px; } .n2 { bottom: 0; }
}

/* ---------- cartão visual ---------- */
.cc { --c1: #222; --c2: #555; position: relative; width: 300px; height: 188px; border-radius: 16px; background: linear-gradient(135deg, var(--c1), var(--c2)); color: rgba(255,255,255,.95); box-shadow: 0 18px 40px -18px rgba(0,0,0,.55); overflow: hidden; flex: none; }
.cc::before { content: ""; position: absolute; width: 70%; height: 140%; right: -25%; top: -20%; border-radius: 50%; background: rgba(255,255,255,.08); }
.cc-chip { position: absolute; left: 8%; top: 32%; width: 13%; aspect-ratio: 4/3; border-radius: 4px; background: linear-gradient(135deg, #f2d27a, #c49a3a); }
.cc-name { position: absolute; left: 8%; top: 9%; font: 700 .85rem var(--display); letter-spacing: .01em; }
.cc-brand { position: absolute; right: 8%; bottom: 9%; font: 800 .8rem var(--display); letter-spacing: .04em; text-transform: uppercase; opacity: .9; }
.cc-lg { width: 310px; height: 195px; }
.cc-md { width: 180px; height: 113px; border-radius: 12px; }
.cc-md .cc-name, .cc-md .cc-brand { font-size: .62rem; }
.cc-sm { width: 76px; height: 48px; border-radius: 7px; box-shadow: 0 6px 14px -8px rgba(0,0,0,.6); }
.cc-sm .cc-name, .cc-sm .cc-brand { display: none; }
.cc-sm .cc-chip { border-radius: 2px; }

.loan-ico { width: 60px; height: 60px; border-radius: 16px; display: grid; place-items: center; background: var(--lime); flex: none; }
.loan-ico svg { width: 30px; height: 30px; fill: none; stroke: var(--ink); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.loan-ico.t-consignado { background: #cfe6ff; } .loan-ico.t-fgts { background: #ffd9c9; } .loan-ico.t-garantia { background: #e6dcff; } .loan-ico.t-mei { background: #ffeaa8; }
.product-head .loan-ico { width: 96px; height: 96px; border-radius: 24px; }
.product-head .loan-ico svg { width: 48px; height: 48px; }

/* ---------- seções ---------- */
.section { padding: 44px 20px; }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: 22px; }
.section-head h2 { margin: 0; }
.link { font-weight: 700; text-decoration: none; }
.more { display: flex; gap: 24px; flex-wrap: wrap; margin-top: 18px; font-weight: 700; }
.more a { text-decoration: none; }

.intents { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.intent { display: flex; align-items: center; gap: 14px; padding: 20px 22px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); text-decoration: none; color: var(--ink); font-weight: 700; transition: border-color .15s, transform .15s, box-shadow .15s; }
.intent svg { width: 28px; height: 28px; fill: none; stroke: var(--green); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.intent span { flex: 1; }
.intent .arr { width: 20px; height: 20px; stroke: var(--muted); transition: transform .15s; }
.intent:hover { border-color: var(--ink); transform: translateY(-2px); box-shadow: var(--shadow); color: var(--ink); }
.intent:hover .arr { transform: translateX(4px); stroke: var(--coral); }
@media (max-width: 860px) { .intents { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .intents { grid-template-columns: 1fr; } }

.tabs { display: inline-flex; background: var(--paper-2); border-radius: 999px; padding: 4px; }
.tabs button { border: 0; background: none; padding: .55em 1.1em; border-radius: 999px; font-weight: 700; color: var(--ink-2); }
.tabs button[aria-selected="true"] { background: var(--ink); color: var(--paper); }

/* ---------- cards de produto ---------- */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
@media (max-width: 960px) { .grid-3 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 620px) { .grid-3 { grid-template-columns: 1fr; } }
.pcard { display: flex; flex-direction: column; gap: 16px; padding: 22px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); transition: box-shadow .15s, transform .15s; }
.pcard:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.pcard-top { display: flex; gap: 16px; align-items: center; }
.pcard-head h3 { margin: 2px 0 4px; font-size: 1.1rem; }
.pcard-head h3 a { color: var(--ink); text-decoration: none; }
.pcard-head h3 a::after { content: ""; }
.pcard-issuer { font-size: .8rem; font-weight: 600; color: var(--muted); text-transform: uppercase; letter-spacing: .06em; }
.nota { display: inline-flex; align-items: center; gap: 4px; font-weight: 700; font-size: .92rem; }
.nota svg { width: 16px; height: 16px; fill: var(--coral); }
.facts { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 0; }
.facts div { background: var(--paper); border-radius: var(--radius-sm); padding: 10px 12px; }
.facts dt { font-size: .76rem; color: var(--muted); font-weight: 600; text-transform: uppercase; letter-spacing: .05em; }
.facts dd { margin: 2px 0 0; font-weight: 700; font-size: .96rem; line-height: 1.3; }
.chips { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; padding: 0; margin: 0; }
.chips li { font-size: .78rem; font-weight: 600; padding: .3em .7em; border-radius: 999px; background: #e7f1d3; color: #34501a; }
.pcard-foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: auto; flex-wrap: wrap; }
.pcard-foot .btn { margin-left: auto; }
.badge-exemplo { font-size: .72rem; font-weight: 700; color: #8a5a00; background: #fff3cf; border: 1px dashed #d9a63a; padding: .25em .6em; border-radius: 6px; }

/* ---------- ferramentas ---------- */
.tools { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.tool { display: block; padding: 36px; border-radius: 26px; text-decoration: none; position: relative; overflow: hidden; transition: transform .15s; }
.tool:hover { transform: translateY(-3px); }
.tool h3 { font-size: clamp(1.5rem, 2.6vw, 2rem); font-weight: 800; margin: 8px 0 10px; }
.tool p { max-width: 40ch; }
.tool-k { font-size: .78rem; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; }
.tool-cta { font-weight: 800; font-family: var(--display); font-size: 1.1rem; }
.tool-green { background: var(--green); color: #eaf5ec; }
.tool-green h3, .tool-green .tool-cta { color: var(--lime); }
.tool-green:hover { color: #eaf5ec; }
.tool-cream { background: var(--lime); color: var(--ink); }
.tool-cream:hover { color: var(--ink); }
.tool::after { content: ""; position: absolute; width: 180px; height: 180px; border-radius: 50%; right: -50px; bottom: -70px; border: 28px solid currentColor; opacity: .08; }
@media (max-width: 760px) { .tools { grid-template-columns: 1fr; } .tool { padding: 28px; } }

/* ---------- blog cards ---------- */
.blog-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr; grid-template-rows: auto auto; gap: 18px; }
.acard-big { grid-row: span 2; }
.acard { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); transition: box-shadow .15s, border-color .15s; }
.acard:hover { box-shadow: var(--shadow); border-color: var(--ink); }
.acard-link { display: flex; flex-direction: column; height: 100%; padding: 24px; text-decoration: none; color: var(--ink); }
.acard-link:hover { color: var(--ink); }
.acard h3 { margin: 10px 0 8px; }
.acard p { color: var(--ink-2); font-size: .96rem; }
.acard-big { background: var(--ink); border-color: var(--ink); }
.acard-big .acard-link { color: var(--paper); justify-content: end; min-height: 320px; }
.acard-big h3 { font-size: clamp(1.5rem, 2.6vw, 2.1rem); font-weight: 800; }
.acard-big p { color: #c9d1cc; }
.acard-big .acard-cat { background: var(--lime); color: var(--ink); }
.acard-cat { align-self: flex-start; font-size: .74rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; background: var(--paper-2); color: var(--ink-2); padding: .35em .75em; border-radius: 999px; }
.acard-meta { margin-top: auto; font-size: .82rem; color: var(--muted); font-weight: 600; }
.acard-big .acard-meta { color: #9fb0a7; }
@media (max-width: 960px) { .blog-grid { grid-template-columns: 1fr 1fr; } .acard-big { grid-column: span 2; grid-row: auto; } .acard-big .acard-link { min-height: 240px; } }
@media (max-width: 620px) { .blog-grid { grid-template-columns: 1fr; } .acard-big { grid-column: auto; } }
.blog-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.blog-list > div { display: flex; } .blog-list .acard { flex: 1; }
@media (max-width: 960px) { .blog-list { grid-template-columns: 1fr 1fr; } }
@media (max-width: 620px) { .blog-list { grid-template-columns: 1fr; } }

/* ---------- confiança ---------- */
.trust { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; border-top: 1px solid var(--line); margin-top: 20px; padding-top: 48px; }
.trust svg { width: 34px; height: 34px; fill: none; stroke: var(--coral); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; margin-bottom: 12px; }
.trust p { color: var(--ink-2); font-size: .96rem; }
@media (max-width: 760px) { .trust { grid-template-columns: 1fr; gap: 10px; } }

/* ---------- anúncios ---------- */
.ad { margin: 28px auto; text-align: center; min-height: 90px; }
.ad-label { display: block; font-size: .68rem; text-transform: uppercase; letter-spacing: .12em; color: var(--muted); margin-bottom: 4px; }
.ad-preview { display: grid; place-items: center; min-height: 120px; border: 2px dashed var(--line); border-radius: var(--radius-sm); background: repeating-linear-gradient(45deg, transparent 0 10px, rgba(0,0,0,.02) 10px 20px); }
.ad-side { min-height: 250px; margin: 0 0 20px; }
.ad.wrap { display: block; }

/* ---------- páginas internas ---------- */
.crumbs { font-size: .86rem; color: var(--muted); padding-top: 22px; padding-bottom: 4px; }
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--ink); text-decoration: underline; }
.crumbs span { margin: 0 4px; }
.page-hero { padding-top: 24px; padding-bottom: 12px; }
.listing { padding-bottom: 40px; }
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin: 10px 0 14px; }
.chip-btn { border: 1.5px solid var(--line); background: var(--white); color: var(--ink-2); font-weight: 600; font-size: .9rem; padding: .5em 1em; border-radius: 999px; }
.chip-btn:hover { border-color: var(--ink); }
.chip-btn[aria-pressed="true"] { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.count { color: var(--muted); font-size: .9rem; margin-bottom: 14px; }
.empty { padding: 30px; text-align: center; background: var(--white); border-radius: var(--radius); }
.note { margin-top: 30px; padding: 28px; border-radius: var(--radius); background: var(--paper-2); }
.note h2 { font-size: 1.3rem; }

.product { display: grid; grid-template-columns: 1fr 300px; gap: 40px; padding-top: 18px; padding-bottom: 40px; }
.product-head { display: flex; gap: 24px; align-items: center; margin-bottom: 18px; }
.product-head h1 { font-size: clamp(1.8rem, 3.6vw, 2.6rem); margin: 4px 0 8px; }
.product-meta { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; font-size: .88rem; }
.facts-lg { grid-template-columns: repeat(4, 1fr); margin: 22px 0; }
.facts-lg div { background: var(--white); border: 1px solid var(--line); }
.checks { list-style: none; padding: 0; margin: 0 0 24px; display: grid; gap: 10px; }
.checks li { position: relative; padding-left: 34px; }
.checks li::before { content: ""; position: absolute; left: 0; top: .15em; width: 22px; height: 22px; border-radius: 50%; background: var(--lime) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 12.5l4 4 8-9' fill='none' stroke='%2310201b' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/14px no-repeat; }
.proscons { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin: 26px 0; }
.proscons > div { padding: 22px; border-radius: var(--radius); background: var(--white); border: 1px solid var(--line); }
.proscons h2 { font-size: 1.12rem; }
.proscons ul { margin: 0; padding-left: 1.1em; }
.proscons li { margin-bottom: 6px; }
.pros { border-top: 5px solid #2fbf71 !important; }
.cons { border-top: 5px solid var(--coral) !important; }
.next-step { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 26px 28px; border-radius: var(--radius); background: var(--ink); color: var(--paper); flex-wrap: wrap; }
.next-step h2 { font-size: 1.35rem; margin-bottom: .25em; }
.next-step p { margin: 0; color: #c9d1cc; }
.product-side { position: relative; }
.side-box { position: sticky; top: 90px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; }
.side-box h3 { font-size: 1rem; }
.side-box a { display: flex; justify-content: space-between; gap: 10px; padding: 10px 0; border-top: 1px solid var(--paper-2); text-decoration: none; color: var(--ink); font-weight: 600; font-size: .94rem; }
.side-box a:hover { color: var(--green); }
@media (max-width: 960px) {
  .product { grid-template-columns: 1fr; }
  .facts-lg { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 620px) {
  .product-head { flex-direction: column; align-items: flex-start; }
  .proscons { grid-template-columns: 1fr; }
}

.steps { counter-reset: s; list-style: none; padding: 0; display: grid; gap: 12px; margin-bottom: 26px; }
.steps li { counter-increment: s; position: relative; padding: 16px 18px 16px 64px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-sm); font-weight: 500; }
.steps li::before { content: counter(s); position: absolute; left: 16px; top: 50%; transform: translateY(-50%); width: 34px; height: 34px; border-radius: 50%; background: var(--ink); color: var(--lime); font: 800 1rem/34px var(--display); text-align: center; }
.alert { padding: 18px 20px; border-radius: var(--radius-sm); background: #fff0ea; border: 1px solid #ffc3ad; margin: 22px 0; font-size: .96rem; }
.go { display: flex; flex-direction: column; align-items: center; gap: 10px; text-align: center; padding: 34px 20px; margin: 28px 0 40px; border-radius: var(--radius); background: var(--white); border: 2px solid var(--ink); box-shadow: 6px 6px 0 var(--ink); }
.go small { color: var(--muted); max-width: 48ch; }
.narrow > h1 { margin-top: 16px; }
.narrow > h2 { margin-top: 1.4em; }

/* ---------- artigo ---------- */
.post { padding-bottom: 20px; }
.post-head { max-width: 820px; padding: 20px 0 10px; }
.post-head h1 { font-size: clamp(2rem, 4.4vw, 3.1rem); margin-top: 14px; }
.post-meta { font-size: .9rem; color: var(--muted); font-weight: 500; }
.post-grid { display: grid; grid-template-columns: minmax(0, 720px) 280px; gap: 56px; justify-content: space-between; }
.post-side { position: relative; }
.toc { position: sticky; top: 90px; border-left: 3px solid var(--lime); padding-left: 16px; margin-bottom: 24px; }
.toc h3 { font-size: .78rem; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); }
.toc a { display: block; padding: 5px 0; font-size: .92rem; color: var(--ink-2); text-decoration: none; line-height: 1.35; }
.toc a:hover { color: var(--green); }
@media (max-width: 960px) { .post-grid { grid-template-columns: 1fr; } .post-side { order: -1; } .toc { position: static; } }
.prose { font-size: 1.08rem; line-height: 1.75; }
.prose h2 { margin-top: 1.8em; font-size: 1.6rem; scroll-margin-top: 90px; }
.prose h3 { margin-top: 1.5em; font-size: 1.2rem; scroll-margin-top: 90px; }
.prose ul, .prose ol { padding-left: 1.3em; margin: 0 0 1.2em; }
.prose li { margin-bottom: .4em; }
.prose li::marker { color: var(--coral); font-weight: 700; }
.prose strong { font-weight: 700; color: var(--ink); background: linear-gradient(transparent 62%, rgba(200,240,81,.55) 62%); }
.table-wrap { overflow-x: auto; margin: 1.2em 0 1.6em; border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--white); }
table { border-collapse: collapse; width: 100%; font-size: .95rem; }
th, td { padding: 12px 14px; text-align: left; border-bottom: 1px solid var(--paper-2); }
th { background: var(--paper); font-weight: 700; font-size: .85rem; }
tr:last-child td { border-bottom: 0; }
.page { padding-bottom: 40px; }
.page-404 { padding: 80px 20px; text-align: center; }
.page-404 .lead { margin: 0 auto 1.4em; }

/* ---------- simulador ---------- */
.sim { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; padding-bottom: 20px; }
.sim-form { display: grid; gap: 22px; padding: 28px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); }
.sim-form label { display: grid; gap: 8px; font-weight: 700; }
.sim-form small { font-weight: 400; color: var(--muted); }
.input-prefix, .input-suffix { display: flex; align-items: center; border: 2px solid var(--line); border-radius: var(--radius-sm); background: var(--paper); overflow: hidden; }
.input-prefix:focus-within, .input-suffix:focus-within { border-color: var(--ink); }
.input-prefix span, .input-suffix span { padding: 0 14px; color: var(--muted); font-weight: 700; }
.input-prefix input, .input-suffix input { flex: 1; min-width: 0; border: 0; background: transparent; padding: 14px 14px 14px 0; font: 700 1.3rem var(--display); color: var(--ink); outline: none; }
.input-suffix input { padding: 14px 0 14px 14px; }
input[type=range] { width: 100%; accent-color: var(--green); height: 28px; }
output { font: 800 1.3rem var(--display); }
.sim-result { padding: 28px; border-radius: var(--radius); background: var(--ink); color: var(--paper); display: flex; flex-direction: column; gap: 18px; }
.sim-big span { display: block; color: #9fb0a7; font-weight: 600; }
.sim-big strong { font: 800 clamp(2.4rem, 5vw, 3.4rem)/1.05 var(--display); color: var(--lime); letter-spacing: -.03em; }
.sim-result .facts div { background: rgba(255,255,255,.07); }
.sim-result .facts dt { color: #9fb0a7; }
.sim-result .facts dd { color: #fff; }
.sim-result .facts { grid-template-columns: 1fr 1fr 1fr; }
.bar { height: 14px; border-radius: 999px; background: var(--coral); overflow: hidden; }
.bar span { display: block; height: 100%; background: var(--lime); width: 70%; transition: width .3s; }
.bar-legend { font-size: .85rem; color: #c9d1cc; margin: -8px 0 0; display: flex; align-items: center; gap: 6px; }
.bar-legend .k1, .bar-legend .k2 { width: 10px; height: 10px; border-radius: 3px; background: var(--lime); display: inline-block; }
.bar-legend .k2 { background: var(--coral); margin-left: 12px; }
.sim-result .muted { color: #9fb0a7; margin: 0; }
.sim-result .btn { align-self: flex-start; }
.amort { margin: 10px 0 20px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 14px 18px; }
.amort summary { font-weight: 700; cursor: pointer; }
.amort .table-wrap { border: 0; max-height: 380px; overflow: auto; }
@media (max-width: 860px) { .sim { grid-template-columns: 1fr; } .sim-result .facts { grid-template-columns: 1fr 1fr; } }

/* ---------- quiz ---------- */
.quiz { padding-bottom: 40px; }
.quiz-progress { height: 8px; border-radius: 999px; background: var(--paper-2); margin: 10px 0 30px; overflow: hidden; }
.quiz-progress span { display: block; height: 100%; width: 0; background: var(--green); transition: width .3s; }
.q h2 { font-size: 1.6rem; }
.opts { display: grid; gap: 10px; }
.opts button { text-align: left; padding: 18px 22px; border-radius: var(--radius-sm); border: 2px solid var(--line); background: var(--white); font-weight: 700; font-size: 1.05rem; color: var(--ink); transition: border-color .15s, transform .15s; }
.opts button:hover { border-color: var(--ink); transform: translateX(4px); }
.q-list { display: grid; gap: 12px; margin-bottom: 16px; }
.q-item { display: flex; align-items: center; gap: 16px; padding: 16px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); text-decoration: none; color: var(--ink); }
.q-item:hover { border-color: var(--ink); color: var(--ink); }
.q-item h3 { margin: 0 0 2px; }
.q-item p { margin: 0; font-size: .9rem; color: var(--muted); }
.q-item .match { margin-left: auto; font: 800 .85rem var(--display); background: var(--lime); padding: .35em .7em; border-radius: 999px; white-space: nowrap; }
.q-item > div:nth-child(2) { min-width: 0; flex: 1; }
@media (max-width: 620px) { .q-item { flex-wrap: wrap; } .q-item > div:nth-child(2) { flex: 1 1 calc(100% - 100px); } .q-item .match { margin-left: 92px; } }
.q-item:first-child { border: 2px solid var(--ink); box-shadow: 4px 4px 0 var(--ink); }

/* ---------- newsletter / footer ---------- */
.newsletter { background: var(--lime); padding: 48px 0; margin-top: 40px; }
.newsletter-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; align-items: center; }
.newsletter h2 { margin-bottom: .3em; }
.newsletter p { margin: 0; color: var(--ink-2); }
.newsletter-form { display: flex; flex-wrap: wrap; gap: 10px; }
.newsletter-form input[type=email] { flex: 1; min-width: 220px; padding: 15px 20px; border-radius: 999px; border: 2px solid var(--ink); background: var(--white); font: 500 1rem var(--body); }
.newsletter-form small { width: 100%; font-size: .8rem; color: var(--ink-2); }
@media (max-width: 760px) { .newsletter-inner { grid-template-columns: 1fr; } .newsletter-form .btn { width: 100%; } }
.site-footer { background: var(--ink); color: #b9c4be; padding: 56px 0 30px; font-size: .94rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 30px; }
.footer-grid h4 { color: #fff; font-family: var(--body); font-size: .8rem; text-transform: uppercase; letter-spacing: .1em; font-weight: 700; margin-bottom: 14px; }
.footer-grid a { display: block; color: #b9c4be; text-decoration: none; padding: 4px 0; }
.footer-grid a:hover { color: var(--lime); }
.logo-light { color: #fff !important; margin-bottom: 14px; }
.footer-brand p { max-width: 34ch; }
.social { display: flex; gap: 16px; }
.footer-legal { border-top: 1px solid rgba(255,255,255,.1); margin-top: 36px; padding-top: 24px; font-size: .8rem; color: #8a9891; }
.footer-legal a { color: #b9c4be; }
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-brand { grid-column: span 2; } }

.cookie { position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 90; max-width: 720px; margin: 0 auto; display: flex; gap: 16px; align-items: center; background: var(--white); border: 2px solid var(--ink); box-shadow: 5px 5px 0 var(--ink); border-radius: var(--radius); padding: 16px 18px; }
.cookie p { margin: 0; font-size: .88rem; }
.cookie-actions { display: flex; gap: 8px; flex: none; }
.cookie .btn { padding: .6em 1em; font-size: .88rem; }
@media (max-width: 620px) { .cookie { flex-direction: column; align-items: stretch; } .cookie-actions .btn { flex: 1; } }

@media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition: none !important; scroll-behavior: auto !important; } }
