
:root{--bg:#051925;--ink:#f3f7fa;--cyan:#29d2e8;--soft:#9db8c8}
*{box-sizing:border-box}
body{margin:0;background:#061b28;color:var(--ink);font-family:Arial,Helvetica,sans-serif}
.wrap{width:100%;max-width:1600px;margin:auto;padding:0}
header{text-align:center;margin:0 auto 24px}
.brand{letter-spacing:.42em;font-size:11px;font-weight:700;color:var(--cyan);margin-bottom:12px}
h1{margin:0;font-size:clamp(25px,3.1vw,44px);letter-spacing:.105em;font-weight:700}.accent{height:3px;width:50px;background:var(--cyan);margin:20px auto 0}
.scene{position:relative;width:100%;aspect-ratio:1200/590;min-height:0;overflow:hidden;background:radial-gradient(ellipse at center,#0d2a3b 0,#061b28 65%,#041521 100%);border:0;border-radius:0;touch-action:none;user-select:none}
svg{display:block;width:100%;height:100%;cursor:grab}svg.dragging{cursor:grabbing}
.graticule{stroke:#234254;stroke-width:.7;opacity:.5;fill:none}
.countries{fill:#204456;stroke:#3a6577;stroke-width:.72;fill-rule:evenodd}
.marker{cursor:pointer;outline:0}.marker .halo{display:none}.marker .hit{fill:transparent}.marker .point{fill:#29d9ed;stroke:#c2fcff;stroke-width:1.1;filter:none}.marker:focus .point{stroke:#fff;stroke-width:3}
.tools{position:absolute;right:18px;top:18px;display:flex;gap:8px;z-index:3}
.tools button{background:#0d2c3e;border:1px solid #426477;border-radius:5px;color:#effaff;padding:10px 13px;font-size:13px;cursor:pointer}.tools button:hover{background:#17485b}
.hint{position:absolute;bottom:14px;left:18px;color:#b9d2de;font-size:12px;pointer-events:none}
.dot{display:inline-block;width:8px;height:8px;background:#29d9ed;border-radius:50%;box-shadow:0 0 0 4px #29d9ed22;margin-right:10px}
.popup{position:absolute;z-index:5;min-width:0;max-width:230px;background:transparent;color:#fff;border:0;border-radius:0;box-shadow:none;padding:0;font-size:16px;font-weight:700;line-height:1.3;white-space:nowrap;text-shadow:0 2px 6px #00121f,0 0 10px #00121f;transform:translate(-50%,calc(-100% - 14px));pointer-events:none}
.popup::after{display:none}
.popup button{display:none}
.popup[hidden]{display:none}

@media(max-width:650px){.wrap{padding:0}.scene{height:auto;min-height:0;aspect-ratio:1200/590}.tools{top:10px;right:9px;gap:5px}.tools button{padding:9px;font-size:12px}.hint{bottom:10px;left:10px;font-size:10px}h1{font-size:25px}}
/* Imersive iframe: same live SVG map, extended to fill its dedicated frame. */
html,body,main.wrap{width:100%;height:100%;margin:0;overflow:hidden}
.scene{height:100dvh;min-height:0;aspect-ratio:auto;overflow:hidden}
.scene svg{width:100%;height:100%}
@media(max-width:650px){.scene{height:100dvh;min-height:0;aspect-ratio:auto}}


/* Piscar apenas dentro do próprio ponto, sem aura nem expansão */
.marker .point{animation:piscarNoPonto 3.2s ease-in-out infinite;transform:none;filter:none}
.marker:nth-child(5n+1) .point{animation-delay:-.55s}
.marker:nth-child(5n+2) .point{animation-delay:-1.75s}
.marker:nth-child(5n+3) .point{animation-delay:-2.40s}
.marker:nth-child(5n+4) .point{animation-delay:-.95s}
.marker:nth-child(5n) .point{animation-delay:-2.95s}
@keyframes piscarNoPonto{0%,100%{opacity:.68}48%,56%{opacity:1}}
.marker:hover .point,.marker:focus .point{opacity:1;animation-play-state:paused}
@media(prefers-reduced-motion:reduce){.marker .point{animation:none;opacity:1}}
