/* =========================================================
   GTA6HQ — identidade visual "Leonida"
   Paleta de pôr do sol neon (rosa, laranja, roxo, teal)
   ========================================================= */
:root {
  --night: #0b0918;
  --deep: #141029;
  --panel: #1b1535;
  --panel-2: #241c45;
  --line: rgba(255, 255, 255, .09);
  --text: #f6f1ff;
  --muted: #a99fc9;
  --pink: #ff3d8b;
  --magenta: #d63bd6;
  --orange: #ff8a3d;
  --sun: #ffc65c;
  --teal: #19d3c5;
  --sky: #6fc3ff;
  --purple: #6a3df0;
  --grad: linear-gradient(90deg, var(--sun), var(--orange) 30%, var(--pink) 65%, var(--magenta));
  --grad-v: linear-gradient(180deg, #2a1659 0%, #8a2c8f 38%, #ff5f7e 62%, #ffb25c 82%, #ffd98a 100%);
  --radius: 14px;
  --head: 'Anton', 'Impact', sans-serif;
  --body: 'Inter', system-ui, sans-serif;
  --script: 'Pacifico', cursive;
  --hdr: 104px;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--night);
  color: var(--text);
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button { font: inherit; color: inherit; cursor: pointer; }
.wrap { width: min(1240px, 100% - 32px); margin-inline: auto; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

/* ---------- Loader (tela de carregamento estilo jogo) ---------- */
.loader {
  position: fixed; inset: 0; z-index: 100;
  background: radial-gradient(ellipse at 50% 120%, #4a1d6b 0%, var(--night) 60%);
  display: grid; place-items: center; text-align: center;
  transition: opacity .8s ease, visibility .8s;
}
.loader.is-done { opacity: 0; visibility: hidden; }
.loader__logo { font-family: var(--head); font-size: clamp(56px, 12vw, 140px); line-height: .9; letter-spacing: .01em; }
.loader__logo span { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.loader__bar { width: min(320px, 70vw); height: 3px; background: var(--line); margin: 28px auto 14px; border-radius: 3px; overflow: hidden; }
.loader__bar i { display: block; height: 100%; width: 0; background: var(--grad); animation: load 2.2s ease forwards; }
@keyframes load { to { width: 100%; } }
.loader__tip { color: var(--muted); font-size: 14px; max-width: 420px; padding: 0 16px; min-height: 44px; }
.loader__skip { margin-top: 18px; background: none; border: 1px solid var(--line); border-radius: 99px; padding: 6px 16px; font-size: 12px; color: var(--muted); letter-spacing: .1em; text-transform: uppercase; }

/* ---------- Header ---------- */
.hdr {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  background: linear-gradient(180deg, rgba(11, 9, 24, .92), rgba(11, 9, 24, .78));
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.hdr::after { content: ''; position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; background: var(--grad); opacity: .85; }
.hdr__top { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; height: 60px; }
.hdr__left, .hdr__right { display: flex; align-items: center; gap: 10px; }
.hdr__right { justify-content: flex-end; }
.icon-btn { background: none; border: 0; display: inline-flex; align-items: center; gap: 8px; padding: 8px; border-radius: 10px; font-size: 14px; font-weight: 600; }
.icon-btn:hover { background: rgba(255, 255, 255, .06); }
.icon-btn svg { width: 22px; height: 22px; }
.logo { font-family: var(--head); font-size: 30px; letter-spacing: .02em; line-height: 1; display: flex; align-items: baseline; gap: 2px; }
.logo b { font-weight: 400; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.logo small { font-family: var(--body); font-size: 10px; font-weight: 800; letter-spacing: .2em; color: var(--muted); margin-left: 6px; align-self: center; }
.hdr__nav { display: flex; gap: 4px; justify-content: center; height: 44px; align-items: center; overflow-x: auto; scrollbar-width: none; }
.hdr__nav::-webkit-scrollbar { display: none; }
.hdr__nav a { font-size: 13px; font-weight: 700; padding: 6px 12px; border-radius: 99px; white-space: nowrap; color: #dcd4f5; }
.hdr__nav a:hover, .hdr__nav a.is-active { background: rgba(255, 61, 139, .14); color: #fff; }
.hdr__nav a.nav-map { color: var(--teal); }
.hdr__nav a.nav-map::before { content: '◉ '; }

/* seletor de idioma */
.lang { display: inline-flex; background: rgba(255, 255, 255, .06); border: 1px solid var(--line); border-radius: 99px; padding: 3px; }
.lang button { background: none; border: 0; font-size: 12px; font-weight: 800; letter-spacing: .06em; padding: 5px 10px; border-radius: 99px; color: var(--muted); }
.lang button.is-on { background: var(--grad); color: #1a0b22; }

/* menu lateral */
.drawer { position: fixed; inset: 0; z-index: 80; visibility: hidden; }
.drawer.is-open { visibility: visible; }
.drawer__bg { position: absolute; inset: 0; background: rgba(5, 3, 12, .7); opacity: 0; transition: opacity .3s; }
.drawer.is-open .drawer__bg { opacity: 1; }
.drawer__panel { position: absolute; inset: 0 auto 0 0; width: min(360px, 88vw); background: var(--deep); padding: 24px; transform: translateX(-100%); transition: transform .35s cubic-bezier(.2, .8, .2, 1); overflow-y: auto; border-right: 1px solid var(--line); }
.drawer.is-open .drawer__panel { transform: none; }
.drawer__panel a { display: block; font-family: var(--head); font-size: 30px; text-transform: uppercase; padding: 6px 0; letter-spacing: .02em; }
.drawer__panel a:hover { color: var(--pink); }
.drawer__panel p { color: var(--muted); font-size: 13px; margin-top: 24px; }

/* ---------- Cena de abertura (scroll = entrar em Leonida) ---------- */
.scene { position: relative; height: 280vh; }
.scene__sticky { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; background: var(--grad-v); }
.scene__layer { position: absolute; left: 0; right: 0; will-change: transform, opacity; pointer-events: none; }
.scene__stars { inset: 0 0 50% 0; background-image: radial-gradient(1px 1px at 10% 20%, #fff8, transparent), radial-gradient(1px 1px at 30% 8%, #fff9, transparent), radial-gradient(1.5px 1.5px at 55% 15%, #fffa, transparent), radial-gradient(1px 1px at 72% 25%, #fff7, transparent), radial-gradient(1px 1px at 88% 10%, #fff9, transparent), radial-gradient(1px 1px at 42% 30%, #fff6, transparent); }
.scene__sun {
  left: 50%; top: 30%; width: min(62vmin, 520px); aspect-ratio: 1; margin-left: calc(min(62vmin, 520px) / -2);
  border-radius: 50%;
  background: linear-gradient(180deg, #ffe9a3 0%, #ffb35c 45%, #ff4f8b 100%);
  -webkit-mask: linear-gradient(180deg, #000 52%, transparent 52% 56%, #000 56% 64%, transparent 64% 69%, #000 69% 76%, transparent 76% 82%, #000 82% 87%, transparent 87%);
          mask: linear-gradient(180deg, #000 52%, transparent 52% 56%, #000 56% 64%, transparent 64% 69%, #000 69% 76%, transparent 76% 82%, #000 82% 87%, transparent 87%);
  filter: drop-shadow(0 0 60px rgba(255, 120, 120, .7));
}
.scene__skyline { bottom: 30%; height: 34%; transform-origin: 50% 100%; }
.scene__skyline svg { width: 100%; height: 100%; display: block; }
.scene__sea { bottom: 0; height: 31%; background: linear-gradient(180deg, #3a1d64 0%, #1a1240 55%, #0b0918 100%); overflow: hidden; }
.scene__sea::before { content: ''; position: absolute; inset: 0; background: repeating-linear-gradient(180deg, transparent 0 9px, rgba(255, 140, 160, .22) 9px 11px); -webkit-mask: radial-gradient(ellipse 40% 90% at 50% 0%, #000, transparent 75%); mask: radial-gradient(ellipse 40% 90% at 50% 0%, #000, transparent 75%); animation: shimmer 3s linear infinite; }
@keyframes shimmer { to { background-position: 0 22px; } }
.scene__palm { bottom: -2%; width: min(34vw, 400px); height: 88%; transform-origin: 50% 100%; }
.scene__palm--l { left: -6%; right: auto; }
.scene__palm--r { right: -8%; left: auto; transform: scaleX(-1); }
.scene__palm svg { width: 100%; height: 100%; fill: #0b0918; stroke: #0b0918; }
.scene__map { inset: 0; opacity: 0; display: grid; place-items: center; background: radial-gradient(ellipse at center, #10324a 0%, #0a1830 70%); }
.scene__map svg { width: min(92vw, 820px); height: auto; }
.scene__title { inset: 0; display: grid; place-content: center; text-align: center; padding: 0 16px; pointer-events: auto; }
.scene__kicker { font-family: var(--script); font-size: clamp(26px, 4.4vw, 48px); color: #fff; text-shadow: 0 0 18px rgba(255, 61, 139, .9), 0 0 2px #fff; transform: rotate(-4deg); margin-bottom: -6px; }
.scene__h1 { font-family: var(--head); font-weight: 400; font-size: clamp(56px, 13vw, 168px); line-height: .88; margin: 0; text-transform: uppercase; letter-spacing: .01em; color: #fff; text-shadow: 0 6px 0 #2a1440, 0 0 40px rgba(255, 90, 140, .55); }
.scene__sub { max-width: 560px; margin: 18px auto 0; font-size: clamp(15px, 1.8vw, 18px); color: #fff; text-shadow: 0 1px 12px rgba(20, 0, 40, .8); font-weight: 500; }
.scene__cta { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-top: 26px; }
.scene__hint { position: absolute; bottom: 22px; left: 50%; transform: translateX(-50%); font-size: 11px; letter-spacing: .3em; text-transform: uppercase; color: #fff; opacity: .85; text-align: center; }
.scene__hint::after { content: ''; display: block; width: 14px; height: 14px; margin: 8px auto 0; border-right: 2px solid #fff; border-bottom: 2px solid #fff; transform: rotate(45deg); animation: bob 1.4s ease-in-out infinite; }
@keyframes bob { 50% { transform: translateY(6px) rotate(45deg); } }
.hud { transition: opacity .3s; }
body.past-scene .hud { opacity: .4; }
body.past-scene .hud:hover { opacity: 1; }
.scene__mapTitle { position: absolute; left: 0; right: 0; bottom: 9%; text-align: center; opacity: 0; pointer-events: none; }
.scene__mapTitle span { font-family: var(--head); font-size: clamp(40px, 8vw, 96px); text-transform: uppercase; letter-spacing: .12em; color: #fff; text-shadow: 0 0 30px rgba(25, 211, 197, .6); }

/* botões */
.btn { display: inline-flex; align-items: center; gap: 10px; border: 0; border-radius: 99px; padding: 13px 22px; font-weight: 800; font-size: 14px; letter-spacing: .04em; text-transform: uppercase; transition: transform .15s, box-shadow .15s; }
.btn:hover { transform: translateY(-2px); }
.btn--primary { background: var(--grad); color: #1a0b22; box-shadow: 0 8px 30px rgba(255, 61, 139, .45); }
.btn--ghost { background: rgba(11, 9, 24, .55); color: #fff; border: 1px solid rgba(255, 255, 255, .35); backdrop-filter: blur(6px); }
.btn--teal { background: var(--teal); color: #04221f; box-shadow: 0 8px 30px rgba(25, 211, 197, .35); }

/* ---------- HUD (contagem regressiva + radar) ---------- */
.hud { position: fixed; z-index: 40; left: 16px; bottom: 16px; display: flex; align-items: flex-end; gap: 12px; pointer-events: none; }
.radar { pointer-events: auto; width: 116px; height: 116px; border-radius: 50%; position: relative; overflow: hidden; border: 3px solid rgba(255, 255, 255, .85); box-shadow: 0 0 0 3px rgba(11, 9, 24, .8), 0 10px 30px rgba(0, 0, 0, .5); background: #0f3a4a; display: block; }
.radar svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.radar::after { content: ''; position: absolute; inset: 0; background: conic-gradient(from 0deg, rgba(25, 211, 197, .35), transparent 22%); animation: sweep 4s linear infinite; border-radius: 50%; }
@keyframes sweep { to { transform: rotate(1turn); } }
.radar__me { position: absolute; left: 50%; top: 50%; width: 0; height: 0; border-left: 7px solid transparent; border-right: 7px solid transparent; border-bottom: 14px solid #fff; transform: translate(-50%, -60%); z-index: 2; filter: drop-shadow(0 0 3px #000); }
.radar__label { position: absolute; left: 0; right: 0; bottom: 8px; text-align: center; font-size: 9px; font-weight: 800; letter-spacing: .14em; z-index: 2; text-shadow: 0 1px 3px #000; }
.countdown { pointer-events: auto; background: rgba(11, 9, 24, .78); border: 1px solid var(--line); border-radius: 12px; padding: 8px 12px; backdrop-filter: blur(8px); }
.countdown__label { font-size: 9px; font-weight: 800; letter-spacing: .2em; color: var(--muted); text-transform: uppercase; }
.countdown__num { font-family: var(--head); font-size: 26px; line-height: 1.1; letter-spacing: .03em; }
.countdown__num em { font-style: normal; color: var(--pink); font-size: 14px; margin: 0 4px 0 1px; }
.wanted { position: fixed; top: calc(var(--hdr) + 12px); right: 16px; z-index: 45; display: flex; gap: 4px; font-size: 26px; opacity: 0; transition: opacity .3s; pointer-events: none; }
.wanted.is-on { opacity: 1; }
.wanted span { color: #fff; text-shadow: 0 0 2px #000, 0 2px 6px #000; animation: blink .5s steps(2) infinite; }
@keyframes blink { 50% { opacity: .25; } }
.toast { position: fixed; z-index: 90; left: 50%; top: calc(var(--hdr) + 16px); transform: translate(-50%, -20px); background: rgba(11, 9, 24, .92); border-left: 4px solid var(--pink); padding: 12px 18px; border-radius: 8px; font-weight: 600; font-size: 14px; opacity: 0; transition: .3s; max-width: calc(100% - 32px); box-shadow: 0 10px 30px rgba(0, 0, 0, .5); }
.toast.is-on { opacity: 1; transform: translate(-50%, 0); }

/* ---------- Seções de conteúdo ---------- */
main.content { position: relative; z-index: 2; background: var(--night); padding-bottom: 40px; }
.content--page { padding-top: calc(var(--hdr) + 24px); }
.sec { padding: 44px 0 8px; }
.sec__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 20px; }
.sec__title { font-family: var(--head); font-weight: 400; font-size: clamp(28px, 4vw, 40px); text-transform: uppercase; margin: 0; letter-spacing: .02em; display: flex; align-items: center; gap: 12px; }
.sec__title::before { content: ''; width: 6px; height: .9em; background: var(--grad); border-radius: 3px; }
.sec__more { font-size: 13px; font-weight: 700; color: var(--pink); white-space: nowrap; }
.sec__more::after { content: ' →'; }

/* destaque estilo portal */
.feat { display: grid; grid-template-columns: 1.7fr 1fr; gap: 16px; }
.feat__side { display: grid; gap: 16px; }
.card { position: relative; display: block; border-radius: var(--radius); overflow: hidden; background: var(--panel); isolation: isolate; }
.card .art { transition: transform .5s cubic-bezier(.2, .8, .2, 1); }
.card:hover .art { transform: scale(1.05); }
.card--hero { min-height: 480px; }
.card--hero .art, .card--tall .art { position: absolute; inset: 0; }
.card--tall { min-height: 232px; }
.card__body { position: absolute; inset: auto 0 0 0; padding: 22px; background: linear-gradient(180deg, transparent, rgba(11, 9, 24, .92) 55%); z-index: 2; }
.card__title { font-weight: 800; font-size: 18px; line-height: 1.25; margin: 6px 0 0; }
.card--hero .card__title { font-size: clamp(24px, 3vw, 34px); }
.card__excerpt { color: #d6cdf0; font-size: 14px; margin: 8px 0 0; }
.tag { display: inline-block; font-size: 10px; font-weight: 900; letter-spacing: .14em; text-transform: uppercase; padding: 4px 8px; border-radius: 4px; background: var(--pink); color: #fff; }
.tag--teal { background: var(--teal); color: #04221f; }
.tag--orange { background: var(--orange); color: #2a0f00; }
.tag--purple { background: var(--purple); }
.meta { font-size: 11px; color: var(--muted); font-weight: 700; letter-spacing: .08em; text-transform: uppercase; margin-top: 10px; }

/* trending numerado */
.trend { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 20px; }
.trend a { display: flex; gap: 14px; align-items: flex-start; padding: 16px; border-radius: var(--radius); background: var(--panel); border: 1px solid var(--line); transition: border-color .2s; }
.trend a:hover { border-color: rgba(255, 61, 139, .5); }
.trend b { font-family: var(--head); font-weight: 400; font-size: 34px; line-height: 1; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.trend span { font-weight: 700; font-size: 15px; line-height: 1.3; }

/* faixa do mapa */
.mapband { margin-top: 44px; border-radius: 22px; overflow: hidden; position: relative; background: radial-gradient(ellipse at 70% 50%, #134b5f 0%, #0a1830 70%); border: 1px solid rgba(25, 211, 197, .3); display: grid; grid-template-columns: 1fr 1.1fr; align-items: center; min-height: 380px; }
.mapband__txt { padding: 40px; position: relative; z-index: 2; }
.mapband__txt h2 { font-family: var(--head); font-weight: 400; font-size: clamp(34px, 5vw, 58px); line-height: .95; text-transform: uppercase; margin: 10px 0 14px; }
.mapband__txt p { color: #c4e9ea; margin: 0 0 22px; max-width: 440px; }
.mapband__map { height: 100%; position: relative; }
.mapband__map svg { position: absolute; inset: -10% -6% -10% 0; width: 106%; height: 120%; }
.mapband__stats { display: flex; gap: 22px; margin-bottom: 22px; }
.mapband__stats div { font-size: 11px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: #9fd8d6; }
.mapband__stats b { display: block; font-family: var(--head); font-weight: 400; font-size: 34px; color: #fff; letter-spacing: 0; }

/* grade por categoria */
.grid3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.mini { display: block; }
.mini .art { aspect-ratio: 16 / 10; border-radius: var(--radius); }
.mini__wrap { border-radius: var(--radius); overflow: hidden; }
.mini:hover .art { transform: scale(1.05); }
.mini .art { transition: transform .5s; }
.mini h3 { font-size: 17px; line-height: 1.3; margin: 12px 0 0; font-weight: 800; }
.mini p { color: var(--muted); font-size: 14px; margin: 6px 0 0; }

/* lista "últimas" */
.latest { display: grid; gap: 0; }
.latest a { display: grid; grid-template-columns: 220px 1fr; gap: 20px; padding: 18px 0; border-bottom: 1px solid var(--line); align-items: center; }
.latest .art { aspect-ratio: 16 / 10; border-radius: 10px; }
.latest h3 { margin: 0; font-size: 19px; font-weight: 800; line-height: 1.3; }
.latest p { margin: 6px 0 0; color: var(--muted); font-size: 14px; }

/* ---------- Arte gerada (substitui imagens oficiais) ---------- */
.art { position: relative; overflow: hidden; background: var(--grad-v); }
.art__sun { position: absolute; width: 46%; aspect-ratio: 1; left: 50%; top: 22%; transform: translateX(-50%); border-radius: 50%; background: linear-gradient(180deg, #ffe9a3, #ff9a5c 50%, #ff4f8b); -webkit-mask: linear-gradient(180deg, #000 55%, transparent 55% 60%, #000 60% 68%, transparent 68% 74%, #000 74% 80%, transparent 80%); mask: linear-gradient(180deg, #000 55%, transparent 55% 60%, #000 60% 68%, transparent 68% 74%, #000 74% 80%, transparent 80%); }
.art__ground { position: absolute; inset: 62% 0 0 0; background: linear-gradient(180deg, #2b1655, #0b0918); }
.art__ground::before { content: ''; position: absolute; inset: 0; background: repeating-linear-gradient(180deg, transparent 0 6px, rgba(255, 140, 170, .18) 6px 7px); }
.art svg { position: absolute; fill: #0b0918; }
.art__palm { width: 24%; height: 78%; bottom: 0; }
.art__palm--l { left: 2%; }
.art__palm--r { right: 0; height: 62%; transform: scaleX(-1); }
.art__icon { width: 30%; height: 30%; left: 35%; bottom: 20%; fill: #0b0918; }
.art__word { position: absolute; right: 12px; top: 10px; font-family: var(--head); font-size: 15px; letter-spacing: .2em; color: rgba(255, 255, 255, .85); }
.art--night { background: linear-gradient(180deg, #090718 0%, #2a1659 55%, #d6397f 100%); }
.art--night .art__sun { background: #fff6dd; -webkit-mask: none; mask: none; width: 18%; top: 14%; left: 70%; box-shadow: 0 0 40px #fff6; }
.art--keys { background: linear-gradient(180deg, #2fb7d9 0%, #7fd6e0 40%, #ffd4a0 70%, #ff9d7a 100%); }
.art--keys .art__ground { background: linear-gradient(180deg, #0e7c8f, #0b3f5c); }
.art--swamp { background: linear-gradient(180deg, #2d3b2a 0%, #6b7a3b 45%, #f2a65a 75%, #ff7a59 100%); }
.art--swamp .art__ground { background: linear-gradient(180deg, #1d2b1b, #0b120a); }
.art--neon { background: linear-gradient(180deg, #120a2b 0%, #3d0f5c 50%, #ff2f8a 100%); }
.art--neon .art__sun { background: none; border: 3px solid var(--pink); box-shadow: 0 0 22px var(--pink), inset 0 0 22px var(--pink); -webkit-mask: none; mask: none; }
.art--beach { background: linear-gradient(180deg, #ff9ec0 0%, #ffbf8a 45%, #ffe1a6 70%, #4ec6d6 72%, #1e8fb0 100%); }
.art--beach .art__ground { inset: 84% 0 0 0; background: linear-gradient(180deg, #f6d49a, #d9a866); }
.art--beach .art__ground::before { display: none; }
.art--city { background: linear-gradient(180deg, #1b1240 0%, #6a2a85 45%, #ff6a6a 80%, #ffb25c 100%); }

/* ---------- Footer ---------- */
.ftr { border-top: 1px solid var(--line); margin-top: 40px; padding: 40px 0 120px; color: var(--muted); font-size: 13px; background: var(--deep); position: relative; z-index: 2; }
.ftr__grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 24px; }
.ftr h4 { color: #fff; font-size: 12px; letter-spacing: .18em; text-transform: uppercase; margin: 0 0 12px; }
.ftr a { display: block; padding: 3px 0; }
.ftr a:hover { color: #fff; }
.ftr__disc { margin-top: 28px; padding-top: 20px; border-top: 1px solid var(--line); font-size: 12px; }

/* ---------- Página do mapa ---------- */
body.map-page { overflow: hidden; height: 100vh; height: 100svh; }
.map-page .hud { display: none; }
.mapapp { position: fixed; inset: var(--hdr) 0 0 0; background: #0a2236; }
.mapapp__svg { width: 100%; height: 100%; display: block; touch-action: none; cursor: grab; user-select: none; }
.mapapp__svg.is-drag { cursor: grabbing; }
.pin { cursor: pointer; }
.pin__halo { animation: halo 2s ease-out infinite; transform-box: fill-box; transform-origin: center; }
@keyframes halo { from { opacity: .7; transform: scale(.6); } to { opacity: 0; transform: scale(1.8); } }
.pin.is-found .pin__halo { animation: none; opacity: 0; }
.pin.is-active .pin__body { stroke: #fff; stroke-width: 3; }
.pin:hover .pin__body { filter: brightness(1.2); }
.map-label { font-family: var(--head); text-transform: uppercase; letter-spacing: .14em; fill: #fff; paint-order: stroke; stroke: rgba(5, 10, 25, .75); stroke-width: 5px; stroke-linejoin: round; pointer-events: none; }
.map-label--city { fill: #ffd2e6; }

.mapui { position: absolute; z-index: 5; }
.mapui--filters { top: 14px; left: 14px; display: flex; gap: 8px; flex-wrap: wrap; max-width: calc(100% - 300px); }
.chip { display: inline-flex; align-items: center; gap: 8px; padding: 8px 12px; border-radius: 99px; background: rgba(11, 9, 24, .82); border: 1px solid var(--line); font-size: 13px; font-weight: 700; backdrop-filter: blur(8px); white-space: nowrap; flex-shrink: 0; }
.chip i { width: 10px; height: 10px; border-radius: 50%; display: inline-block; }
.chip em { font-style: normal; color: var(--muted); font-size: 12px; }
.chip.is-off { opacity: .45; }
.chip.is-off i { background: transparent !important; outline: 2px solid var(--muted); }
.mapui--progress { top: 14px; right: 14px; background: rgba(11, 9, 24, .85); border: 1px solid var(--line); border-radius: 12px; padding: 10px 14px; width: 240px; backdrop-filter: blur(8px); }
.mapui--progress small { font-size: 10px; font-weight: 800; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); }
.mapui--progress b { display: block; font-family: var(--head); font-weight: 400; font-size: 24px; }
.mapui--progress .bar { height: 6px; background: var(--line); border-radius: 6px; overflow: hidden; margin-top: 6px; }
.mapui--progress .bar i { display: block; height: 100%; width: 0; background: var(--grad); transition: width .5s; }
.mapui--zoom { bottom: 18px; right: 14px; display: grid; gap: 6px; }
.mapui--zoom button { width: 42px; height: 42px; border-radius: 10px; border: 1px solid var(--line); background: rgba(11, 9, 24, .85); font-size: 20px; font-weight: 700; }
.mapui--demo { bottom: 18px; left: 14px; max-width: 460px; font-size: 12px; background: rgba(255, 138, 61, .15); border: 1px solid rgba(255, 138, 61, .45); color: #ffd9bd; padding: 8px 12px; border-radius: 10px; backdrop-filter: blur(8px); }

.mpanel { position: absolute; z-index: 10; top: 0; right: 0; bottom: 0; width: min(400px, 100%); background: rgba(14, 11, 30, .96); border-left: 1px solid var(--line); transform: translateX(105%); transition: transform .35s cubic-bezier(.2, .8, .2, 1); overflow-y: auto; backdrop-filter: blur(12px); }
.mpanel.is-open { transform: none; }
.mpanel__art { height: 170px; position: relative; }
.mpanel__art .art { position: absolute; inset: 0; }
.mpanel__close { position: absolute; top: 12px; right: 12px; z-index: 3; width: 36px; height: 36px; border-radius: 50%; border: 0; background: rgba(11, 9, 24, .8); font-size: 18px; }
.mpanel__body { padding: 20px 22px 28px; }
.mpanel__body h2 { font-family: var(--head); font-weight: 400; font-size: 32px; line-height: 1; text-transform: uppercase; margin: 12px 0 4px; letter-spacing: .02em; }
.mpanel__region { color: var(--muted); font-size: 12px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; }
.mpanel__body p { color: #ddd4f7; }
.mpanel__body ul { padding-left: 18px; color: #ddd4f7; }
.mpanel__body li { margin: 6px 0; }
.status { display: inline-flex; align-items: center; gap: 6px; font-size: 11px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; padding: 4px 9px; border-radius: 99px; border: 1px solid currentColor; margin-left: 6px; }
.status--trailer { color: var(--teal); }
.status--official { color: var(--sky); }
.status--pending { color: var(--orange); }
.status--site { color: var(--sun); }
.mpanel__actions { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 20px; }
.mpanel__actions .btn { padding: 11px 16px; font-size: 12px; }
.gps-line { fill: none; stroke: #c45cff; stroke-width: 5; stroke-linecap: round; stroke-dasharray: 2 12; filter: drop-shadow(0 0 4px #c45cff); animation: gps 1s linear infinite; }
@keyframes gps { to { stroke-dashoffset: -14; } }

/* ---------- Página de artigo ---------- */
.art-hero { position: relative; height: min(62vh, 560px); margin-top: var(--hdr); }
.art-hero .art { position: absolute; inset: 0; }
.art-hero__in { position: absolute; inset: auto 0 0 0; padding: 40px 0; background: linear-gradient(180deg, transparent, var(--night) 85%); }
.art-hero h1 { font-family: var(--head); font-weight: 400; font-size: clamp(36px, 6vw, 72px); line-height: .98; margin: 12px 0 0; text-transform: uppercase; max-width: 900px; letter-spacing: .01em; }
.byline { display: flex; gap: 14px; align-items: center; color: var(--muted); font-size: 13px; font-weight: 600; margin-top: 16px; flex-wrap: wrap; }
.prose { max-width: 720px; margin: 30px auto 0; font-size: 18px; line-height: 1.75; color: #e9e3fb; }
.prose h2 { font-family: var(--head); font-weight: 400; font-size: 34px; text-transform: uppercase; line-height: 1.05; margin: 44px 0 12px; color: #fff; letter-spacing: .02em; }
.prose a { color: var(--pink); text-decoration: underline; text-underline-offset: 3px; }
.prose blockquote { margin: 32px 0; padding: 4px 0 4px 22px; border-left: 4px solid; border-image: var(--grad) 1; font-size: 22px; font-weight: 700; color: #fff; line-height: 1.45; }
.prose figure { margin: 30px 0; }
.prose figure img { border-radius: 12px; width: 100%; aspect-ratio: 16 / 9; object-fit: cover; background: var(--panel); }
.prose figcaption { font-size: 13px; color: var(--muted); margin-top: 8px; font-style: italic; }
.disclaimer { font-size: 13px; color: var(--muted); border: 1px dashed var(--line); padding: 10px 14px; border-radius: 10px; font-style: italic; }
.notice { max-width: 720px; margin: 30px auto 0; padding: 22px; border-radius: 14px; background: var(--panel); border: 1px solid rgba(255, 138, 61, .4); color: #ffd9bd; }

/* ---------- Responsivo ---------- */
@media (max-width: 960px) {
  .feat { grid-template-columns: 1fr; }
  .feat__side { grid-template-columns: 1fr 1fr; }
  .card--hero { min-height: 400px; }
  .mapband { grid-template-columns: 1fr; }
  .mapband__map { height: 300px; order: -1; }
  .grid3 { grid-template-columns: 1fr 1fr; }
  .trend { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  :root { --hdr: 100px; }
  .hdr__top { grid-template-columns: auto 1fr auto; height: 56px; }
  .hdr__left .icon-btn span { display: none; }
  .logo { justify-content: center; font-size: 26px; }
  .logo small { display: none; }
  .hdr__nav { justify-content: flex-start; }
  .lang button { padding: 5px 7px; font-size: 11px; }
  .hdr__search { display: none; }
  .feat__side { grid-template-columns: 1fr; }
  .card--hero { min-height: 380px; }
  .grid3 { grid-template-columns: 1fr; }
  .latest a { grid-template-columns: 110px 1fr; gap: 14px; }
  .latest h3 { font-size: 16px; }
  .latest p { display: none; }
  .mapband__txt { padding: 28px 20px; }
  .ftr__grid { grid-template-columns: 1fr; }
  .radar { width: 84px; height: 84px; }
  .countdown__num { font-size: 20px; }
  .scene__palm { width: 70vw; }
  .mapui--filters { right: 14px; max-width: none; flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; }
  .mapui--progress { top: 64px; left: 14px; right: auto; width: 200px; padding: 8px 12px; }
  .mapui--progress b { font-size: 18px; }
  .mapui--demo { right: 70px; font-size: 11px; }
  .mpanel { top: auto; height: 72%; width: 100%; border-left: 0; border-top: 1px solid var(--line); border-radius: 18px 18px 0 0; transform: translateY(105%); }
  .prose { font-size: 17px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
