/* ===========================================================
   PLANTON × Musa · GRUPO PEREIRA HOTSITE
   Direção: editorial, climática, autoral, premium.
   =========================================================== */

:root {
  /* Paleta primária Musa */
  --deep-green:   #164E73;
  --dark-green:   #092A45;
  --accent-green: #718CEB;
  --cream:        #FFFFFF;
  --warm-white:   #FFFFFF;
  --light-section-bg: #F7EDE4;
  --near-black:   #020D18;
  --dashboard-green: #272727;

  /* Tons auxiliares */
  --muted:        #527D9A;
  --line-on-dark: rgba(255, 255, 255, 0.10);
  --line-on-light: rgba(9, 42, 69, 0.10);
  --text-cream-strong: rgba(255, 255, 255, 0.92);
  --text-cream-soft:   rgba(255, 255, 255, 0.62);
  --text-cream-mute:   rgba(255, 255, 255, 0.40);
  --text-dark-strong:  rgba(9, 42, 69, 0.92);
  --text-dark-soft:    rgba(9, 42, 69, 0.62);

  /* Categorias do Sankey */
  --c-plastico:  #D95B4A;
  --c-papel:     #4E8FD7;
  --c-vidro:     #8FBC6F;
  --c-metal:     #E4C35A;

  /* Tipografia */
  --f-sans:    'Instrument Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --f-serif:   'Instrument Serif', 'Times New Roman', Georgia, serif;
  --f-mono:    'Geist Mono', ui-monospace, 'SF Mono', Menlo, monospace;

  /* Layout */
  --gutter: clamp(20px, 4vw, 56px);
  --section-pad-y: clamp(80px, 12vh, 160px);
  --max-w: 1440px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--f-sans);
  font-weight: 400;
  font-size: 16px;
  line-height: 1.55;
  color: var(--text-cream-strong);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  transition: background-color 1.2s cubic-bezier(0.22, 0.61, 0.36, 1);
}

img, svg { display: block; max-width: 100%; }
button { font: inherit; cursor: pointer; border: none; background: none; color: inherit; }
a { color: inherit; text-decoration: none; }

::selection { background: var(--accent-green); color: var(--near-black); }

/* ============== NAVBAR / CO-BRANDING ============== */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px var(--gutter);
  mix-blend-mode: difference;
  color: #FFF;
  pointer-events: none;
  font-family: var(--f-sans);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: -0.01em;
  text-transform: none;
  transition: opacity 0.4s ease;
}
.navbar > * { pointer-events: auto; }
.brand-pair {
  display: flex;
  align-items: center;
  gap: 14px;
}
.brand-pair .brand-logo {
  width: 130px;
  height: 19px;
  flex: 0 0 auto;
}
.brand-pair .brand-logo--legacy {
  display: none;
}
.brand-pair .brand-logo--musa {
  width: 100px;
  height: auto;
  flex: 0 0 auto;
}
.brand-pair .x {
  opacity: 0.55;
  font-size: 13px;
}
.unit-abbr,
.unit--abbr {
  text-transform: none;
}
.nav-right {
  display: flex;
  gap: 28px;
  align-items: center;
}
.nav-right .nav-link {
  opacity: 0.6;
  transition: opacity 0.25s ease;
  position: relative;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-size: 12px;
}
.nav-right .nav-link::after {
  content: '';
  position: absolute;
  bottom: -3px;
  left: 0;
  width: 0;
  height: 1px;
  background: currentColor;
  transition: width 0.3s ease;
}
.nav-right .nav-link:hover,
.nav-right .nav-link.is-active { opacity: 1; }
.nav-right .nav-link.is-active::after { width: 100%; }

/* ── Hambúrguer (mobile) ── */
.nav-toggle {
  display: none;
  width: 34px;
  height: 34px;
  margin-right: -6px;
  padding: 0;
  align-items: center;
  justify-content: center;
}
.nav-toggle-box {
  position: relative;
  display: block;
  width: 26px;
  height: 14px;
}
.nav-toggle-line {
  position: absolute;
  left: 0;
  width: 100%;
  height: 1.6px;
  background: #fff;
  border-radius: 2px;
  transition: transform 0.42s cubic-bezier(0.76, 0, 0.24, 1), width 0.3s ease;
}
.nav-toggle-line:nth-child(1) { top: 0; }
.nav-toggle-line:nth-child(2) { bottom: 0; }
body.menu-open .nav-toggle-line:nth-child(1) { transform: translateY(6.2px) rotate(45deg); }
body.menu-open .nav-toggle-line:nth-child(2) { transform: translateY(-6.2px) rotate(-45deg); }

/* ── Menu mobile · overlay full-screen que desce do topo ── */
.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 90;
  background: var(--near-black);
  display: flex;
  flex-direction: column;
  padding: calc(env(safe-area-inset-top) + 104px) var(--gutter)
           calc(env(safe-area-inset-bottom) + 40px);
  transform: translateY(-100%);
  visibility: hidden;
  transition: transform 0.58s cubic-bezier(0.76, 0, 0.24, 1),
              visibility 0s linear 0.58s;
  -webkit-overflow-scrolling: touch;
  overflow-y: auto;
}
body.menu-open .mobile-menu {
  transform: translateY(0);
  visibility: visible;
  transition: transform 0.58s cubic-bezier(0.76, 0, 0.24, 1);
}
.mobile-menu::before {
  /* veladura sutil para dar profundidade editorial ao fundo */
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(120% 80% at 80% 0%, rgba(113, 140, 235, 0.12), transparent 60%);
  pointer-events: none;
}
.mobile-menu-inner {
  position: relative;
  display: flex;
  flex-direction: column;
  flex: 1;
  min-height: 0;
}
.mobile-menu-kicker {
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent-green);
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.5s ease 0.1s, transform 0.5s ease 0.1s;
}
.mobile-menu-list {
  list-style: none;
  margin: 28px 0 0;
  padding: 0;
  border-top: 1px solid var(--line-on-dark);
}
.mobile-menu-link {
  display: flex;
  align-items: baseline;
  gap: 18px;
  padding: 22px 0;
  border-bottom: 1px solid var(--line-on-dark);
  opacity: 0;
  transform: translateY(16px);
}
body.menu-open .mobile-menu-kicker {
  opacity: 1;
  transform: none;
}
body.menu-open .mobile-menu-link {
  opacity: 1;
  transform: none;
  transition: opacity 0.5s ease, transform 0.55s cubic-bezier(0.22, 0.61, 0.36, 1);
}
body.menu-open .mobile-menu-list li:nth-child(1) .mobile-menu-link { transition-delay: 0.16s; }
body.menu-open .mobile-menu-list li:nth-child(2) .mobile-menu-link { transition-delay: 0.24s; }
body.menu-open .mobile-menu-list li:nth-child(3) .mobile-menu-link { transition-delay: 0.32s; }
.mobile-menu-link .mm-index {
  font-family: var(--f-mono);
  font-size: 13px;
  letter-spacing: 0.08em;
  color: var(--accent-green);
  flex: 0 0 auto;
}
.mobile-menu-link .mm-label {
  font-family: var(--f-serif);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(34px, 11vw, 52px);
  line-height: 1;
  letter-spacing: -0.01em;
  color: var(--text-cream-strong);
  transition: color 0.25s ease;
}
.mobile-menu-link:active .mm-label { color: var(--accent-green); }
.mobile-menu-foot {
  margin-top: auto;
  padding-top: 36px;
  display: flex;
  flex-direction: column;
  gap: 22px;
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}
body.menu-open .mobile-menu-foot {
  opacity: 1;
  transform: none;
  transition-delay: 0.42s;
}
.mobile-menu-cta {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  align-self: flex-start;
  padding: 15px 26px;
  border: 1px solid var(--accent-green);
  border-radius: 100px;
  font-family: var(--f-mono);
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-cream-strong);
  transition: background-color 0.3s ease, color 0.3s ease;
}
.mobile-menu-cta:active {
  background: var(--accent-green);
  color: var(--near-black);
}
.mobile-menu-signature {
  font-family: var(--f-serif);
  font-style: italic;
  font-size: 18px;
  color: var(--text-cream-mute);
}
body.menu-open { overflow: hidden; }

/* ── Hero brand logos ── */

/* ── Scroll progress (vertical right) ── */
.scroll-progress {
  position: fixed;
  right: clamp(16px, 2.5vw, 32px);
  top: 50%;
  transform: translateY(-50%);
  z-index: 200;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 10px;
}
.sp-item {
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  opacity: 0.35;
  transition: opacity 0.3s ease;
}
.sp-item::before {
  content: attr(data-label);
  font-family: var(--f-sans);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: -0.01em;
  color: var(--near-black);
  white-space: nowrap;
  opacity: 0;
  transform: translateX(6px);
  transition: opacity 0.25s ease, transform 0.25s ease;
  mix-blend-mode: difference;
  color: #fff;
}
.sp-item:hover::before {
  opacity: 1;
  transform: translateX(0);
}
.sp-dash {
  display: block;
  width: 20px;
  height: 2px;
  border-radius: 2px;
  background: #fff;
  mix-blend-mode: difference;
  transition: width 0.35s cubic-bezier(0.22, 0.61, 0.36, 1), opacity 0.3s ease;
  flex-shrink: 0;
}
.sp-item:hover .sp-dash { width: 28px; }
.sp-item.is-active {
  opacity: 1;
}
.sp-item.is-active .sp-dash { width: 36px; }

/* ============== SHARED TYPOGRAPHY ============== */
.kicker {
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent-green);
  display: inline-flex;
  align-items: center;
  gap: 12px;
}
.kicker::before {
  content: "";
  width: 28px;
  height: 1px;
  background: currentColor;
  opacity: 0.6;
}

h1, h2, h3 {
  font-weight: 400;
  letter-spacing: -0.025em;
  margin: 0;
  line-height: 1.02;
}
.display {
  font-size: clamp(48px, 8vw, 132px);
  font-weight: 400;
  letter-spacing: -0.035em;
  line-height: 0.96;
}
.display em {
  font-family: var(--f-serif);
  font-style: italic;
  font-weight: 400;
}
.section-title {
  font-size: clamp(34px, 5.4vw, 76px);
  letter-spacing: -0.028em;
  line-height: 1.02;
  max-width: 22ch;
}
.section-title em {
  font-family: var(--f-serif);
  font-style: italic;
  color: var(--accent-green);
}
.lede {
  font-size: clamp(15px, 1.05vw, 18px);
  line-height: 1.55;
  max-width: 56ch;
  color: var(--text-cream-soft);
}
.section--light .lede { color: var(--text-dark-soft); }
.section--light .section-title { color: var(--dark-green); }
.section--light .kicker { color: var(--deep-green); }

/* ============== SECTION SCAFFOLD ============== */
section {
  position: relative;
  padding: var(--section-pad-y) var(--gutter);
}
.section-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  position: relative;
}
.section--dark { background: var(--near-black); color: var(--cream); }
.section--light { background: transparent; color: var(--dark-green); }

/* ============== HERO ============== */
.hero {
  min-height: 100vh;
  padding-top: 0;
  padding-bottom: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  overflow: hidden;
  position: relative;
  background: var(--light-section-bg);
  transition: background-color 0.72s cubic-bezier(0.22, 0.61, 0.36, 1);
}
.hero-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
}
.hero-inner {
  position: relative;
  z-index: 2;
  max-width: var(--max-w);
  margin: 0 auto;
  width: 100%;
  padding: 96px 0 60px;
}
.hero-aside span,
.hero-conclusion span {
  font-family: var(--f-sans);
  font-style: normal;
  display: inline-block;
}
.hero-conclusion {
  margin-top: 0;
}
.hero h1 {
  color: var(--dark-green);
  max-width: 100%;
  text-align: left;
  margin: 0;
  align-self: center;
  transition: color 0.72s cubic-bezier(0.22, 0.61, 0.36, 1);
}
.hero h1 em {
  color: var(--accent-green);
  font-family: var(--f-sans);
  font-style: normal;
  font-size: 1em;
  display: inline-block;
  animation: descarboBreath 6s cubic-bezier(0.45, 0.05, 0.55, 0.95) infinite;
  animation-delay: 2s;
}
.hero h1 em .des {
  font-family: var(--f-serif);
  font-style: italic;
  font-weight: 400;
}
@keyframes descarboBreath {
  0%, 100% { letter-spacing: -0.03em; }
  50%       { letter-spacing: -0.005em; }
}
.hero .display {
  font-size: clamp(52px, 7.2vw, 112px);
  line-height: 1.05;
  letter-spacing: -0.03em;
}
.hero-conclusion span {
  color: var(--dark-green);
  transition: color 0.72s cubic-bezier(0.22, 0.61, 0.36, 1);
}
.hero-content {
  display: grid;
  grid-template-columns: 3fr 2fr;
  align-items: end;
  min-height: calc(100vh - 96px);
  padding-bottom: clamp(48px, 8vh, 96px);
  gap: 0 clamp(32px, 4vw, 64px);
  text-align: left;
}
.hero h1 .line {
  display: block;
  overflow: visible;
}
.hero h1 .line > span {
  display: inline-block;
  transform: translateY(0);
  opacity: 1;
  filter: blur(0);
  transition: transform 1.4s cubic-bezier(0.16, 0.84, 0.21, 1), opacity 1.4s ease, filter 1.4s ease;
}
.hero.is-loaded h1 .line > span { transform: translateY(0); opacity: 1; filter: blur(0); }
.hero h1 .line:nth-child(1) > span { transition-delay: 0.10s; }
.hero h1 .line:nth-child(2) > span { transition-delay: 0.22s; }
.hero h1 .line:nth-child(3) > span { transition-delay: 0.34s; }
.hero h1 .line:nth-child(4) > span { transition-delay: 0.46s; }

.hero-grid {
  display: flex;
  flex-direction: column;
  gap: clamp(28px, 4vh, 44px);
  margin-top: 0;
  align-items: flex-start;
  align-self: end;
  padding-bottom: 0;
}
.hero-grid .support {
  font-size: clamp(15px, 1.05vw, 18px);
  line-height: 1.65;
  letter-spacing: -0.01em;
  color: var(--dark-green);
  max-width: 62ch;
  text-align: left;
  opacity: 1;
  transform: none;
  transition: opacity 1s ease 0.55s, transform 1s ease 0.55s, color 0.72s cubic-bezier(0.22, 0.61, 0.36, 1);
}
.hero.is-loaded .hero-grid .support { opacity: 1; transform: none; }

.hero-grid .scroll-cue {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  width: max-content;
  max-width: 100%;
  padding: 14px 14px 14px 28px;
  border-radius: 999px;
  background: var(--cream);
  border: 1.5px solid var(--dark-green);
  font-family: var(--f-sans);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--dark-green);
  opacity: 1;
  transform: none;
  transition: opacity 1s ease 0.85s, transform 1s ease 0.85s, background-color 0.35s ease, border-color 0.35s ease, color 0.35s ease;
  align-self: flex-start;
}
.hero.is-loaded .hero-grid .scroll-cue { opacity: 1; transform: none; }
.hero-grid .scroll-cue .cta-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(9, 42, 69, 0.08);
  flex-shrink: 0;
  transition: background 0.3s ease, transform 0.3s ease;
}
.hero-grid .scroll-cue:hover {
  background: var(--accent-green);
  border-color: var(--accent-green);
  color: var(--near-black);
}
.hero-grid .scroll-cue:hover .cta-icon {
  background: rgba(0,0,0,0.12);
  transform: translateY(2px);
}
.hero.is-transitioning {
  background: var(--near-black);
}
.hero.is-transitioning h1,
.hero.is-transitioning .hero-conclusion span,
.hero.is-transitioning .hero-grid .support {
  color: var(--cream);
}
.hero.is-transitioning .hero-grid .scroll-cue {
  background: var(--accent-green);
  border-color: var(--accent-green);
  color: var(--near-black);
}
.hero.is-transitioning .hero-grid .scroll-cue .cta-icon {
  background: rgba(0,0,0,0.12);
}
.hero.is-transitioning .hero-grid .scroll-cue:hover {
  background: var(--cream);
  color: var(--dark-green);
}
@keyframes softReveal {
  from { opacity: 0; transform: translateY(22px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes lineReveal {
  from { opacity: 0; transform: translateY(110%); }
  to { opacity: 1; transform: translateY(0); }
}
.scroll-mouse {
  display: block;
  width: 14px;
  height: 20px;
  border: 1.5px solid currentColor;
  border-radius: 7px;
  position: relative;
  opacity: 0.85;
}
.scroll-dot {
  position: absolute;
  top: 3px;
  left: 50%;
  transform: translateX(-50%);
  width: 2.5px;
  height: 5px;
  border-radius: 2px;
  background: currentColor;
  animation: scrollDotAnim 2s cubic-bezier(0.45, 0, 0.55, 1) infinite;
}
@keyframes scrollDotAnim {
  0%   { top: 3px; opacity: 1; }
  55%  { top: 10px; opacity: 0.3; }
  56%  { top: 3px; opacity: 0; }
  65%  { top: 3px; opacity: 1; }
  100% { top: 3px; opacity: 1; }
}
.reveal,
.reveal-blur {
  animation: softReveal 1s cubic-bezier(0.16, 0.84, 0.21, 1) both;
}
.hero h1 .line > span {
  animation: lineReveal 1.35s cubic-bezier(0.16, 0.84, 0.21, 1) both;
  will-change: transform, opacity;
}
.hero h1 .line:nth-child(1) > span { animation-delay: 0.08s; }
.hero h1 .line:nth-child(2) > span { animation-delay: 0.20s; }
.hero h1 .line:nth-child(3) > span { animation-delay: 0.32s; }
.hero h1 .line:nth-child(4) > span { animation-delay: 0.44s; }
/* ============== SANKEY SECTION ============== */
.sankey-section {
  --sankey-section-top: clamp(32px, 5vh, 64px);
  --sankey-slide-height: min(48vh, 520px);
  padding-top: var(--sankey-section-top);
  padding-bottom: clamp(80px, 12vh, 140px);
  background: linear-gradient(
    180deg,
    var(--near-black) 0%,
    var(--near-black) 68%,
    var(--dashboard-green) 100%
  );
  transition: background-color 0.72s cubic-bezier(0.22, 0.61, 0.36, 1);
}
.sankey-section.is-transitioning-to-dashboard {
  background-color: var(--dashboard-green);
}

.sankey-layout {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(300px, 1fr);
  gap: clamp(36px, 4.5vw, 72px);
  align-items: start;
  min-height: calc(100vh - clamp(64px, 9vh, 112px));
}

.sankey-chart-wrap {
  position: sticky;
  top: clamp(72px, 8vh, 96px);
  height: calc(100vh - clamp(112px, 14vh, 156px));
  min-height: 560px;
  display: flex;
  align-items: center;
}
.sankey-mode-switch {
  position: absolute;
  top: clamp(48px, 7vh, 72px);
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(2, 106px);
  padding: 3px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  background: rgba(2, 13, 24, 0.78);
  backdrop-filter: blur(12px);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.12);
  transition: border-color 0.3s ease, background-color 0.3s ease;
}
.sankey-mode-switch:hover {
  border-color: rgba(255, 255, 255, 0.28);
  background: rgba(2, 13, 24, 0.88);
}
.sankey-mode-thumb {
  position: absolute;
  top: 3px;
  left: 3px;
  width: 106px;
  height: calc(100% - 6px);
  border-radius: 999px;
  background: var(--accent-green);
  box-shadow: 0 4px 14px rgba(113, 140, 235, 0.3);
  transition: transform 0.34s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.sankey-mode-switch:has(.sankey-mode-btn[data-sankey-mode="organico"].is-active) .sankey-mode-thumb {
  transform: translateX(106px);
}
.sankey-mode-btn {
  position: relative;
  z-index: 1;
  padding: 10px 13px;
  border-radius: 999px;
  color: var(--text-cream-mute);
  font-family: var(--f-sans);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  transition: color 0.3s ease;
}
.sankey-mode-btn:hover {
  color: var(--cream);
}
.sankey-mode-btn.is-active {
  color: var(--near-black);
}
.sankey-svg {
  width: 100%;
  height: auto;
  max-height: 100%;
  overflow: visible;
  font-family: var(--f-mono);
}
.sankey-flows path {
  transition: opacity 0.4s ease, filter 0.4s ease;
}
.sankey-node rect {
  transition: opacity 0.3s ease;
}
.sankey-svg .sankey-nodes-total path {
  fill: rgba(255, 255, 255, 0.12);
  transition: fill 0.75s cubic-bezier(0.16, 0.84, 0.21, 1),
              filter 0.75s cubic-bezier(0.16, 0.84, 0.21, 1);
}
.sankey-svg.total-active .sankey-nodes-total path {
  fill: rgba(113, 140, 235, 0.32);
  filter: drop-shadow(0 0 16px rgba(113, 140, 235, 0.5));
}
.sankey-svg text {
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.04em;
  fill: var(--text-cream-soft);
  text-transform: uppercase;
}
.sankey-svg .node-label {
  font-size: 13px;
  fill: var(--cream);
  letter-spacing: 0.08em;
  font-weight: 500;
}
.sankey-svg .node-amount {
  font-size: 10px;
  fill: var(--text-cream-mute);
  letter-spacing: 0.08em;
  text-transform: none;
}
.sankey-svg .node-label--inside {
  fill: var(--near-black);
  font-size: 14px;
}
.sankey-svg .node-amount--inside {
  fill: rgba(2, 13, 24, 0.68);
  font-size: 11px;
}
.sankey-svg .axis-cap {
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  fill: var(--text-cream-mute);
}
/* Overrides para o Sankey mobile (viewBox retrato ~380 un.).
   A classe .is-mobile é aplicada via JS só em telas ≤640px. */
.sankey-svg.is-mobile .node-label { font-size: 11px; letter-spacing: 0.04em; }
.sankey-svg.is-mobile .node-amount { font-size: 8.5px; }
.sankey-svg.is-mobile .axis-cap { font-size: 9px; letter-spacing: 0.16em; }
.sankey-svg.is-mobile .node-label--inside { font-size: 11px; }
.sankey-svg.is-mobile .node-amount--inside { font-size: 8.5px; }
.sankey-svg.is-mobile .organic-total-number { font-size: 46px !important; }
.sankey-svg.is-mobile .organic-total-unit { font-size: 9.5px !important; }
.sankey-svg.is-mobile .organic-total-label { font-size: 8px !important; }
.organic-aura {
  animation: organicAuraPulse 5.8s ease-in-out infinite;
  transform-origin: center;
}
.organic-layer {
  cursor: pointer;
  transform-box: fill-box;
  transform-origin: center;
  transition: opacity 0.45s ease, filter 0.45s ease;
}
.organic-layer--landfill {
  animation: organicBreatheOuter 8s ease-in-out infinite;
}
.organic-layer--compost {
  animation: organicBreatheMiddle 6.4s ease-in-out infinite;
}
.organic-layer--coprocess {
  animation: organicBreatheInner 5.2s ease-in-out infinite;
}
.organic-contour {
  fill: none;
  stroke: rgba(255, 255, 255, 0.18);
  stroke-width: 1;
  stroke-dasharray: 3 9;
  pointer-events: none;
}
.organic-contour--outer { animation: organicContourSpin 34s linear infinite; transform-origin: 430px 354px; }
.organic-contour--middle { animation: organicContourSpinReverse 27s linear infinite; transform-origin: 430px 354px; }
.organic-contour--inner { animation: organicContourSpin 21s linear infinite; transform-origin: 430px 354px; }
.organic-particles {
  fill: rgba(145, 168, 194, 0.7);
  transform-origin: 430px 354px;
  animation: organicParticleOrbit 28s linear infinite;
  pointer-events: none;
}
.organic-particles circle:nth-child(3n + 2) { fill: rgba(201, 183, 199, 0.66); }
.organic-particles circle:nth-child(3n) { fill: rgba(255, 255, 255, 0.56); }
.organic-total {
  pointer-events: none;
}
.organic-total-number {
  fill: var(--cream) !important;
  font-family: var(--f-sans) !important;
  font-size: 86px !important;
  font-weight: 500;
  letter-spacing: -0.08em !important;
}
.organic-total-unit,
.organic-total-label {
  fill: rgba(255, 255, 255, 0.76) !important;
  font-size: 11px !important;
  letter-spacing: 0.18em !important;
  text-transform: uppercase;
}
.organic-total-label {
  fill: rgba(255, 255, 255, 0.46) !important;
  font-size: 9px !important;
}
.organic-label {
  cursor: pointer;
  transition: opacity 0.45s ease;
}
.organic-label path {
  fill: none;
  stroke: rgba(255, 255, 255, 0.28);
  stroke-width: 1;
  transition: stroke 0.45s ease, stroke-width 0.45s ease;
}
.organic-label circle {
  fill: var(--accent-green);
}
.organic-focus .organic-layer,
.organic-focus .organic-label {
  opacity: 0.22;
}
.organic-focus .organic-layer.is-highlighted,
.organic-focus .organic-label.is-highlighted {
  opacity: 1;
}
.organic-label.is-highlighted path {
  stroke: rgba(255, 255, 255, 0.82);
  stroke-width: 1.5;
}
@keyframes organicAuraPulse {
  0%, 100% { opacity: 0.46; transform: scale(0.96); }
  50% { opacity: 0.88; transform: scale(1.06); }
}
@keyframes organicBreatheOuter {
  0%, 100% { transform: scale(0.985) rotate(-1deg); }
  50% { transform: scale(1.025) rotate(1.4deg); }
}
@keyframes organicBreatheMiddle {
  0%, 100% { transform: scale(1.02) rotate(1.6deg); }
  50% { transform: scale(0.975) rotate(-1.4deg); }
}
@keyframes organicBreatheInner {
  0%, 100% { transform: scale(0.96) rotate(-2deg); }
  50% { transform: scale(1.055) rotate(2.2deg); }
}
@keyframes organicContourSpin { to { transform: rotate(360deg); } }
@keyframes organicContourSpinReverse { to { transform: rotate(-360deg); } }
@keyframes organicParticleOrbit { to { transform: rotate(360deg); } }
.sankey-aside-content {
  display: flex;
  flex-direction: column;
  gap: clamp(24px, 6vh, 72px);
  padding-top: max(0px, calc((100vh - var(--sankey-slide-height)) / 2 - var(--sankey-section-top)));
  padding-bottom: max(0px, calc((100vh - var(--sankey-slide-height)) / 2 - var(--sankey-section-top)));
}
.sankey-slide {
  min-height: var(--sankey-slide-height);
  display: flex;
  flex-direction: column;
  justify-content: center;
  scroll-snap-align: center;
  opacity: 0.14;
  transform: translateY(36px);
  transition: opacity 0.65s cubic-bezier(0.16, 0.84, 0.21, 1),
              transform 0.65s cubic-bezier(0.16, 0.84, 0.21, 1);
  will-change: opacity, transform;
}
.sankey-slide[data-sankey-mode="organico"] {
  min-height: clamp(620px, 76vh, 820px);
}
.sankey-slide.is-active {
  opacity: 1;
  transform: none;
}
.sankey-slide .kicker { margin-bottom: 28px; }
.sankey-slide .section-title {
  font-size: clamp(34px, 3.9vw, 68px);
  max-width: 12ch;
}
.sankey-slide .head-aside {
  margin: 28px 0 0;
  font-size: clamp(16px, 1.15vw, 20px);
  line-height: 1.46;
  color: var(--text-cream-soft);
  max-width: 34ch;
}
.sankey-slide .slide-copy {
  margin: 0;
  color: var(--text-cream-soft);
  font-size: clamp(16px, 1.04vw, 19px);
  line-height: 1.5;
  max-width: 34ch;
}
.sankey-slide .slide-copy + .cat-summary {
  margin-top: 34px;
}
.bignumber {
  font-family: var(--f-sans);
  font-size: clamp(72px, 9vw, 140px);
  letter-spacing: -0.04em;
  line-height: 0.95;
  font-weight: 400;
  color: var(--cream);
  display: flex;
  align-items: baseline;
  gap: 18px;
}
.bignumber .unit {
  font-family: var(--f-mono);
  font-size: clamp(14px, 1.1vw, 17px);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent-green);
  font-weight: 400;
}
.bignumber .unit--abbr {
  text-transform: none;
}
.bignumber-sub {
  margin-top: 14px;
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-cream-mute);
}
.cat-summary {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--line-on-dark);
}
.cat-summary li {
  display: grid;
  grid-template-columns: 12px 1fr auto auto;
  align-items: center;
  gap: 16px;
  padding: 18px 0;
  border-bottom: 1px solid var(--line-on-dark);
  font-family: var(--f-mono);
  font-size: 12px;
  text-transform: uppercase;
}
.cat-summary .swatch {
  width: 10px; height: 10px;
  border-radius: 2px;
}
.cat-summary .name {
  font-family: var(--f-sans);
  font-size: 14px;
  letter-spacing: 0;
  color: var(--cream);
}
.cat-summary .pct {
  color: var(--text-cream-mute);
}
.cat-summary .amt {
  color: var(--accent-green);
  font-size: 13px;
  letter-spacing: 0.04em;
  text-transform: none;
}

/* Tooltip */
.tooltip {
  position: fixed;
  z-index: 80;
  pointer-events: none;
  background: #fff;
  color: var(--dark-green);
  padding: 16px 20px;
  border-radius: 8px;
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.04em;
  line-height: 1.5;
  box-shadow: 0 20px 60px -12px rgba(0,0,0,0.55), 0 0 0 1px rgba(0,0,0,0.06);
  opacity: 0;
  transform: translate(-50%, -100%) translateY(-14px);
  transition: opacity 0.18s ease;
  min-width: 260px;
  max-width: 360px;
  text-transform: uppercase;
}
.tooltip.is-visible { opacity: 1; }
.tooltip .tt-cat {
  font-family: var(--f-mono);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--deep-green);
  opacity: 0.65;
  margin-bottom: 4px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.tooltip .tt-swatch {
  display: inline-block;
  width: 10px;
  height: 10px;
  border-radius: 2px;
  flex-shrink: 0;
}
.tooltip .tt-mat {
  font-family: var(--f-sans);
  font-size: 17px;
  font-weight: 600;
  letter-spacing: -0.02em;
  margin-bottom: 10px;
  text-transform: none;
  color: var(--near-black);
  line-height: 1.2;
}
.tooltip .tt-info {
  font-family: var(--f-sans);
  font-size: 13px;
  font-weight: 400;
  line-height: 1.6;
  letter-spacing: 0;
  text-transform: none;
  color: rgba(9, 42, 69, 0.75);
  margin-bottom: 12px;
}
.tooltip .tt-divider {
  height: 1px;
  background: rgba(0,0,0,0.08);
  margin: 8px 0 10px;
}
.tooltip .tt-row {
  display: flex;
  justify-content: space-between;
  font-size: 10px;
  padding: 3px 0;
  letter-spacing: 0.06em;
  color: rgba(9, 42, 69, 0.55);
}
.tooltip .tt-row .val {
  font-weight: 600;
  text-transform: none;
  color: var(--dark-green);
  letter-spacing: 0;
}

/* ============== DASHBOARD SECTION ============== */
.emissions-section {
  background-color: var(--dashboard-green);
  padding-top: clamp(88px, 10vh, 128px);
  padding-bottom: clamp(96px, 12vh, 160px);
  transition: background-color 0.85s cubic-bezier(0.22, 0.61, 0.36, 1);
}
.emissions-section.is-transitioning-to-next {
  background-color: var(--cream);
}
.emissions-section.is-transitioning-to-next,
.emissions-section.is-transitioning-to-next .section-title,
.emissions-section.is-transitioning-to-next .em-bignumber,
.emissions-section.is-transitioning-to-next .kicker,
.emissions-section.is-transitioning-to-next .lede,
.emissions-section.is-transitioning-to-next .metric-label,
.emissions-section.is-transitioning-to-next .chart-label,
.emissions-section.is-transitioning-to-next .aside-block {
  color: var(--dark-green);
  transition: color 0.85s cubic-bezier(0.22, 0.61, 0.36, 1);
}
.dashboard-head {
  padding-bottom: clamp(36px, 5vh, 64px);
  border-bottom: 1px solid var(--line-on-dark);
}
.dashboard-head .kicker { margin-bottom: 26px; }
.dashboard-head .section-title {
  max-width: 22ch;
  font-size: clamp(34px, 3.9vw, 68px);
}
.em-bignumber {
  font-size: clamp(94px, 10vw, 172px);
  letter-spacing: -0.055em;
  line-height: 0.82;
  color: var(--cream);
  font-weight: 400;
}
.em-bignumber .unit {
  display: inline-block;
  margin-left: 18px;
  font-family: var(--f-mono);
  font-size: clamp(15px, 1.05vw, 20px);
  letter-spacing: 0.08em;
  color: var(--accent-green);
  vertical-align: baseline;
}
.em-bignumber .unit--abbr { text-transform: none; }
.em-sub {
  margin-top: 18px;
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-cream-mute);
}
.dashboard-body {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(300px, 1fr);
  gap: 0;
  align-items: stretch;
  padding-top: 0;
  margin-top: clamp(28px, 4vh, 48px);
}
.metric-label {
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent-green);
}
.panel-title {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: clamp(18px, 2vw, 32px);
  padding: 0 0 clamp(20px, 2.8vh, 34px);
  font-family: var(--f-mono);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-cream-mute);
}
.panel-title h3 {
  margin: 0;
  max-width: 22ch;
  font-family: var(--f-sans);
  font-size: clamp(24px, 1.85vw, 34px);
  font-weight: 400;
  line-height: 1.12;
  letter-spacing: 0;
  text-transform: none;
  color: var(--cream);
}
.chart-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: clamp(16px, 2vw, 32px);
  margin-bottom: clamp(18px, 2.6vh, 30px);
}
.panel-chart-title {
  margin: 0;
  max-width: none;
  font-family: var(--f-sans);
  font-size: clamp(24px, 1.85vw, 34px);
  font-weight: 400;
  line-height: 1.12;
  letter-spacing: 0;
  color: var(--cream);
}
.panel-meta {
  margin: calc(-1 * clamp(16px, 2.4vh, 28px)) 0 clamp(18px, 2.6vh, 30px);
  font-family: var(--f-mono);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-cream-mute);
  text-align: right;
}
.dashboard-main {
  padding-top: 0;
  padding-right: 0;
}
.dashboard-chart {
  border-bottom: none;
  padding: 0 0 clamp(36px, 5vh, 70px);
  margin: 0;
}
.chart-stage {
  position: relative;
  clear: both;
  margin: 0;
  width: 100%;
  aspect-ratio: 1200 / 540;
  height: auto;
  min-height: 0;
  isolation: isolate;
}
.emissions-svg {
  width: 100%;
  height: auto;
  min-height: 0;
  overflow: visible;
}
.compare-control {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 14px;
  margin-bottom: 18px;
  margin-right: clamp(0px, 2vw, 32px);
  align-self: flex-start;
  padding: 12px 16px 12px 20px;
  border-radius: 999px;
  border: 1.5px solid rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.06);
  font-family: var(--f-sans);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: -0.01em;
  text-transform: none;
  color: var(--cream);
  cursor: pointer;
  user-select: none;
  transition: border-color 0.35s ease, background-color 0.35s ease, color 0.35s ease;
}
.compare-control input {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
  pointer-events: none;
}
.compare-control:hover {
  border-color: rgba(255, 255, 255, 0.45);
  background: rgba(255, 255, 255, 0.10);
}
.compare-control:has(input:checked) {
  border-color: var(--accent-green);
  background: rgba(113, 140, 235, 0.13);
}
/* toggle switch track */
.cc-icon {
  width: 40px;
  height: 22px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.15);
  border: 1.5px solid rgba(255, 255, 255, 0.25);
  position: relative;
  flex-shrink: 0;
  transition: background 0.3s ease, border-color 0.3s ease;
}
.compare-control:has(input:checked) .cc-icon {
  background: rgba(113, 140, 235, 0.55);
  border-color: var(--accent-green);
}
/* toggle switch thumb */
.cc-icon::after {
  content: '';
  position: absolute;
  top: 3px;
  left: 3px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--accent-green);
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.compare-control:has(input:checked) .cc-icon::after {
  transform: translateX(18px);
  background: var(--accent-green);
}
.cc-dot { display: none; }
.em-legend {
  display: flex;
  flex-wrap: wrap;
  justify-content: start;
  align-items: center;
  gap: 0 20px;
  margin-top: 26px;
  font-family: var(--f-mono);
  font-size: 9px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--text-cream-soft);
}
.em-legend .item {
  display: flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
}
.em-legend .swatch {
  width: 22px;
  flex-shrink: 0;
}
.em-legend .swatch.bar {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
}
.em-legend .benchmark-key { display: none; }
.emissions-section.is-comparing .em-legend .benchmark-key { display: flex; }
.emissions-section .benchmark-layer {
  opacity: 0;
  transition: opacity 0.45s ease;
}
.emissions-section.is-comparing .benchmark-layer { opacity: 1; }
.dashboard-position {
  padding-top: clamp(36px, 5vh, 64px);
  margin: 0;
  border-top: 1px solid var(--line-on-dark);
}
.dashboard-position .panel-title {
  padding-top: 0;
}
.methodology-col {
  border-left: 1px solid var(--line-on-dark);
}
.methodology-panel {
  margin-left: 0;
  padding: 0 0 clamp(24px, 4vh, 48px) clamp(36px, 4vw, 72px);
  position: sticky;
  top: clamp(72px, 8vh, 96px);
  align-self: start;
}
.methodology-panel .dashboard-total {
  padding-bottom: clamp(28px, 4vh, 44px);
  margin-bottom: clamp(28px, 4vh, 44px);
  border-bottom: 1px solid var(--line-on-dark);
}
.methodology-panel .dashboard-total .metric-label {
  margin-bottom: 18px;
}
.methodology-panel .em-bignumber {
  font-size: clamp(72px, 7.2vw, 130px);
}
.methodology-panel .lede {
  margin: 24px 0 34px;
  color: var(--text-cream-soft);
  text-transform: none;
  letter-spacing: 0;
  line-height: 1.55;
  max-width: 38ch;
}
.methodology-more {
  display: inline;
  padding: 0;
  border: none;
  background: none;
  font-family: inherit;
  font-size: inherit;
  font-weight: 500;
  color: var(--accent-green);
  cursor: pointer;
  text-decoration: underline;
  text-decoration-style: dashed;
  text-decoration-color: currentColor;
  text-underline-offset: 3px;
  opacity: 0.85;
  transition: opacity 0.2s ease;
}
.methodology-more:hover {
  opacity: 1;
}

/* ── Info button + tooltip ── */
.info-wrap {
  position: relative;
  display: inline-flex;
  align-items: center;
  vertical-align: middle;
  margin-left: 8px;
}
.info-btn {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 1.5px solid currentColor;
  background: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 0.4;
  color: inherit;
  flex-shrink: 0;
  padding: 0;
  transition: opacity 0.2s ease;
  line-height: 1;
}
.info-btn i {
  font-family: var(--f-serif);
  font-style: italic;
  font-size: 11px;
  font-weight: 400;
  line-height: 1;
  display: block;
}
.info-btn:hover,
.info-wrap:hover .info-btn { opacity: 1; }
.info-tooltip {
  position: absolute;
  bottom: calc(100% + 10px);
  left: 50%;
  transform: translateX(-50%) translateY(6px);
  width: 260px;
  background: var(--dark-green);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 10px;
  padding: 14px 16px;
  font-family: var(--f-sans);
  font-size: 13px;
  font-weight: 400;
  line-height: 1.6;
  color: var(--text-cream-soft);
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.2s ease, transform 0.22s ease;
  z-index: 500;
  white-space: normal;
  text-transform: none;
  letter-spacing: 0;
}
.info-tooltip::after {
  content: '';
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  border: 6px solid transparent;
  border-top-color: var(--dark-green);
}
.info-wrap:hover .info-tooltip {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
  pointer-events: auto;
}
@media (hover: none) {
  .info-tooltip { display: none; }
}

/* ── Methodology modal ── */
.method-modal-overlay {
  display: none;
  pointer-events: none;
  position: fixed;
  inset: 0;
  z-index: 900;
  background: rgba(2, 13, 24, 0.72);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  transition: opacity 0.35s ease;
}
.method-modal-overlay.is-visible {
  display: flex;
  pointer-events: auto;
}
.method-modal-overlay.is-open { opacity: 1; }
.method-modal-panel {
  position: relative;
  background: var(--dark-green);
  border: 1px solid rgba(255,255,255,0.10);
  border-radius: 16px;
  max-width: 680px;
  width: 100%;
  max-height: 88vh;
  overflow-y: auto;
  padding: clamp(32px, 5vw, 60px);
  transform: translateY(24px);
  transition: transform 0.4s cubic-bezier(0.22, 0.61, 0.36, 1);
  scrollbar-width: thin;
  scrollbar-color: rgba(255,255,255,0.15) transparent;
}
.method-modal-overlay.is-open .method-modal-panel { transform: translateY(0); }
.method-modal-close {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.15);
  background: rgba(255,255,255,0.06);
  color: var(--cream);
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease;
}
.method-modal-close:hover { background: rgba(255,255,255,0.14); border-color: rgba(255,255,255,0.3); }
.method-modal-kicker {
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent-green);
  margin-bottom: 14px;
}
.method-modal-title {
  font-family: var(--f-sans);
  font-size: clamp(22px, 3vw, 32px);
  font-weight: 600;
  letter-spacing: -0.025em;
  line-height: 1.1;
  color: var(--cream);
  margin-bottom: clamp(24px, 3vh, 36px);
}
.method-modal-body p {
  font-size: 15px;
  line-height: 1.65;
  color: var(--text-cream-soft);
  margin-bottom: 16px;
}
.method-modal-body strong { color: var(--cream); font-weight: 600; }
.method-modal-body em { font-style: italic; color: var(--cream); }
.method-modal-faq {
  margin-top: 32px;
  border-top: 1px solid var(--line-on-dark);
}
.method-faq-item {
  padding: 24px 0;
  border-bottom: 1px solid var(--line-on-dark);
}
.method-faq-item h3 {
  font-family: var(--f-sans);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--cream);
  margin-bottom: 10px;
}
.method-faq-item p {
  font-size: 14px;
  line-height: 1.65;
  color: var(--text-cream-soft);
  margin: 0;
}
.methodology-panel .cta {
  margin-top: 8px;
  max-width: 100%;
  width: max-content;
}

/* ============== LEGACY CHART STYLES ============== */
.em-head {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: clamp(40px, 6vw, 96px);
  align-items: end;
  margin-bottom: clamp(60px, 8vh, 100px);
}
.em-head .kicker { margin-bottom: 32px; }
.em-head .aside-block {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.em-head .aside-block .em-bignumber {
  font-size: clamp(64px, 7.5vw, 120px);
  letter-spacing: -0.04em;
  line-height: 0.9;
  color: var(--cream);
  font-weight: 400;
  margin-bottom: 8px;
}
.em-head .aside-block .em-bignumber .unit {
  font-family: var(--f-mono);
  font-size: clamp(13px, 1vw, 16px);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--accent-green);
  padding-left: 14px;
  font-weight: 400;
}
.em-head .aside-block .em-bignumber .unit--abbr {
  text-transform: none;
}
.em-head .aside-block .em-sub {
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-cream-mute);
  max-width: 30ch;
}

.chart-stage {
  position: relative;
  margin: 0 0 64px;
}
.emissions-svg {
  width: 100%;
  height: auto;
  overflow: visible;
}
.emissions-svg text {
  font-family: var(--f-mono);
  fill: var(--text-cream-soft);
  font-size: 11px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.emissions-svg .axis-label {
  fill: var(--text-cream-mute);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.emissions-svg .unit-label,
.emissions-svg .volume-label .unit-abbr {
  text-transform: none;
}
.emissions-svg .grid line {
  stroke: var(--line-on-dark);
  stroke-width: 1;
}
.em-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 24px 36px;
  margin-top: 36px;
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-cream-soft);
}
.em-legend .item { display: flex; align-items: center; gap: 10px; }
.em-legend .swatch {
  display: inline-block;
  width: 22px; height: 2px;
  background: var(--accent-green);
}
.em-legend .swatch.dashed {
  border-top: 1px dashed var(--text-cream-soft);
  background: none;
  height: 0;
  margin-top: 1px;
}
.em-legend .swatch.area {
  height: 10px;
  background: rgba(113, 140, 235, 0.16);
  border-top: 1px solid rgba(113, 140, 235, 0.4);
  border-bottom: 1px solid rgba(113, 140, 235, 0.4);
}
.em-legend .swatch.bar {
  width: 14px; height: 14px;
  background: rgba(255, 255, 255, 0.10);
}

.interpretation-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 6vw, 100px);
  margin-top: 64px;
  align-items: start;
}
.interpretation-row .interpretation {
  font-family: var(--f-serif);
  font-style: italic;
  font-size: clamp(22px, 2.4vw, 36px);
  line-height: 1.25;
  letter-spacing: -0.015em;
  color: var(--cream);
  max-width: 28ch;
}
.cta-pair {
  display: flex;
  flex-direction: column;
  gap: 14px;
  align-self: end;
}
.cta {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 14px 14px 14px 28px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.25);
  font-family: var(--f-sans);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--cream);
  background: rgba(255,255,255,0.06);
  transition: background-color 0.35s ease, color 0.35s ease, border-color 0.35s ease, transform 0.35s ease;
  width: max-content;
  max-width: 100%;
  cursor: pointer;
}
.cta .cta-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255,255,255,0.12);
  flex-shrink: 0;
  transition: background 0.3s ease, transform 0.3s ease;
}
.cta:hover { background: rgba(255,255,255,0.1); border-color: rgba(255,255,255,0.4); transform: translateY(-1px); }
.cta:hover .cta-icon { background: rgba(255,255,255,0.2); transform: translateX(2px); }
.cta--primary {
  background: transparent;
  color: var(--cream);
  border: 1.5px solid rgba(255,255,255,0.72);
}
.cta--primary .cta-icon {
  width: 40px;
  height: 40px;
  background: rgba(255,255,255,0.10);
}
.cta--primary:hover {
  background: var(--accent-green);
  border-color: var(--accent-green);
  color: var(--near-black);
  transform: translateY(-1px);
}
.cta--primary:hover .cta-icon { background: rgba(0,0,0,0.12); transform: translateY(2px); }

/* ============== POSITION SPECTRUM ============== */
.position-section {
  padding-top: clamp(120px, 16vh, 200px);
  padding-bottom: clamp(120px, 16vh, 200px);
}
.pos-head {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: clamp(40px, 6vw, 96px);
  align-items: end;
  margin-bottom: clamp(72px, 10vh, 120px);
}
.pos-head .lede { font-size: 16px; max-width: 38ch; }

.spectrum-wrap {
  position: relative;
  padding: 60px 0 40px;
}
.spectrum-svg {
  width: 100%;
  height: auto;
  overflow: visible;
}
.spectrum-svg text {
  font-family: var(--f-mono);
  fill: var(--text-cream-soft);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.spectrum-zones {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin-top: 36px;
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-cream-soft);
  border-top: 1px solid var(--line-on-dark);
  padding-top: 18px;
}
.spectrum-zones .zone { padding-right: 24px; }
.spectrum-zones .zone .z-label { color: var(--cream); margin-bottom: 6px; }
.spectrum-zones .zone .z-desc { color: var(--text-cream-mute); text-transform: none; letter-spacing: 0.02em; font-family: var(--f-sans); font-size: 13px; line-height: 1.4; }

.pos-foot {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 6vw, 96px);
  margin-top: clamp(48px, 8vh, 80px);
  align-items: start;
}
.pos-foot .quote {
  font-family: var(--f-serif);
  font-style: italic;
  font-size: clamp(22px, 2.2vw, 32px);
  line-height: 1.3;
  letter-spacing: -0.015em;
  color: var(--cream);
  max-width: 26ch;
}
.pos-foot .body {
  font-size: 15px;
  line-height: 1.65;
  color: var(--text-cream-soft);
  max-width: 50ch;
}

.dashboard-chart .chart-stage {
  margin: 0;
  width: 100%;
  aspect-ratio: 1200 / 540;
  height: auto;
  min-height: 0;
}
.dashboard-chart .emissions-svg text {
  font-size: 13px;
}
.dashboard-chart .emissions-svg .axis-label {
  font-size: 12px;
  fill: rgba(255, 255, 255, 0.48);
}
.dashboard-chart .emissions-svg .volume-label {
  font-size: 12px;
}
.dashboard-chart .emissions-svg .grid line {
  stroke: rgba(255, 255, 255, 0.105);
}
.dashboard-chart .emissions-svg {
  width: 100%;
  height: auto;
  min-height: 0;
}
.dashboard-chart .em-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 16px 30px;
  margin-top: 26px;
  font-size: 12px;
  letter-spacing: 0.075em;
}
.emissions-section.is-comparing .dashboard-chart .em-legend {
  display: flex;
}
.dashboard-chart .em-legend .item {
  gap: 12px;
  min-height: 22px;
}
.dashboard-chart .em-legend .benchmark-key {
  display: none;
}
.emissions-section.is-comparing .dashboard-chart .em-legend .benchmark-key {
  display: flex;
}
.dashboard-chart .em-legend .swatch {
  width: 32px;
}
.dashboard-chart .em-legend .swatch.bar {
  width: 18px;
  height: 18px;
}
.dashboard-position .spectrum-wrap {
  padding: 0;
  width: 100%;
  aspect-ratio: 1200 / 320;
  min-height: 0;
}
.dashboard-position .spectrum-svg {
  width: 100%;
  height: auto;
}
.dashboard-position .spectrum-zones {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin-top: 18px;
  border-top: none;
  padding-top: 0;
}
.dashboard-position .zone {
  padding: 0 18px 0 0;
  border-top: none;
}
.emissions-svg circle[data-pt] {
  transition: filter 0.22s ease, transform 0.22s ease;
  transform-box: fill-box;
  transform-origin: center;
}
.emissions-svg circle[data-pt].is-hovered {
  transform: scale(1.35);
}
.emissions-svg .fc-area {
  opacity: 0.42;
}
.emissions-svg .em-line.median,
.emissions-svg .em-line.leader,
.emissions-svg .em-area {
  transition: opacity 0.45s ease;
}

.emissions-section .dashboard-head,
.emissions-section .dashboard-body,
.emissions-section .dashboard-main,
.emissions-section .dashboard-chart,
.emissions-section .dashboard-position,
.emissions-section .panel-title,
.emissions-section .chart-stage,
.emissions-section .spectrum-wrap {
  margin-left: 0;
  padding-left: 0;
}

.emissions-section .dashboard-chart,
.emissions-section .dashboard-position {
  width: 100%;
}

/* ============== NEXT STEPS ============== */
.next-steps-section {
  background: var(--light-section-bg);
  padding-top: clamp(96px, 13vh, 164px);
  padding-bottom: clamp(112px, 15vh, 184px);
}
.ns-brand-logo {
  width: clamp(260px, 24vw, 390px);
  height: auto;
  color: var(--dark-green);
}
.ns-brand-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  margin-bottom: clamp(74px, 10vh, 128px);
}
.ns-brand-signature {
  font-family: var(--f-serif);
  font-size: clamp(25px, 2.2vw, 38px);
  font-style: italic;
  color: var(--accent-green);
}
.ns-intro {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(280px, 0.65fr);
  gap: clamp(48px, 7vw, 112px);
  align-items: end;
  margin-bottom: clamp(64px, 8vh, 104px);
}
.ns-heading .section-title {
  max-width: 20ch;
  margin: 0;
  font-size: clamp(40px, 4vw, 68px);
}
.ns-heading .kicker {
  margin-bottom: 18px;
}
.ns-lede {
  max-width: 35ch;
  margin: 0;
  color: var(--text-dark-soft);
  font-size: clamp(18px, 1.4vw, 22px);
  line-height: 1.52;
}
.ns-path {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border-top: 1px solid rgba(9, 42, 69, 0.18);
  border-bottom: 1px solid rgba(9, 42, 69, 0.18);
}
.ns-step {
  min-height: 298px;
  padding: 30px clamp(24px, 2.6vw, 42px) 40px;
  border-right: 1px solid rgba(9, 42, 69, 0.18);
  display: flex;
  flex-direction: column;
  transition: background-color 0.35s ease;
}
.ns-step:last-child { border-right: none; }
.ns-step:hover {
  background-color: rgba(113, 140, 235, 0.055);
}
.ns-step-head {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: auto;
}
.ns-step .num,
.ns-step .verb {
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.ns-step .num {
  color: var(--accent-green);
}
.ns-step .verb {
  color: var(--dark-green);
}
.ns-step h3 {
  margin: 0 0 14px;
  font-size: clamp(25px, 2.1vw, 34px);
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--dark-green);
  max-width: 18ch;
}
.ns-step p {
  font-size: clamp(16px, 1.15vw, 18px);
  line-height: 1.58;
  color: var(--text-dark-soft);
  margin: 0;
  max-width: 38ch;
}
.ns-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 32px;
  padding-top: clamp(42px, 5vh, 68px);
}
.ns-footer p {
  max-width: 560px;
  margin: 0;
  color: var(--text-dark-soft);
  font-size: clamp(16px, 1.15vw, 18px);
  line-height: 1.55;
}
.ns-cta {
  font-family: var(--f-sans);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--accent-green);
  background: transparent;
  border: 1.5px solid var(--accent-green);
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  width: max-content;
  max-width: 100%;
  padding: 14px 14px 14px 28px;
  border-radius: 999px;
  margin-top: 8px;
  transition: background 0.3s ease, transform 0.3s ease;
}
.ns-cta:hover { background: rgba(113, 140, 235, 0.08); transform: translateY(-1px); }
.ns-cta .cta-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: transparent;
  border: 1px solid currentColor;
  flex-shrink: 0;
  transition: background 0.3s ease, transform 0.3s ease;
}
.ns-cta:hover .cta-icon { background: rgba(113, 140, 235, 0.12); transform: translateX(2px); }
.ns-cta--main {
  margin-top: 0;
}

/* ============== CLOSING ============== */
.closing {
  background: var(--dashboard-green);
  min-height: 100vh;
  min-height: 100svh;
  padding-top: clamp(140px, 22vh, 240px);
  padding-bottom: clamp(140px, 22vh, 240px);
  text-align: center;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}
.closing .closing-inner {
  max-width: 1100px;
  margin: 0 auto;
  position: relative;
}
.closing h2 {
  font-size: clamp(32px, 4.6vw, 72px);
  letter-spacing: -0.03em;
  line-height: 1.05;
  color: var(--cream);
  margin-bottom: 36px;
}
.closing h2 em {
  font-family: var(--f-serif);
  font-style: italic;
  color: var(--accent-green);
}
.closing .closing-lede {
  font-size: clamp(15px, 1.1vw, 18px);
  color: var(--text-cream-soft);
  max-width: 56ch;
  margin: 0 auto 56px;
  line-height: 1.55;
}
.closing .cta {
  margin: 0 auto;
}
.closing-marker {
  position: absolute;
  top: 0; left: 50%;
  transform: translateX(-50%);
  width: 1px;
  height: 80px;
  background: linear-gradient(to bottom, transparent, var(--accent-green));
  opacity: 0.5;
}

/* ============== REVEAL ANIMATIONS ============== */
.reveal {
  opacity: 1;
  transform: none;
  transition: opacity 1s cubic-bezier(0.22, 0.61, 0.36, 1), transform 1s cubic-bezier(0.22, 0.61, 0.36, 1);
}
.reveal.is-visible { opacity: 1; transform: none; }
.reveal-blur {
  opacity: 1;
  filter: blur(0);
  transform: none;
  transition: opacity 1.2s ease, filter 1.2s ease, transform 1.2s ease;
}
.reveal-blur.is-visible { opacity: 1; filter: blur(0); transform: none; }
.reveal-delay-1 { transition-delay: 0.15s; }
.reveal-delay-2 { transition-delay: 0.3s; }
.reveal-delay-3 { transition-delay: 0.45s; }

/* ============== RESPONSIVE ============== */
@media (min-width: 1600px) {
  :root {
    --gutter: clamp(64px, 5vw, 96px);
    --section-pad-y: clamp(120px, 14vh, 220px);
    --max-w: 1680px;
  }

  .display {
    font-size: clamp(84px, 5.8vw, 112px);
    max-width: 17ch;
  }

  .section-title {
    font-size: clamp(60px, 4.5vw, 86px);
  }

  .hero-inner {
    padding-top: 132px;
    padding-bottom: 76px;
  }

  .hero-content {
    min-height: calc(100vh - 208px);
  }

  .hero-grid .support {
    max-width: 42ch;
    font-size: clamp(23px, 1.25vw, 27px);
  }

  .sankey-layout {
    grid-template-columns: minmax(0, 2fr) minmax(420px, 1fr);
    gap: clamp(72px, 5.5vw, 118px);
  }

  .sankey-chart-wrap {
    height: calc(100vh - clamp(112px, 14vh, 156px));
    min-height: 620px;
  }

  .bignumber {
    font-size: clamp(120px, 7.8vw, 160px);
  }

  .em-head {
    grid-template-columns: minmax(0, 1.55fr) minmax(420px, 0.85fr);
    gap: clamp(96px, 8vw, 150px);
  }
  .dashboard-body {
    grid-template-columns: minmax(0, 2fr) minmax(420px, 1fr);
  }

  .em-head .aside-block .em-bignumber {
    font-size: clamp(120px, 6.8vw, 148px);
  }

  .chart-stage {
    aspect-ratio: 1200 / 540;
    height: auto;
    min-height: 0;
  }

  .pos-head,
  .pos-foot,
  .interpretation-row {
    grid-template-columns: minmax(0, 1.45fr) minmax(420px, 0.9fr);
    gap: clamp(96px, 8vw, 150px);
  }

  .spectrum-wrap {
    padding-top: 84px;
    padding-bottom: 56px;
  }

  .ns-step {
    padding: 36px 42px 42px;
    min-height: 330px;
  }
}

@media (max-width: 1024px) {
  .sankey-layout { grid-template-columns: 1fr; }
  .sankey-chart-wrap { position: relative; top: auto; transform: none; height: auto; min-height: auto; }
  .sankey-aside-content { gap: 48px; padding-top: 12px; padding-bottom: clamp(20px, 8vh, 80px); }
  .sankey-slide,
  .sankey-slide.reveal,
  .sankey-slide.reveal.is-visible {
    min-height: auto;
    justify-content: flex-start;
    opacity: 1;
    filter: none;
    transform: none;
  }
  .sankey-slide[data-sankey-mode="organico"] { min-height: auto; }
  .sankey-slide .section-title { max-width: 16ch; }
  .em-head, .pos-head { grid-template-columns: 1fr; align-items: start; }
  .ns-intro { grid-template-columns: 1fr; gap: 24px; }
  .ns-brand-row { margin-bottom: 72px; }
  .ns-brand-logo { width: clamp(210px, 34vw, 300px); }
  .em-head .aside-block { justify-self: start; }
  .dashboard-head,
  .dashboard-body {
    grid-template-columns: 1fr;
  }
  .methodology-col { border-left: none; }
  .methodology-panel {
    border-top: 1px solid var(--line-on-dark);
    padding-left: 0;
    position: relative;
    top: auto;
  }
  .interpretation-row { grid-template-columns: 1fr; }
  .pos-foot { grid-template-columns: 1fr; }
  .ns-path { grid-template-columns: 1fr; }
  .ns-step {
    min-height: auto;
    border-right: none;
    border-bottom: 1px solid rgba(9, 42, 69, 0.18);
  }
  .ns-step:last-child { border-bottom: none; }
  .hero-content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    min-height: 0;
    gap: 0;
  }
  /* layout empilhado: título alinhado à esquerda como o texto/botão
     (sobrescreve o align-self:center usado no grid do desktop) */
  .hero h1 {
    align-self: stretch;
    max-width: 100%;
  }
  .hero-grid {
    margin-top: clamp(40px, 6vh, 72px);
    align-self: auto;
    gap: 28px;
    padding-bottom: 0;
  }
  .hero-grid .support { max-width: 46ch; }
}
@media (max-width: 640px) {
  :root { --gutter: 20px; --section-pad-y: clamp(80px, 12vh, 120px); }
  .navbar { padding: 16px var(--gutter); }
  .brand-pair { gap: 10px; }
  .brand-pair .brand-logo { width: 106px; height: auto; }
  .brand-pair .brand-logo--musa { width: 82px; }
  .nav-right .nav-link { display: none; }
  .nav-toggle { display: inline-flex; }
  .scroll-progress { display: none; }
  .sankey-chart-wrap { overflow: visible; min-height: 0; }
  .sankey-chart-wrap .sankey-svg { min-width: 0; width: 100%; }
  .em-legend { font-size: 10px; gap: 16px 24px; }
  .dashboard-head .section-title { font-size: clamp(40px, 12vw, 62px); }
  .em-bignumber { font-size: clamp(74px, 23vw, 118px); }
  .dashboard-position .spectrum-zones { grid-template-columns: 1fr; gap: 18px; }
  .dashboard-position .zone { padding-right: 0; padding-bottom: 18px; border-bottom: 1px solid var(--line-on-dark); }
  .dashboard-position .zone:last-child { border-bottom: none; }
  .em-head .aside-block { padding-top: 8px; }
  .pos-head .lede { font-size: 14px; }
  .spectrum-zones { grid-template-columns: 1fr; gap: 18px; }
  .spectrum-zones .zone { padding-right: 0; padding-bottom: 18px; border-bottom: 1px solid var(--line-on-dark); }
  .spectrum-zones .zone:last-child { border-bottom: none; }
  .ns-step { min-height: auto; padding: 32px 24px; }
  .closing h2 { font-size: clamp(36px, 9vw, 64px); }
}

/* ============================================================
   MOBILE OVERRIDES (≤640px)
   Dedicated block for mobile-specific tweaks. Add new sections
   below as needed.
   ============================================================ */
@media (max-width: 640px) {
  /* ----- HERO ----- */
  .hero { min-height: auto; }
  .hero-inner { padding: 150px var(--gutter) 120px; }
  .hero .display {
    /* dimensionado p/ a palavra "descarbonização" caber de 320px a 430px */
    font-size: clamp(34px, 10vw, 56px);
    line-height: 0.98;
    letter-spacing: -0.04em;
    overflow-wrap: break-word;
  }
  .hero-conclusion { margin-top: 0; }
  .hero h1 em { font-size: 1em; }
  /* evita o "respiro" de letter-spacing alargar a palavra além da tela */
  .hero h1 em { animation: none; letter-spacing: -0.02em; }
  .hero-grid { gap: 20px; margin-top: 24px; align-self: auto; }
  .hero-grid .support { font-size: 15px; line-height: 1.55; }

  /* ----- SANKEY mobile: cabe na tela (viewBox retrato dedicado, sem scroll) ----- */
  .sankey-chart-wrap {
    height: auto;
    min-height: 0;
    flex-direction: column;
    align-items: stretch;
    overflow: visible;
    margin-left: 0;
    margin-right: 0;
    width: 100%;
    position: relative;
  }
  /* toggle flui acima do gráfico (sem sobrepor) */
  .sankey-mode-switch {
    position: static;
    transform: none;
    left: auto;
    top: auto;
    justify-self: center;
    margin: 0 auto 26px;
  }
  .sankey-svg {
    min-width: 0;
    width: 100%;
    height: auto;
    max-height: none;
    margin: 0;
  }

  /* ----- SANKEY → DASHBOARD gap ----- */
  .sankey-section { padding-top: 80px; padding-bottom: 48px; }
  .emissions-section { padding-top: 48px; padding-bottom: 48px; }

  /* ----- DASHBOARD section-title fits more ----- */
  .dashboard-head .section-title {
    font-size: clamp(36px, 11vw, 56px);
    letter-spacing: -0.03em;
    max-width: none;
  }

  /* ----- CHART HEADER 50/50 title + toggle ----- */
  .chart-header {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 16px;
  }
  .panel-chart-title { font-size: clamp(18px, 4.4vw, 22px); line-height: 1.15; }
  .compare-control {
    flex-wrap: wrap;
    justify-content: flex-start;
    gap: 10px;
    margin-right: 0;
    font-size: 11px;
    line-height: 1.25;
    transform: none;
  }

  /* ----- MONTHLY chart: cabe na tela (viewBox mobile dedicado, sem scroll) ----- */
  .dashboard-chart .chart-stage {
    height: auto;
    aspect-ratio: 380 / 440;
    overflow: visible;
  }
  .dashboard-chart .emissions-svg {
    width: 100%;
    min-width: 0;
    height: auto;
  }
  /* fontes proporcionais ao viewBox mobile (380 un.) */
  .dashboard-chart .emissions-svg text { font-size: 11px; }
  .dashboard-chart .emissions-svg .axis-label { font-size: 10px; }
  .dashboard-chart .emissions-svg .volume-label { font-size: 9px; }

  /* ----- POSITION panel meta below title ----- */
  .dashboard-position .panel-meta {
    margin: 8px 0 20px;
    text-align: left;
  }

  /* ----- POSITION spectrum vertical layout ----- */
  .dashboard-position .spectrum-wrap {
    aspect-ratio: 420 / 760;
    max-width: none;
    margin: 0 auto;
  }
  .dashboard-position .spectrum-zones { display: none; }
  .dashboard-position { padding-top: 16px; }

  /* ----- METHODOLOGY tighter spacing on mobile ----- */
  .methodology-panel {
    border-top: none;
    padding-top: 0;
    padding-bottom: 0;
    margin-top: 0;
  }
  .emissions-section .dashboard-body { margin-top: 16px; gap: 0; }

  /* ----- DASHBOARD → NEXT-STEPS gap ----- */
  .next-steps-section { padding: 48px 0 72px; }

  /* ----- NEXT-STEPS editorial path: full vertical reading on mobile ----- */
  .next-steps-section .section-inner { padding: 0 var(--gutter); }
  .ns-brand-row {
    align-items: flex-start;
    flex-direction: column;
    gap: 14px;
    margin-bottom: 56px;
  }
  .ns-brand-logo { width: min(246px, 76vw); }
  .ns-brand-signature { font-size: 28px; }
  .ns-intro {
    display: block;
    margin-bottom: 42px;
  }
  .ns-heading .section-title {
    font-size: clamp(31px, 8.4vw, 40px);
    max-width: none;
  }
  .ns-heading .kicker { margin-bottom: 12px; }
  .ns-lede {
    margin-top: 18px;
    font-size: 16px;
  }
  .ns-path {
    display: grid;
    grid-template-columns: 1fr;
  }
  .ns-step {
    min-height: auto;
    padding: 24px 0 26px;
    border-right: none;
    border-bottom: 1px solid rgba(9, 42, 69, 0.18);
  }
  .ns-step-head { margin-bottom: 34px; }
  .ns-step .num,
  .ns-step .verb { font-size: 10px; }
  .ns-step h3 { font-size: 25px; }
  .ns-step p { font-size: 15px; }
  .ns-footer {
    align-items: flex-start;
    flex-direction: column;
    gap: 18px;
    padding-top: 30px;
    text-align: left;
  }
  .ns-footer p { font-size: 15px; }
  .ns-cta {
    width: 100%;
    gap: 12px;
    padding-left: 18px;
    font-size: 11px;
  }
  .closing { padding: 112px var(--gutter); }
  .closing .cta { width: 100%; }

  /* ----- (adicione próximas seções mobile aqui) ----- */
}

/* Accessibility: reduce motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
  .sankey-slide,
  .sankey-slide.reveal,
  .sankey-slide.reveal.is-visible {
    opacity: 1 !important;
    filter: none !important;
    transform: none !important;
  }
}

/* Focus styles */
a:focus-visible, button:focus-visible, .cta:focus-visible {
  outline: 2px solid var(--accent-green);
  outline-offset: 4px;
}
