/* brundaqebone.com — identidade: verde-floresta e creme */
:root {
  --bg: #f6f1e5;
  --bg-2: #eee7d4;
  --paper: #fffdf7;
  --ink: #16251d;
  --muted: #526357;
  --forest: #1e3f2f;
  --forest-d: #12281e;
  --leaf: #3d7a52;
  --sage: #dde8d5;
  --sage-d: #c3d5b9;
  --clay: #b0592f;
  --line: #d9d0b8;
  --ins: #cfe8c8;
  --del: #f5d6c8;
  --focus: #1b6b43;
  --radius: 14px;
  --shadow: 0 1px 2px rgba(18, 40, 30, .06), 0 14px 36px rgba(18, 40, 30, .09);
  --serif: "Iowan Old Style", "Palatino Linotype", Palatino, "Book Antiqua", Georgia, serif;
  --sans: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --max: 1180px;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 17px/1.65 var(--sans); -webkit-font-smoothing: antialiased; }
img, svg { max-width: 100%; }
a { color: var(--forest); text-underline-offset: 3px; }
a:hover { color: var(--leaf); }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; border-radius: 4px; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--forest); color: #fff; padding: 10px 16px; border-radius: 8px; z-index: 100; }
.skip:focus { left: 8px; }
.wrap { width: min(100% - 40px, var(--max)); margin-inline: auto; }
h1, h2, h3 { font-family: var(--serif); font-weight: 600; line-height: 1.15; letter-spacing: -.01em; color: var(--forest-d); margin: 0 0 .5em; }
h1 { font-size: clamp(2.1rem, 4.6vw, 3.6rem); }
h2 { font-size: clamp(1.6rem, 3vw, 2.3rem); }
h3 { font-size: 1.25rem; }
p { margin: 0 0 1em; }
.eyebrow { font: 600 .78rem/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--leaf); margin-bottom: 14px; }
.lead { font-size: 1.15rem; color: var(--muted); max-width: 62ch; }
.muted { color: var(--muted); }
.small { font-size: .88rem; }

/* botões */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; font: 600 .98rem/1 var(--sans); padding: 13px 20px; border-radius: 999px; border: 1.5px solid transparent; cursor: pointer; text-decoration: none; transition: transform .15s ease, box-shadow .15s ease, background .15s, color .15s; min-height: 44px; }
.btn.primary { background: var(--forest); color: #fff; box-shadow: 0 6px 16px rgba(30, 63, 47, .25); }
.btn.primary:hover { background: var(--forest-d); color: #fff; transform: translateY(-1px); }
.btn.ghost { background: transparent; color: var(--forest); border-color: var(--sage-d); }
.btn.ghost:hover { background: var(--sage); }
.btn.danger { background: var(--clay); color: #fff; }
.btn.big { padding: 17px 28px; font-size: 1.08rem; }
.btn.small { padding: 9px 14px; font-size: .86rem; min-height: 38px; }
.btn[disabled] { opacity: .45; cursor: not-allowed; transform: none; box-shadow: none; }
.linklike { background: none; border: 0; color: var(--forest); text-decoration: underline; cursor: pointer; font: inherit; padding: 0; }
@media (prefers-reduced-motion: reduce) { * { transition: none !important; animation: none !important; scroll-behavior: auto !important; } }

/* cabeçalho */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(246, 241, 229, .92); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 68px; }
.logo { display: inline-flex; align-items: center; gap: 10px; font: 700 1.18rem/1 var(--serif); color: var(--forest-d); text-decoration: none; }
.logo span { text-transform: uppercase; letter-spacing: .06em; }
.logo svg { width: 30px; height: 30px; }
.nav { display: flex; align-items: center; gap: 6px; }
.nav a { padding: 9px 14px; border-radius: 999px; text-decoration: none; font-weight: 500; font-size: .95rem; color: var(--ink); }
.nav a:hover, .nav a[aria-current="page"] { background: var(--sage); color: var(--forest-d); }
.nav a.cta { background: var(--forest); color: #fff; font-weight: 600; margin-left: 6px; }
.nav a.cta:hover { background: var(--forest-d); }
.menu-btn { display: none; background: none; border: 1.5px solid var(--sage-d); border-radius: 10px; padding: 9px 12px; font: 600 .9rem var(--sans); color: var(--forest); cursor: pointer; }
@media (max-width: 820px) {
  .menu-btn { display: inline-block; }
  .nav { display: none; position: absolute; left: 0; right: 0; top: 68px; background: var(--bg); border-bottom: 1px solid var(--line); flex-direction: column; align-items: stretch; padding: 12px 20px 20px; }
  .nav.open { display: flex; }
  .nav a { padding: 13px 14px; }
  .nav a.cta { margin: 6px 0 0; text-align: center; }
}

/* rodapé */
.site-footer { background: var(--forest-d); color: #dfe9d9; margin-top: 90px; padding: 56px 0 30px; }
.site-footer a { color: #dfe9d9; text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.foot-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 36px; }
.site-footer h2 { font: 700 .8rem/1 var(--sans); letter-spacing: .12em; text-transform: uppercase; color: #a9c7a0; margin-bottom: 16px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; font-size: .95rem; }
.site-footer .logo { color: #fff; margin-bottom: 14px; }
.foot-note { border-top: 1px solid rgba(255, 255, 255, .14); margin-top: 38px; padding-top: 22px; font-size: .86rem; color: #b9cdb2; }
@media (max-width: 820px) { .foot-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .foot-grid { grid-template-columns: 1fr; } }

/* breadcrumbs */
.crumbs { font-size: .88rem; color: var(--muted); padding: 22px 0 0; }
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; margin: 0; padding: 0; }
.crumbs li + li::before { content: "›"; margin-right: 6px; color: var(--sage-d); }
.crumbs a { color: var(--muted); }

/* home: hero */
.hero { position: relative; padding: 64px 0 40px; overflow: hidden; }
.hero::before { content: ""; position: absolute; inset: -20% -10% auto auto; width: 680px; height: 680px; background: radial-gradient(closest-side, rgba(61, 122, 82, .16), transparent); pointer-events: none; }
.hero-grid { position: relative; display: grid; grid-template-columns: 1.08fr .92fr; gap: 56px; align-items: center; }
.hero h1 em { font-style: italic; color: var(--leaf); }
.hero .lead { margin-bottom: 28px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin-bottom: 26px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: 0; }
.chips li { background: var(--paper); border: 1px solid var(--line); border-radius: 999px; padding: 7px 14px; font-size: .86rem; font-weight: 500; color: var(--forest); }
.drop-card { position: relative; background: var(--paper); border-radius: 22px; padding: 18px; box-shadow: var(--shadow); border: 1px solid var(--line); }
.drop-card::before, .drop-card::after { content: ""; position: absolute; inset: 0; border-radius: 22px; background: var(--sage); z-index: -1; }
.drop-card::before { transform: rotate(-3deg) translate(-8px, 6px); }
.drop-card::after { background: var(--bg-2); transform: rotate(2.4deg) translate(8px, 4px); }
.dropzone { border: 2px dashed var(--sage-d); border-radius: 16px; padding: 34px 22px; text-align: center; background: linear-gradient(180deg, #fffdf7, #f8f4e8); transition: border-color .2s, background .2s, transform .2s; }
.dropzone.over { border-color: var(--leaf); background: var(--sage); transform: scale(1.01); }
.dz-ico { width: 54px; height: 54px; color: var(--leaf); margin-bottom: 6px; }
.dz-title { font: 600 1.25rem var(--serif); margin: 0; color: var(--forest-d); }
.dz-sub { color: var(--muted); margin: 2px 0 18px; font-size: .95rem; }
.dz-formats { margin: 16px 0 0; font-size: .86rem; color: var(--muted); }
.drop-msg { margin-top: 12px; font-size: .92rem; color: var(--clay); min-height: 1.4em; }
@media (max-width: 920px) { .hero { padding-top: 36px; } .hero-grid { grid-template-columns: 1fr; gap: 44px; } .drop-card { margin-inline: 8px; } }

/* seções da home */
.section { padding: 84px 0 0; }
.section-head { max-width: 720px; margin-bottom: 36px; }
.flow { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; list-style: none; padding: 0; margin: 0; counter-reset: s; }
.flow li { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px 18px; position: relative; transition: transform .2s, box-shadow .2s; }
.flow li:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.flow .num { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--forest); color: #fff; font-weight: 700; font-size: .95rem; margin-bottom: 12px; }
.flow h3 { font-size: 1.08rem; margin-bottom: 6px; }
.flow p { font-size: .92rem; color: var(--muted); margin: 0; }
@media (max-width: 960px) { .flow { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .flow { grid-template-columns: 1fr; } }

.demo { background: var(--paper); border: 1px solid var(--line); border-radius: 22px; padding: 28px; box-shadow: var(--shadow); }
.demo-bar { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 20px; }
.demo-tag { display: inline-block; background: #fbeed9; color: #7a4a14; border: 1px solid #ecd2a4; border-radius: 8px; padding: 6px 12px; font-size: .82rem; font-weight: 600; }
.switch { display: inline-flex; gap: 8px; align-items: center; font-weight: 500; font-size: .92rem; cursor: pointer; }
.switch input { width: 20px; height: 20px; accent-color: var(--forest); }
.demo-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.sheet { background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 22px 24px; font-size: .9rem; line-height: 1.55; min-height: 100%; position: relative; box-shadow: 0 2px 10px rgba(0, 0, 0, .04); }
.sheet .label { position: absolute; top: -12px; left: 14px; background: var(--forest); color: #fff; font: 600 .72rem/1 var(--sans); letter-spacing: .1em; text-transform: uppercase; padding: 6px 10px; border-radius: 6px; }
.sheet.before .label { background: var(--clay); }
.sheet .nm { font: 700 1.25rem var(--serif); margin-bottom: 2px; }
.sheet .ct { color: #444; margin-bottom: 12px; font-size: .84rem; }
.sheet .h { font-weight: 700; margin-top: 12px; }
.sheet .row { display: flex; justify-content: space-between; gap: 10px; }
.sheet ul { margin: 2px 0 0; padding: 0; list-style: none; }
.sheet li { padding-left: 16px; position: relative; }
.sheet li::before { content: attr(data-m); position: absolute; left: 0; }
.sheet.before { font-family: "Courier New", monospace; font-size: .83rem; letter-spacing: -.01em; }
.sheet.before .nm { font-family: "Courier New", monospace; }
.demo.hl .after mark { background: var(--ins); }
.demo.hl .before mark { background: var(--del); }
.demo:not(.hl) mark { background: transparent; }
mark { color: inherit; border-radius: 3px; padding: 0 2px; transition: background .25s; }
.legend { list-style: none; padding: 0; margin: 22px 0 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 10px 20px; font-size: .9rem; color: var(--muted); }
.legend li::before { content: "✓ "; color: var(--leaf); font-weight: 700; }
@media (max-width: 800px) { .demo { padding: 20px 16px; } .demo-grid { grid-template-columns: 1fr; gap: 30px; } }

.tools { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.tool { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; transition: transform .2s, box-shadow .2s, border-color .2s; }
.tool:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: var(--sage-d); }
.tool svg { width: 30px; height: 30px; color: var(--leaf); margin-bottom: 12px; }
.tool h3 { font-size: 1.08rem; margin-bottom: 6px; }
.tool p { font-size: .92rem; color: var(--muted); margin: 0; }
@media (max-width: 1000px) { .tools { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .tools { grid-template-columns: 1fr; } }

.band { background: var(--forest); color: #e8f0e2; border-radius: 26px; padding: 54px 48px; display: grid; grid-template-columns: 1.1fr .9fr; gap: 44px; align-items: center; }
.band h2 { color: #fff; }
.band p { color: #cfdcc8; }
.band ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.band li { background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .12); border-radius: 12px; padding: 14px 18px; font-size: .98rem; }
.band li strong { color: #fff; display: block; font-family: var(--serif); font-size: 1.05rem; }
.band a { color: #fff; }
@media (max-width: 860px) { .band { grid-template-columns: 1fr; padding: 36px 24px; } }

.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; list-style: none; margin: 0; padding: 0; }
.card { display: block; height: 100%; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; text-decoration: none; color: inherit; transition: transform .2s, box-shadow .2s, border-color .2s; }
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: var(--sage-d); color: inherit; }
.card .cat { font: 600 .72rem/1 var(--sans); letter-spacing: .12em; text-transform: uppercase; color: var(--leaf); }
.card h3 { margin: 10px 0 8px; font-size: 1.15rem; }
.card p { font-size: .92rem; color: var(--muted); margin: 0 0 10px; }
.card .mins { font-size: .82rem; color: var(--muted); }
@media (max-width: 980px) { .cards { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .cards { grid-template-columns: 1fr; } }

.faq details { background: var(--paper); border: 1px solid var(--line); border-radius: 12px; padding: 4px 20px; margin-bottom: 10px; }
.faq summary { cursor: pointer; font-weight: 600; padding: 14px 0; list-style: none; display: flex; justify-content: space-between; gap: 12px; }
.faq summary::after { content: "+"; font-size: 1.4rem; line-height: 1; color: var(--leaf); }
.faq details[open] summary::after { content: "–"; }
.faq details p { color: var(--muted); }
.final-cta { text-align: center; background: var(--sage); border-radius: 26px; padding: 60px 24px; }
.final-cta h2 { max-width: 20ch; margin-inline: auto; }
.final-cta p { color: var(--muted); max-width: 52ch; margin-inline: auto; margin-bottom: 24px; }

/* revelar ao rolar */
.reveal { opacity: 0; transform: translateY(14px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }

/* conteúdo (artigos e páginas institucionais) */
.page-head { padding: 18px 0 8px; }
.page-head h1 { font-size: clamp(1.9rem, 4vw, 3rem); max-width: 22ch; }
.meta { color: var(--muted); font-size: .92rem; display: flex; flex-wrap: wrap; gap: 6px 16px; margin-bottom: 22px; }
.meta .cat { color: var(--leaf); font-weight: 600; }
.prose-layout { display: grid; grid-template-columns: minmax(0, 720px) 280px; gap: 56px; justify-content: start; align-items: start; padding-top: 10px; }
.prose { font-size: 1.07rem; }
.prose h2 { margin-top: 1.8em; font-size: 1.65rem; scroll-margin-top: 90px; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li { margin-bottom: .45em; }
.prose .intro { font-size: 1.2rem; color: var(--muted); font-family: var(--serif); }
.example { background: var(--paper); border: 1px solid var(--line); border-left: 5px solid var(--leaf); border-radius: 12px; padding: 20px 22px; margin: 28px 0; }
.example h3 { font-family: var(--sans); font-size: .82rem; letter-spacing: .1em; text-transform: uppercase; color: var(--leaf); }
.example .ba { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin: 12px 0; }
.example .ba div { background: #fff; border: 1px solid var(--line); border-radius: 8px; padding: 12px 14px; font-size: .95rem; white-space: pre-wrap; }
.example .ba b { display: block; font: 700 .72rem var(--sans); letter-spacing: .1em; text-transform: uppercase; margin-bottom: 6px; color: var(--clay); }
.example .ba div:last-child b { color: var(--leaf); }
.example .note { font-size: .93rem; color: var(--muted); margin: 0; }
@media (max-width: 600px) { .example .ba { grid-template-columns: 1fr; } }
.checklist { background: var(--sage); border-radius: 14px; padding: 22px 26px; margin: 30px 0; }
.checklist h2 { margin-top: 0; font-size: 1.35rem; }
.checklist ul { list-style: none; padding: 0; margin: 0; }
.checklist li { padding-left: 30px; position: relative; margin-bottom: .6em; }
.checklist li::before { content: ""; position: absolute; left: 0; top: .28em; width: 17px; height: 17px; border: 2px solid var(--leaf); border-radius: 4px; background: #fff; }
.refs { font-size: .92rem; color: var(--muted); border-top: 1px solid var(--line); margin-top: 34px; padding-top: 18px; }
.refs h2 { font-size: 1.1rem; margin-top: 0; }
.aside-box { position: sticky; top: 90px; display: grid; gap: 18px; }
.toc, .side-cta { background: var(--paper); border: 1px solid var(--line); border-radius: 14px; padding: 18px 20px; font-size: .93rem; }
.toc h2 { font: 700 .78rem var(--sans); letter-spacing: .12em; text-transform: uppercase; color: var(--leaf); margin-bottom: 10px; }
.toc ol { margin: 0; padding-left: 1.1em; }
.toc li { margin-bottom: 6px; }
.side-cta { background: var(--forest); color: #e8f0e2; border: 0; }
.side-cta h2 { color: #fff; font-size: 1.15rem; }
.side-cta .btn { background: #fff; color: var(--forest-d); width: 100%; }
.more { margin-top: 56px; }
.pager { display: flex; justify-content: space-between; gap: 16px; margin-top: 30px; font-size: .95rem; }
@media (max-width: 980px) { .prose-layout { grid-template-columns: minmax(0, 1fr); gap: 30px; } .aside-box { position: static; order: -1; } .toc { display: none; } }

.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 28px; }
.filters button { border: 1.5px solid var(--sage-d); background: var(--paper); border-radius: 999px; padding: 9px 16px; font: 500 .9rem var(--sans); cursor: pointer; color: var(--forest); min-height: 40px; }
.filters button[aria-pressed="true"] { background: var(--forest); color: #fff; border-color: var(--forest); }
.cat-block { margin-top: 44px; }
.cat-block h2 { font-size: 1.5rem; }
.doc-page { max-width: 760px; margin-inline: auto; padding-bottom: 20px; }
.doc-page h2 { margin-top: 1.7em; font-size: 1.5rem; }
.doc-page ul, .doc-page ol { padding-left: 1.3em; }
.doc-page li { margin-bottom: .4em; }
.callout { background: var(--paper); border: 1px solid var(--line); border-left: 5px solid var(--clay); border-radius: 10px; padding: 16px 20px; margin: 22px 0; }
.table-wrap { overflow-x: auto; }
table.t { border-collapse: collapse; width: 100%; font-size: .95rem; background: var(--paper); }
table.t th, table.t td { text-align: left; border: 1px solid var(--line); padding: 10px 14px; vertical-align: top; }
table.t th { background: var(--sage); }
.steps-list { counter-reset: st; list-style: none; padding: 0; display: grid; gap: 14px; }
.steps-list li { counter-increment: st; position: relative; background: var(--paper); border: 1px solid var(--line); border-radius: 12px; padding: 16px 18px 16px 62px; margin: 0; }
.steps-list li::before { content: counter(st); position: absolute; left: 16px; top: 16px; width: 32px; height: 32px; border-radius: 50%; background: var(--forest); color: #fff; display: grid; place-items: center; font-weight: 700; }
.steps-list strong { display: block; font-family: var(--serif); font-size: 1.1rem; }
#toast { position: fixed; left: 50%; bottom: 24px; transform: translate(-50%, 30px); background: var(--forest-d); color: #fff; padding: 12px 20px; border-radius: 999px; font-size: .93rem; opacity: 0; pointer-events: none; transition: opacity .25s, transform .25s; z-index: 200; max-width: 92vw; text-align: center; }
#toast.show { opacity: 1; transform: translate(-50%, 0); }
#toast[data-kind="error"] { background: var(--clay); }
