:root {
  color-scheme: light;
  --forest: #203c32;
  --deep: #172e26;
  --muted: #46564d;
  --sage: #ecf1eb;
  --paper: #f9faf7;
  --rule: #d8e1d8;
  --white: #fff;
  --serif: "Baskerville", "Iowan Old Style", Georgia, serif;
  --sans: system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-padding-top: 65px; }
body { margin: 0; background: var(--white); color: var(--deep); font: 16px/1.6 var(--sans); }
img { display: block; width: 100%; height: auto; }
figure, p, h1, h2, h3 { margin: 0; }
p + p { margin-top: 12px; }
a { color: inherit; text-underline-offset: 4px; }
button, input { font: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 3px solid #45715c; outline-offset: 4px; }
[hidden] { display: none !important; }
.wrap { width: min(100% - 88px, 1216px); margin-inline: auto; }
.skip { position: fixed; top: -100px; inset-inline-start: 16px; z-index: 5; padding: 12px; background: var(--white); }
.skip:focus { top: 12px; }

.mast { border-bottom: 1px solid var(--rule); }
.mast-in { min-height: 85px; display: flex; align-items: center; gap: 28px; }
.wordmark { font: 700 36px/.95 var(--serif); letter-spacing: -.055em; white-space: nowrap; text-decoration: none; color: var(--forest); }
.wordmark em { font-weight: 400; }
.mast p { margin-inline-end: auto; color: var(--muted); font-size: 13px; }
.mast p span { margin-inline: 4px; }
.instagram, .arrow-link { font-size: 13px; font-weight: 700; white-space: nowrap; }
.edition-bar { position: sticky; top: 0; z-index: 2; background: var(--white); border-bottom: 1px solid var(--rule); }
.edition-nav { display: flex; gap: 30px; overflow-x: auto; scrollbar-width: thin; }
.edition-nav a { padding: 13px 1px 12px; white-space: nowrap; color: var(--muted); font-size: 13px; text-decoration: none; border-bottom: 2px solid transparent; }
.edition-nav a:hover, .edition-nav a[aria-current] { border-color: var(--forest); color: var(--deep); }

.kicker, .sign { font-size: 11px; font-weight: 750; line-height: 1.45; letter-spacing: .14em; text-transform: uppercase; color: var(--forest); }
.kicker { margin-bottom: 12px; }
.sign { display: block; margin-top: 30px; letter-spacing: .09em; }
h1, h2, h3 { font-family: var(--serif); font-weight: 500; letter-spacing: -.038em; line-height: .99; text-wrap: balance; }
h1 { font-size: clamp(58px, 6.3vw, 100px); }
h1 em { color: #456252; }
h2 { font-size: clamp(45px, 6vw, 83px); }
h3 { font-size: clamp(27px, 3vw, 43px); line-height: 1.06; }
h2 + p, h3 + p { margin-top: 14px; }
.lead { color: var(--muted); font-size: clamp(16px, 1.6vw, 20px); line-height: 1.55; max-width: 54ch; }
.actions, .share-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.cover-copy .actions, .callout .actions { margin-top: 24px; }
.button { display: inline-flex; justify-content: center; align-items: center; min-height: 45px; padding: 8px 15px; border: 1px solid #92a59a; border-radius: 3px; background: var(--white); color: var(--deep); font-size: 13px; font-weight: 700; text-decoration: none; }
.button:hover { background: var(--sage); }
.button.primary { background: var(--forest); border-color: var(--forest); color: var(--white); }
.button.primary:hover { background: #365847; }
.cover { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: clamp(25px, 4vw, 64px); align-items: center; padding-block: 42px; }
.cover-copy { padding-block: 24px; }
.cover-copy .lead { margin-top: 22px; }
.cover-photo { position: relative; align-self: stretch; min-height: 420px; background: var(--sage); }
.cover-photo img { height: 100%; position: absolute; inset: 0; object-fit: cover; object-position: 50% 55%; }
.cover-photo figcaption { position: absolute; bottom: 12px; left: 12px; padding: 5px 9px; background: var(--white); color: var(--deep); font-size: 11px; }
.band { background: var(--sage); }
.numbers { display: grid; grid-template-columns: repeat(3, 1fr) auto; gap: 24px; padding-block: 27px; align-items: center; }
.numbers div { padding-inline-start: 16px; border-inline-start: 1px solid #9aac9b; }
.numbers strong { display: block; font: 500 clamp(27px, 3.1vw, 44px)/1 var(--serif); letter-spacing: -.03em; }
.numbers span { display: block; margin-top: 5px; font-size: 12px; color: var(--muted); }
.section { padding-block: 56px 76px; }
.page-head { max-width: 950px; margin-bottom: 34px; }
.page-head .lead { margin-top: 16px; }
.page-head .arrow-link { display: inline-block; margin-top: 16px; }
.section-title { display: flex; justify-content: space-between; align-items: end; flex-wrap: wrap; gap: 14px 24px; margin-bottom: 26px; }
.section-title h2 { font-size: clamp(40px, 5vw, 68px); }
.feature-grid, .three, .person-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.feature { display: block; background: var(--paper); text-decoration: none; }
.feature:hover h3 { text-decoration: underline; }
.feature img { aspect-ratio: 1.65; object-fit: cover; }
.feature div, .box { padding: clamp(17px, 2.4vw, 30px); }
.feature div p:last-child, .box p:last-child { color: var(--muted); }
.box { border: 1px solid var(--rule); background: var(--paper); }
.plan-grid .box { min-height: 210px; }
.three + .button { margin-top: 30px; }
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(24px, 5vw, 72px); align-items: center; }
.split .button { margin-top: 22px; }
.wide-photo { aspect-ratio: 1.65; object-fit: cover; }
.compare { border: 1px solid var(--rule); }
.compare [role="row"] { display: grid; grid-template-columns: minmax(135px, .7fr) minmax(0, 1fr) minmax(0, 1fr); border-bottom: 1px solid var(--rule); }
.compare [role="row"]:last-child { border-bottom: 0; }
.compare [role="row"] > * { padding: 16px 19px; margin: 0; }
.compare [role="rowheader"] { font-size: 28px; }
.compare-head { background: var(--sage); font-size: 13px; font-weight: 750; }
.money [role="row"] { grid-template-columns: minmax(145px, .85fr) minmax(135px, .65fr) minmax(0, 1.5fr); }
.money strong { white-space: nowrap; }
.source, .note, figcaption { color: var(--muted); font-size: 13px; line-height: 1.55; }
.source { margin-block: 12px; }
.project-photo, .team-photo { margin-block: 22px; }
.project-photo img, .team-photo img { max-height: 530px; object-fit: cover; object-position: center; }
.project-photo figcaption, .team-photo figcaption { padding-top: 7px; }
.callout { padding: clamp(20px, 4vw, 44px); margin-block: 30px; background: var(--sage); }
.callout h3 { max-width: 34ch; }
.callout p { max-width: 84ch; }
.callout .arrow-link { display: inline-block; margin-top: 16px; }
.calculator { align-items: start; margin-top: 36px; }
.inputs { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 12px; }
.inputs label { font-size: 13px; font-weight: 650; }
.inputs input { display: block; width: 100%; min-height: 43px; margin-top: 4px; padding: 6px 9px; border: 1px solid #84988b; border-radius: 3px; background: var(--white); color: var(--deep); }
output { display: block; color: var(--deep); border-top: 1px solid var(--rule); margin-top: 18px; padding-top: 14px; font-size: 14px; }
details { border-top: 1px solid var(--rule); padding: 13px 0; }
details:last-child { border-bottom: 1px solid var(--rule); }
summary { font-weight: 700; cursor: pointer; }
details p { margin-top: 8px; max-width: 82ch; }
.person { overflow: hidden; background: var(--paper); border: 1px solid var(--rule); }
.person-content { padding: clamp(16px, 2vw, 26px); }
.person .kicker { margin-bottom: 7px; }
.person h3 { font-size: clamp(26px, 3vw, 40px); }
.person img { aspect-ratio: 1.25; object-fit: cover; object-position: center 35%; }
.person p:last-child { color: var(--muted); font-size: 15px; }
.dossier-head { margin-top: 48px; }
.pdf-reader { display: block; width: 100%; height: min(750px, 73vh); min-height: 440px; border: 1px solid var(--rule); background: var(--paper); }
.news-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 26px; }
.story { min-width: 0; border: 1px solid var(--rule); background: var(--paper); }
.story img { aspect-ratio: 4 / 5; object-fit: cover; }
.story .story-copy { padding: clamp(14px, 2.5vw, 28px); }
.story .story-copy h3 { margin-bottom: 10px; }
.share-actions { margin-block: 17px 8px; }
.share-actions .button { font-size: 12px; padding-inline: 10px; }
[data-share-status] { color: var(--muted); display: block; font-size: 13px; }
[data-share-status]:empty { display: none; }
.scripts { display: grid; gap: 15px; }
.script { padding: 17px 22px; border: 1px solid var(--rule); background: var(--paper); }
.script summary { font: 600 clamp(25px, 3vw, 37px)/1.15 var(--serif); }
.script .note { margin-top: 14px; }
.media-block { margin-top: 45px; align-items: start; }
.media-block video { display: block; width: min(100%, 300px); background: var(--forest); max-height: 570px; }
.media-block details { margin-top: 20px; }
footer { border-top: 1px solid var(--rule); background: var(--paper); }
.foot { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; padding-block: 28px; gap: 15px; }
.foot p { margin-top: 6px; font-size: 13px; color: var(--muted); }
.foot-links { display: flex; flex-wrap: wrap; gap: 12px 24px; font-size: 13px; }

@media (max-width: 900px) {
  .wrap { width: min(100% - 48px, 1216px); }
  .numbers { grid-template-columns: repeat(3, minmax(0,1fr)); }
  .numbers > a { grid-column: 1 / -1; }
  .edition-nav { gap: 23px; }
}
@media (max-width: 665px) {
  .wrap { width: calc(100% - 32px); }
  .mast-in { min-height: 68px; gap: 12px; }
  .mast p { font-size: 11px; line-height: 1.3; }
  .mast p span { display: none; }
  .mast .instagram { display: none; }
  .wordmark { font-size: 29px; }
  .cover, .split { grid-template-columns: 1fr; gap: 20px; }
  .cover { padding-block: 20px; }
  .cover-copy { padding-block: 8px; }
  .cover-photo { min-height: 345px; }
  .section { padding-block: 37px 49px; }
  .feature-grid, .three, .person-grid, .news-grid { grid-template-columns: 1fr; gap: 14px; }
  .plan-grid .box { min-height: auto; }
  .feature img { aspect-ratio: 1.7; }
  .numbers { gap: 13px; }
  .numbers div { padding-inline-start: 7px; }
  .numbers strong { font-size: clamp(21px, 6vw, 32px); }
  .numbers span { line-height: 1.35; }
  .compare .compare-head { display: none; }
  .compare [role="row"]:not(.compare-head) { grid-template-columns: 1fr; padding: 14px; gap: 7px; }
  .compare [role="row"] > * { padding: 0; }
  .compare [role="rowheader"] { font-size: 28px; }
  .compare:not(.money) p::before { display: block; margin-bottom: 2px; font-size: 11px; font-weight: 750; text-transform: uppercase; }
  .compare:not(.money) p:nth-child(2)::before { content: "Proposta divulgada"; }
  .compare:not(.money) p:nth-child(3)::before { content: "Plano da Conciliação"; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; }
}

.portrait { display: block; }
.portrait img { display: block; width: 100%; height: auto; aspect-ratio: 1; object-fit: cover; }
.portrait:focus-visible { outline-offset: 3px; }
.pdf-reader { overflow: auto; overscroll-behavior: contain; padding: 12px; background: #e4ebe5; }
.pdf-reader img { display: block; width: min(100%, 778px); height: auto; margin: 0 auto 12px; box-shadow: 0 2px 8px #20392b26; }
.pdf-reader img:last-child { margin-bottom: 0; }
.council-names { padding-left: 1.2em; line-height: 1.8; }
.article-shell, .planner-shell { max-width: 1056px; margin: 0 auto; padding: clamp(24px,5vw,72px) 24px; }
.article-shell article { max-width: 748px; margin: 0 auto; }
.article-shell h1, .planner-shell h1 { line-height: 1.06; font-size: clamp(2.5rem,7vw,4.75rem); margin: .25em 0; }
.article-shell figure { margin: 2rem 0; }
.article-shell figure img { display: block; width: 100%; max-height: 54vh; object-fit: cover; border-radius: 4px; }
.article-shell figcaption { margin-top: .65em; font-size: .9em; }
.article-shell p { line-height: 1.72; }
.article-shell .headline-note { font-size: 1.2rem; }
.planner-form { display: grid; grid-template-columns: minmax(180px,2fr) 1fr 1fr; gap: 16px; margin: 1.6rem 0 2.5rem; padding: 1.5rem; background: #f0f5f0; }
.planner-form label, .planner-form input, .planner-form select, .planner-form textarea { display: block; width: 100%; }
.planner-form input, .planner-form select, .planner-form textarea, .planner-item select { border: 1px solid #687f70; background: white; border-radius: 4px; padding: .6em; font: inherit; color: #19392a; }
.planner-form .full { grid-column: 1 / -1; }
.planner-form button { justify-self: start; }
.planner-list { list-style: none; padding: 0; }
.planner-item { display: flex; flex-wrap: wrap; align-items: flex-start; justify-content: space-between; gap: 12px 24px; padding: 1.2rem 0; border-top: 1px solid #d9e4db; }
.planner-item h3, .planner-item p { margin: .25em 0; }
.planner-item p { white-space: pre-wrap; overflow-wrap: anywhere; }
@media(max-width: 660px) { .planner-form { grid-template-columns: 1fr; } .pdf-reader { padding: 6px; } }
