/* =========================================================
   Water Needs — estilos
   ========================================================= */
:root {
  --navy-950: #041431;
  --navy-900: #061D45;
  --navy: #0A2E63;
  --navy-700: #12407F;
  --blue: #1A9BE6;
  --blue-400: #4FC3F7;
  --sky-100: #E8F5FD;
  --sky-50: #F4FAFE;
  --teal: #2BD9A6;
  --critical: #FF4D5E;
  --high: #FF9F1C;
  --moderate: #FFD23F;
  --ink: #0B1B33;
  --muted: #5B6B82;
  --line: #DCE7F2;
  --white: #fff;
  --radius: 18px;
  --radius-sm: 12px;
  --shadow: 0 10px 30px -12px rgba(10, 46, 99, .25);
  --shadow-lg: 0 30px 60px -20px rgba(10, 46, 99, .35);
  --font-head: 'Sora', system-ui, sans-serif;
  --font-body: 'Manrope', system-ui, sans-serif;
  --ease: cubic-bezier(.22, .9, .3, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
h1, h2, h3, h4 { font-family: var(--font-head); line-height: 1.15; margin: 0 0 .5em; letter-spacing: -.02em; }
p { margin: 0 0 1em; }
a { color: inherit; }
button { font: inherit; cursor: pointer; }
svg { width: 1.2em; height: 1.2em; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex-shrink: 0; }
[hidden] { display: none !important; }
.ts-slot { margin-top: 12px; }
.ts-slot:empty { display: none; }
.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; opacity: 0; }

.container { width: min(1200px, 100% - 40px); margin-inline: auto; }

/* ---------- utilities ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-head); font-weight: 600; font-size: .8rem;
  text-transform: uppercase; letter-spacing: .14em; color: var(--blue);
  margin-bottom: 14px;
}
.eyebrow::before { content: ''; width: 18px; height: 2px; background: currentColor; border-radius: 2px; }
.eyebrow--light { color: var(--blue-400); }
.grad { background: linear-gradient(90deg, var(--blue) 0%, var(--blue-400) 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.muted { color: var(--muted); }
.footnote { font-size: .78rem; color: var(--muted); margin-top: 12px; }

.dot { width: 8px; height: 8px; border-radius: 50%; display: inline-block; }
.dot--navy { background: var(--navy); } .dot--blue { background: var(--blue); } .dot--teal { background: var(--teal); }

.sdot { width: 10px; height: 10px; border-radius: 50%; display: inline-block; flex-shrink: 0; box-shadow: 0 0 0 3px rgba(255,255,255,.08); }
.sdot--mamba { background: var(--teal); } .sdot--critical { background: var(--critical); }
.sdot--high { background: var(--high); } .sdot--moderate { background: var(--moderate); }
.sdot--valid { background: var(--teal); } .sdot--check { background: var(--blue); }
.sdot--alert { background: var(--high); }
.sdot.is-hollow { background: transparent; border: 2px solid var(--teal); }

.tag {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: .72rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase;
  padding: 4px 10px; border-radius: 999px; background: var(--sky-100); color: var(--navy);
}
.tag--critical, .tag--critica { background: rgba(255,77,94,.14); color: #D62839; }
.tag--alta { background: rgba(255,159,28,.16); color: #B86500; }
.tag--moderada { background: rgba(255,210,63,.25); color: #8A6A00; }
.tag--mamba, .tag--validado { background: rgba(43,217,166,.16); color: #0B8A66; }
.tag--verificacao { background: rgba(26,155,230,.14); color: #0B6FAE; }
.tag--alerta { background: rgba(255,159,28,.16); color: #B86500; }
.tag--aprovado, .tag--transporte { background: rgba(26,155,230,.14); color: #0B6FAE; }
.tag--entregue { background: rgba(43,217,166,.16); color: #0B8A66; }

.pulse { width: 8px; height: 8px; border-radius: 50%; background: var(--blue); display: inline-block; position: relative; }
.pulse::after { content: ''; position: absolute; inset: 0; border-radius: 50%; background: inherit; animation: ping 1.6s infinite; }
@keyframes ping { to { transform: scale(3); opacity: 0; } }

/* ---------- buttons ---------- */
.btn {
  --bg: var(--navy); --fg: #fff;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 12px 22px; border-radius: 999px; border: 0;
  background: var(--bg); color: var(--fg);
  font-family: var(--font-head); font-weight: 600; font-size: .95rem; text-decoration: none;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .25s;
  position: relative; overflow: hidden; white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn:disabled { opacity: .45; cursor: not-allowed; transform: none; }
.btn svg { transition: transform .25s var(--ease); }
.btn:hover svg { transform: translateX(3px); }
.btn--primary { --bg: linear-gradient(135deg, var(--blue) 0%, #127FD0 100%); box-shadow: 0 10px 24px -10px rgba(26,155,230,.8); background: var(--bg); }
.btn--primary:hover { box-shadow: 0 16px 30px -10px rgba(26,155,230,.9); }
.btn--ghost { --bg: transparent; --fg: var(--navy); box-shadow: inset 0 0 0 2px var(--line); }
.btn--ghost:hover { box-shadow: inset 0 0 0 2px var(--blue); }
.btn--soft { --bg: var(--sky-100); --fg: var(--navy); }
.btn--soft:hover { --bg: #D6EDFB; }
.btn--light { --bg: #fff; --fg: var(--navy); }
.btn--outline-light { --bg: transparent; --fg: #fff; box-shadow: inset 0 0 0 2px rgba(255,255,255,.5); }
.btn--outline-light:hover { box-shadow: inset 0 0 0 2px #fff; }
.btn--sm { padding: 9px 16px; font-size: .85rem; }
.btn--lg { padding: 16px 28px; font-size: 1rem; }
.btn.is-loading { color: transparent; pointer-events: none; }
.btn.is-loading::after { content: ''; position: absolute; width: 18px; height: 18px; border-radius: 50%; border: 2px solid rgba(255,255,255,.5); border-top-color: #fff; animation: spin .7s linear infinite; }
.btn--soft.is-loading::after { border-color: rgba(10,46,99,.3); border-top-color: var(--navy); }
@keyframes spin { to { transform: rotate(360deg); } }

.icon-btn {
  width: 40px; height: 40px; border-radius: 12px; border: 1px solid rgba(255,255,255,.14);
  background: rgba(6,29,69,.6); color: #fff; display: grid; place-items: center;
  backdrop-filter: blur(10px); transition: background .2s, transform .2s;
}
.icon-btn:hover { background: rgba(26,155,230,.4); transform: translateY(-1px); }
.icon-btn[aria-pressed="false"] { opacity: .55; }
.linklike { background: none; border: 0; padding: 0; color: inherit; text-decoration: underline; text-underline-offset: 3px; opacity: .8; }

/* ---------- nav ---------- */
.nav { position: fixed; inset: 0 0 auto; z-index: 50; transition: background .3s, box-shadow .3s, padding .3s; padding: 18px 0; }
.nav.is-scrolled { background: rgba(255,255,255,.86); backdrop-filter: blur(14px) saturate(1.4); box-shadow: 0 1px 0 var(--line); padding: 10px 0; }
.nav__inner { display: flex; align-items: center; gap: 28px; }
.nav__logo img { height: 42px; width: auto; transition: height .3s; }
.nav.is-scrolled .nav__logo img { height: 36px; }
.nav__links { display: flex; gap: 26px; margin-left: auto; }
.nav__links a { text-decoration: none; font-weight: 600; font-size: .92rem; color: var(--navy); position: relative; padding: 4px 0; }
.nav__links a::after { content: ''; position: absolute; left: 0; bottom: -2px; height: 2px; width: 100%; background: var(--blue); transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease); }
.nav__links a:hover::after, .nav__links a.is-active::after { transform: scaleX(1); }
.nav__dropdown { position: relative; display: flex; align-items: center; }
.nav__dropbtn { display: inline-flex; align-items: center; gap: 4px; border: 0; background: none; padding: 4px 0; font-weight: 600; font-size: .92rem; color: var(--navy); position: relative; }
.nav__dropbtn svg { width: 16px; height: 16px; transition: transform .3s var(--ease); }
.nav__dropbtn::after { content: ''; position: absolute; left: 0; bottom: -2px; height: 2px; width: 100%; background: var(--blue); transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease); }
.nav__dropdown:hover .nav__dropbtn::after, .nav__dropdown.is-active .nav__dropbtn::after, .nav__dropdown.is-open .nav__dropbtn::after { transform: scaleX(1); }
.nav__dropdown:hover .nav__dropbtn svg, .nav__dropdown.is-open .nav__dropbtn svg { transform: rotate(180deg); }
.nav__submenu {
  position: absolute; top: 100%; left: 50%; min-width: 250px; padding: 8px; margin-top: 12px;
  background: #fff; border-radius: 16px; box-shadow: var(--shadow-lg), 0 0 0 1px var(--line);
  opacity: 0; visibility: hidden; transform: translate(-50%, 8px); transition: opacity .25s, transform .25s var(--ease), visibility .25s;
}
.nav__submenu::before { content: ''; position: absolute; top: -14px; left: 0; right: 0; height: 14px; } /* ponte para o hover */
.nav__dropdown:hover .nav__submenu, .nav__dropdown.is-open .nav__submenu, .nav__dropdown:focus-within .nav__submenu { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.nav__links .nav__subitem { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 12px; transition: background .2s; }
.nav__links .nav__subitem::after { display: none; }
.nav__links .nav__subitem:hover, .nav__links .nav__subitem.is-active { background: var(--sky-50); }
.nav__subicon { width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center; background: var(--sky-100); color: var(--blue); flex-shrink: 0; }
.nav__subitem strong { display: block; font-size: .9rem; color: var(--navy); }
.nav__subitem small { display: block; font-size: .76rem; font-weight: 500; color: var(--muted); }
.nav__burger { display: none; width: 42px; height: 42px; border: 0; background: var(--sky-100); border-radius: 12px; position: relative; }
.nav__burger span { position: absolute; left: 11px; right: 11px; height: 2px; background: var(--navy); border-radius: 2px; transition: transform .3s, top .3s; }
.nav__burger span:first-child { top: 16px; } .nav__burger span:last-child { top: 24px; }
.nav.is-open .nav__burger span:first-child { top: 20px; transform: rotate(45deg); }
.nav.is-open .nav__burger span:last-child { top: 20px; transform: rotate(-45deg); }

/* ---------- hero ---------- */
.hero {
  position: relative; padding: 150px 0 140px; overflow: hidden;
  background:
    radial-gradient(900px 500px at 85% 10%, rgba(79,195,247,.22), transparent 60%),
    radial-gradient(700px 400px at 0% 90%, rgba(26,155,230,.10), transparent 60%),
    linear-gradient(180deg, var(--sky-50) 0%, #fff 100%);
}
.hero__grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 40px; align-items: center; }
.hero h1 { font-size: clamp(2.4rem, 5.4vw, 4.2rem); font-weight: 800; color: var(--navy); margin-bottom: 22px; }
.lead { font-size: 1.15rem; color: var(--muted); max-width: 580px; }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 14px; margin: 30px 0 26px; }
.hero__pills { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.hero__pills li { display: inline-flex; align-items: center; gap: 8px; padding: 7px 14px; border-radius: 999px; background: #fff; box-shadow: 0 0 0 1px var(--line); font-size: .85rem; font-weight: 600; color: var(--navy); }

.hero__bubbles { position: absolute; inset: 0; pointer-events: none; }
.hero__bubbles span { position: absolute; bottom: -40px; border-radius: 50%; background: radial-gradient(circle at 30% 30%, rgba(255,255,255,.9), rgba(79,195,247,.25)); box-shadow: inset 0 0 0 1px rgba(26,155,230,.2); animation: rise linear infinite; }
@keyframes rise { 0% { transform: translateY(0) translateX(0); opacity: 0; } 10% { opacity: .9; } 50% { transform: translateY(-50vh) translateX(20px); } 100% { transform: translateY(-110vh) translateX(-10px); opacity: 0; } }

.hero__visual { position: relative; height: 480px; display: grid; place-items: center; }
.drop-orb { position: relative; width: 320px; height: 380px; display: grid; place-items: center; }
.drop-orb__drop { width: 230px; height: 300px; filter: drop-shadow(0 30px 40px rgba(26,155,230,.35)); animation: bob 6s ease-in-out infinite; position: relative; z-index: 2; }
@keyframes bob { 50% { transform: translateY(-14px); } }
.wave { animation: waveMove 5s linear infinite; }
.wave--back { animation-duration: 7s; animation-direction: reverse; opacity: .8; }
@keyframes waveMove { to { transform: translateX(200px); } }
.orbit { position: absolute; inset: 0; border: 1.5px dashed rgba(26,155,230,.3); border-radius: 50%; animation: spin 26s linear infinite; }
.orbit--1 { inset: 10px -30px; }
.orbit--2 { inset: 40px -70px; border-style: solid; border-color: rgba(10,46,99,.08); animation-duration: 40s; animation-direction: reverse; }
.orbit span { position: absolute; top: -6px; left: 50%; width: 12px; height: 12px; border-radius: 50%; background: var(--teal); box-shadow: 0 0 0 6px rgba(43,217,166,.2); }
.orbit--2 span { background: var(--blue); box-shadow: 0 0 0 6px rgba(26,155,230,.2); top: auto; bottom: -6px; }

.float-card {
  position: absolute; z-index: 3; background: rgba(255,255,255,.9); backdrop-filter: blur(12px);
  border-radius: 16px; padding: 14px 18px; box-shadow: var(--shadow-lg); display: flex; flex-direction: column; gap: 4px;
  animation: floaty 7s ease-in-out infinite;
}
.float-card__label { font-size: .72rem; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: .06em; }
.float-card strong { font-family: var(--font-head); font-size: 1.6rem; color: var(--navy); line-height: 1.1; }
.float-card strong small { font-size: .8rem; color: var(--muted); margin-left: 2px; }
.float-card__status { font-size: 1rem !important; display: inline-flex; align-items: center; gap: 10px; }
.float-card--a { top: 30px; left: -10px; }
.float-card--b { top: 46%; right: -20px; animation-delay: -2s; }
.float-card--c { bottom: 30px; left: 20px; animation-delay: -4s; }
@keyframes floaty { 50% { transform: translateY(-10px); } }

.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; margin-top: 70px; background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; position: relative; z-index: 2; }
.stat { padding: 26px 24px; border-right: 1px solid var(--line); }
.stat:last-child { border-right: 0; }
.stat strong { display: block; font-family: var(--font-head); font-size: 2rem; color: var(--navy); line-height: 1.1; margin-bottom: 6px; }
.stat > span { font-size: .88rem; color: var(--muted); }
.hero .footnote { position: relative; z-index: 2; }

.hero__waves { position: absolute; left: 0; bottom: 0; width: 100%; height: 110px; overflow: visible; }
.hw { animation: hwMove 18s linear infinite; }
.hw--1 { fill: rgba(26,155,230,.10); }
.hw--2 { fill: #fff; animation-duration: 12s; animation-direction: reverse; }
@keyframes hwMove { to { transform: translateX(-1440px); } }

/* ---------- sections ---------- */
.section { padding: 110px 0; position: relative; }
.section--tint { background: var(--sky-50); }
.section--navy { background: radial-gradient(800px 400px at 90% 0%, rgba(26,155,230,.25), transparent 60%), var(--navy-900); color: #fff; }
.section__head { max-width: 720px; margin-bottom: 56px; }
.section__head h2 { font-size: clamp(2rem, 3.8vw, 3rem); color: var(--navy); font-weight: 700; }
.section__head h2 em { font-style: normal; color: var(--blue); }
.section__head p { font-size: 1.08rem; color: var(--muted); }
.section__head--light h2 { color: #fff; }
.section__head--light p { color: rgba(255,255,255,.72); }
.section__head--light strong { color: #fff; }

/* reveal */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }

/* cards */
.cards { display: grid; gap: 20px; }
.cards--4 { grid-template-columns: repeat(4, 1fr); }
.card { background: #fff; border-radius: var(--radius); padding: 28px; box-shadow: 0 0 0 1px var(--line); transition: transform .35s var(--ease), box-shadow .35s var(--ease); }
.card:hover { transform: translateY(-6px); box-shadow: 0 0 0 1px rgba(26,155,230,.4), var(--shadow-lg); }
.card__icon { width: 52px; height: 52px; border-radius: 14px; background: var(--sky-100); color: var(--blue); display: grid; place-items: center; margin-bottom: 18px; transition: background .3s, color .3s; }
.card__icon svg { width: 26px; height: 26px; }
.card:hover .card__icon { background: var(--blue); color: #fff; }
.card h3 { font-size: 1.15rem; color: var(--navy); }
.card p { color: var(--muted); font-size: .95rem; margin: 0; }

.questions { margin-top: 56px; overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.questions__track { display: flex; gap: 16px; width: max-content; animation: marquee 40s linear infinite; }
.questions:hover .questions__track { animation-play-state: paused; }
.questions span { white-space: nowrap; padding: 14px 24px; border-radius: 999px; background: var(--navy); color: #fff; font-family: var(--font-head); font-weight: 600; font-size: 1rem; }
.questions span:nth-child(even) { background: var(--sky-100); color: var(--navy); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* flow */
.flow { list-style: none; padding: 0; margin: 0 0 80px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; position: relative; counter-reset: f; }
.flow::before { content: ''; position: absolute; top: 58px; left: 12%; right: 12%; height: 2px; background: repeating-linear-gradient(90deg, var(--blue) 0 10px, transparent 10px 18px); opacity: .45; animation: dash 1s linear infinite; }
@keyframes dash { to { background-position: 18px 0; } }
.flow__step { position: relative; background: #fff; border-radius: var(--radius); padding: 28px 24px; text-align: center; box-shadow: 0 0 0 1px var(--line); transition: transform .35s var(--ease), box-shadow .35s; }
.flow__step:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.flow__num { position: absolute; top: 14px; right: 18px; font-family: var(--font-head); font-weight: 800; font-size: .85rem; color: var(--line); }
.flow__icon { width: 64px; height: 64px; margin: 0 auto 18px; border-radius: 50%; display: grid; place-items: center; background: linear-gradient(135deg, var(--blue), var(--navy-700)); color: #fff; box-shadow: 0 0 0 8px var(--sky-100); position: relative; z-index: 1; }
.flow__icon svg { width: 28px; height: 28px; }
.flow__step h3 { color: var(--navy); font-size: 1.2rem; }
.flow__step p { color: var(--muted); font-size: .93rem; margin: 0; }

/* split: score + status */
.split { display: grid; grid-template-columns: 1.25fr 1fr; gap: 24px; }
.score, .status { background: #fff; border-radius: 24px; padding: 34px; box-shadow: 0 0 0 1px var(--line); }
.score { display: grid; grid-template-columns: 220px 1fr; gap: 30px; align-items: center; }
.score__gauge { position: relative; text-align: center; }
.score__gauge svg { width: 100%; height: auto; overflow: visible; }
.score__track, .score__bar { fill: none; stroke-width: 16; stroke-linecap: round; }
.score__track { stroke: var(--sky-100); }
.score__bar { stroke-dasharray: 252; stroke-dashoffset: 252; transition: stroke-dashoffset 1.8s var(--ease) .2s; }
.score__bar.is-in { stroke-dashoffset: 20; }
.score__value { font-family: var(--font-head); font-weight: 800; font-size: 3rem; color: var(--navy); margin-top: -62px; line-height: 1; }
.score__value small { font-size: 1rem; color: var(--muted); font-weight: 600; }
.score__gauge .tag { margin-top: 12px; }
.score__copy h3 { font-size: 1.6rem; color: var(--navy); }
.score__copy p { color: var(--muted); }
.chips { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.chips li { font-size: .8rem; font-weight: 600; padding: 6px 12px; border-radius: 999px; background: var(--sky-50); box-shadow: 0 0 0 1px var(--line); color: var(--navy); transition: background .2s, color .2s; }
.chips li:hover { background: var(--blue); color: #fff; }

.status h3 { font-size: 1.15rem; color: var(--navy); }
.status__list { list-style: none; padding: 0; margin: 18px 0; display: grid; gap: 14px; }
.status__list li { display: flex; gap: 14px; align-items: flex-start; }
.status__list .sdot { margin-top: 7px; }
.status__list strong { display: block; color: var(--navy); font-size: .95rem; }
.status__list span { color: var(--muted); font-size: .88rem; }
.note { font-size: .82rem; color: var(--muted); background: var(--sky-50); border-left: 3px solid var(--blue); padding: 10px 14px; border-radius: 0 10px 10px 0; margin: 0; }

/* ---------- map section ---------- */
.map-section {
  padding: 110px 0 120px; color: #fff; position: relative; overflow: hidden;
  background:
    radial-gradient(1000px 600px at 30% 60%, rgba(26,155,230,.28), transparent 65%),
    radial-gradient(600px 400px at 100% 0%, rgba(43,217,166,.10), transparent 60%),
    var(--navy-950);
}
.map-section::before { content: ''; position: absolute; inset: 0; background-image: radial-gradient(rgba(255,255,255,.5) 1px, transparent 1px); background-size: 46px 46px; opacity: .08; pointer-events: none; }
.map-shell { display: grid; grid-template-columns: 1fr 360px; gap: 24px; position: relative; }
.globe-wrap { position: relative; height: 640px; border-radius: 28px; overflow: hidden; background: radial-gradient(circle at 50% 50%, rgba(26,155,230,.12), transparent 70%); box-shadow: inset 0 0 0 1px rgba(255,255,255,.08); }
.globe { position: absolute; inset: 0; cursor: grab; }
.globe:active { cursor: grabbing; }
.globe-wrap.is-picking { box-shadow: inset 0 0 0 2px var(--blue-400); }
.globe-wrap.is-picking .globe { cursor: crosshair; }

.globe-loading { position: absolute; inset: 0; display: grid; place-content: center; gap: 14px; justify-items: center; color: rgba(255,255,255,.7); font-weight: 600; transition: opacity .6s; pointer-events: none; }
.globe-loading.is-hidden { opacity: 0; }
.spinner { width: 36px; height: 36px; border-radius: 50%; border: 3px solid rgba(255,255,255,.15); border-top-color: var(--blue-400); animation: spin .8s linear infinite; }

.globe-toolbar { position: absolute; top: 16px; left: 16px; right: 16px; display: flex; justify-content: space-between; gap: 12px; pointer-events: none; flex-wrap: wrap; }
.globe-toolbar > * { pointer-events: auto; }
.layer-toggles, .globe-actions { display: flex; gap: 8px; flex-wrap: wrap; }
.toggle input { position: absolute; opacity: 0; pointer-events: none; }
.toggle span { display: inline-flex; align-items: center; gap: 8px; padding: 9px 14px; border-radius: 12px; background: rgba(6,29,69,.6); border: 1px solid rgba(255,255,255,.14); backdrop-filter: blur(10px); font-size: .82rem; font-weight: 600; cursor: pointer; transition: opacity .2s, background .2s; user-select: none; }
.toggle input:not(:checked) + span { opacity: .45; }
.toggle input:focus-visible + span { outline: 2px solid var(--blue-400); }

.globe-hint { position: absolute; bottom: 18px; left: 50%; transform: translateX(-50%); display: inline-flex; align-items: center; gap: 10px; padding: 10px 18px; border-radius: 999px; background: rgba(6,29,69,.7); border: 1px solid rgba(255,255,255,.14); backdrop-filter: blur(10px); font-size: .85rem; font-weight: 600; white-space: nowrap; transition: opacity .5s, transform .5s; animation: hintBob 2.4s ease-in-out infinite; pointer-events: none; }
.globe-hint.is-hidden { opacity: 0; transform: translate(-50%, 10px); animation: none; }
@keyframes hintBob { 50% { transform: translate(-50%, -4px); } }

.pick-banner { position: absolute; top: 70px; left: 50%; transform: translateX(-50%); display: flex; align-items: center; gap: 14px; padding: 8px 8px 8px 18px; border-radius: 999px; background: var(--blue); box-shadow: 0 10px 30px -8px rgba(26,155,230,.8); font-weight: 600; font-size: .9rem; white-space: nowrap; z-index: 4; }
.pick-banner span { display: inline-flex; align-items: center; gap: 10px; }
.pick-banner .pulse { background: #fff; }

.globe-pop { position: absolute; z-index: 5; width: 260px; transform: translate(-50%, 16px); background: #fff; color: var(--ink); border-radius: 16px; padding: 18px; box-shadow: var(--shadow-lg); display: flex; flex-direction: column; gap: 4px; animation: popIn .3s var(--ease); }
.globe-pop::before { content: ''; position: absolute; top: -7px; left: 50%; width: 14px; height: 14px; background: #fff; transform: translateX(-50%) rotate(45deg); border-radius: 3px; }
.globe-pop.is-docked { left: 16px !important; right: 16px; bottom: 16px; top: auto !important; width: auto; transform: none; }
.globe-pop.is-docked::before { display: none; }
@keyframes popIn { from { opacity: 0; scale: .9; } }
.globe-pop__label { font-size: .7rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); }
.globe-pop strong { font-family: var(--font-head); color: var(--navy); font-size: 1rem; line-height: 1.3; }
.globe-pop__coords { font-size: .78rem; color: var(--muted); margin-bottom: 10px; font-variant-numeric: tabular-nums; }
.globe-pop__close { position: absolute; top: 8px; right: 10px; width: 28px; height: 28px; border: 0; background: none; font-size: 1.3rem; color: var(--muted); border-radius: 8px; }
.globe-pop__close:hover { background: var(--sky-100); }

/* tooltip globe.gl */
.gtip { background: rgba(255,255,255,.97); color: var(--ink); padding: 12px 14px; border-radius: 12px; box-shadow: var(--shadow-lg); display: flex; flex-direction: column; gap: 2px; font-family: var(--font-body); font-size: .8rem; max-width: 240px; }
.gtip strong { font-family: var(--font-head); color: var(--navy); font-size: .95rem; }
.gtip span { color: var(--muted); }
.gtip__tag { color: var(--c) !important; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; font-size: .66rem; display: inline-flex; align-items: center; gap: 6px; }
.gtip__tag::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: var(--c); }

/* panel */
.map-panel { position: relative; height: 640px; display: flex; flex-direction: column; border-radius: 28px; background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.1); backdrop-filter: blur(16px); overflow: hidden; }
.map-panel__tabs { display: grid; grid-template-columns: 1fr 1fr; padding: 8px; gap: 6px; border-bottom: 1px solid rgba(255,255,255,.08); }
.tab { border: 0; background: transparent; color: rgba(255,255,255,.65); padding: 10px; border-radius: 12px; font-family: var(--font-head); font-weight: 600; font-size: .88rem; display: inline-flex; align-items: center; justify-content: center; gap: 8px; transition: background .2s, color .2s; }
.tab.is-active { background: rgba(255,255,255,.1); color: #fff; }
.badge { min-width: 22px; padding: 1px 7px; border-radius: 999px; background: rgba(26,155,230,.3); font-size: .72rem; }
.loc-list { list-style: none; margin: 0; padding: 8px; overflow-y: auto; flex: 1; scrollbar-width: thin; scrollbar-color: rgba(255,255,255,.2) transparent; transition: opacity .3s; }
.loc-list.is-behind { display: none; }
.loc { width: 100%; display: flex; align-items: center; gap: 12px; padding: 12px; border: 0; border-radius: 14px; background: transparent; color: #fff; text-align: left; transition: background .2s, transform .2s; }
.loc:hover { background: rgba(255,255,255,.07); transform: translateX(3px); }
.loc__main { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.loc__main strong { font-size: .92rem; font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.loc__main small { color: rgba(255,255,255,.55); font-size: .78rem; }
.loc__meta { font-size: .74rem; color: rgba(255,255,255,.7); text-align: right; display: flex; flex-direction: column; align-items: flex-end; gap: 2px; white-space: nowrap; }
.loc__meta em { font-style: normal; font-size: .64rem; text-transform: uppercase; letter-spacing: .06em; color: rgba(255,255,255,.4); }
.loc__meta em.new { color: var(--blue-400); font-weight: 700; }
.empty { padding: 30px; text-align: center; color: rgba(255,255,255,.5); font-size: .9rem; }

.detail { flex: 1; overflow-y: auto; padding: 20px 22px; animation: slideIn .35s var(--ease); }
@keyframes slideIn { from { opacity: 0; transform: translateX(20px); } }
.detail__close { border: 0; background: rgba(255,255,255,.08); color: #fff; padding: 6px 12px; border-radius: 10px; font-size: .8rem; font-weight: 600; margin-bottom: 16px; }
.detail__close:hover { background: rgba(255,255,255,.15); }
.detail h3 { font-size: 1.4rem; margin: 12px 0 2px; }
.detail__place { color: rgba(255,255,255,.6); font-size: .9rem; }
.detail__tags { display: flex; gap: 6px; flex-wrap: wrap; }
.detail__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 16px 0; }
.detail__grid div { background: rgba(255,255,255,.06); border-radius: 12px; padding: 10px 12px; }
.detail__grid dt { font-size: .68rem; text-transform: uppercase; letter-spacing: .06em; color: rgba(255,255,255,.5); }
.detail__grid dd { margin: 2px 0 0; font-weight: 700; font-size: .9rem; }
.detail p { font-size: .9rem; color: rgba(255,255,255,.8); }
.detail__src { font-size: .74rem; color: rgba(255,255,255,.4); }
.detail__photos { display: flex; gap: 8px; margin-bottom: 14px; }
.detail__photos img { width: 80px; height: 80px; object-fit: cover; border-radius: 10px; }
.detail .tag--mamba, .detail .tag--validado { background: rgba(43,217,166,.18); color: var(--teal); }
.detail .tag--critica { background: rgba(255,77,94,.2); color: #FF8A95; }
.detail .tag--alta, .detail .tag--alerta { background: rgba(255,159,28,.2); color: #FFC069; }
.detail .tag--moderada { background: rgba(255,210,63,.2); color: var(--moderate); }
.detail .tag--verificacao, .detail .tag--aprovado, .detail .tag--transporte { background: rgba(79,195,247,.2); color: var(--blue-400); }
.detail .tag--entregue { background: rgba(43,217,166,.18); color: var(--teal); }
.mini-journey { list-style: none; padding: 0; margin: 4px 0 14px; display: flex; gap: 4px; }
.mini-journey li { flex: 1; font-size: .62rem; text-align: center; color: rgba(255,255,255,.45); padding-top: 10px; position: relative; font-weight: 600; }
.mini-journey li::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 4px; border-radius: 4px; background: rgba(255,255,255,.12); }
.mini-journey li.is-done { color: #fff; } .mini-journey li.is-done::before { background: var(--teal); }
.mini-journey li.is-now { color: var(--blue-400); } .mini-journey li.is-now::before { background: linear-gradient(90deg, var(--blue-400) 50%, rgba(255,255,255,.12) 50%); background-size: 200% 100%; animation: loadbar 1.6s linear infinite; }
@keyframes loadbar { from { background-position: 100% 0; } to { background-position: 0 0; } }

.legend { display: flex; flex-wrap: wrap; gap: 8px 14px; padding: 14px 18px; border-top: 1px solid rgba(255,255,255,.08); font-size: .74rem; color: rgba(255,255,255,.7); }
.legend span { display: inline-flex; align-items: center; gap: 6px; }

/* ---------- report ---------- */
.report { display: grid; grid-template-columns: .85fr 1.15fr; gap: 60px; align-items: start; }
.report__intro { position: sticky; top: 110px; }
.report__intro h2 { font-size: clamp(2rem, 3.6vw, 2.8rem); color: var(--navy); }
.report__intro h2 em { font-style: normal; color: var(--blue); }
.report__intro > p { color: var(--muted); font-size: 1.05rem; }

.journey { list-style: none; padding: 0; margin: 30px 0; display: grid; gap: 0; }
.journey li { display: flex; align-items: center; gap: 14px; padding: 10px 0; font-weight: 600; color: var(--muted); position: relative; }
.journey li span { width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; background: var(--sky-100); color: var(--navy); font-family: var(--font-head); font-size: .85rem; position: relative; z-index: 1; }
.journey li:not(:last-child)::after { content: ''; position: absolute; left: 15px; top: 42px; height: calc(100% - 32px); width: 2px; background: var(--line); }
.journey li.is-done { color: var(--navy); }
.journey li.is-done span { background: var(--blue); color: #fff; box-shadow: 0 0 0 6px rgba(26,155,230,.15); }

.privacy { display: flex; gap: 14px; padding: 18px; border-radius: var(--radius-sm); background: var(--sky-50); box-shadow: 0 0 0 1px var(--line); }
.privacy svg { width: 26px; height: 26px; color: var(--blue); }
.privacy p { margin: 0; font-size: .88rem; color: var(--muted); }
.privacy strong { color: var(--navy); }

.wizard { background: #fff; border-radius: 28px; padding: 36px; box-shadow: var(--shadow-lg), 0 0 0 1px var(--line); position: relative; overflow: hidden; }
.wizard__progress { position: absolute; top: 0; left: 0; right: 0; height: 4px; background: var(--sky-100); }
.wizard__progress span { display: block; height: 100%; width: 33%; background: linear-gradient(90deg, var(--blue), var(--blue-400)); transition: width .5s var(--ease); }
.wizard__steps { list-style: none; padding: 0; margin: 0 0 28px; display: flex; gap: 8px; }
.wizard__steps li { flex: 1; display: flex; align-items: center; gap: 10px; font-family: var(--font-head); font-weight: 600; font-size: .88rem; color: var(--muted); }
.wizard__steps li::before { content: attr(data-step-label); width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: var(--sky-100); color: var(--navy); font-size: .8rem; transition: background .3s, color .3s; flex-shrink: 0; }
.wizard__steps li.is-active { color: var(--navy); }
.wizard__steps li.is-active::before { background: var(--blue); color: #fff; box-shadow: 0 0 0 5px rgba(26,155,230,.18); }
.wizard__steps li.is-done::before { content: '✓'; background: var(--teal); color: #fff; }

.step { border: 0; padding: 0; margin: 0; min-width: 0; display: none; }
.step.is-active { display: block; animation: stepIn .45s var(--ease); }
@keyframes stepIn { from { opacity: 0; transform: translateX(24px); } }
.step legend { font-family: var(--font-head); font-weight: 700; font-size: 1.35rem; color: var(--navy); margin-bottom: 20px; padding: 0; }

.loc-picker { display: flex; flex-direction: column; gap: 12px; padding: 18px; border-radius: 16px; background: var(--sky-50); border: 1.5px dashed #BBD9F0; margin-bottom: 20px; transition: border-color .3s, background .3s; }
.loc-picker__coords { display: flex; align-items: center; gap: 10px; font-weight: 600; color: var(--muted); font-size: .92rem; }
.loc-picker__coords svg { color: var(--blue); width: 22px; height: 22px; }
.loc-picker__coords.is-set { color: var(--navy); }
.loc-picker:has(.is-set) { border-style: solid; border-color: var(--blue); background: #fff; }
.loc-picker__coords.is-invalid { color: #D62839; }
.loc-picker:has(.is-invalid) { border-color: var(--critical); }
.loc-picker__btns { display: flex; gap: 8px; flex-wrap: wrap; }

.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 18px; min-width: 0; }
.grid-2 .field { margin-bottom: 0; }
.grid-2 { margin-bottom: 18px; }
.field--full { grid-column: 1 / -1; }
.field > span { font-size: .85rem; font-weight: 700; color: var(--navy); }
.field input, .field select, .field textarea {
  font: inherit; font-size: .95rem; color: var(--ink); width: 100%;
  padding: 12px 14px; border-radius: 12px; border: 1.5px solid var(--line); background: #fff;
  transition: border-color .2s, box-shadow .2s;
}
.field textarea { resize: vertical; min-height: 110px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 0; border-color: var(--blue); box-shadow: 0 0 0 4px rgba(26,155,230,.15); }
.field.is-invalid input, .field.is-invalid textarea { border-color: var(--critical); }
.field.is-invalid > span { color: #D62839; }
.field.is-invalid .choice span, .field.is-invalid .urg span { border-color: rgba(255,77,94,.5); }
.hint { font-size: .76rem; color: var(--muted); }

.choice-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.choice input, .urg input { position: absolute; opacity: 0; pointer-events: none; }
.choice span { display: flex; align-items: center; justify-content: center; text-align: center; min-height: 54px; padding: 10px; border-radius: 12px; border: 1.5px solid var(--line); font-size: .85rem; font-weight: 600; color: var(--navy); cursor: pointer; transition: all .2s var(--ease); }
.choice span:hover { border-color: var(--blue); }
.choice input:checked + span { border-color: var(--blue); background: var(--sky-100); box-shadow: 0 0 0 3px rgba(26,155,230,.15); transform: scale(1.02); }
.choice input:focus-visible + span, .urg input:focus-visible + span { outline: 2px solid var(--blue); outline-offset: 2px; }

.urgency { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.urg { --c: var(--moderate); }
.urg--critical { --c: var(--critical); } .urg--high { --c: var(--high); }
.urg span { display: flex; flex-direction: column; gap: 2px; padding: 14px; border-radius: 12px; border: 1.5px solid var(--line); cursor: pointer; transition: all .2s var(--ease); position: relative; padding-left: 36px; }
.urg span::before { content: ''; position: absolute; left: 14px; top: 18px; width: 12px; height: 12px; border-radius: 50%; background: var(--c); box-shadow: 0 0 0 4px color-mix(in srgb, var(--c) 20%, transparent); }
.urg b { color: var(--navy); font-size: .92rem; }
.urg small { color: var(--muted); font-size: .74rem; line-height: 1.3; }
.urg span:hover { border-color: var(--c); }
.urg input:checked + span { border-color: var(--c); background: color-mix(in srgb, var(--c) 9%, #fff); box-shadow: 0 0 0 3px color-mix(in srgb, var(--c) 18%, transparent); }

.stepper { display: flex; border: 1.5px solid var(--line); border-radius: 12px; overflow: hidden; transition: border-color .2s, box-shadow .2s; }
.stepper:focus-within { border-color: var(--blue); box-shadow: 0 0 0 4px rgba(26,155,230,.15); }
.field.is-invalid .stepper { border-color: var(--critical); }
.stepper button { width: 46px; border: 0; background: var(--sky-50); color: var(--navy); font-size: 1.2rem; font-weight: 700; transition: background .2s; }
.stepper button:hover { background: var(--sky-100); }
.stepper input { border: 0 !important; box-shadow: none !important; text-align: center; border-radius: 0; -moz-appearance: textfield; }
.stepper input::-webkit-inner-spin-button { -webkit-appearance: none; }

.dropzone { position: relative; display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 24px; border-radius: 14px; border: 1.5px dashed #BBD9F0; background: var(--sky-50); color: var(--muted); font-size: .88rem; cursor: pointer; text-align: center; transition: border-color .2s, background .2s; }
.dropzone svg { width: 28px; height: 28px; color: var(--blue); }
.dropzone small { font-size: .74rem; }
.dropzone input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.dropzone:hover, .dropzone.is-over { border-color: var(--blue); background: var(--sky-100); }
.dropzone.is-full { display: none; }
.thumbs { display: flex; gap: 10px; margin-top: 10px; flex-wrap: wrap; }
.thumb { position: relative; width: 84px; height: 84px; border-radius: 12px; overflow: hidden; animation: popIn .3s var(--ease); }
.thumb img { width: 100%; height: 100%; object-fit: cover; }
.thumb button { position: absolute; top: 4px; right: 4px; width: 22px; height: 22px; border-radius: 50%; border: 0; background: rgba(4,20,49,.75); color: #fff; font-size: .9rem; line-height: 1; }

.check { display: flex; gap: 12px; align-items: flex-start; font-size: .86rem; color: var(--muted); margin: 6px 0 20px; cursor: pointer; padding: 14px; border-radius: 12px; border: 1.5px solid transparent; }
.check input { width: 20px; height: 20px; accent-color: var(--blue); margin-top: 1px; flex-shrink: 0; }
.check.is-invalid { border-color: var(--critical); background: rgba(255,77,94,.05); }

.review { background: var(--sky-50); border-radius: 14px; padding: 16px 18px; }
.review__title { font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); }
.review dl, .impact-id dl { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 10px 0 0; }
.review dt, .impact-id dt { font-size: .72rem; color: var(--muted); }
.review dd, .impact-id dd { margin: 2px 0 0; font-weight: 700; color: var(--navy); font-size: .9rem; }

.form-error { color: #D62839; background: rgba(255,77,94,.08); padding: 10px 14px; border-radius: 10px; font-size: .88rem; font-weight: 600; margin: 16px 0 0; }
.wizard__nav { display: flex; justify-content: space-between; gap: 12px; margin-top: 26px; padding-top: 22px; border-top: 1px solid var(--line); }

/* ---------- mamba ---------- */
.impact { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-bottom: 50px; }
.impact__item { padding: 26px; border-radius: var(--radius); background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.1); }
.impact__item strong { display: block; font-family: var(--font-head); font-size: 2rem; color: var(--teal); line-height: 1.1; margin-bottom: 8px; }
.impact__item > span { font-size: .88rem; color: rgba(255,255,255,.7); }
.timeline { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 16px; }
.tl-item { position: relative; padding: 24px; border-radius: var(--radius); background: linear-gradient(160deg, rgba(255,255,255,.08), rgba(255,255,255,.02)); border: 1px solid rgba(255,255,255,.1); transition: transform .35s var(--ease), border-color .35s; display: flex; flex-direction: column; }
.tl-item:hover { transform: translateY(-6px); border-color: rgba(43,217,166,.5); }
.tl-item.is-upcoming { border-style: dashed; }
.tl-item__year { font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--blue-400); margin-bottom: 10px; }
.tl-item h3 { font-size: 1.2rem; margin-bottom: 4px; }
.tl-item__place { display: inline-flex; align-items: center; gap: 6px; color: rgba(255,255,255,.6); font-size: .86rem; margin-bottom: 12px; }
.tl-item__place svg { width: 15px; height: 15px; }
.tl-item p { color: rgba(255,255,255,.8); font-size: .9rem; margin-bottom: 6px; }
.tl-item__impact { color: var(--teal); font-family: var(--font-head); font-size: 1.05rem; margin-bottom: 16px; }
.tl-item__btn { margin-top: auto; align-self: flex-start; background: none; border: 0; padding: 0; color: #fff; font-weight: 700; font-size: .85rem; opacity: .7; transition: opacity .2s, transform .2s; }
.tl-item__btn:hover { opacity: 1; transform: translateX(3px); }
.mamba-cta { display: flex; justify-content: space-between; align-items: center; gap: 20px; margin-top: 40px; flex-wrap: wrap; }
.mamba-cta p { margin: 0; color: rgba(255,255,255,.5); font-size: .82rem; max-width: 520px; }

/* ---------- help ---------- */
.help-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.help { text-align: left; border: 0; background: #fff; border-radius: 22px; padding: 30px 26px; box-shadow: 0 0 0 1px var(--line); display: flex; flex-direction: column; gap: 6px; position: relative; overflow: hidden; transition: transform .35s var(--ease), box-shadow .35s; color: var(--ink); }
.help::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 0; background: linear-gradient(180deg, var(--blue), var(--navy)); transition: height .5s var(--ease); z-index: 0; }
.help > * { position: relative; z-index: 1; transition: color .3s; }
.help:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.help:hover::after { height: 100%; }
.help:hover h3, .help:hover p, .help:hover .help__go { color: #fff; }
.help__icon { font-size: 2rem; margin-bottom: 8px; display: inline-block; transition: transform .4s var(--ease) !important; }
.help:hover .help__icon { transform: scale(1.15) rotate(-6deg); }
.help h3 { font-size: 1.2rem; color: var(--navy); margin: 0; }
.help p { color: var(--muted); font-size: .92rem; margin: 0 0 12px; }
.help__go { margin-top: auto; font-weight: 700; color: var(--blue); font-size: .9rem; }

/* ---------- roadmap ---------- */
.roadmap { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; position: relative; padding-top: 40px; }
.roadmap__line { position: absolute; top: 10px; left: 0; right: 0; height: 4px; background: var(--line); border-radius: 4px; overflow: hidden; }
.roadmap__line span { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--blue), var(--teal)); transition: width 1.8s var(--ease); }
.phase { position: relative; padding: 22px; border-radius: var(--radius); background: #fff; box-shadow: 0 0 0 1px var(--line); }
.phase::before { content: ''; position: absolute; top: -37px; left: 22px; width: 14px; height: 14px; border-radius: 50%; background: #fff; border: 3px solid var(--line); }
.phase.is-current::before { border-color: var(--blue); background: var(--blue); box-shadow: 0 0 0 6px rgba(26,155,230,.2); }
.phase.is-current { box-shadow: 0 0 0 2px var(--blue), var(--shadow); }
.phase__n { font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--blue); }
.phase h4 { font-size: 1rem; color: var(--navy); margin: 6px 0; }
.phase p { font-size: .85rem; color: var(--muted); margin: 0; }

/* ---------- final ---------- */
.final { padding: 110px 0; text-align: center; color: #fff; position: relative; overflow: hidden; background: linear-gradient(135deg, var(--navy) 0%, var(--blue) 120%); }
.final::before { content: ''; position: absolute; width: 700px; height: 700px; border-radius: 50%; border: 1px solid rgba(255,255,255,.12); left: 50%; top: 50%; transform: translate(-50%, -50%); box-shadow: 0 0 0 80px rgba(255,255,255,.03), 0 0 0 160px rgba(255,255,255,.02); animation: breathe 8s ease-in-out infinite; }
@keyframes breathe { 50% { transform: translate(-50%, -50%) scale(1.08); } }
.final__inner { position: relative; }
.final h2 { font-size: clamp(2rem, 4.4vw, 3.4rem); max-width: 820px; margin: 0 auto 14px; }
.final__motto { font-family: var(--font-head); letter-spacing: .2em; text-transform: uppercase; font-size: .85rem; color: rgba(255,255,255,.7); }
.final .hero__ctas { justify-content: center; }

/* ---------- footer ---------- */
.footer { padding: 50px 0 40px; background: #fff; border-top: 1px solid var(--line); }
.footer__inner { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 14px; }
.footer__logo { height: 54px; width: auto; }
.footer p { color: var(--muted); max-width: 520px; margin: 0; font-size: .92rem; }
.footer__links { display: flex; gap: 22px; flex-wrap: wrap; justify-content: center; font-weight: 600; font-size: .88rem; color: var(--navy); }
.footer__links a { text-decoration: none; }
.footer__links a:hover { color: var(--blue); }
.footer__admin { opacity: .7; }
.footer small { color: var(--muted); }

/* ---------- modal ---------- */
.modal { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; padding: 20px; }
.modal__backdrop { position: absolute; inset: 0; background: rgba(4,20,49,.55); backdrop-filter: blur(6px); opacity: 0; transition: opacity .25s; }
.modal__card { position: relative; width: min(480px, 100%); max-height: calc(100vh - 40px); overflow-y: auto; background: #fff; border-radius: 24px; padding: 34px; box-shadow: var(--shadow-lg); opacity: 0; transform: translateY(20px) scale(.97); transition: opacity .3s var(--ease), transform .3s var(--ease); }
.modal.is-open .modal__backdrop { opacity: 1; }
.modal.is-open .modal__card { opacity: 1; transform: none; }
.modal__card h3 { color: var(--navy); font-size: 1.4rem; }
.modal__card > p { color: var(--muted); }
.modal__actions { display: flex; gap: 10px; margin-top: 22px; flex-wrap: wrap; }
.success-drop { width: 70px; height: 70px; border-radius: 50% 50% 50% 50% / 60% 60% 40% 40%; background: linear-gradient(135deg, var(--blue-400), var(--blue)); display: grid; place-items: center; color: #fff; margin-bottom: 18px; animation: dropIn .6s var(--ease); box-shadow: 0 14px 30px -10px rgba(26,155,230,.8); }
.success-drop svg { width: 34px; height: 34px; stroke-width: 3; stroke-dasharray: 30; stroke-dashoffset: 30; animation: drawCheck .5s .4s forwards; }
@keyframes dropIn { from { transform: translateY(-40px) scale(.6); opacity: 0; } }
@keyframes drawCheck { to { stroke-dashoffset: 0; } }
.impact-id { border-radius: 16px; padding: 18px; background: var(--sky-50); box-shadow: 0 0 0 1px var(--line); }
.impact-id__head { display: flex; justify-content: space-between; align-items: baseline; border-bottom: 1px dashed var(--line); padding-bottom: 10px; }
.impact-id__head span { font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); }
.impact-id__head strong { font-family: var(--font-head); color: var(--blue); }
.help-form .field { margin-bottom: 14px; }

/* ---------- toast ---------- */
.toast { position: fixed; left: 50%; bottom: 24px; z-index: 120; transform: translate(-50%, 30px); opacity: 0; background: var(--navy); color: #fff; padding: 14px 22px; border-radius: 14px; box-shadow: var(--shadow-lg); font-weight: 600; font-size: .92rem; transition: opacity .3s, transform .3s var(--ease); pointer-events: none; max-width: calc(100% - 32px); text-align: center; }
.toast.is-show { opacity: 1; transform: translate(-50%, 0); }

/* ---------- focus ---------- */
:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; border-radius: 6px; }

/* ---------- responsive ---------- */
@media (max-width: 1080px) {
  .nav__links { gap: 18px; }
  .nav__links a { font-size: .85rem; }
  .cards--4, .help-grid { grid-template-columns: repeat(2, 1fr); }
  .flow { grid-template-columns: repeat(2, 1fr); }
  .flow::before { display: none; }
  .split { grid-template-columns: 1fr; }
  .map-shell { grid-template-columns: 1fr; }
  .map-panel { height: 460px; }
  .impact { grid-template-columns: repeat(2, 1fr); }
  .roadmap { grid-template-columns: repeat(3, 1fr); }
  .roadmap__line, .phase::before { display: none; }
  .report { grid-template-columns: 1fr; gap: 40px; }
  .report__intro { position: static; }
}

@media (max-width: 900px) {
  .nav__links { position: fixed; top: 0; left: 0; right: 0; flex-direction: column; gap: 0; padding: 90px 24px 24px; background: #fff; box-shadow: var(--shadow-lg); transform: translateY(-110%); transition: transform .45s var(--ease); z-index: -1; }
  .nav.is-open .nav__links { transform: none; }
  .nav__links a { padding: 14px 0; font-size: 1.05rem; border-bottom: 1px solid var(--line); }
  .nav__links a::after { display: none; }
  .nav__dropdown { flex-direction: column; align-items: stretch; }
  .nav__dropbtn { justify-content: space-between; width: 100%; padding: 14px 0; font-size: 1.05rem; border-bottom: 1px solid var(--line); }
  .nav__dropbtn::after { display: none; }
  .nav__dropdown:hover .nav__dropbtn svg { transform: none; }
  .nav__dropdown.is-open .nav__dropbtn svg { transform: rotate(180deg); }
  .nav__submenu, .nav__dropdown:hover .nav__submenu, .nav__dropdown:focus-within .nav__submenu { position: static; transform: none; margin: 0; box-shadow: none; padding: 6px 0; min-width: 0; display: none; opacity: 1; visibility: visible; }
  .nav__dropdown.is-open .nav__submenu { display: block; transform: none; }
  .nav__links .nav__subitem { border-bottom: 0; padding: 10px 8px; font-size: 1rem; }
  .nav__burger { display: block; margin-left: auto; }
  .nav__cta { display: none; }
  .hero { padding: 120px 0 120px; }
  .hero__grid { grid-template-columns: 1fr; }
  .hero__visual { height: 380px; }
  .drop-orb { transform: scale(.8); }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(2) { border-right: 0; }
  .stat:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .score { grid-template-columns: 1fr; text-align: left; }
  .score__gauge { max-width: 240px; margin: 0 auto; }
}

@media (max-width: 640px) {
  .container { width: calc(100% - 32px); }
  .section, .map-section { padding: 80px 0; }
  .cards--4, .help-grid, .flow, .impact, .roadmap { grid-template-columns: 1fr; }
  .globe-wrap { height: 480px; border-radius: 20px; }
  .map-panel { border-radius: 20px; }
  .float-card--a { left: 0; top: 10px; } .float-card--b { right: 0; } .float-card--c { left: 0; bottom: 10px; }
  .float-card strong { font-size: 1.25rem; }
  .stat { padding: 20px 16px; } .stat strong { font-size: 1.5rem; }
  .wizard { padding: 26px 20px; border-radius: 22px; }
  .wizard__steps li { font-size: 0; gap: 0; justify-content: center; }
  .wizard__steps li.is-active { font-size: .85rem; gap: 8px; }
  .grid-2 { grid-template-columns: 1fr; }
  .choice-grid { grid-template-columns: repeat(2, 1fr); }
  .urgency { grid-template-columns: 1fr; }
  .globe-hint { font-size: .78rem; white-space: normal; text-align: center; width: max-content; max-width: calc(100% - 32px); }
  .pick-banner { top: auto; bottom: 16px; font-size: .78rem; white-space: normal; width: calc(100% - 32px); }
  .modal__card { padding: 26px 22px; }
  .review dl, .impact-id dl, .detail__grid { grid-template-columns: 1fr 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; }
}
