/* Global Presence — namespace isolado para integracao segura na proposta. */
.gp-presence {
  --gp-ink: #f7f9ff;
  --gp-muted: #9eb0d4;
  --gp-line: rgba(170, 198, 247, .18);
  --gp-panel: #071a4c;
  --gp-navy: #00113d;
  --gp-blue: #173f84;
  --gp-red: #ed1c24;
  --gp-red-soft: #ff6a70;
  position: relative;
  display: block;
  overflow: hidden;
  background:
    radial-gradient(circle at 14% 8%, rgba(41, 92, 194, .22), transparent 31rem),
    linear-gradient(135deg, #00103a 0%, #061e5b 57%, #00113d 100%);
  color: var(--gp-ink);
  font-family: Inter, Arial, sans-serif;
  isolation: isolate;
}

.gp-presence::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  opacity: .22;
  background-image:
    linear-gradient(rgba(139, 172, 234, .13) 1px, transparent 1px),
    linear-gradient(90deg, rgba(139, 172, 234, .13) 1px, transparent 1px);
  background-size: 52px 52px;
  -webkit-mask-image: linear-gradient(to bottom, #000, transparent 74%);
  mask-image: linear-gradient(to bottom, #000, transparent 74%);
  pointer-events: none;
}

.gp-shell {
  width: min(1440px, 100%);
  margin: 0 auto;
  padding: clamp(74px, 8vw, 128px) clamp(22px, 5vw, 76px);
}

.gp-heading {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 450px);
  gap: clamp(30px, 8vw, 120px);
  align-items: end;
}

.gp-eyebrow,
.gp-intro,
.gp-heading h2,
.gp-boundary,
.gp-point-button,
.gp-detail p,
.gp-detail h3,
.gp-detail dl,
.gp-footnote {
  margin: 0;
}

.gp-eyebrow {
  color: #8eafea;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: .13em;
  text-transform: uppercase;
}

.gp-heading h2 {
  max-width: 760px;
  margin-top: 13px;
  font: 600 clamp(36px, 4.8vw, 68px)/1.04 Poppins, Inter, sans-serif;
  letter-spacing: -.045em;
}

.gp-heading h2 em {
  color: var(--gp-red-soft);
  font-style: normal;
}

.gp-intro {
  max-width: 440px;
  padding: 0 0 4px 24px;
  border-left: 2px solid var(--gp-red);
  color: #b2c1dd;
  font-size: 12px;
  line-height: 1.75;
}

.gp-boundary {
  display: grid;
  grid-template-columns: minmax(170px, .25fr) minmax(0, 1fr);
  gap: 24px;
  align-items: center;
  margin-top: clamp(34px, 5vw, 62px);
  padding: 15px 18px;
  border: 1px solid rgba(255, 106, 112, .26);
  background: rgba(67, 11, 27, .18);
}

.gp-boundary strong {
  color: #ff8f94;
  font-size: 8px;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.gp-boundary span {
  color: #c1cce1;
  font-size: 9px;
  line-height: 1.55;
}

.gp-explorer {
  display: grid;
  grid-template-columns: minmax(0, 1.48fr) minmax(320px, .52fr);
  min-height: 650px;
  margin-top: 22px;
  border: 1px solid var(--gp-line);
  background: rgba(0, 13, 52, .72);
  box-shadow: 0 42px 100px rgba(0, 0, 0, .24);
}

.gp-viewport {
  position: relative;
  min-width: 0;
  min-height: 650px;
  overflow: hidden;
  border-right: 1px solid var(--gp-line);
  background:
    radial-gradient(circle at 50% 48%, rgba(38, 90, 187, .24), transparent 45%),
    linear-gradient(150deg, rgba(9, 35, 94, .48), rgba(0, 9, 39, .72));
}

.gp-viewport::before,
.gp-viewport::after {
  content: "";
  position: absolute;
  z-index: 0;
  pointer-events: none;
}

.gp-viewport::before {
  inset: 28px;
  border: 1px solid rgba(156, 187, 241, .11);
}

.gp-viewport::after {
  left: 28px;
  top: 28px;
  width: 42px;
  height: 42px;
  border-left: 2px solid rgba(255, 89, 96, .76);
  border-top: 2px solid rgba(255, 89, 96, .76);
}

.gp-canvas-wrap {
  position: absolute;
  inset: 0;
  z-index: 1;
}

.gp-canvas {
  display: block;
  width: 100%;
  height: 100%;
  cursor: grab;
  touch-action: none;
  user-select: none;
  -webkit-user-select: none;
}

.gp-canvas[data-point-hover="true"] { cursor: pointer; }
.gp-canvas.is-dragging { cursor: grabbing; }

.gp-canvas:focus-visible {
  outline: 2px solid #fff;
  outline-offset: -7px;
}

.gp-instructions {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.gp-fallback {
  position: absolute;
  inset: 50% auto auto 50%;
  width: min(360px, calc(100% - 72px));
  margin: 0;
  padding: 20px;
  transform: translate(-50%, -50%);
  border: 1px solid rgba(255, 106, 112, .45);
  background: #071a4c;
  color: #dce6f8;
  font-size: 11px;
  line-height: 1.6;
  text-align: center;
}

.gp-fallback[hidden] { display: none; }

.gp-drag-hint {
  position: absolute;
  left: 50%;
  bottom: 30px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  transform: translateX(-50%);
  color: #8fa7d1;
  font-size: 8px;
  font-weight: 700;
  letter-spacing: .11em;
  text-transform: uppercase;
  pointer-events: none;
}

.gp-drag-hint i {
  position: relative;
  width: 30px;
  height: 18px;
  border: 1px solid rgba(168, 194, 239, .46);
  border-radius: 12px;
}

.gp-drag-hint i::before {
  content: "";
  position: absolute;
  left: 6px;
  top: 50%;
  width: 5px;
  height: 5px;
  transform: translateY(-50%);
  border-radius: 50%;
  background: #ff6a70;
  animation: gp-drag-cue 2.4s ease-in-out infinite;
}

.gp-coordinate {
  position: absolute;
  right: 42px;
  top: 42px;
  z-index: 2;
  text-align: right;
  pointer-events: none;
}

.gp-coordinate span,
.gp-coordinate strong {
  display: block;
}

.gp-coordinate span {
  color: #748ebd;
  font-size: 7px;
  font-weight: 700;
  letter-spacing: .13em;
  text-transform: uppercase;
}

.gp-coordinate strong {
  margin-top: 4px;
  color: #d8e5fb;
  font: 600 19px/1 Poppins, sans-serif;
  letter-spacing: .04em;
}

.gp-side {
  display: flex;
  min-width: 0;
  flex-direction: column;
  background: rgba(4, 23, 69, .92);
}

.gp-list-head {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 24px 25px 15px;
  color: #8fa7d1;
  font-size: 8px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.gp-list-head small {
  color: #ff777d;
  font: inherit;
}

.gp-point-list {
  border-top: 1px solid var(--gp-line);
}

.gp-point-button {
  position: relative;
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
  width: 100%;
  min-height: 55px;
  padding: 10px 25px;
  border: 0;
  border-bottom: 1px solid var(--gp-line);
  background: transparent;
  color: #d5e0f4;
  font: inherit;
  text-align: left;
  cursor: pointer;
  transition: background-color .18s ease, color .18s ease;
}

.gp-point-button::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background: var(--gp-red);
  transform: scaleY(0);
  transition: transform .18s ease;
}

.gp-point-button:hover { background: rgba(40, 82, 157, .2); }
.gp-point-button.is-selected { background: rgba(40, 82, 157, .34); color: #fff; }
.gp-point-button.is-selected::before { transform: scaleY(1); }

.gp-point-button:focus-visible {
  z-index: 1;
  outline: 2px solid #fff;
  outline-offset: -4px;
}

.gp-point-button b {
  color: #6f8abe;
  font: 600 9px Poppins, sans-serif;
}

.gp-point-button span {
  overflow: hidden;
  font-size: 10px;
  font-weight: 600;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.gp-point-button small {
  color: #ff858a;
  font-size: 7px;
  font-weight: 700;
  letter-spacing: .07em;
  text-transform: uppercase;
}

.gp-detail {
  margin: auto 25px 25px;
  padding: 25px;
  border: 1px solid rgba(173, 200, 249, .2);
  background:
    linear-gradient(135deg, rgba(37, 79, 157, .25), transparent 58%),
    rgba(0, 13, 52, .7);
}

.gp-detail-status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #ff8b90;
  font-size: 7px;
  font-weight: 700;
  letter-spacing: .11em;
  text-transform: uppercase;
}

.gp-detail-status i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gp-red);
  box-shadow: 0 0 12px rgba(237, 28, 36, .8);
}

.gp-detail > p:first-of-type {
  margin-top: 20px;
  color: #7f9ac9;
  font-size: 8px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.gp-detail h3 {
  margin-top: 6px;
  color: #fff;
  font: 600 clamp(19px, 2vw, 26px)/1.2 Poppins, sans-serif;
  letter-spacing: -.025em;
}

.gp-detail .gp-detail-copy {
  margin-top: 16px;
  color: #aebedc;
  font-size: 10px;
  line-height: 1.65;
}
.gp-source-link { display: inline-flex; margin-top: 16px; padding-bottom: 2px; border-bottom: 1px solid rgba(184, 207, 249, .42); color: #dce8ff; font-size: 8px; font-weight: 700; letter-spacing: .06em; text-decoration: none; text-transform: uppercase; }
.gp-source-link:hover { color: #fff; border-color: #fff; }
.gp-point-list { max-height: 355px; overflow-y: auto; scrollbar-color: #31599d transparent; }

.gp-detail dl {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  margin-top: 22px;
  background: var(--gp-line);
}

.gp-detail dl div {
  padding: 12px;
  background: #061849;
}

.gp-detail dt {
  color: #7189b6;
  font-size: 7px;
  font-weight: 700;
  letter-spacing: .09em;
  text-transform: uppercase;
}

.gp-detail dd {
  margin: 5px 0 0;
  color: #dce7fa;
  font: 600 11px/1 Poppins, sans-serif;
}

.gp-footnote {
  padding-top: 14px;
  color: #738bb8;
  font-size: 7px;
  letter-spacing: .08em;
  text-align: right;
  text-transform: uppercase;
}

.gp-footnote strong { color: #ff757b; }

@keyframes gp-drag-cue {
  0%, 100% { left: 6px; opacity: .55; }
  50% { left: 18px; opacity: 1; }
}

@media (max-width: 980px) {
  .gp-heading { grid-template-columns: 1fr; gap: 24px; }
  .gp-intro { max-width: 620px; }
  .gp-explorer { grid-template-columns: 1fr; }
  .gp-viewport { min-height: min(680px, 74vw); border-right: 0; border-bottom: 1px solid var(--gp-line); }
  .gp-side { display: grid; grid-template-columns: minmax(270px, .9fr) minmax(300px, 1.1fr); }
  .gp-list-head { grid-column: 1; }
  .gp-point-list { grid-column: 1; }
  .gp-detail { grid-column: 2; grid-row: 1 / span 2; align-self: stretch; margin: 20px; }
}

@media (max-width: 640px) {
  .gp-shell { padding-inline: 18px; }
  .gp-heading h2 { font-size: clamp(34px, 11vw, 48px); }
  .gp-boundary { grid-template-columns: 1fr; gap: 7px; }
  .gp-explorer { min-height: 0; }
  .gp-viewport { min-height: 430px; }
  .gp-viewport::before { inset: 15px; }
  .gp-viewport::after { left: 15px; top: 15px; }
  .gp-coordinate { right: 25px; top: 25px; }
  .gp-drag-hint { bottom: 17px; }
  .gp-side { display: flex; }
  .gp-list-head { padding-inline: 18px; }
  .gp-point-button { padding-inline: 18px; }
  .gp-detail { margin: 18px; }
  .gp-footnote { text-align: left; }
}

@media (max-width: 390px) {
  .gp-viewport { min-height: 380px; }
  .gp-drag-hint span { display: none; }
  .gp-point-button { grid-template-columns: 27px minmax(0, 1fr); }
  .gp-point-button small { grid-column: 2; }
}

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

@media (forced-colors: active) {
  .gp-presence { border-block: 1px solid CanvasText; }
  .gp-explorer,
  .gp-boundary,
  .gp-viewport,
  .gp-detail { border-color: CanvasText; }
  .gp-point-button.is-selected { outline: 2px solid Highlight; outline-offset: -3px; }
}

@media print {
  .gp-presence { background: #fff; color: #111; }
  .gp-presence::before,
  .gp-drag-hint { display: none; }
  .gp-heading h2,
  .gp-detail h3 { color: #111; }
  .gp-intro,
  .gp-boundary span,
  .gp-detail .gp-detail-copy { color: #333; }
  .gp-explorer { min-height: 0; box-shadow: none; }
  .gp-viewport { min-height: 480px; print-color-adjust: exact; }
}

body.compass-open { overflow: hidden; }
.global-compass-panel { position: fixed; z-index: 90; top: 70px; right: 24px; width: min(1280px, calc(100vw - 48px)); max-height: calc(100vh - 94px); overflow: auto; border: 1px solid rgba(177, 205, 255, .32); background: #00113d; box-shadow: 0 38px 120px rgba(0, 0, 0, .58); opacity: 0; visibility: hidden; transform: translateY(-14px) scale(.985); transition: opacity .22s ease, transform .22s ease, visibility .22s; }
.global-compass-panel.open { opacity: 1; visibility: visible; transform: none; }
.global-compass-panel > header { position: sticky; z-index: 5; top: 0; display: flex; align-items: center; justify-content: space-between; min-height: 58px; padding: 10px 17px; border-bottom: 1px solid rgba(177, 205, 255, .18); background: rgba(0, 17, 61, .94); backdrop-filter: blur(12px); }
.global-compass-panel > header small, .global-compass-panel > header strong { display: block; }
.global-compass-panel > header small { color: #ff777d; font-size: 7px; font-weight: 800; letter-spacing: .13em; text-transform: uppercase; }
.global-compass-panel > header strong { margin-top: 3px; color: #fff; font: 600 13px Poppins, sans-serif; }
.global-compass-panel > header button { width: 34px; height: 34px; border: 1px solid rgba(177, 205, 255, .18); border-radius: 50%; background: #0b2a68; color: #fff; font-size: 20px; cursor: pointer; }
.global-compass-panel .gp-shell { padding: 27px; }
.global-compass-panel .gp-heading { grid-template-columns: 1fr 370px; gap: 32px; }
.global-compass-panel .gp-heading h2 { font-size: clamp(30px, 3vw, 44px); }
.global-compass-panel .gp-boundary { margin-top: 22px; }
.global-compass-panel .gp-explorer { grid-template-columns: minmax(0, 1.75fr) minmax(310px, .55fr); min-height: 680px; }
.global-compass-panel .gp-viewport { min-height: 680px; }
.global-compass-panel .gp-footnote { padding-bottom: 1px; }
.global-source-note { margin: 0; padding: 0 27px 23px; color: #6e86b2; font-size: 7px; letter-spacing: .08em; text-transform: uppercase; }
.global-compass-backdrop { position: fixed; z-index: 80; inset: 0; background: rgba(0, 7, 24, .66); opacity: 0; transition: opacity .2s; }
.global-compass-backdrop.open { opacity: 1; }
.global-compass-backdrop[hidden] { display: none; }
@media (max-width: 760px) {
  .global-compass-panel { top: 12px; right: 12px; width: calc(100vw - 24px); max-height: calc(100vh - 24px); }
  .global-compass-panel .gp-shell { padding: 20px 14px; }
  .global-compass-panel .gp-heading { grid-template-columns: 1fr; }
  .global-compass-panel .gp-explorer { min-height: 0; }
  .global-compass-panel .gp-viewport { min-height: 410px; }
}
