:root {
  color-scheme: light;
  --paper: #f5f3ec;
  --surface: #fffefa;
  --ink: #1b2b36;
  --muted: #64716f;
  --line: #dcded5;
  --forest: #255d52;
  --forest-dark: #17463f;
  --forest-soft: #e4eee8;
  --amber: #c47d4c;
  --amber-dark: #8e4f31;
  --amber-soft: #f7eadb;
  --shadow: 0 22px 58px rgba(32, 55, 48, 0.09);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); min-width: 320px; }
button, input { font: inherit; }
button { cursor: pointer; }
a { color: var(--forest-dark); text-underline-offset: 0.18em; }
a:hover { color: var(--amber-dark); }
:focus-visible { outline: 3px solid #d38a55; outline-offset: 3px; }
[hidden] { display: none !important; }

.skip-link { position: fixed; top: 8px; left: 8px; z-index: 20; transform: translateY(-150%); background: var(--ink); color: white; padding: 0.8rem 1rem; border-radius: 0.5rem; }
.skip-link:focus { transform: translateY(0); }
.site-header { max-width: 1240px; margin: 0 auto; min-height: 88px; padding: 20px 30px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.brand { display: inline-flex; align-items: center; gap: 11px; color: var(--ink); text-decoration: none; }
.brand-mark { width: 42px; height: 42px; display: grid; place-items: center; color: var(--forest); background: var(--forest-soft); border-radius: 14px 14px 14px 4px; }
.brand-mark svg { width: 31px; height: 31px; }
.brand-copy { display: grid; gap: 1px; }
.brand-copy strong { font-family: Georgia, "Times New Roman", serif; font-size: 1.14rem; letter-spacing: -0.02em; }
.brand-copy small { color: var(--muted); font-size: 0.72rem; letter-spacing: 0.06em; text-transform: uppercase; }
.header-note { max-width: 340px; margin: 0; color: var(--muted); font-size: 0.84rem; text-align: right; }

.progress-wrap { max-width: 1240px; margin: 0 auto; padding: 0 30px 22px; }
.stepper { max-width: 490px; margin: 0 auto; padding: 0; list-style: none; display: flex; align-items: center; justify-content: center; gap: 12px; }
.stepper-item { display: inline-flex; align-items: center; gap: 9px; color: #858f88; font-size: 0.78rem; transition: color 160ms ease; }
.stepper-item > span { width: 28px; height: 28px; display: grid; place-items: center; border: 1px solid #c9cec5; border-radius: 50%; font-size: 0.7rem; font-weight: 700; }
.stepper-item small { font-size: 0.75rem; }
.stepper-item.is-current { color: var(--forest-dark); font-weight: 700; }
.stepper-item.is-current > span, .stepper-item.is-complete > span { color: white; background: var(--forest); border-color: var(--forest); }
.stepper-item.is-complete { color: var(--forest-dark); }
.stepper-line { height: 1px; width: clamp(24px, 8vw, 66px); background: #d4d8d0; }

.page-shell { width: min(1180px, calc(100% - 60px)); min-height: 62vh; margin: 0 auto 64px; }
.screen { animation: reveal 300ms ease both; }
@keyframes reveal { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } }
.eyebrow, .topic-label, .form-kicker { margin: 0; color: var(--forest); font-size: 0.7rem; font-weight: 800; letter-spacing: 0.14em; }
.eyebrow { display: flex; align-items: center; gap: 9px; }
.eyebrow-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--amber); box-shadow: 0 0 0 4px rgba(196, 125, 76, 0.13); }
.hero { overflow: hidden; display: grid; grid-template-columns: 1.04fr 0.96fr; min-height: 438px; background: var(--surface); border-radius: 24px; box-shadow: var(--shadow); }
.hero-copy { padding: clamp(36px, 6vw, 72px); align-self: center; }
h1, h2, h3, p { overflow-wrap: anywhere; }
.hero h1 { max-width: 560px; margin: 19px 0 18px; font: 500 clamp(2.4rem, 5vw, 4.3rem)/1.02 Georgia, "Times New Roman", serif; letter-spacing: -0.055em; }
.versus { color: var(--amber); font-size: 0.63em; font-style: italic; letter-spacing: -0.03em; }
.hero-intro { max-width: 470px; margin: 0 0 27px; color: #586864; font-size: 1.03rem; line-height: 1.7; }
.button { min-height: 47px; padding: 0.78rem 1.1rem; border: 1px solid transparent; border-radius: 9px; display: inline-flex; align-items: center; justify-content: center; gap: 14px; font-size: 0.9rem; font-weight: 700; transition: transform 160ms ease, background 160ms ease, box-shadow 160ms ease; }
.button:hover { transform: translateY(-2px); }
.button-primary { color: white; background: var(--forest); box-shadow: 0 8px 18px rgba(37, 93, 82, 0.18); }
.button-primary:hover { color: white; background: var(--forest-dark); box-shadow: 0 12px 24px rgba(37, 93, 82, 0.23); }
.button-large { min-height: 54px; padding: 0.9rem 1.4rem; }
.button-quiet { color: var(--ink); background: transparent; border-color: var(--line); }
.button-quiet:hover { background: #f0efe9; }
.button-outline { color: var(--forest-dark); border-color: #9bb5a7; background: transparent; }
.button-outline:hover { background: var(--forest-soft); }
.hero-footnote { margin: 14px 0 0; color: #78837c; font-size: 0.75rem; }
.hero-image-wrap { position: relative; min-height: 380px; margin: 0; overflow: hidden; background: linear-gradient(135deg, #dfe5d9 0%, #b8c9bf 48%, #d3b798 100%); }
.hero-image-wrap::after { content: ""; position: absolute; inset: 40% 0 0; pointer-events: none; background: linear-gradient(transparent, rgba(17, 41, 39, 0.55)); }
.hero-image { width: 100%; height: 100%; position: absolute; inset: 0; object-fit: cover; object-position: center; }
.hero-image-wrap figcaption { position: absolute; z-index: 1; left: 24px; bottom: 21px; display: flex; align-items: center; gap: 8px; color: white; font-size: 0.82rem; letter-spacing: 0.02em; text-shadow: 0 1px 8px rgba(0,0,0,.2); }
.image-caption-mark { color: #e6c08b; font-size: 1.4rem; }
.home-teasers { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 18px; }
.teaser-card { position: relative; min-height: 148px; padding: 23px 26px; background: #e8eee6; border-radius: 15px; }
.teaser-card-accent { background: #f4e8da; }
.teaser-number { color: #61736c; font-size: 0.65rem; font-weight: 800; letter-spacing: 0.13em; }
.teaser-card h2 { margin: 9px 0 5px; font: 500 1.45rem Georgia, "Times New Roman", serif; }
.teaser-card p { max-width: 440px; margin: 0; color: #5f6d68; font-size: 0.87rem; line-height: 1.55; }
.teaser-arrow { position: absolute; top: 23px; right: 25px; color: var(--forest); font-size: 1.25rem; }

.form-layout { display: grid; grid-template-columns: 1fr 0.84fr; gap: clamp(30px, 7vw, 96px); align-items: center; min-height: 500px; padding: 36px clamp(14px, 5vw, 64px); background: var(--surface); border-radius: 24px; box-shadow: var(--shadow); }
.form-aside { max-width: 475px; }
.form-aside h1 { margin: 20px 0 17px; font: 500 clamp(2.4rem, 4.5vw, 3.75rem)/1.04 Georgia, "Times New Roman", serif; letter-spacing: -0.05em; }
.form-aside h1 span { color: var(--forest); font-style: italic; }
.form-aside > p:not(.eyebrow) { color: #5f6c67; font-size: 1rem; line-height: 1.7; }
.privacy-note { display: flex; align-items: flex-start; gap: 13px; margin-top: 34px; padding-top: 19px; border-top: 1px solid var(--line); }
.privacy-icon { width: 33px; height: 33px; flex: 0 0 33px; display: grid; place-items: center; color: var(--forest); background: var(--forest-soft); border-radius: 50%; font-size: 1.2rem; }
.privacy-note p { margin: 0; color: #65736e; font-size: 0.81rem; line-height: 1.55; }
.privacy-note strong { color: var(--ink); }
.profile-form { display: flex; flex-direction: column; padding: clamp(20px, 4vw, 35px); background: #f7f7f1; border: 1px solid #e2e5dc; border-radius: 16px; }
.form-kicker { margin-bottom: 24px; }
.profile-form label { margin: 0 0 8px; color: var(--ink); font-size: 0.86rem; font-weight: 700; }
.profile-form input { width: 100%; min-height: 49px; margin: 0 0 21px; padding: 0.8rem 0.9rem; color: var(--ink); background: white; border: 1px solid #cfd6cd; border-radius: 8px; }
.profile-form input::placeholder { color: #929b94; }
.profile-form input:focus { border-color: var(--forest); outline: 3px solid rgba(37, 93, 82, .14); }
.form-hint { margin: -3px 0 22px; color: #77827c; font-size: 0.74rem; line-height: 1.55; }
.form-actions { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.form-actions .button { padding-inline: 0.9rem; }

.content-heading { display: flex; align-items: end; justify-content: space-between; gap: 24px; padding: 28px 4px 23px; }
.content-heading h1 { margin: 13px 0 8px; font: 500 clamp(2.1rem, 4vw, 3.3rem)/1.08 Georgia, "Times New Roman", serif; letter-spacing: -0.045em; }
.content-heading h1::first-letter { color: var(--forest); }
.content-subtitle { max-width: 640px; margin: 0; color: var(--muted); font-size: 0.93rem; line-height: 1.6; }
.text-button { flex: 0 0 auto; margin-bottom: 4px; padding: 9px 0; border: 0; color: var(--forest-dark); background: transparent; font-size: 0.82rem; font-weight: 700; }
.text-button:hover { text-decoration: underline; }
.topic-tabs { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 17px; }
.topic-tab { width: 100%; min-height: 74px; padding: 12px 17px; display: flex; align-items: center; gap: 13px; text-align: left; border: 1px solid var(--line); border-radius: 12px; background: rgba(255,255,255,.48); color: var(--ink); transition: border-color 160ms ease, background 160ms ease, transform 160ms ease; }
.topic-tab:hover { transform: translateY(-1px); border-color: #9fb6a8; }
.topic-tab.is-selected { border-color: var(--forest); background: var(--forest-soft); }
.topic-tab:nth-child(2).is-selected { border-color: var(--amber); background: var(--amber-soft); }
.tab-index { width: 33px; height: 33px; flex: 0 0 33px; display: grid; place-items: center; border-radius: 50%; color: var(--forest); background: white; font-size: 0.72rem; font-weight: 800; }
.topic-tab:nth-child(2) .tab-index { color: var(--amber-dark); }
.topic-tab > span:nth-child(2) { display: grid; gap: 3px; }
.topic-tab strong { font-size: 0.91rem; }
.topic-tab small { color: #69766f; font-size: 0.73rem; }
.tab-arrow { margin-left: auto; color: var(--forest); font-size: 1.12rem; }
.topic-tab:nth-child(2) .tab-arrow { color: var(--amber-dark); }
.topic-panel { padding: clamp(20px, 4vw, 43px); background: var(--surface); border-radius: 18px; box-shadow: var(--shadow); animation: reveal 220ms ease both; }
.topic-panel.is-visible { display: block; }
.topic-intro { display: flex; align-items: center; justify-content: space-between; gap: 24px; margin-bottom: 26px; }
.topic-intro > div:first-child { max-width: 830px; }
.topic-label { color: #638277; font-size: 0.65rem; }
.topic-label span { padding: 0 3px; color: var(--amber); }
.topic-intro h2 { margin: 11px 0 9px; font: 500 clamp(1.9rem, 4vw, 2.9rem)/1.1 Georgia, "Times New Roman", serif; letter-spacing: -0.04em; }
.topic-lead { max-width: 780px; margin: 0; color: #53635d; font-size: 1rem; line-height: 1.65; }
.topic-stamp { width: 90px; height: 90px; flex: 0 0 90px; display: flex; flex-direction: column; align-items: center; justify-content: center; color: var(--forest); background: var(--forest-soft); border-radius: 50%; transform: rotate(7deg); }
.topic-stamp span { font: 500 2rem Georgia, "Times New Roman", serif; line-height: 1; }
.topic-stamp small { margin-top: 5px; font-size: 0.53rem; font-weight: 800; letter-spacing: .15em; }
.topic-stamp-amber { color: var(--amber-dark); background: var(--amber-soft); }
.video-card { min-height: 145px; margin: 0 0 27px; padding: 14px 20px 14px 14px; display: flex; align-items: center; gap: 21px; border: 1px solid #d7e4da; border-radius: 13px; background: linear-gradient(110deg, #f0f5ef, #fbfcf8); }
.video-card-amber { border-color: #eedbc8; background: linear-gradient(110deg, #fbf3e9, #fffdfa); }
.video-art { position: relative; width: 190px; height: 112px; flex: 0 0 190px; overflow: hidden; display: grid; place-items: center; background: #b8ccc0; border-radius: 8px; }
.video-card-amber .video-art { background: #e9caa7; }
.video-art::before, .video-art::after { content: ""; position: absolute; width: 150px; height: 150px; border: 1px solid rgba(255,255,255,.52); border-radius: 50%; }
.video-art::after { width: 106px; height: 106px; }
.video-play { z-index: 1; width: 38px; height: 38px; display: grid; place-items: center; padding-left: 3px; color: white; background: var(--forest); border-radius: 50%; font-size: 0.75rem; box-shadow: 0 4px 12px rgba(0,0,0,.12); }
.video-card-amber .video-play { background: var(--amber-dark); }
.video-art-line { position: absolute; height: 1px; background: rgba(255,255,255,.6); transform: rotate(-22deg); }
.line-one { width: 180px; left: 3px; top: 26px; }
.line-two { width: 165px; right: -5px; bottom: 25px; transform: rotate(24deg); }
.video-copy { padding: 7px 0; }
.video-status { display: inline-flex; align-items: center; gap: 7px; color: var(--forest); font-size: 0.61rem; font-weight: 800; letter-spacing: .12em; }
.video-card-amber .video-status { color: var(--amber-dark); }
.video-status i { width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.video-copy h3 { margin: 8px 0 4px; font: 500 1.2rem Georgia, "Times New Roman", serif; }
.video-copy p { margin: 0; color: #68736c; font-size: 0.8rem; line-height: 1.5; }
.article-grid { display: grid; grid-template-columns: 1fr 0.78fr; column-gap: clamp(22px, 4vw, 52px); row-gap: 22px; }
.article-block h3, .callout h3 { margin: 0 0 11px; font: 500 1.35rem Georgia, "Times New Roman", serif; letter-spacing: -0.02em; }
.article-block p { margin: 0 0 13px; color: #586761; font-size: 0.88rem; line-height: 1.75; }
.article-block p:last-child { margin-bottom: 0; }
.article-block a { font-weight: 650; }
.article-block sup { padding-left: 2px; }
.article-block sup a { font-size: .69rem; }
.callout { align-self: start; padding: 21px 22px; background: #edf3ec; border-left: 3px solid var(--forest); border-radius: 0 11px 11px 0; }
.callout-amber { background: #fbf1e6; border-left-color: var(--amber); }
.callout-label { color: var(--forest); font-size: 0.62rem; font-weight: 800; letter-spacing: .12em; }
.callout-amber .callout-label { color: var(--amber-dark); }
.callout p { margin: 10px 0 13px; color: #53645d; font-size: 0.85rem; line-height: 1.68; }
.callout a { font-size: 0.75rem; font-weight: 700; }
.article-block-wide { grid-column: 1 / -1; }
.impact-strip { display: flex; align-items: center; gap: 15px; margin-top: 19px; padding: 15px 17px; background: #f3f5ef; border-radius: 9px; }
.impact-icon { width: 32px; height: 32px; flex: 0 0 32px; display: grid; place-items: center; color: white; background: var(--forest); border-radius: 50%; }
.impact-strip p { margin: 0; font-size: .8rem; }
.impact-strip strong { color: var(--ink); }
.legal-note { padding-top: 20px; border-top: 1px solid #e6e8e0; }
.legal-note .disclaimer { margin-top: 13px; color: #7c847e; font-size: .74rem; }
.mechanism-list { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 17px; }
.mechanism-list > div { display: flex; gap: 13px; align-items: flex-start; padding: 16px; background: #f5f6f0; border-radius: 10px; }
.mechanism-list > div > span { width: 27px; height: 27px; flex: 0 0 27px; display: grid; place-items: center; color: var(--forest); background: white; border-radius: 50%; font-size: .65rem; font-weight: 800; }
.mechanism-list p { margin: 0; font-size: .82rem; }
.mechanism-list strong { color: var(--ink); }
.timeline-block { padding-top: 22px; border-top: 1px solid #e6e8e0; }
.timeline-heading { display: flex; justify-content: space-between; align-items: end; gap: 20px; }
.timeline-heading h3 { margin: 8px 0 0; }
.timeline-end { color: #7a837c; text-align: right; font-size: .6rem; font-weight: 800; letter-spacing: .1em; }
.timeline-end strong { color: var(--forest); font: 500 1.5rem Georgia, "Times New Roman", serif; letter-spacing: 0; }
.timeline { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; margin: 24px 0 0; padding: 0; list-style: none; }
.timeline::before { content: ""; position: absolute; top: 16px; left: 20px; right: 20px; height: 1px; background: #cdd8ce; }
.timeline li { position: relative; padding: 0 13px 0 0; }
.timeline-year { position: relative; z-index: 1; width: max-content; min-width: 37px; height: 33px; padding: 0 8px; display: grid; place-items: center; color: white; background: var(--forest); border: 5px solid var(--surface); border-radius: 20px; font-size: .62rem; font-weight: 800; }
.timeline li div { padding: 12px 8px 0 0; }
.timeline li strong { font-size: .78rem; }
.timeline li p { margin-top: 6px; font-size: .74rem; line-height: 1.6; }
.sources-card { margin-top: 20px; padding: 23px 25px; background: #e9ede5; border-radius: 14px; }
.sources-title-row { display: flex; justify-content: space-between; align-items: center; }
.sources-title-row h2 { margin: 7px 0 0; font: 500 1.35rem Georgia, "Times New Roman", serif; }
.sources-title-row > span { color: var(--forest); font-size: 1.4rem; }
.source-list { display: grid; grid-template-columns: 1fr 1fr; gap: 9px 24px; margin: 17px 0 0; padding: 0; list-style: none; }
.source-list li { display: flex; gap: 8px; align-items: flex-start; color: var(--forest); font-size: .74rem; line-height: 1.5; }
.source-list li > span { flex: 0 0 23px; font-weight: 800; }
.source-list a { color: #354d43; }
.source-list a:hover { color: var(--amber-dark); }
.content-end-actions { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: 17px; }
.site-footer { max-width: 1240px; margin: 0 auto; padding: 20px 30px 28px; display: flex; justify-content: space-between; gap: 15px; color: #7c8780; border-top: 1px solid #e1e2db; font-size: .72rem; }

@media (max-width: 850px) {
  .hero { grid-template-columns: 1fr 0.82fr; }
  .hero-copy { padding: 38px 32px; }
  .hero h1 { font-size: clamp(2.25rem, 6vw, 3.5rem); }
  .form-layout { gap: 30px; padding-inline: 30px; }
  .article-grid { column-gap: 24px; }
  .video-art { width: 150px; flex-basis: 150px; }
}
@media (max-width: 680px) {
  .site-header { min-height: 75px; padding: 16px 20px; }
  .header-note { display: none; }
  .progress-wrap { padding: 0 20px 16px; }
  .stepper { gap: 7px; }
  .stepper-item { gap: 6px; }
  .stepper-item small { font-size: .68rem; }
  .stepper-line { width: clamp(16px, 6vw, 35px); }
  .page-shell { width: calc(100% - 32px); margin-bottom: 42px; }
  .hero { grid-template-columns: 1fr; border-radius: 18px; }
  .hero-copy { padding: 33px 26px 28px; }
  .hero h1 { max-width: 440px; margin-top: 16px; font-size: clamp(2.35rem, 10vw, 3.6rem); }
  .hero-intro { font-size: .95rem; }
  .hero-image-wrap { min-height: 240px; }
  .home-teasers { gap: 10px; }
  .teaser-card { min-height: 152px; padding: 17px 15px; }
  .teaser-card h2 { font-size: 1.15rem; }
  .teaser-card p { font-size: .78rem; }
  .teaser-arrow { top: 16px; right: 15px; }
  .form-layout { grid-template-columns: 1fr; gap: 26px; min-height: auto; padding: 31px 22px; border-radius: 18px; }
  .form-aside h1 { font-size: 2.55rem; }
  .privacy-note { margin-top: 22px; }
  .profile-form { padding: 21px; }
  .content-heading { align-items: flex-start; flex-direction: column; gap: 11px; padding: 22px 3px 17px; }
  .content-heading h1 { font-size: 2.3rem; }
  .topic-tabs { grid-template-columns: 1fr; gap: 8px; }
  .topic-tab { min-height: 64px; }
  .topic-panel { padding: 22px 18px; border-radius: 15px; }
  .topic-intro { align-items: flex-start; gap: 12px; }
  .topic-stamp { width: 63px; height: 63px; flex-basis: 63px; margin-top: 14px; }
  .topic-stamp span { font-size: 1.5rem; }
  .topic-stamp small { font-size: .45rem; }
  .topic-intro h2 { font-size: 2rem; }
  .topic-lead { font-size: .9rem; }
  .video-card { align-items: flex-start; flex-direction: column; gap: 12px; padding: 12px; }
  .video-art { width: 100%; height: 150px; flex: auto; }
  .video-copy { padding: 4px 2px 6px; }
  .article-grid { grid-template-columns: 1fr; }
  .article-block-wide { grid-column: auto; }
  .mechanism-list { grid-template-columns: 1fr; }
  .timeline { grid-template-columns: 1fr; gap: 8px; margin-top: 18px; }
  .timeline::before { top: 10px; bottom: 12px; left: 17px; right: auto; width: 1px; height: auto; }
  .timeline li { display: grid; grid-template-columns: 48px 1fr; gap: 9px; padding: 0; }
  .timeline-year { align-self: start; margin-top: 1px; }
  .timeline li div { padding: 6px 0 13px; }
  .timeline li p { margin-bottom: 0; }
  .timeline-heading h3 { font-size: 1.2rem; }
  .sources-card { padding: 20px 17px; }
  .source-list { grid-template-columns: 1fr; }
  .content-end-actions { flex-wrap: wrap; }
  .site-footer { flex-direction: column; padding: 18px 20px 25px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}


/* Tema visual: azul-marinho, azul vivo e dourado — inspirado nas referências enviadas. */
:root {
  color-scheme: dark;
  --paper: #071323;
  --surface: #101b28;
  --ink: #f5f7fb;
  --muted: #b3bfce;
  --line: #344355;
  --forest: #1879cb;
  --forest-dark: #0756a2;
  --forest-soft: #132f50;
  --amber: #f5b51b;
  --amber-dark: #d89500;
  --amber-soft: #382c12;
  --shadow: 0 24px 70px rgba(0, 0, 0, .3);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

html { background: #071323; }
body {
  color: #f5f7fb;
  background:
    radial-gradient(ellipse at 52% 112%, rgba(13, 104, 171, .72), transparent 56%),
    radial-gradient(ellipse at 4% 8%, rgba(16, 52, 103, .82), transparent 47%),
    linear-gradient(160deg, #07172f 0%, #082b56 55%, #0c5c91 100%);
  background-attachment: fixed;
}
button, select { font: inherit; }
a { color: #ffd04b; }
a:hover { color: #ffe391; }
:focus-visible { outline: 3px solid #ffd04b; outline-offset: 4px; }

.site-header { max-width: 1180px; min-height: 72px; padding: 16px 28px; }
.brand { color: #f8fafc; }
.brand-mark { color: #08264c; background: #f5b51b; border-radius: 50%; }
.brand-copy strong { font-family: Inter, ui-sans-serif, system-ui, sans-serif; font-size: .98rem; font-weight: 850; letter-spacing: .02em; text-transform: uppercase; }
.brand-copy small { color: #b8c9dc; }
.header-note { color: #c6d4e3; }
.progress-wrap { padding-bottom: 20px; }
.stepper-item { color: #9fb3ca; }
.stepper-item > span { border-color: #66809c; }
.stepper-item.is-current { color: #fff; }
.stepper-item.is-current > span, .stepper-item.is-complete > span { color: #13233a; background: var(--amber); border-color: var(--amber); }
.stepper-item.is-complete { color: #d5e2f0; }
.stepper-line { background: #536a84; }
.page-shell { width: min(1140px, calc(100% - 48px)); min-height: 62vh; }
.eyebrow, .topic-label, .form-kicker { color: #ffca3a; }
.eyebrow-dot { background: var(--amber); box-shadow: 0 0 0 4px rgba(245, 181, 27, .18); }

/* Capa inicial: composição limpa, título em três linhas e perfil como chamada principal. */
body.is-home .site-header,
body.is-home .progress-wrap { display: none; }
body.is-home .page-shell { width: 100%; min-height: calc(100svh - 48px); margin: 0; }
body.is-home .hero {
  min-height: calc(100svh - 48px);
  display: flex;
  justify-content: center;
  overflow: visible;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}
body.is-home .hero-copy {
  width: 100%;
  align-self: stretch;
  padding: clamp(54px, 9vh, 90px) 20px 30px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
body.is-home .hero .eyebrow { display: none; }
body.is-home .hero h1 {
  max-width: 660px;
  margin: 0 0 clamp(38px, 8vh, 68px);
  color: #f8fafc;
  font-family: Inter, "Arial Black", Impact, system-ui, sans-serif;
  font-size: clamp(2.45rem, 7.3vw, 4.25rem);
  font-weight: 900;
  line-height: 1.12;
  letter-spacing: -.035em;
  text-transform: uppercase;
}
body.is-home .versus {
  color: var(--amber);
  font-family: inherit;
  font-size: .83em;
  font-style: normal;
  font-weight: 900;
  letter-spacing: 0;
}
.profile-launch {
  width: clamp(132px, 21vw, 164px);
  aspect-ratio: 1;
  padding: 0;
  display: grid;
  place-items: center;
  color: #1982df;
  border: 2px solid rgba(226, 239, 255, .8);
  border-radius: 50%;
  background: rgba(219, 235, 255, .11);
  box-shadow: 0 13px 32px rgba(0, 0, 0, .2), inset 0 0 0 5px rgba(255, 255, 255, .025);
  transition: transform 180ms ease, background 180ms ease, box-shadow 180ms ease;
}
.profile-launch:hover {
  transform: translateY(-4px) scale(1.025);
  background: rgba(255, 255, 255, .16);
  box-shadow: 0 18px 42px rgba(0, 0, 0, .3), 0 0 0 7px rgba(57, 151, 237, .13);
}
.profile-launch svg { width: 82%; height: 82%; }
.profile-launch svg circle { display: none; }
body.is-home .hero-footnote {
  margin: clamp(34px, 7vh, 57px) 0 0;
  color: #d9eaff;
  font-size: clamp(1rem, 3.2vw, 1.35rem);
  font-weight: 450;
  letter-spacing: .005em;
}
body.is-home .measurement-notice {
  max-width: 720px;
  margin: clamp(14px, 2.4vh, 20px) auto 0;
  color: rgba(226, 239, 255, .82);
  font-size: clamp(.72rem, 1.8vw, .84rem);
  line-height: 1.5;
}
body.is-home .site-footer {
  max-width: 100%;
  min-height: 48px;
  margin: 0;
  padding: 12px 22px;
  color: rgba(226, 239, 255, .66);
  border: 0;
  font-size: .68rem;
}
body.is-home .site-footer span:last-child { margin-left: auto; }

/* Perfil: cartão claro sobre fundo azul, seletores escuros e ação dourada. */
body.is-profile .page-shell { width: min(720px, calc(100% - 32px)); min-height: calc(100svh - 170px); display: grid; align-items: center; }
.profile-screen { width: 100%; padding: 12px 0 28px; }
.profile-form {
  width: min(100%, 620px);
  margin: 0 auto;
  padding: clamp(27px, 6vw, 46px);
  color: #182332;
  background: #fff;
  border: 1px solid rgba(255, 255, 255, .8);
  border-radius: clamp(22px, 5vw, 34px);
  box-shadow: 0 26px 80px rgba(0, 0, 0, .32);
}
.profile-form .form-kicker { margin: 0 0 12px; color: #60728a; font-size: .72rem; }
.profile-form h1 {
  margin: 0 0 22px;
  color: #edae17;
  font: 900 clamp(2.2rem, 7vw, 3.35rem)/1.02 Inter, "Arial Black", Impact, system-ui, sans-serif;
  letter-spacing: -.035em;
}
.profile-form h1 span { color: #e5a611; }
.profile-intro { margin: 0 0 30px; color: #929aa4; font-size: clamp(1.04rem, 3vw, 1.32rem); line-height: 1.55; }
.profile-form label { margin: 0 0 8px; color: #182332; font-size: 1rem; font-weight: 550; }
.profile-form select {
  width: 100%;
  min-height: 62px;
  margin: 0 0 23px;
  padding: 0 46px 0 20px;
  color: #f4f6f8;
  color-scheme: dark;
  background-color: #090d12;
  border: 1px solid #374351;
  border-radius: 16px;
  font-size: 1rem;
}
.profile-form select:focus { border-color: #efb318; outline: 3px solid rgba(245, 181, 27, .2); }
.form-hint { margin: 0 0 22px; color: #6c7887; font-size: .82rem; line-height: 1.5; }
.form-actions { gap: 12px; }
.form-actions .button { min-height: 52px; padding-inline: 18px; border-radius: 13px; }
.button-primary { color: #101820; background: #f5b51b; box-shadow: 0 8px 19px rgba(219, 151, 0, .24); }
.button-primary:hover { color: #101820; background: #ffca3a; box-shadow: 0 12px 26px rgba(219, 151, 0, .28); }
.button-quiet { color: #253448; background: #f1f4f8; border-color: #dce2e9; }
.button-quiet:hover { background: #e4eaf1; }
.button-outline { color: #ffd45d; border-color: #788aa0; background: transparent; }
.button-outline:hover { background: #15263a; }

/* Conteúdo educativo: painéis escuros, acento amarelo e contraste alto para leitura. */
body.is-content { background: linear-gradient(180deg, #08121d 0%, #101923 75%, #0d1b2a 100%); background-attachment: fixed; }
body.is-content .site-header { border-bottom: 1px solid rgba(151, 173, 198, .16); }
body.is-content .progress-wrap { padding-top: 17px; }
body.is-content .content-heading { padding-top: 32px; }
body.is-content .content-heading h1,
body.is-content .topic-intro h2,
body.is-content .article-block h3,
body.is-content .callout h3,
body.is-content .sources-title-row h2 { color: #f6f8fb; font-family: Inter, ui-sans-serif, system-ui, sans-serif; font-weight: 800; letter-spacing: -.035em; }
body.is-content .content-heading h1 { font-size: clamp(2rem, 5vw, 3.2rem); }
body.is-content .content-heading h1::first-letter { color: var(--amber); }
body.is-content .content-subtitle,
body.is-content .topic-lead,
body.is-content .article-block p,
body.is-content .callout p,
body.is-content .video-copy p { color: #c2ccd8; }
body.is-content .text-button { color: #ffca3a; }
.topic-tabs { gap: 12px; }
.topic-tab { color: #f4f6fa; background: #121d29; border-color: #354252; border-radius: 14px; }
.topic-tab:hover { border-color: #b28724; }
.topic-tab.is-selected,
.topic-tab:nth-child(2).is-selected { color: #fff; background: #172638; border-color: var(--amber); box-shadow: inset 0 -3px 0 var(--amber); }
.tab-index { color: #151c24; background: var(--amber); }
.topic-tab:nth-child(2) .tab-index { color: #141a22; background: #f0b52b; }
.topic-tab small { color: #b5c2d0; }
.tab-arrow,
.topic-tab:nth-child(2) .tab-arrow { color: #ffca3a; }
.topic-panel { color: #f3f6fa; background: #101923; border: 1px solid #263648; border-radius: 20px; box-shadow: 0 25px 60px rgba(0, 0, 0, .22); }
.topic-label { color: #f1b928; }
.topic-label span { color: #ffd561; }
.topic-stamp,
.topic-stamp-amber { color: #ffd04b; background: #172b41; border: 1px solid #38516d; transform: none; }
.video-card,
.video-card-amber { color: #f5f7fb; background: #0a111a; border-color: #344456; }
.video-art,
.video-card-amber .video-art { background: linear-gradient(135deg, #123f68, #1d72b1); }
.video-card-amber .video-art { background: linear-gradient(135deg, #45330d, #af7810); }
.video-play,
.video-card-amber .video-play { color: #121a24; background: var(--amber); }
.video-status,
.video-card-amber .video-status { color: #ffd04b; }
.video-copy h3 { color: #fff; font-family: Inter, ui-sans-serif, system-ui, sans-serif; font-weight: 750; }
.topic-art { margin: 18px 0 26px; padding: 10px; overflow: hidden; background: #080e15; border: 1px solid #344353; border-radius: 18px; }
.topic-art img { display: block; width: 100%; max-height: 470px; object-fit: cover; border-radius: 12px; }
.topic-art figcaption { padding: 10px 5px 2px; color: #b3bfce; font-size: .77rem; line-height: 1.45; }
.topic-art-portrait { width: min(100%, 460px); margin-inline: auto; }
.topic-art-portrait img { max-height: none; object-fit: contain; }
.article-block h3,
.callout h3 { margin-bottom: 11px; font-size: 1.27rem; }
.article-block a,
.callout a,
.source-list a { color: #ffd04b; }
.callout,
.callout-amber { color: #f4f6f9; background: #162231; border-left-color: var(--amber); border-radius: 0 13px 13px 0; }
.callout-label,
.callout-amber .callout-label { color: #ffd04b; }
.impact-strip,
.mechanism-list > div { color: #edf2f8; background: #172433; border: 1px solid #26394c; }
.impact-strip strong,
.mechanism-list strong { color: #fff; }
.impact-icon { color: #141c26; background: var(--amber); }
.timeline-block,
.legal-note { border-color: #314153; }
.timeline::before { background: #43566a; }
.timeline-year { color: #121922; background: var(--amber); border-color: #101923; }
.timeline li strong { color: #f1f4f8; }
.timeline-end { color: #b4c0ce; }
.timeline-end strong { color: #ffd04b; font-family: Inter, ui-sans-serif, system-ui, sans-serif; font-weight: 800; }
.mechanism-list > div > span { color: #131b24; background: #ffd04b; }
.sources-card { background: #121d29; border: 1px solid #2d3c4d; border-radius: 16px; }
.sources-title-row > span { color: #ffd04b; }
.source-list li { color: #ffd04b; }
.source-list a { color: #dce7f3; }
.source-list a:hover { color: #ffd04b; }
.legal-note .disclaimer { color: #a8b6c6; }
body.is-content .site-footer,
body.is-profile .site-footer { color: #b3bfce; border-top-color: rgba(151, 173, 198, .19); }
.skip-link { color: #101820; background: #ffd04b; }

@media (max-width: 680px) {
  body.is-home .page-shell { min-height: calc(100svh - 42px); }
  body.is-home .hero { min-height: calc(100svh - 42px); }
  body.is-home .hero-copy { padding-top: clamp(54px, 9.5vh, 82px); }
  body.is-home .hero h1 { margin-bottom: clamp(38px, 7vh, 58px); font-size: clamp(2.3rem, 10.5vw, 3.25rem); line-height: 1.12; }
  .profile-launch { width: clamp(128px, 38vw, 152px); }
  body.is-home .hero-footnote { margin-top: clamp(31px, 6.8vh, 52px); font-size: 1.08rem; }
  body.is-home .site-footer { padding: 9px 14px; font-size: .61rem; }
  body.is-home .site-footer span:last-child { display: none; }
  .site-header { min-height: 65px; padding: 13px 17px; }
  .brand-mark { width: 36px; height: 36px; }
  .brand-mark svg { width: 27px; height: 27px; }
  .brand-copy strong { font-size: .88rem; }
  .progress-wrap { padding: 10px 13px 14px; }
  .stepper { gap: 6px; }
  .stepper-item { gap: 5px; }
  .stepper-item > span { width: 25px; height: 25px; font-size: .63rem; }
  .stepper-item small { font-size: .64rem; }
  .stepper-line { width: clamp(12px, 4vw, 25px); }
  body.is-profile .page-shell { width: calc(100% - 28px); min-height: calc(100svh - 145px); }
  .profile-screen { padding-top: 0; }
  .profile-form { padding: 25px 23px; border-radius: 25px; }
  .profile-form .form-kicker { margin-bottom: 11px; }
  .profile-form h1 { margin-bottom: 17px; font-size: clamp(2.25rem, 11vw, 3.05rem); }
  .profile-intro { margin-bottom: 23px; font-size: 1.03rem; }
  .profile-form select { min-height: 57px; margin-bottom: 18px; border-radius: 13px; }
  .form-hint { margin-bottom: 18px; font-size: .77rem; }
  .form-actions .button { min-height: 48px; padding-inline: 13px; font-size: .84rem; }
  body.is-content .page-shell { width: calc(100% - 28px); }
  body.is-content .content-heading { padding: 22px 2px 18px; }
  body.is-content .content-heading h1 { font-size: 2.05rem; }
  .topic-tabs { grid-template-columns: 1fr; gap: 9px; }
  .topic-tab { min-height: 65px; }
  .topic-panel { padding: 20px 16px; }
  .topic-art { margin-block: 15px 22px; padding: 7px; border-radius: 15px; }
  .topic-art img { border-radius: 10px; }
  .topic-art-portrait { width: min(100%, 390px); }
  .topic-art figcaption { padding: 8px 3px 2px; font-size: .7rem; }
  body.is-content .site-footer { padding-inline: 14px; }
}

@media (max-width: 370px) {
  body.is-home .hero h1 { font-size: 2.2rem; }
  .stepper-item small { font-size: .58rem; }
  .form-actions { flex-wrap: wrap; }
  .form-actions .button { flex: 1 1 auto; }
}


/* Recursos pedagógicos inspirados no modelo: objetivos, caso guiado, quiz e leitura. */
.learning-map,
.practice-card,
.quiz-card { margin-top: 20px; padding: clamp(20px, 3vw, 30px); color: #f4f7fb; background: #121e2b; border: 1px solid #304257; border-radius: 17px; }
.learning-map { display: grid; grid-template-columns: minmax(200px, .7fr) 1.3fr; align-items: center; gap: 24px; }
.learning-map-heading h2,
.practice-heading h2,
.quiz-heading h2 { margin: 7px 0 0; color: #f7f9fc; font: 800 clamp(1.3rem, 3vw, 1.8rem)/1.2 Inter, ui-sans-serif, system-ui, sans-serif; letter-spacing: -.025em; }
.learning-map ul { display: grid; grid-template-columns: 1fr 1fr; gap: 11px 15px; margin: 0; padding: 0; list-style: none; }
.learning-map li { display: flex; align-items: flex-start; gap: 10px; color: #ccd7e3; font-size: .82rem; line-height: 1.5; }
.learning-map li span { flex: 0 0 25px; width: 25px; height: 25px; display: grid; place-items: center; color: #16202b; background: #f5b51b; border-radius: 50%; font-size: .63rem; font-weight: 850; }
.listen-bar { display: flex; align-items: center; justify-content: space-between; gap: 15px; margin: 0 0 26px; padding: 14px 16px; background: #162433; border: 1px solid #2c4055; border-radius: 13px; }
.listen-bar strong { color: #f4f7fa; font-size: .9rem; }
.listen-bar p { margin: 4px 0 0; color: #b7c5d4; font-size: .75rem; line-height: 1.45; }
.listen-actions { display: flex; flex: 0 0 auto; gap: 8px; }
.listen-actions .button { min-height: 42px; padding: .65rem .9rem; font-size: .78rem; }
.listen-status { color: #ffcf4a !important; }
.practice-card { padding: clamp(20px, 3.2vw, 34px); background: linear-gradient(135deg, #122339, #172536 62%, #282313); }
.practice-heading,
.quiz-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; margin-bottom: 22px; }
.practice-heading > div:first-child,
.quiz-heading > div:first-child { max-width: 720px; }
.practice-heading > div > p:last-child,
.quiz-heading > div > p:last-child { margin: 8px 0 0; color: #bdc9d6; font-size: .86rem; line-height: 1.6; }
.practice-mark,
.quiz-mark { width: 48px; height: 48px; flex: 0 0 48px; display: grid; place-items: center; color: #18212b; background: #f5b51b; border-radius: 50%; font-size: 1.35rem; font-weight: 900; }
.case-scene { padding: clamp(18px, 3vw, 25px); background: #0d1723; border: 1px solid #33465c; border-radius: 14px; }
.case-scene h3 { margin: 7px 0 9px; color: #fff; font: 750 1.2rem/1.35 Inter, ui-sans-serif, system-ui, sans-serif; letter-spacing: -.015em; }
.case-scene > p:not(.case-kicker, .case-feedback) { max-width: 820px; margin: 0 0 17px; color: #c4cfda; font-size: .87rem; line-height: 1.7; }
.case-kicker { margin: 0; color: #ffca3a; font-size: .64rem; font-weight: 850; letter-spacing: .11em; }
.case-choices { display: grid; grid-template-columns: 1fr 1fr; gap: 11px; }
.case-choice { min-height: 76px; padding: 15px 16px; color: #ecf2f8; background: #172637; border: 1px solid #3b4c60; border-radius: 11px; text-align: left; font-size: .83rem; line-height: 1.55; transition: border-color 150ms ease, background 150ms ease, transform 150ms ease; }
.case-choice:hover:not(:disabled) { transform: translateY(-1px); border-color: #e6af21; background: #1c2d41; }
.case-choice:disabled { cursor: default; opacity: .78; }
.case-choice.is-correct { opacity: 1; border-color: #4eaa79; background: #16352d; }
.case-choice.is-wrong { opacity: 1; border-color: #bd7168; background: #382322; }
.case-feedback,
.quiz-feedback { margin: 15px 0; padding: 14px 16px; color: #e9f0f6; background: #19293a; border-left: 3px solid #f5b51b; border-radius: 0 9px 9px 0; font-size: .83rem; line-height: 1.65; }
.case-feedback.is-correct,
.quiz-feedback.is-correct { border-left-color: #57c28c; background: #153128; }
.case-feedback.is-wrong,
.quiz-feedback.is-wrong { border-left-color: #ef8b7f; background: #352321; }
.case-next,
.case-reset { margin-top: 2px; }
.quiz-card { padding: clamp(20px, 3.2vw, 34px); }
.quiz-heading { margin-bottom: 18px; }
.quiz-mark { color: #f5b51b; background: #213249; border: 1px solid #465971; font-size: 1.65rem; }
.quiz-progress-row { display: flex; justify-content: space-between; gap: 10px; color: #ffcf4a; font-size: .74rem; font-weight: 750; }
.quiz-progress-track { height: 6px; margin: 10px 0 22px; overflow: hidden; background: #253648; border-radius: 999px; }
.quiz-progress-track span { width: 0; height: 100%; display: block; background: #f5b51b; border-radius: inherit; transition: width 180ms ease; }
.quiz-card > h3 { margin: 0 0 15px; color: #f4f7fb; font: 750 clamp(1.05rem, 2.5vw, 1.3rem)/1.45 Inter, ui-sans-serif, system-ui, sans-serif; }
.quiz-options { display: grid; gap: 10px; }
.quiz-option { min-height: 52px; padding: 13px 15px; color: #edf2f7; background: #172534; border: 1px solid #36495e; border-radius: 10px; text-align: left; font-size: .84rem; line-height: 1.5; }
.quiz-option:hover:not(:disabled) { border-color: #c39929; background: #1c2c3e; }
.quiz-option:disabled { cursor: default; }
.quiz-option.is-correct { border-color: #57c28c; background: #15352b; }
.quiz-option.is-wrong { border-color: #e17c6f; background: #392421; }
.quiz-card > #quiz-next { margin-top: 5px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }

@media (max-width: 680px) {
  .learning-map { grid-template-columns: 1fr; gap: 15px; }
  .learning-map ul { grid-template-columns: 1fr; gap: 9px; }
  .listen-bar { align-items: flex-start; flex-direction: column; }
  .listen-actions { width: 100%; }
  .listen-actions .button { flex: 1 1 auto; }
  .case-choices { grid-template-columns: 1fr; }
  .case-choice { min-height: 64px; }
  .practice-heading,
  .quiz-heading { gap: 12px; }
  .quiz-progress-row { font-size: .69rem; }
}

@media (prefers-reduced-motion: reduce) {
  .quiz-progress-track span,
  .case-choice { transition: none; }
}


/* Navegação para páginas temáticas, mantendo a identidade azul e dourada. */
.topic-directory .topic-tab { text-decoration: none; }
.topic-directory .topic-tab:hover { color: #fff; border-color: var(--amber); box-shadow: inset 0 -3px 0 var(--amber); }
.simulator-teaser {
  display: flex; align-items: center; gap: 17px; margin: 20px 0 0; padding: 21px 24px;
  color: #f5f7fb; text-decoration: none; background: linear-gradient(110deg, #12263b, #101923);
  border: 1px solid #536276; border-radius: 16px; transition: border-color 160ms ease, transform 160ms ease;
}
.simulator-teaser:hover { color: #fff; border-color: var(--amber); transform: translateY(-2px); }
.simulator-teaser-icon { width: 46px; height: 46px; flex: 0 0 46px; display: grid; place-items: center; color: #142033; background: var(--amber); border-radius: 50%; font-size: .88rem; font-weight: 900; }
.simulator-teaser-copy { display: grid; gap: 4px; }
.simulator-teaser-copy strong { color: #fff; font-size: 1rem; }
.simulator-teaser-copy small { color: #c0cad6; font-size: .82rem; line-height: 1.45; }
.simulator-teaser > .tab-arrow { margin-left: auto; }
.activities-link { margin: 19px 2px 0; color: #c2ccd8; font-size: .86rem; }
.activities-link a { color: #ffd04b; font-weight: 700; }
.standalone-page { padding-bottom: 24px; }
.standalone-heading { padding-top: 31px; }
.standalone-heading .content-subtitle { max-width: 720px; }
.related-links { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin: 22px 0 0; padding: 19px 0 0; border-top: 1px solid #344456; }
.related-links .text-button { margin: 0; }

/* Simulador: os percentuais são hipóteses declaradas pela pessoa, não alíquotas legais. */
.simulator-notice, .simulator-card { color: #eaf0f7; background: #101923; border: 1px solid #2c3d50; border-radius: 18px; box-shadow: 0 20px 55px rgba(0,0,0,.18); }
.simulator-notice { margin: 0 0 16px; padding: 20px 22px; border-left: 4px solid var(--amber); line-height: 1.65; }
.simulator-notice strong { color: #ffd04b; }
.simulator-notice p { margin: 8px 0 0; color: #bac6d4; font-size: .86rem; }
.simulator-card { padding: clamp(18px, 3vw, 34px); }
.simulator-example { display: flex; align-items: center; gap: 14px; margin: 0 0 22px; padding: 15px 17px; color: #f4f6fa; background: #172638; border-radius: 12px; }
.simulator-example p { margin: 0; color: #d4deea; font-size: .88rem; line-height: 1.6; }
.example-mark { width: 38px; height: 38px; flex: 0 0 38px; display: grid; place-items: center; color: #142033; background: var(--amber); border-radius: 50%; font-size: .76rem; font-weight: 900; }
.simulator-top-inputs, .rate-assumptions { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 15px; margin: 18px 0; }
.simulator-top-inputs label, .rate-assumptions label { display: flex; flex-direction: column; gap: 8px; color: #eff3f8; font-size: .84rem; font-weight: 700; line-height: 1.45; }
.simulator-top-inputs input, .rate-assumptions input, .currency-input input {
  width: 100%; min-height: 48px; padding: 10px 12px; color: #f6f8fb; background: #090f17;
  border: 1px solid #43556a; border-radius: 9px; font: inherit; font-size: .95rem;
}
.simulator-top-inputs input:focus, .rate-assumptions input:focus, .currency-input input:focus { border-color: var(--amber); outline: 3px solid rgba(245,181,27,.18); }
.simulator-top-inputs small { color: #aebccc; font-size: .73rem; font-weight: 400; }
.budget-overview { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 10px; margin: 20px 0 9px; }
.budget-overview > div { display: grid; gap: 7px; padding: 14px 15px; background: #152334; border: 1px solid #2b4055; border-radius: 12px; }
.budget-overview span { color: #b5c3d2; font-size: .74rem; }
.budget-overview strong { color: #fff; font-size: 1.02rem; font-variant-numeric: tabular-nums; }
.simulator-status { margin: 10px 0 18px; color: #c4cfdb; font-size: .8rem; line-height: 1.55; }
.simulator-status-strong { padding: 13px 15px; background: #162638; border-radius: 10px; }
.simulator-card > h2 { margin: 28px 0 8px; color: #fff; font-size: 1.15rem; letter-spacing: -.02em; }
.simulator-instruction, .rate-help { margin: 0 0 15px; color: #bac6d4; font-size: .81rem; line-height: 1.6; }
.sim-category-grid { display: grid; gap: 8px; }
.sim-category { min-width: 0; display: grid; grid-template-columns: minmax(155px,1fr) minmax(130px,.75fr); align-items: center; gap: 12px; padding: 10px 13px; color: #eef2f7; background: #0b131d; border: 1px solid #293a4c; border-radius: 10px; font-size: .84rem; font-weight: 650; }
.currency-input { display: flex; align-items: center; gap: 8px; color: #bcc8d5; }
.currency-input b { font-size: .75rem; font-weight: 600; }
.currency-input input { min-height: 42px; }
.rate-assumptions { margin-top: 13px; }
.rate-help { padding: 12px 14px; background: #172333; border-left: 3px solid #d99f1e; border-radius: 0 8px 8px 0; }
.simulator-results { margin-top: 22px; padding: 20px; background: #0a121b; border: 1px solid #384b60; border-radius: 14px; }
.simulator-results h2 { margin: 0 0 15px; color: #fff; font-size: 1.12rem; }
.simulator-result-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 10px; }
.result-card { min-height: 106px; display: flex; flex-direction: column; justify-content: center; gap: 8px; padding: 15px; background: #142232; border: 1px solid #2d4157; border-radius: 11px; }
.result-card span { color: #c1ccda; font-size: .76rem; line-height: 1.45; }
.result-card strong { color: #fff; font-size: 1.28rem; font-variant-numeric: tabular-nums; }
.result-card small { color: #bec9d6; font-size: .73rem; }
.result-card-accent { border-color: #8e6b20; background: #282315; }
.result-card-accent strong { color: #ffd04b; }
.result-explanation { margin: 17px 0 0; color: #c7d1de; font-size: .83rem; line-height: 1.65; }
.budget-bars { display: grid; gap: 11px; margin-top: 18px; }
.bar-row { display: grid; grid-template-columns: minmax(120px, .8fr) minmax(90px, 2fr) minmax(105px, .65fr); align-items: center; gap: 10px; color: #d5deea; font-size: .77rem; }
.bar-row strong { color: #fff; text-align: right; font-variant-numeric: tabular-nums; }
.bar-track { height: 10px; overflow: hidden; background: #26364a; border-radius: 99px; }
.bar-track span { display: block; width: 0; height: 100%; background: var(--amber); border-radius: inherit; transition: width 200ms ease; }
.bar-track span.is-over-income { background: #e6785d; }
.simulator-method { margin-top: 20px; padding: 15px 17px; color: #d8e1eb; background: #131f2d; border: 1px solid #2d3e51; border-radius: 11px; }
.simulator-method summary { color: #ffd04b; cursor: pointer; font-size: .84rem; font-weight: 750; }
.simulator-method p { margin: 11px 0 0; color: #c1ccda; font-size: .8rem; line-height: 1.65; }

@media (max-width: 680px) {
  .standalone-heading { padding-top: 22px; }
  .standalone-heading .content-heading { align-items: flex-start; }
  .related-links { align-items: stretch; flex-direction: column; }
  .related-links .button, .related-links .text-button { width: 100%; justify-content: center; text-align: center; }
  .simulator-teaser { padding: 17px 15px; gap: 12px; }
  .simulator-teaser-icon { width: 39px; height: 39px; flex-basis: 39px; }
  .simulator-teaser-copy strong { font-size: .9rem; }
  .simulator-teaser-copy small { font-size: .74rem; }
  .simulator-notice { padding: 17px; font-size: .88rem; }
  .simulator-example { align-items: flex-start; padding: 13px; }
  .simulator-top-inputs, .rate-assumptions { grid-template-columns: 1fr; gap: 12px; }
  .budget-overview { grid-template-columns: 1fr; gap: 8px; }
  .budget-overview > div { grid-template-columns: 1fr auto; align-items: center; }
  .sim-category { grid-template-columns: 1fr; gap: 7px; padding: 12px; }
  .currency-input input { min-height: 45px; }
  .simulator-result-grid { grid-template-columns: 1fr; }
  .result-card { min-height: 86px; }
  .bar-row { grid-template-columns: 1fr auto; gap: 7px; }
  .bar-track { grid-column: 1 / -1; grid-row: 2; }
  .bar-row strong { text-align: right; }
}


/* Atualização do simulador e da história interativa */
.reform-update-card {
  margin: 2rem 0;
  padding: clamp(1.25rem, 3vw, 2rem);
  border: 1px solid rgba(232, 179, 58, 0.38);
  border-radius: 1.25rem;
  background: linear-gradient(145deg, #102e52, #071b38);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.18);
}
.reform-update-heading h2 { margin: 0.3rem 0 0.5rem; }
.reform-update-heading p:last-child, .ibpt-note { color: #d6e3ef; max-width: 74ch; }
.reform-rate-badges { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0.75rem; margin: 1.25rem 0; }
.reform-rate-badges > div { display: grid; gap: 0.25rem; padding: 0.85rem 1rem; border-radius: 0.9rem; background: rgba(255, 255, 255, 0.07); }
.reform-rate-badges span { color: #cbd8e4; font-size: 0.82rem; }
.reform-rate-badges strong { color: #f4c34f; font-size: 1.35rem; }
.reform-status-warning { padding: 0.8rem 1rem; border-left: 3px solid #f4c34f; background: rgba(244, 195, 79, 0.08); color: #fff1c5; line-height: 1.6; }
.reform-source-links { display: flex; flex-wrap: wrap; gap: 0.65rem 1.1rem; margin-top: 1rem; }
.reform-source-links a { color: #f6d77e; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.calculate-button { margin: 1rem 0; }
.scenario-prompt { margin: 0.5rem 0 1rem; color: #53635d; }

.story-progress-row { display: flex; justify-content: space-between; gap: 1rem; margin: 1.5rem 0 0.5rem; color: #d3e1ed; font-size: 0.92rem; }
.story-dialogue { display: grid; gap: 0.65rem; margin: 1.25rem 0; }
.story-line { margin: 0; padding: 0.9rem 1rem; border-left: 3px solid #e8b33a; border-radius: 0 0.85rem 0.85rem 0; background: rgba(255, 255, 255, 0.06); color: #edf4fa; line-height: 1.65; }
.story-speaker { color: #f4c34f; }
.story-question { margin: 1.35rem 0 0.75rem; color: #fff; font-weight: 700; }
.story-choice { text-align: left; }
.story-ending { margin-top: 1rem; padding: 1.25rem; border: 1px solid rgba(244, 195, 79, 0.4); border-radius: 1rem; background: rgba(255, 255, 255, 0.05); }
.story-ending h3 { color: #f4c34f; }
.story-ending-careful { border-color: rgba(86, 187, 143, 0.55); }
.story-ending-risk { border-color: rgba(231, 151, 91, 0.65); }

@media (max-width: 620px) {
  .reform-rate-badges { grid-template-columns: 1fr; }
  .story-progress-row { flex-direction: column; gap: 0.3rem; }
  .reform-source-links { display: grid; }
}
