
@font-face{font-family:Manrope;src:url("assets/manrope.ttf") format("truetype");font-display:swap}
*{box-sizing:border-box}
html{scroll-padding-top:5rem}
.chapter-page{margin:0;background:#edf5fa;color:#102d46;font-family:Manrope,Arial,sans-serif;line-height:1.56;--edge:clamp(1rem,3.6vw,4rem);--type:clamp(1rem,.93rem + .24vw,1.22rem)}
.chapter-page a{color:inherit;text-underline-offset:.23em}
.chapter-page :focus-visible{outline:3px solid currentColor;outline-offset:4px}
.chapter-nav{position:sticky;top:0;z-index:20;display:flex;align-items:center;justify-content:space-between;gap:1rem;padding:.35rem var(--edge);background:#edf5fa;color:#102d46;font-size:clamp(.88rem,.76rem + .35vw,1.15rem)}
.chapter-nav .brand{font-size:1.15em;font-weight:850;letter-spacing:-.06em;text-decoration:none}
.chapter-nav nav{display:flex;align-items:center;gap:clamp(.75rem,2.5vw,2.5rem)}
.chapter-nav nav>a{display:grid;align-items:center;min-height:44px}
.chapter{font-size:var(--type)}
.chapter h1,.chapter h2,.chapter h3{line-height:1.04;letter-spacing:-.043em;text-wrap:balance}
.chapter h1{font-size:clamp(2.55rem,7vw,8.5rem);margin:0;line-height:.98;letter-spacing:-.065em}
.chapter h2{font-size:clamp(1.9rem,4vw,4.5rem);margin:0}
.chapter h3{font-size:clamp(1.35rem,2.5vw,2.65rem);margin:.15em 0 .4em}
.chapter p{max-width:62ch;margin:.75em 0}
.chapter figure{margin:0;min-width:0}
.chapter img{display:block;width:100%;height:auto;object-fit:cover}
.chapter-hero{min-height:calc(100svh - 52px);display:grid;grid-template-rows:auto 1fr}
.chapter-cover{width:100%;height:clamp(15rem,45svh,39rem);object-position:var(--cover-focus,center)}
.chapter-hero .chapter-cover{height:clamp(15rem,45svh,39rem)}
.chapter-masthead,.chapter-section,.chapter-context,.chapter-footer{padding-inline:var(--edge)}
.chapter-masthead{display:grid;grid-template-columns:minmax(0,40fr) minmax(0,60fr);gap:clamp(1.1rem,4vw,5rem);align-items:center;padding-block:clamp(1.7rem,5vw,5rem)}
.chapter-masthead .chapter-hero-copy{grid-column:2}
.chapter-fact{grid-column:1;grid-row:1;align-self:center}
.chapter-fact strong{display:block;font-size:clamp(2.15rem,5.45vw,6rem);line-height:1.05;letter-spacing:-.065em;font-variant-numeric:tabular-nums;white-space:nowrap}
.chapter-fact p{max-width:34ch;font-size:.9em}
.chapter-button{display:inline-flex;align-items:center;min-height:44px;padding:.5rem .95rem;background:#123956;color:#fff!important;font-size:.92em;font-weight:800;text-decoration:none}
.chapter-section{padding-block:clamp(3.5rem,9vw,9rem);background:var(--theme-base,#c8dfed);color:var(--ink,#113956);min-height:88svh}
.chapter-section>header{display:grid;grid-template-columns:40fr 60fr;gap:var(--edge);margin-bottom:clamp(1.5rem,4vw,4rem)}
.chapter-section>header p{margin:0}
.chapter-graphs{display:grid;gap:clamp(2rem,6vw,6rem)}
.chapter-view{display:grid;grid-template-columns:minmax(0,1fr);gap:var(--edge);min-width:0}
.chapter-view.work-with-photo{grid-template-columns:minmax(0,1.4fr) minmax(0,1fr);align-items:center}
.chapter-view.work-with-photo img{aspect-ratio:1 / 1.1;object-position:83% center}
.chapter-view figcaption,.chapter-meta{font-size:.88em}
.chapter-view figcaption{margin-top:.45em}
.chapter-graph{min-width:0}
.chapter-graph svg{display:block;width:100%;height:auto;max-height:62svh}
.chapter-graph svg :is(circle,rect).is-selected{stroke:currentColor;stroke-width:4}
.chapter-graph .mobile-values{display:none}
.chapter-meta{display:flex;flex-wrap:wrap;gap:.75rem 2rem;margin-block:1.2rem}
.chapter-meta dt{font-weight:850}
.chapter-meta dd{margin:0;max-width:55ch}
.chart-note strong{display:block}
.chapter-controls{display:flex;flex-wrap:wrap;align-items:end;gap:1rem;margin:0 0 1.6rem}
.chapter-controls label{display:grid;gap:.2rem;font-weight:780}
.chapter-controls select,.chapter-action,.chapter-view summary{font:inherit;min-height:44px;padding:.48rem .7rem}
.chapter-controls select,.chapter-action{background:#edf5fa;color:#102d46}
.chapter-action{border:0;font-weight:850;cursor:pointer}
.chapter-view summary{cursor:pointer;font-weight:800;padding-inline:0}
.chapter-view table{border-collapse:collapse;width:100%;text-align:left}
.chapter-view caption{text-align:left;margin-block:.5rem}
.chapter-view th,.chapter-view td{padding:.5rem;border-bottom:1px solid currentColor;overflow-wrap:anywhere}
.chapter-view details{margin-block:.65rem}
.chapter-section [hidden]{display:none!important}
.chapter-context{padding-block:clamp(3.5rem,9vw,9rem);display:grid;grid-template-columns:minmax(0,2fr) minmax(0,3fr);gap:var(--edge);align-items:center}
.chapter-context img{aspect-ratio:4 / 3}
.chapter-context .context-cover{width:min(100%,11rem);aspect-ratio:auto;margin-block:1rem}
.chapter-next{display:grid;grid-template-columns:2fr 3fr;background:#102d46;color:#edf5fa}
.chapter-next a{align-self:center;padding:var(--edge);font-size:clamp(1.4rem,3.2vw,4rem);line-height:1.08;font-weight:800}
.chapter-next img{height:100%;min-height:15rem;max-height:32rem}
.chapter-footer{padding-block:clamp(2rem,5vw,5rem);background:#102d46;color:#edf5fa}
.chapter-footer a{display:inline-block;margin-right:1.25rem}
.chapter-footer strong{display:block;font-size:clamp(5rem,17vw,21rem);line-height:1;letter-spacing:-.075em}
@media(min-width:72rem){
 [data-indicador="hospedagem"] .chapter-graphs,[data-indicador="economia"] .chapter-graphs{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:720px){
 .chapter-nav .chapter-home{display:none}
 .chapter-masthead,.chapter-section>header,.chapter-view.work-with-photo,.chapter-context,.chapter-next{grid-template-columns:minmax(0,1fr)}
 .chapter-masthead .chapter-hero-copy,.chapter-fact{grid-column:auto;grid-row:auto}
 .chapter-fact strong{font-size:clamp(2rem,9vw,3.7rem)}
 .chapter-graph .mobile-values{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.3rem 1rem;font-size:.88em}
 .chapter-graph .mobile-values dd{margin:0;font-weight:800}
 .chapter-graph .point-value{display:none}
 .chapter-view.work-with-photo img{aspect-ratio:4 / 3}
 .chapter-next img{order:-1;aspect-ratio:2 / 1;min-height:0}
}
@media(prefers-reduced-motion:no-preference){
 .chapter-button:active,.chapter-action:active{transform:translateY(2px)}
 .chapter-hero h1{animation:chapter-enter .65s ease-out both}
 @keyframes chapter-enter{from{transform:translateY(.55em);opacity:0}to{transform:none;opacity:1}}
}

.chapter-hero-copy>p{font-size:max(1.125rem,var(--type))}
.masthead-action{grid-column:2;justify-self:start}
.chapter-masthead{column-gap:clamp(1.1rem,4vw,5rem);row-gap:1rem;align-content:center}
@media(max-width:720px){.masthead-action{grid-column:1}}

@media(prefers-reduced-motion:no-preference){
 .chapter-arrive{animation:chapter-reveal .44s var(--reveal-delay,0ms) ease-out backwards}
 @keyframes chapter-reveal{from{opacity:.15;transform:translateY(1rem)}to{opacity:1;transform:none}}
}

@media(max-width:720px){
 [data-indicador="trabalho"] .chapter-cover{object-position:94% 44%}
 .chapter-graph svg .axis-tick,.chapter-graph svg .axis-period{font-size:32px}
 .chapter-graph svg .axis-period-secondary{display:none}
}
