:root{--ink:#10251e;--green:#143d30;--mint:#bde885;--paper:#f5f7f1;--line:#d4ded3}*{box-sizing:border-box}html{scroll-behavior:smooth;scroll-padding-top:5rem}body{margin:0;font:1rem/1.6 "Avenir Next",system-ui,sans-serif;color:var(--ink);background:var(--paper)}a{color:inherit}button,select,textarea{font:inherit}button{cursor:pointer}a:focus-visible,button:focus-visible,select:focus-visible,textarea:focus-visible{outline:3px solid #63963c;outline-offset:4px}.wrap{width:min(1170px,calc(100% - 3rem));margin:auto}header{background:#0b211a;color:#fff;position:sticky;top:0;z-index:2;border-bottom:1px solid #ffffff24}.bar,.actions,nav{display:flex;align-items:center;gap:1.25rem}.bar{justify-content:space-between;min-height:76px}.brand{font-size:1.25rem;font-weight:780;letter-spacing:.19em;text-decoration:none;white-space:nowrap}.mark{color:var(--mint);font-size:1.55rem}nav a{text-decoration:none;font-size:.92rem}nav a:hover{text-decoration:underline}.actions{flex-wrap:wrap}#language{background:none;color:inherit;border:0;font-weight:700;padding:.45rem}.outline,.primary{padding:.68rem 1.15rem;display:inline-block;border:1px solid currentColor;text-decoration:none;font-weight:700;border-radius:5px}.primary{background:var(--mint);color:#10251e;border-color:var(--mint)}.primary:hover{background:#d1f3a9}.outline:hover{background:#ffffff15}.hero{color:white}.hero-inner{padding:clamp(5rem,10vw,9rem) 0 7rem}.eyebrow{font-size:.87rem;font-weight:750;letter-spacing:.15em;color:#426b39}.hero .eyebrow,.dark .eyebrow{color:var(--mint)}h1,h2,h3,p{margin:0 0 1rem}h1,h2{font-family:Georgia,serif;font-weight:500;line-height:1.04;letter-spacing:-.035em}h1{font-size:clamp(3.2rem,7vw,6.65rem);max-width:800px;margin-top:1.15rem}h2{font-size:clamp(2.45rem,4.6vw,4.2rem);margin-top:.7rem}h3{font-size:1.22rem;line-height:1.25}.hero p{max-width:540px;font-size:1.13rem;margin-bottom:1.8rem;color:#eef5ed}.section{padding-block:clamp(3.5rem,7vw,6rem)}.lead{max-width:760px;margin-bottom:2rem}.lead p{max-width:630px}.explorer,.contact-grid{display:grid;grid-template-columns:1fr 2fr;gap:1.2rem}.sectors{display:grid;gap:.45rem;align-content:start}.sectors button{text-align:left;padding:.78rem 1rem;border:1px solid var(--line);background:transparent;color:inherit;border-radius:4px}.sectors button[aria-pressed=true]{background:var(--green);color:#fff}.panel,form,.resources article{background:white;border:1px solid var(--line);border-radius:6px;padding:clamp(1.25rem,3.8vw,2.65rem)}.panel h3{font:2.15rem/1.1 Georgia,serif}.panel ul{padding-left:1.3rem;margin-bottom:0}.dark,footer{background:#102b22;color:#f5f8f2}.columns{display:grid;grid-template-columns:repeat(3,1fr);gap:1rem}.dark article{border-top:1px solid #759583;padding:1.2rem .9rem 0 0}.resources a{color:#315c34;font-weight:700}.contact{background:#e5eddf}.contact-grid{grid-template-columns:1.1fr 1fr;gap:clamp(1rem,6vw,5rem)}form{display:grid;gap:.65rem}form label{font-weight:650}select,textarea{width:100%;background:#fafcf8;border:1px solid #8ca091;border-radius:4px;padding:.6rem;color:#10251e}form button{justify-self:start}output:empty{display:none}footer{padding:2.5rem 0}footer .fine{font-size:.86rem;color:#d2e0d7;max-width:750px;margin:0}.fine + p{margin:0}@media(max-width:720px){.wrap{width:calc(100% - 2rem)}.bar{flex-wrap:wrap;gap:.55rem;padding:.65rem 0}.bar nav{order:3;width:100%;gap:1rem}.bar .outline{padding:.35rem .7rem}.bar .actions{gap:.25rem}.hero-inner{padding:4rem 0 5.5rem}.columns,.explorer,.contact-grid{grid-template-columns:1fr}.sectors{display:flex;flex-wrap:wrap}.sectors button{padding:.5rem .65rem}}

/* BRAVESTA editorial layout */
:root {
  --ink: #132920;
  --green: #163b2d;
  --mint: #d3edaa;
  --paper: #f7f8f4;
  --line: #dce4db;
}
header {
  background: #fafbf7;
  color: var(--ink);
  border-color: var(--line);
}
.bar { min-height: 70px; }
.brand { letter-spacing: .18em; }
header .mark { color: #427344; }
header #language { border-left: 1px solid var(--line); padding-left: .95rem; }
header .outline { border-color: #adc0ae; }
header .outline:hover { background: #e9eee6; }
.hero {
  background: #112e24;
  border-bottom: 1px solid #284538;
}
.hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(1.5rem, 5vw, 5rem);
  padding: clamp(2.5rem, 6vw, 5rem) 0;
}
.hero-copy { padding-block: 1.4rem; }
.hero h1 { font-size: clamp(3rem, 6vw, 6rem); }
.hero p { color: #d9e5dc; margin-block: 1.3rem 1.65rem; }



.section { padding-block: clamp(3.2rem, 6.2vw, 5.5rem); }
.lead { margin-bottom: 2rem; }
.lead h2 { margin-bottom: .85rem; }
.explorer { gap: 0; border: 1px solid var(--line); border-radius: 10px; overflow: hidden; background: #fff; }
.sectors { padding: .65rem; gap: .25rem; background: #eef2eb; border-right: 1px solid var(--line); }
.sectors button { border-color: transparent; font-weight: 620; }
.sectors button:hover:not([aria-pressed=true]) { background: #e0e9de; }
.panel { border: 0; border-radius: 0; min-height: 295px; }
.panel p { color: #426055; }
.panel ul { margin-top: .55rem; }
.panel li + li { margin-top: .45rem; }
.columns { gap: clamp(.8rem, 2vw, 1.5rem); }
.dark article { padding-top: 1.25rem; }
.dark article p { color: #d3e0d7; }
.resources article { display: flex; flex-direction: column; padding: clamp(1.2rem, 2.7vw, 2rem); border-radius: 9px; }
.resources a { margin-top: auto; align-self: flex-start; }
.contact { background: #e8eee4; }
form { border-radius: 9px; }
form button { margin-top: .4rem; }
@media (max-width: 800px) {
  .hero-inner { grid-template-columns: 1fr; gap: 1.2rem; }
  .hero-copy { padding-bottom: 0; }

}
@media (max-width: 720px) {
  html { scroll-padding-top: 7.5rem; }
  .bar nav { justify-content: space-between; gap: .65rem; }
  .sectors { border-right: 0; border-bottom: 1px solid var(--line); }
  .sectors button { font-size: .92rem; }
  .panel { min-height: 0; }

}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

.document-note {
  border-top: 1px solid var(--line);
  margin-top: 1.2rem;
  padding-top: .85rem;
}
.document-note p { margin: .25rem 0 0; }

.brazil-map {
  margin: 0;
  padding: clamp(1rem, 3vw, 2rem);
  border: 1px solid #466b55;
  border-radius: 10px;
  background: radial-gradient(ellipse at 65% 35%, #305b43, #16392b 75%);
}
.map-heading {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: baseline;
  gap: .2rem 1rem;
  color: #d9e5dc;
  font-size: .9rem;
}
.states-map {
  display: block;
  width: min(100%, 390px);
  height: auto;
  margin: .45rem auto;
}
.map-legend {
  display: flex;
  flex-wrap: wrap;
  column-gap: .9rem;
  row-gap: .3rem;
  list-style: none;
  padding: .8rem 0 0;
  margin: 0 0 .45rem;
  border-top: 1px solid #466b55;
  font-size: .86rem;
}
.map-legend li { display: flex; align-items: center; gap: .35rem; }
.map-legend li::before {
  content: "";
  width: .55rem;
  height: .55rem;
  border-radius: 50%;
  background: var(--region-color);
}
.map-legend li:nth-child(1) { --region-color: #b7d999; }
.map-legend li:nth-child(2) { --region-color: #d8edaa; }
.map-legend li:nth-child(3) { --region-color: #86b798; }
.map-legend li:nth-child(4) { --region-color: #a6cfb3; }
.map-legend li:nth-child(5) { --region-color: #d0dfb4; }
.map-source { color: #c8dbca; font-size: .82rem; }

.states-map { overflow: visible; fill: #829d83; }
.map-state { cursor: pointer; fill: var(--region-color); }
.map-state :is(polygon,path) {
  stroke: #1e4233;
  stroke-width: 1;
  stroke-linejoin: round;
  vector-effect: non-scaling-stroke;
}
.map-state:hover, .map-state:focus-visible, .map-state[aria-current=true] { fill: #f3ce79; }
.map-state:focus-visible :is(polygon,path), .map-state[aria-current=true] :is(polygon,path) {
  stroke: #fff9e6;
  stroke-width: 1.6;
}
.region-N { --region-color: #b7d999; }
.region-NE { --region-color: #d8edaa; }
.region-CW { --region-color: #86b798; }
.region-SE { --region-color: #a6cfb3; }
.region-S { --region-color: #d0dfb4; }

.state-guide-header {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 1.5rem;
}
.state-guide-header h2 { margin-bottom: 0; }
.state-picker label { display: block; font-weight: 650; margin-bottom: .4rem; }
.state-picker select { min-width: min(15rem, 100%); }
.state-guide {
  background: white;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: clamp(1.2rem, 4vw, 2.5rem);
}
.state-guide h3 { font: 2rem/1.1 Georgia, serif; }
#state-meta { margin-bottom: .45rem; color: #426055; }
.state-topics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  gap: 1.2rem;
}
.state-topics > div { border-top: 1px solid var(--line); }
.state-topics h4 { margin: .8rem 0 .45rem; }
.state-topics ul { padding-left: 1.2rem; margin: 0; }
.state-topics a { color: #315c34; text-underline-offset: .18em; }
#state-details + #sectors { padding-top: 0; }
@media (max-width: 720px) {
  .state-picker { width: 100%; }
  .state-topics { grid-template-columns: 1fr; }
}

.state-extras {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 1.25rem;
  margin-top: 1.7rem;
  padding-top: 1.2rem;
  border-top: 1px solid var(--line);
}
.state-extras h4 { margin: 0 0 .5rem; }
.state-extras p { color: #426055; margin-bottom: .65rem; }
.state-extras a { color: #315c34; text-underline-offset: .18em; }
.state-video-actions a { display: inline-flex; align-items: center; min-height: 44px; }
.state-video-actions { display: flex; align-items: center; flex-wrap: wrap; gap: .5rem 1rem; }
#state-video-player iframe,
.state-video-preview {
  display: block;
  border: 0;
  border-radius: .5rem;
  width: 100%;
  aspect-ratio: 16 / 9;
  margin-bottom: .75rem;
  background: #12291f;
}
.state-video-preview {
  position: relative;
  cursor: pointer;
  overflow: hidden;
  padding: 0;
}
.state-video-preview:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 3px;
}
.state-video-preview img {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.state-video-preview img[hidden] { display: none; }
.state-video-poster-name {
  position: absolute;
  inset-inline: 0;
  bottom: 0;
  padding: .6rem 1rem;
  background: #12291f;
  color: white;
  font-weight: 700;
}
.state-video-preview img:not([hidden]) ~ .state-video-poster-name { display: none; }
.state-video-play {
  position: absolute;
  inset: 50% auto auto 50%;
  transform: translate(-50%, -50%);
  display: grid;
  place-items: center;
  width: 3.75rem;
  height: 2.65rem;
  border-radius: .75rem;
  background: #c00;
}
.state-video-preview:hover .state-video-play,
.state-video-preview:focus-visible .state-video-play { background: #a60000; }
.state-video-play::before {
  content: '';
  border-block: .5rem solid transparent;
  border-left: .8rem solid white;
}
@media (max-width: 720px) {
  .state-extras { grid-template-columns: 1fr; }
}

.brand {
  display: inline-flex;
  align-items: center;
}
.brand-art {
  position: relative;
  width: clamp(8rem, 16vw, 11rem);
  aspect-ratio: 6 / 1;
  overflow: hidden;
}
.brand-art img {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 108%;
  max-width: none;
  height: auto;
}
footer .brand {
  background: #fff;
  border-radius: .25rem;
  padding: .45rem .55rem;
  margin-bottom: .65rem;
}

.country-nav { white-space: nowrap; }
.country-overview { background: #edf3ea; border-block: 1px solid var(--line); }
.country-facts, .country-topics { display: grid; gap: 1rem; }
.country-facts { grid-template-columns: repeat(3, minmax(0, 1fr)); margin: 0 0 1rem; }
.country-facts > div, .country-topics article {
  border: 1px solid var(--line);
  border-radius: 9px;
  padding: clamp(1rem, 3vw, 1.75rem);
  background: white;
}
.country-facts dt { font-weight: 650; }
.country-facts dd { margin: .35rem 0 0; }
.country-facts strong { display: block; font: clamp(1.65rem, 3vw, 2.75rem)/1.12 Georgia, serif; margin-bottom: .6rem; }
.country-topics { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.country-links { display: flex; flex-wrap: wrap; gap: .4rem 1rem; }
.country-facts a, .country-links a { font-size: .9rem; font-weight: 650; color: #315c34; text-underline-offset: .18em; }
@media (max-width: 720px) {
  .bar nav { flex-wrap: wrap; justify-content: flex-start; column-gap: .85rem; }
  .country-facts, .country-topics { grid-template-columns: 1fr; }
  #about-brazil { scroll-margin-top: 3rem; }
}

.hero-market {
  max-width: 32rem;
  margin-top: 1.65rem;
  padding-top: 1.15rem;
  border-top: 1px solid #547062;
}
.hero .hero-market p { margin: 0 0 .65rem; font-size: 1rem; font-weight: 650; color: white; }
.hero-market dl { display: flex; flex-wrap: wrap; gap: .75rem 2rem; margin: 0 0 .65rem; }
.hero-market dt, .hero-market a { font-size: .9rem; color: #d9e5dc; }
.hero-market dd { margin: 0; color: var(--mint); font: 1.55rem/1.3 Georgia, serif; }
.sector-brief { margin-top: 1.25rem; }
.brief-fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .65rem; }
.brief-fields label { display: block; margin-bottom: .25rem; }
.brief-fields input {
  width: 100%;
  border: 1px solid #8ca091;
  border-radius: 4px;
  padding: .6rem;
  background: #fafcf8;
  color: var(--ink);
  font: inherit;
}
.brief-fields input:focus-visible { outline: 3px solid #63963c; outline-offset: 3px; }
@media (max-width: 480px) {
  .brief-fields { grid-template-columns: 1fr; }
}

.visually-hidden {
  position: absolute;
  inline-size: 1px;
  block-size: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}
header #language {
  width: auto;
  max-inline-size: 100%;
  min-block-size: 2.5rem;
  padding: .35rem .5rem;
  border: 1px solid #adc0ae;
  border-radius: 5px;
  background: #fff;
  direction: ltr;
  font-size: .9rem;
}
#language-note { padding-block: 0 .4rem; font-size: .875rem; }
html[dir="rtl"] .sectors button { text-align: start; }
html[dir="rtl"] .sectors { border-right: 0; border-inline-end: 1px solid var(--line); }
html[dir="rtl"] .panel ul { padding-left: 0; padding-inline-start: 1.3rem; }
@media (max-width: 720px) {
  html { scroll-padding-top: 10rem; }
  html[dir="rtl"] .sectors { border-inline-end: 0; }
}

/* Landing page, responsive navigation and interaction states */
:root {
  --ink: #142820;
  --green: #204634;
  --mint: #d9efa9;
  --paper: #f6f7f2;
  --line: #d9e2d6;
  --radius: 1.25rem;
  --shadow: 0 16px 40px #112e2410;
  --header-height: 5rem;
}
html { scroll-padding-top: calc(var(--header-height) + 1rem); }
body { overflow-wrap: anywhere; }
:where(a, button, input, select, textarea):focus-visible { outline: 3px solid #6f9843; outline-offset: 4px; }
.wrap { width: min(78rem, calc(100% - clamp(2rem, 7vw, 6rem))); }
header { background: #fafbf8; box-shadow: 0 1px 12px #12291f0c; }
header .bar {
  width: min(88rem, calc(100% - clamp(1.5rem, 4vw, 4rem)));
  min-height: 4.5rem;
  flex-wrap: nowrap;
  gap: .45rem clamp(.45rem, 1.2vw, 1rem);
  padding-block: .5rem;
}
header .brand { display: inline-flex; align-items: center; flex: none; min-height: 44px; }
header .brand-art { width: clamp(6rem, 11vw, 10rem); }
header nav { justify-content: center; flex-wrap: nowrap; gap: .2rem; }
header nav a,
header .header-brief,
header #language,
header #menu-toggle {
  min-height: 44px;
  padding: .4rem .65rem;
  border-radius: .55rem;
  font-size: .875rem;
  font-weight: 650;
  line-height: 1.2;
}
header nav a {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  white-space: nowrap;
}
header nav a:hover, header nav a:focus-visible { background: #e8efe2; text-decoration: none; }
header .country-nav { border-color: transparent; }
.header-actions { flex: none; justify-content: end; flex-wrap: nowrap; gap: .4rem; }
header #language { width: clamp(7rem, 10vw, 9rem); }
header .header-brief { flex: none; white-space: nowrap; }
#language-note { margin: 0 auto; color: #426055; }
#menu-toggle, header nav .mobile-brief { display: none; }
.outline, .primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  border-radius: .65rem;
  text-align: center;
  transition: background-color .2s, border-color .2s, box-shadow .2s, transform .2s;
}
.primary:hover { box-shadow: 0 6px 18px #15291920; transform: translateY(-2px); }
.primary:active, .outline:active { transform: translateY(1px); }

.hero {
  color: #fff;
  background: radial-gradient(ellipse at 82% 30%, #315b36 0, transparent 55%), linear-gradient(135deg, #0f261d 8%, #142f22 70%);
}
.hero-inner { gap: clamp(1.5rem, 5vw, 5.5rem); padding-block: clamp(2.4rem, 6vw, 5.5rem); }
.hero-copy { padding: 0; min-width: 0; }
.hero h1 { font-size: clamp(3.15rem, 6.4vw, 6.6rem); line-height: .99; text-wrap: balance; }
.hero p { max-width: 34rem; }
.hero-market { border-top: 1px solid #ffffff33; max-width: none; }
.hero-market dl { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .65rem; }
.hero-market dl > div { padding: .75rem .9rem; border-radius: .75rem; background: #f6ffeb0c; border: 1px solid #f6ffeb25; }
.hero-market dd { font-size: clamp(1.2rem, 2.1vw, 1.85rem); }
.brazil-map {
  min-width: 0;
  border-radius: var(--radius);
  border-color: #c6e6b750;
  background:
    radial-gradient(ellipse at center, #6eab7054, transparent 68%),
    repeating-linear-gradient(0deg, #ddf6ce0b 0 1px, transparent 1px 28px),
    repeating-linear-gradient(90deg, #ddf6ce0b 0 1px, transparent 1px 28px),
    #163628;
  box-shadow: 0 24px 58px #071a1066;
}
.brazil-map figcaption { display: flex; flex-wrap: wrap; gap: .4rem .8rem; align-items: baseline; }
.map-legend { order: -1; width: 100%; }
.map-source[href="#state-details"] { display: inline-flex; min-height: 44px; align-items: center; font-weight: 700; color: var(--mint); }
.map-state { transition: fill .22s ease; }
.map-state :is(polygon, path) { transition: stroke .22s ease, stroke-width .22s ease; }
.states-map { width: min(100%, 405px); margin-block: .65rem 1rem; filter: drop-shadow(0 10px 16px #0b291b75); }

.section { padding-block: clamp(3.3rem, 7vw, 6.5rem); }
.lead h2, .state-guide-header h2 { text-wrap: balance; }
#about-brazil { scroll-margin-top: 0; }
.state-guide, .explorer, .contact form { border-radius: var(--radius); box-shadow: var(--shadow); }
.state-guide h3 { font-size: clamp(2rem, 4vw, 3.25rem); margin-bottom: 1.3rem; }
.state-topics { gap: .9rem; }
.state-topics > div { min-width: 0; background: #f4f7f0; border: 1px solid #e0e8d9; border-radius: .8rem; padding: .9rem 1rem; }
.state-topics > div:first-child { background: #e9f1e2; }
.state-topics h4 { margin-top: 0; }
.state-topics ul { padding-left: 0; padding-inline-start: 1.2rem; }
.state-extras { gap: 1.25rem 2rem; }
.state-picker select, #brief :is(select, input, textarea) { min-height: 44px; border-radius: .65rem; }
#state-video-player iframe, .state-video-preview { border-radius: .8rem; }
.state-video-preview img, .state-video-play { transition: transform .3s ease; }

#state-details + #sectors { padding-top: 1rem; }
.explorer { grid-template-columns: minmax(12rem, .82fr) minmax(0, 2fr); overflow: visible; }
.sectors { border: 0; border-inline-end: 1px solid var(--line); border-start-start-radius: var(--radius); border-end-start-radius: var(--radius); }
.sectors button {
  min-height: 44px;
  text-align: start;
  border-radius: .6rem;
  transition: background-color .2s, color .2s;
}
.panel { min-width: 0; border-start-end-radius: var(--radius); border-end-end-radius: var(--radius); }
.document-note { border: 1px solid #e3ebdd; background: #f3f6ef; padding: .9rem 1rem; border-radius: .8rem; }

.country-overview { background: #eaf0e5; }
.country-facts > div { background: #153629; color: #f4faee; border: 0; border-radius: 1rem; }
.country-facts strong { color: var(--mint); }
.country-facts a { color: #e3efd8; }
.country-topics article, .resources article { border-radius: 1rem; }
.dark { background: linear-gradient(135deg, #122a20, #254634); }
.dark article { border-top: 2px solid #bdd7a0; }
.contact { background: radial-gradient(ellipse at 20% 50%, #e1edcf, #eef2e7 70%); }

@media (hover: hover) and (pointer: fine) {
  .state-video-preview:hover img { transform: scale(1.04); }
  .state-video-preview:hover .state-video-play { transform: translate(-50%, -50%) scale(1.1); }
}
header[data-compact] .bar { flex-wrap: wrap; }
header[data-compact] nav {
  order: 3;
  width: 100%;
  display: none;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  max-height: 55vh;
  overflow: auto;
  padding: .25rem;
}
header[data-compact] nav a { white-space: normal; }
header[data-compact][data-menu-open] nav { display: grid; }
header[data-compact] #menu-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .45rem;
  color: var(--ink);
  background: #e9efe4;
  border: 1px solid #c8d7c5;
}
.menu-icon { width: .85rem; height: .65rem; border-block: 2px solid currentColor; }
@media (max-width: 76rem) {
  header:not([data-menu-ready]) .bar { flex-wrap: wrap; }
  header:not([data-menu-ready]) nav { order: 3; width: 100%; flex-wrap: wrap; }
}
@media (max-width: 50rem) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero h1 { font-size: clamp(2.85rem, 9vw, 4.5rem); }
  .country-facts { grid-template-columns: repeat(3, minmax(0,1fr)); }
}
@media (max-width: 45rem) {
  .explorer { grid-template-columns: 1fr; }
  .sectors, html[dir="rtl"] .sectors {
    border: 0;
    border-bottom: 1px solid var(--line);
    border-radius: var(--radius) var(--radius) 0 0;
    display: grid;
    grid-template-columns: repeat(2, minmax(0,1fr));
  }
  .panel { border-radius: 0 0 var(--radius) var(--radius); }
  .state-topics { grid-template-columns: 1fr; }
}
@media (max-width: 36rem) {
  header .bar { gap: .4rem; }
  header .header-brief { display: none; }
  header nav .mobile-brief { display: inline-flex; }
  header .brand-art { width: clamp(5.25rem, 24vw, 7rem); }
  header #language { width: clamp(6rem, 26vw, 8rem); padding-inline: .35rem; }
  #menu-toggle .menu-icon { display: none; }
  header[data-compact] nav { grid-template-columns: 1fr 1fr; }
  .hero .actions { gap: .6rem; }
  .hero .actions > a { flex: 1 1 12rem; }
  .country-facts { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .primary:hover, .primary:active, .outline:active, .state-video-preview:hover img { transform: none; }
}

.legal-section { background: #eaf0e6; border-block: 1px solid var(--line); }
.legal-grid { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: clamp(1.5rem, 6vw, 5rem); align-items: start; }
.legal-overview > p { max-width: 39rem; }
.legal-checks { list-style: none; padding: 0; margin: 1.5rem 0 0; }
.legal-checks li { border-top: 1px solid #bccdb8; padding-block: .8rem; }
.legal-checks h3, .legal-checks p { margin: 0; }
.legal-checks h3 { margin-bottom: .3rem; }
.legal-resource { border-radius: var(--radius); background: #153629; color: #f6faf2; padding: clamp(1.2rem, 4vw, 2.5rem); }
.legal-resource .eyebrow { color: var(--mint); margin-bottom: .65rem; }
.legal-resource h3 { font: 500 clamp(1.8rem, 4vw, 2.75rem)/1.1 Georgia, serif; }
.legal-registries { margin-top: 1.15rem; padding-top: .85rem; border-top: 1px solid #638473; display: grid; justify-items: start; gap: .45rem; }
.legal-registries h4 { margin: 0; }
.legal-registries a { color: #edf6e2; text-underline-offset: .18em; }
.site-footer { padding: clamp(2.25rem, 5vw, 4rem) 0 5.5rem; background: #102a20; }
.footer-grid { display: grid; grid-template-columns: 1.25fr repeat(3,minmax(0,1fr)); gap: 1.75rem; }
.footer-brand p { color: #d2e0d7; }
.footer-group h2 { font: 700 1rem/1.3 system-ui,sans-serif; letter-spacing: normal; margin: 0 0 .65rem; color: var(--mint); }
.footer-group ul { list-style: none; margin: 0; padding: 0; }
.footer-group a { display: inline-flex; align-items: center; min-height: 40px; text-underline-offset: .18em; text-decoration: none; }
.footer-group a:hover { text-decoration: underline; }
.footer-bottom { border-top: 1px solid #547362; margin-top: 1.75rem; padding-top: 1.1rem; display: flex; flex-wrap: wrap; align-items: start; justify-content: space-between; gap: 1rem; }
.footer-bottom a { color: var(--mint); text-underline-offset: .2em; }
@media (max-width: 56rem) {
  .footer-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
}
@media (max-width: 44rem) {
  .legal-grid { grid-template-columns: 1fr; }
}
@media (max-width: 24rem) {
  .footer-grid { gap: 1.1rem; }
  .footer-brand { grid-column: 1 / -1; }
}

/* Section navigation and final actions */
.skip-link {
  position: fixed;
  inset-inline-start: 1rem;
  inset-block-start: .5rem;
  z-index: 8;
  transform: translateY(-170%);
  padding: .65rem .9rem;
  border-radius: .5rem;
  background: #fff;
  color: var(--ink);
}
.skip-link:focus { transform: none; }
#site-navigation a[aria-current="location"] { background: #e4eddc; color: #173c28; }
.state-picker { min-width: min(100%, 17rem); }
.state-picker select { width: 100%; }
.state-topics > div:first-child { border-inline-start: 3px solid #638c53; }
.sectors button[aria-pressed="true"] { box-shadow: inset 0 -2px #d9efa96b; }

.country-facts dd strong { font-variant-numeric: tabular-nums; }
.country-topics article, .resources article { padding-block: clamp(1.15rem, 3vw, 2rem); }
.resources a { display: inline-flex; align-items: center; min-height: 44px; }
.resources article { box-shadow: 0 6px 18px #112e2408; }
#approach article { padding: 1.1rem; border-radius: .65rem; background: #ffffff09; }
#approach article p { margin-bottom: 0; }
.legal-checks li:last-child { border-bottom: 1px solid #bccdb8; }
.legal-registries a { display: inline-flex; align-items: center; min-height: 36px; }
#brief { align-content: start; }
#brief #status:not(:empty) { padding: .65rem .8rem; border-radius: .55rem; background: #e6f0dd; }
.footer-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: clamp(1.5rem, 5vw, 3rem);
  padding: clamp(1rem, 3vw, 1.7rem);
  border: 1px solid #527464;
  border-radius: var(--radius);
  background: #1b3d2e;
}
.footer-actions h2 { margin: 0; font-size: clamp(1.4rem, 2.5vw, 2.25rem); line-height: 1.1; }
.footer-actions .actions { gap: .55rem; }
.footer-actions button { color: #f5f8f2; background: transparent; }
.footer-actions button:hover { background: #ffffff15; }
.footer-bottom > a { display: flex; min-height: 44px; align-items: center; }
@media (max-width: 36rem) {
  .footer-actions .actions { width: 100%; }
  .footer-actions .actions > * { flex: 1 1 8rem; }
  .state-picker { width: 100%; }
}
@media (max-width: 28rem) {
  #tucano-launch { padding: .25rem; }
  #tucano-launch > span:last-child { position: absolute; clip-path: inset(50%); width: 1px; height: 1px; overflow: hidden; }
}
@media (prefers-reduced-motion: no-preference) {
  header[data-menu-open] #site-navigation { animation: open-navigation .18s ease-out; }
  #tucano-dialog[open] { animation: open-navigation .22s ease-out; }
}
@keyframes open-navigation {
  from { opacity: .8; translate: 0 -.35rem; }
  to { opacity: 1; translate: 0 0; }
}

.ir-section { background: #f5f8f1; border-block: 1px solid var(--line); }
.ir-head { display: flex; align-items: start; justify-content: space-between; flex-wrap: wrap; gap: 1rem; margin-bottom: 1.4rem; }
.ir-head .lead { margin: 0; max-width: 43rem; }
.ir-head .lead p { margin: 0; }
.ir-head > a { margin-block-start: .8rem; }
.ir-grid { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr); gap: clamp(1rem, 4vw, 2.5rem); align-items: start; }
.ir-evidence, .ir-tools { border: 1px solid var(--line); border-radius: var(--radius); background: white; padding: clamp(1rem, 3vw, 1.8rem); }
.ir-tools { background: #edf2e7; }
.ir-tools ul { margin: 0 0 .8rem; padding-inline-start: 1.15rem; }
.ir-tools li + li { margin-top: .55rem; }
.ir-tools a:not(.outline) { color: #285b38; text-underline-offset: .18em; }
.ir-template { margin-top: 1rem; padding-top: 1rem; border-top: 1px solid #bccdb8; }
.ir-template h4 { margin: 0 0 .4rem; }
.ir-template p { margin: 0 0 .65rem; }
.ir-faq { margin-top: 2rem; }
.ir-section details { border-top: 1px solid var(--line); }
.ir-section summary { font-weight: 690; cursor: pointer; padding: .7rem .25rem; min-height: 44px; }
.ir-section summary:hover, .ir-section details[open] summary { color: #285b38; }
.ir-section details > :is(p,ul) { max-width: 68ch; margin: .1rem 0 .9rem; }
.ir-section details ul { padding-inline-start: 1.4rem; }
.ir-section details li + li { margin-top: .4rem; }
@media (max-width: 45rem) { .ir-grid { grid-template-columns: 1fr; } }
.ir-section summary:focus-visible { outline: 3px solid #6f9843; outline-offset: 3px; }

.foreign-investors { margin-block: 1.35rem 2rem; }
.foreign-routes { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .8rem; }
.foreign-routes article { display: flex; flex-direction: column; padding: clamp(1rem, 3vw, 1.5rem); background: white; border: 1px solid var(--line); border-radius: .85rem; }
.foreign-routes h4, .foreign-transfer h4 { margin: 0 0 .5rem; font-size: 1.12rem; }
.foreign-routes a { margin-top: auto; align-self: start; color: #285b38; font-weight: 650; text-underline-offset: .18em; }
.foreign-transfer { margin-top: .8rem; padding: clamp(1rem, 3vw, 1.5rem); border-radius: .85rem; background: #17392b; color: #f6faf2; }
.foreign-transfer a { color: var(--mint); text-underline-offset: .18em; }
.foreign-brief { padding-inline: .8rem; border: 1px solid var(--line); border-radius: .65rem; background: #f4f7ef; }
.foreign-brief summary { cursor: pointer; font-weight: 650; padding-block: .7rem; }
.foreign-brief summary:focus-visible { outline: 3px solid #6f9843; outline-offset: 3px; }
.foreign-brief p { margin: .65rem 0; font-size: .88rem; color: #426055; }
@media (max-width: 40rem) { .foreign-routes { grid-template-columns: 1fr; } }

.ir-tools .official-sources { list-style: none; padding: 0; }
.official-sources li { padding-block: .55rem; border-top: 1px solid #c8d5c4; }
.ir-tools .official-sources li + li { margin: 0; }
.official-sources a { font-weight: 680; }
.official-sources small { display: block; margin-top: .17rem; color: #3c584b; line-height: 1.4; }

.state-link-note { display: block; margin-top: .45rem; color: #426055; }
@media (max-width: 45rem) {
  .state-topics a { display: inline-flex; align-items: center; min-height: 44px; }
}

.destination-gallery {
  margin: 0 0 1.25rem;
  border: 1px solid var(--line);
  border-radius: .95rem;
  background: #f4f7f0;
  overflow: hidden;
}
.destination-gallery-head, .destination-slide-title {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: .45rem .75rem;
}
.destination-gallery-head { padding: .65rem .85rem; }
.destination-gallery-head h4 { margin: 0; font-size: 1.1rem; }
.destination-gallery-controls { display: flex; gap: .35rem; }
.destination-gallery-controls button {
  min-height: 44px;
  border: 1px solid #afc3ab;
  border-radius: .5rem;
  background: white;
  color: var(--ink);
  padding-inline: .65rem;
}
.destination-gallery-controls button:hover { background: #e5efdd; }
.destination-photo { margin: 0; }
.destination-photo-frame { background: #153629; color: #fff; display: grid; place-items: center; aspect-ratio: 2.25; max-height: 26rem; }
.destination-photo-frame img { display: block; width: 100%; height: 100%; min-height: 0; object-fit: cover; }
.destination-photo-frame [hidden] { display: none; }
.destination-photo figcaption { padding: .7rem .85rem .85rem; }
.destination-slide-title strong { font-size: clamp(1.05rem, 2.5vw, 1.4rem); }
#destination-count { color: #426055; font-size: .9rem; font-variant-numeric: tabular-nums; }
.destination-photo-links { display: flex; flex-wrap: wrap; align-items: center; gap: .2rem .75rem; font-size: .875rem; }
.destination-photo-links a { color: #285b38; padding-block: .3rem; text-underline-offset: .18em; }
@media (max-width: 42rem) { .destination-photo-frame { aspect-ratio: 1.6; } }
#state-video-title { font-weight: 680; color: var(--ink); margin-bottom: .25rem; }
.destination-photo-frame { touch-action: pan-y pinch-zoom; }
.destination-photo-frame img { pointer-events: none; }
.destination-gallery-controls button:disabled { opacity: .55; cursor: default; }

.product-gallery { margin-block: 1rem; }
.product-picker { display: grid; gap: .35rem; padding: 0 .85rem .75rem; }
.product-picker select {
  max-width: 100%;
  width: min(100%, 30rem);
  min-height: 44px;
  padding: .35rem .65rem;
  border: 1px solid #aabbac;
  border-radius: .45rem;
  background: white;
  color: inherit;
  font: inherit;
}
.product-gallery .destination-gallery-controls button { min-height: 44px; }
.product-gallery .destination-photo-links[hidden],
.product-gallery .destination-photo-frame[hidden] { display: none; }
.product-data-note { margin: 0; padding: 0 .85rem .85rem; }
.product-data-note a { color: #285b38; text-underline-offset: .18em; }
#product-count { color: #426055; font-variant-numeric: tabular-nums; }

/* Investor landing and state research */
.hero-inner {
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  align-items: center;
}
.hero h1 { font-size: clamp(2.75rem, 5.2vw, 5.4rem); }
.investor-start {
  padding: clamp(1rem, 3vw, 2rem);
  border: 1px solid #bde88555;
  border-radius: var(--radius);
  background: #142f24;
}
.investor-start h2 { margin: 0 0 .65rem; font-size: clamp(1.5rem, 3vw, 2.25rem); }
.investor-start ul { margin: 0; padding: 0; list-style: none; }
.investor-start li { padding-block: .6rem; border-top: 1px solid #bde88544; }
.investor-start a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: var(--mint);
  font-weight: 700;
  text-underline-offset: .18em;
}
.hero .investor-start p { margin: 0; font-size: .95rem; }
.state-map-panel { margin-block: 0 1.25rem; }
.state-map-panel summary { min-height: 44px; padding: .6rem 0; cursor: pointer; font-weight: 700; }
.state-map-panel .brazil-map { width: min(100%, 34rem); margin: .35rem auto 0; box-shadow: none; }
.state-investment { margin-block-end: 1rem; padding: 1rem; background: #e9f1e2; border-radius: .75rem; }
.state-investment h4, .state-investment p { margin: 0 0 .35rem; }
.state-investment a { display: inline-flex; align-items: center; min-height: 44px; }
.state-topics { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (max-width: 50rem) {
  .hero-inner { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 36rem) {
  .state-topics { grid-template-columns: minmax(0, 1fr); }
}

/* Readable map labels and responsive reading widths */
.brazil-map { color: #f3f8ee; }
.map-heading, .map-source { color: #e0eee0; font-size: .9375rem; }
.map-legend { color: #f3f8ee; font-size: .9375rem; line-height: 1.4; }
.map-source { text-underline-offset: .2em; }
.map-source[href="#state-select"] {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: var(--mint);
  font-weight: 700;
}
:is(.lead, .foreign-routes, .foreign-transfer, .ir-evidence, .state-investment) p {
  max-inline-size: 68ch;
}
@media (max-width: 36rem) {
  .section { padding-block: clamp(2.25rem, 9vw, 3.25rem); }
  .section h2 { font-size: clamp(1.95rem, 8vw, 2.65rem); }
  .map-legend { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .brazil-map figcaption { column-gap: .65rem; }
}
