/* Landing — Firemap */
.grain { position: fixed; inset: 0; z-index: 50; pointer-events: none; opacity: .07; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='180' height='180'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 1  0 0 0 0 1  0 0 0 0 1  0 0 0 .9 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>"); }

.nav { position: fixed; z-index: 40; inset: 0 0 auto 0; display: flex; align-items: center; justify-content: space-between;
  padding: 18px clamp(20px, 4vw, 56px); background: linear-gradient(to bottom, rgba(11,9,7,.85), rgba(11,9,7,0)); backdrop-filter: blur(2px); }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-family: var(--font-display); font-size: 30px; line-height: 1; }
.brand svg { width: 22px; height: 22px; color: var(--flame); }
.nav nav { display: flex; align-items: center; gap: clamp(14px, 2.4vw, 34px); }
.nav nav a:not(.btn):not(.lang) { text-decoration: none; font-size: 14px; color: var(--muted); transition: color .2s; }
.nav nav a:not(.btn):hover { color: var(--text); }
.nav__cta { padding: 10px 18px; font-size: 14px; }

/* Hero */
.hero { position: relative; min-height: 100svh; display: grid; align-items: center; overflow: hidden;
  padding: 120px clamp(20px, 6vw, 96px) 150px; }
.hero__globe { position: absolute; z-index: 0; right: -14vw; top: 50%; width: min(105vh, 78vw); height: min(105vh, 78vw); transform: translateY(-50%); }
.hero__globe .maplibregl-canvas { outline: none; }
.hero__veil { position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: radial-gradient(60% 70% at 78% 50%, rgba(255,90,31,.10), transparent 70%),
              linear-gradient(90deg, var(--bg) 18%, rgba(11,9,7,.55) 48%, rgba(11,9,7,0) 75%); }
.hero__copy { position: relative; z-index: 2; max-width: 960px; }
.hero h1 { font-family: var(--font-display); font-weight: 400; font-size: clamp(46px, 7.4vw, 118px); line-height: .94; letter-spacing: -.02em; margin: 22px 0 28px; }
.hero h1 em, h2 em { font-style: italic; background: linear-gradient(100deg, var(--gold), var(--flame) 45%, var(--ember)); -webkit-background-clip: text; background-clip: text; color: transparent; padding-right: .06em; }
.lede { font-size: clamp(17px, 1.5vw, 21px); color: var(--muted); max-width: 520px; margin: 0 0 36px; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 14px; }
.live-dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--ember); margin-right: 8px; box-shadow: 0 0 0 0 rgba(255,90,31,.7); animation: pulse 2.2s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 12px rgba(255,90,31,0); } 100% { box-shadow: 0 0 0 0 rgba(255,90,31,0); } }

.hero__stats { position: absolute; z-index: 2; left: clamp(20px, 6vw, 96px); right: clamp(20px, 6vw, 96px); bottom: 36px; margin: 0;
  display: grid; grid-template-columns: repeat(3, auto); justify-content: start; gap: clamp(28px, 6vw, 90px); padding-top: 22px; border-top: 1px solid var(--line); }
.hero__stats dt { margin-bottom: 4px; }
.hero__stats dd { margin: 0; font-family: var(--font-display); font-size: clamp(34px, 4vw, 54px); line-height: 1; font-variant-numeric: tabular-nums; }
.hero__stats dd.small { font-size: clamp(20px, 2vw, 26px); padding-top: 10px; font-family: var(--font-mono); letter-spacing: 0; }

/* Seções */
.sec { position: relative; padding: clamp(90px, 14vw, 190px) clamp(20px, 6vw, 96px); border-top: 1px solid var(--line); }
.sec--alt { background: var(--bg-2); }
.sec__head { max-width: 980px; margin-bottom: clamp(40px, 6vw, 80px); }
h2 { font-family: var(--font-display); font-weight: 400; font-size: clamp(38px, 6vw, 84px); line-height: 1; letter-spacing: -.015em; margin: 16px 0 0; }
.sub { color: var(--muted); font-size: clamp(16px, 1.4vw, 19px); max-width: 640px; margin-top: 26px; }
.split { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(36px, 7vw, 120px); align-items: start; }
.split--center { align-items: center; }
.big { font-family: var(--font-display); font-size: clamp(24px, 2.6vw, 36px); line-height: 1.25; margin: 0 0 28px; }
.big strong { font-weight: 400; color: var(--gold); }
.split p { color: var(--muted); max-width: 56ch; }
.split p.big { color: var(--text); max-width: 30ch; }

.pixels { margin: 0; padding: 28px; border: 1px solid var(--line); border-radius: 20px; background: var(--surface); }
.pixels svg { width: 100%; height: auto; display: block; }
.pix-modis rect { fill: rgba(255,138,43,.10); stroke: var(--flame); stroke-width: 1.5; }
.pix-modis circle { fill: var(--ember); filter: drop-shadow(0 0 8px var(--ember)); }
.pix-viirs path { stroke: var(--line-strong); stroke-width: 1; }
.pix-frame { fill: none; stroke: var(--gold); stroke-width: 1.5; }
.pix-viirs .hot { fill: var(--ember); } .pix-viirs .hot2 { fill: rgba(255,201,77,.55); }
.t-mono { fill: var(--text); font: 500 12px var(--font-mono); letter-spacing: .06em; }
.t-note { fill: var(--muted); font: 400 13px var(--font-ui); }
.pixels figcaption { margin-top: 14px; }

/* Passos */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border-top: 1px solid var(--line-strong); }
.steps li { padding: 36px clamp(16px, 2.4vw, 40px) 8px 0; }
.steps li + li { padding-left: clamp(16px, 2.4vw, 40px); border-left: 1px solid var(--line); }
.steps__n { font-family: var(--font-display); font-size: 88px; line-height: 1; color: var(--ember); opacity: .9; display: block; margin-bottom: 14px; }
.steps h3 { font-family: var(--font-display); font-weight: 400; font-size: 38px; margin: 0 0 12px; }
.steps p { color: var(--muted); max-width: 40ch; margin: 0; }

/* Calendar + chart */
.cal { margin: 0; }
.cal__grid { display: grid; grid-template-columns: 44px repeat(12, 1fr); gap: 3px; max-width: 980px; }
.cal__grid span { font: 400 11px var(--font-mono); color: var(--faint); align-self: center; }
.cal__grid i { height: 17px; border-radius: 3px; display: block; background: var(--surface); }
.cal__grid i.none { background: transparent; border: 1px dashed var(--line); }
.cal__grid i.est { opacity: .78; box-shadow: inset 0 0 0 1px rgba(255,232,205,.14); }
.cal__legend { display: flex; align-items: center; gap: 14px; margin-top: 22px; max-width: 980px; flex-wrap: wrap; }
.cal__legend i { flex: 1; min-width: 120px; max-width: 260px; height: 8px; border-radius: 99px; background: linear-gradient(90deg, #241c14, #5a2a12, #a63d10, #ff8a2b, #ffc94d, #fff0b8); }
.cal figcaption { margin-top: 18px; max-width: 70ch; }
.warn { color: var(--gold); opacity: .8; }
.chartbox { margin: 0 0 clamp(40px, 6vw, 80px); max-width: 980px; }
.chartbox svg { width: 100%; height: auto; display: block; }
.ch-grid { stroke: var(--line); stroke-width: 1; }
.ch-ax { fill: var(--faint); font: 400 11px var(--font-mono); }
.ch-note { fill: var(--muted); font: 400 11px var(--font-mono); }
.ch-mark { stroke: var(--line-strong); stroke-dasharray: 3 4; }
.ch-modis { stroke: var(--flame); stroke-width: 2; }
.ch-viirs { stroke: var(--gold); stroke-width: 2; stroke-dasharray: 5 4; }
.ch-harm { stroke: var(--text); stroke-width: 2.6; }
.chartbox .lg { display: flex; flex-wrap: wrap; gap: 8px 26px; margin-top: 12px; color: var(--muted); font-size: 14px; }
.chartbox .lg span { display: inline-flex; align-items: center; gap: 8px; }
.chartbox .lg i { width: 22px; height: 0; border-top: 2.6px solid; display: inline-block; }
.chartbox .lg i.ch-modis { border-color: var(--flame); }
.chartbox .lg i.ch-viirs { border-color: var(--gold); border-top-style: dashed; }
.chartbox .lg i.ch-harm { border-color: var(--text); }
.metrics { display: flex; flex-wrap: wrap; gap: 14px 48px; margin: 34px 0 0; padding: 0; }
.metrics div { min-width: 120px; }
.metrics dt { margin-bottom: 2px; }
.metrics dd { margin: 0; font-family: var(--font-display); font-size: 42px; line-height: 1; }
.lang { font: 500 12px var(--font-mono); letter-spacing: .08em; text-decoration: none; color: var(--muted); border: 1px solid var(--line-strong); border-radius: 999px; padding: 6px 10px; }
.lang:hover { color: var(--text); border-color: var(--text); }

/* Alertas */
.ticks { list-style: none; padding: 0; margin: 30px 0 0; display: grid; gap: 12px; }
.ticks li { position: relative; padding-left: 28px; color: var(--text); }
.ticks li::before { content: ""; position: absolute; left: 0; top: .55em; width: 14px; height: 1px; background: var(--flame); box-shadow: 0 0 0 0; }
.phone { display: grid; place-items: center; gap: 18px; padding: clamp(24px, 5vw, 70px); border-radius: 28px; border: 1px solid var(--line);
  background: radial-gradient(80% 80% at 50% 0%, rgba(255,90,31,.16), transparent 70%), var(--surface); }
.notif { width: 100%; max-width: 360px; padding: 18px 20px; border-radius: 18px; background: rgba(30,25,20,.92); border: 1px solid var(--line-strong);
  display: grid; gap: 6px; box-shadow: 0 30px 80px -30px #000; transform: rotate(-2deg); }
.notif strong { font-size: 18px; font-weight: 600; }
.notif span:last-child { color: var(--muted); font-size: 14px; }

.closing { text-align: center; display: grid; justify-items: center; gap: 40px; }
.closing h2 { font-size: clamp(44px, 8vw, 120px); }

.foot { display: grid; grid-template-columns: 1fr 1.2fr; gap: 40px; padding: 60px clamp(20px, 6vw, 96px) 70px; border-top: 1px solid var(--line); color: var(--muted); font-size: 14px; }
.brandline { font-family: var(--font-display); font-size: 40px; color: var(--text); margin: 0 0 10px; line-height: 1; }
.foot p { margin: 0 0 12px; max-width: 62ch; }

/* Revelar ao rolar */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: var(--d, 0s); }
.reveal.in { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }

@media (max-width: 860px) {
  .nav nav a:not(.btn):not(.lang) { display: none; }
  .hero { padding-bottom: 190px; }
  .hero__globe { right: -42vw; top: 62%; width: 130vw; height: 130vw; opacity: .8; }
  .hero__veil { background: linear-gradient(180deg, rgba(11,9,7,.85) 10%, rgba(11,9,7,.25) 60%, var(--bg) 100%); }
  .hero__stats { grid-template-columns: repeat(2, auto); gap: 22px 36px; }
  .split, .steps, .foot { grid-template-columns: 1fr; }
  .steps li + li { border-left: 0; padding-left: 0; border-top: 1px solid var(--line); margin-top: 28px; }
}

.steps--sm { margin-top: 48px; }
.steps--sm li { padding-top: 28px; }
.steps--sm h3 { font-size: 30px; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin: 40px 0 0; }

.uses { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.uses li { position: relative; padding: 24px 22px 56px; border: 1px solid var(--line); border-radius: 20px; background: var(--surface); }
.uses h3 { font-family: var(--font-display); font-weight: 400; font-size: 28px; line-height: 1.1; margin: 10px 0 12px; }
.uses p { color: var(--muted); font-size: 14.5px; margin: 0; }
.uses strong { color: var(--gold); font-weight: 500; }
.tag { position: absolute; left: 22px; bottom: 20px; font: 500 11px var(--font-mono); letter-spacing: .08em; text-transform: uppercase; font-style: normal; padding: 5px 10px; border-radius: 99px; border: 1px solid var(--line-strong); color: var(--muted); }
.tag--live { color: var(--gold); border-color: var(--flame); }
@media (max-width: 1000px) { .uses { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .uses { grid-template-columns: 1fr; } }

/* Faixa de prova em números */
.proof { display: flex; flex-wrap: wrap; align-items: center; gap: 20px clamp(28px, 6vw, 90px); padding: 28px clamp(20px, 6vw, 96px); border-block: 1px solid var(--line); }
.proof div { display: flex; flex-direction: column; gap: 6px; max-width: 240px; }
.proof b { font-family: var(--font-display); font-weight: 400; font-size: clamp(34px, 4vw, 54px); line-height: 1; font-variant-numeric: tabular-nums; }
.proof .btn { margin-left: auto; }
@media (max-width: 720px) { .proof .btn { margin-left: 0; } }
