/* PUBLIC.PRODUCT.01B.4 | ATLAS VISUAL REFINEMENT */

.cc-public-territory,
.br-atlas-page {
  --atlas-ink: #10244c;
  --atlas-muted: #64748b;
  --atlas-line: #dce5ef;
  --atlas-blue: #2563eb;
  --atlas-green: #177055;
  --atlas-surface: #ffffff;
  --atlas-soft: #f7f9fc;
  font-family: Helvetica, Arial, "Nimbus Sans L", sans-serif;
}

.cc-public-territory button,
.cc-public-territory input,
.cc-public-territory select,
.cc-public-territory textarea,
.cc-public-territory a,
.cc-public-territory p,
.cc-public-territory h1,
.cc-public-territory h2,
.cc-public-territory h3,
.cc-public-territory h4,
.cc-public-territory span,
.cc-public-territory strong,
.cc-public-territory small,
.cc-public-territory summary,
.cc-public-territory label,
.br-atlas-page button,
.br-atlas-page input,
.br-atlas-page select,
.br-atlas-page textarea,
.br-atlas-page a,
.br-atlas-page p,
.br-atlas-page h1,
.br-atlas-page h2,
.br-atlas-page h3,
.br-atlas-page h4,
.br-atlas-page span,
.br-atlas-page strong,
.br-atlas-page small,
.br-atlas-page summary,
.br-atlas-page label {
  font-family: inherit;
}

.cc-public-territory .material-icons,
.br-atlas-page .material-icons {
  font-family: "Material Icons" !important;
}

.cc-public-territory {
  background:
    radial-gradient(circle at 7% 4%, rgba(37,99,235,.055), transparent 28%),
    radial-gradient(circle at 94% 2%, rgba(23,112,85,.065), transparent 30%),
    #f7f9fc;
  color: var(--atlas-ink);
}

.cc-public-territory .wrap {
  max-width: 1260px;
  padding-top: 18px;
}

/* O mapa real é a imagem de abertura do Atlas. */
.atlas-simple-entry--refined {
  padding: 0;
  overflow: hidden;
  border: 1px solid var(--atlas-line);
  border-radius: 30px;
  background: rgba(255,255,255,.95);
  box-shadow: 0 22px 58px rgba(16,36,76,.075);
}

.atlas-simple-entry--refined .atlas-simple-entry__map--panorama {
  width: 100%;
  min-height: 0;
  height: auto;
  aspect-ratio: 4 / 1;
  border: 0;
  border-radius: 0;
  background: #eaf2f7;
}

.atlas-simple-entry--refined .atlas-simple-entry__map--panorama #map {
  width: 100%;
  height: 100%;
  min-height: 0;
  border-radius: 0;
}

.atlas-simple-entry--refined .atlas-simple-entry__top {
  grid-template-columns: minmax(0, 1.18fr) minmax(370px, .82fr);
  gap: 30px;
  align-items: end;
  padding: clamp(24px, 3vw, 38px) clamp(22px, 3vw, 38px) 24px;
}

.atlas-simple-entry--refined .atlas-simple-entry__copy {
  justify-content: flex-end;
}

.atlas-simple-entry--refined .atlas-simple-entry__eyebrow {
  color: #5c6f89;
  font-size: 11px;
  letter-spacing: .08em;
}

.atlas-simple-entry--refined h1 {
  color: var(--atlas-ink);
  font-size: clamp(40px, 5.25vw, 70px);
  font-weight: 800;
  letter-spacing: -.055em;
}

.atlas-simple-entry--refined .atlas-simple-entry__copy > p {
  color: #5f7087;
  font-size: clamp(16px, 1.45vw, 19px);
  line-height: 1.55;
}

.atlas-simple-entry--refined .atlas-simple-entry__actions a {
  min-height: 40px;
  border-radius: 12px;
  background: #173d82;
  font-size: 12px;
}

.atlas-simple-entry--refined .atlas-simple-entry__actions a.is-secondary {
  border-color: #d9e3ef;
  color: #405673;
}

.atlas-simple-entry__snapshot {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.atlas-simple-entry__snapshot > div {
  min-height: 104px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 16px 17px;
  border: 1px solid #dce5ef;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 8px 22px rgba(16,36,76,.04);
}

.atlas-simple-entry__snapshot span {
  color: #74869c;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .05em;
  text-transform: uppercase;
}

.atlas-simple-entry__snapshot strong {
  margin-top: 6px;
  color: #10244c;
  font-size: clamp(24px, 2vw, 31px);
  font-weight: 800;
  letter-spacing: -.04em;
  line-height: 1;
}

.atlas-simple-entry__snapshot small {
  margin-top: 6px;
  color: #8a98aa;
  font-size: 10px;
  line-height: 1.25;
}

.atlas-simple-entry--refined .atlas-lens-intro {
  margin: 0 clamp(22px, 3vw, 38px);
  padding-top: 22px;
  border-top-color: #e4eaf1;
}

.atlas-simple-entry--refined .atlas-lens-intro > span {
  color: #5f7692;
}

.atlas-simple-entry--refined .atlas-lens-intro > strong {
  color: #607086;
  font-size: 13px;
}

.atlas-simple-entry--refined .atlas-lens-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 11px;
  margin: 14px clamp(22px, 3vw, 38px) clamp(24px, 3vw, 38px);
}

.atlas-simple-entry--refined .atlas-lens-card {
  min-height: 152px;
  justify-content: flex-end;
  padding: 19px;
  border-color: #e0e7ef;
  border-radius: 18px;
  background: #fff;
  box-shadow: none;
}

.atlas-simple-entry--refined .atlas-lens-card::before {
  background: radial-gradient(circle at 100% 0%, rgba(37,99,235,.08), transparent 46%);
}

.atlas-simple-entry--refined .atlas-lens-card:hover,
.atlas-simple-entry--refined .atlas-lens-card:focus-visible {
  transform: translateY(-2px);
  border-color: #c7d5e6;
  box-shadow: 0 13px 28px rgba(16,36,76,.07);
}

.atlas-lens-card__icon {
  position: absolute;
  top: 16px;
  left: 17px;
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 11px;
  background: #eef4ff;
  color: #2f67b8;
  font-size: 18px !important;
}

.atlas-lens-card--work .atlas-lens-card__icon { background:#eef7f4; color:#177055; }
.atlas-lens-card--capability .atlas-lens-card__icon { background:#f5f0ff; color:#7357b9; }
.atlas-lens-card--knowledge .atlas-lens-card__icon { background:#fff6e9; color:#ad6b16; }
.atlas-lens-card--human .atlas-lens-card__icon { background:#fff0f1; color:#b54e59; }
.atlas-lens-card--environment .atlas-lens-card__icon { background:#edf8ee; color:#3e8048; }

.atlas-simple-entry--refined .atlas-lens-card__number {
  color: #a1adbb;
}

.atlas-simple-entry--refined .atlas-lens-card strong {
  color: #17365f;
  font-size: 18px;
}

.atlas-simple-entry--refined .atlas-lens-card small {
  color: #6c7d91;
}

.atlas-simple-entry--refined .atlas-lens-card__signal {
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* Continuidade em rede continua visível, mas não compete com as lentes. */
.atlas-simple-entry--refined .atlas-network {
  margin: 0 clamp(22px, 3vw, 38px) clamp(28px, 3vw, 38px);
  border-color: #dfe7f0;
  border-radius: 20px;
  background: #f9fbfd;
  box-shadow: none;
}

.atlas-simple-entry--refined .atlas-network__head h2 {
  color: #17365f;
}

.atlas-simple-entry--refined .atlas-network__card {
  min-height: 172px;
  border-radius: 16px;
  box-shadow: none;
}

.atlas-depth-gate {
  display: grid;
  grid-template-columns: minmax(0, .85fr) minmax(300px, 1.15fr);
  gap: 28px;
  align-items: end;
  margin: 34px 0 4px;
  padding: 0 4px 20px;
  border-bottom: 1px solid #dfe6ee;
}

.atlas-depth-gate span {
  color: #5d7692;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.atlas-depth-gate h2 {
  margin: 7px 0 0;
  color: #10244c;
  font-size: clamp(28px, 3vw, 42px);
  letter-spacing: -.045em;
  line-height: 1;
}

.atlas-depth-gate p {
  margin: 0;
  color: #6b7d91;
  font-size: 13px;
  line-height: 1.6;
}

.atlas-depth-content .card {
  border-color: #e0e7ef;
  border-radius: 19px;
  background: rgba(255,255,255,.93);
  box-shadow: 0 9px 24px rgba(16,36,76,.04);
  backdrop-filter: none;
}

.atlas-depth-content .card h2,
.atlas-depth-content .card h3 {
  color: #17365f;
}

/* Entrada nacional. O mapa é o protagonista, não um painel de métricas. */
.br-atlas-page {
  background:
    radial-gradient(circle at 10% 0%, rgba(37,99,235,.05), transparent 30%),
    radial-gradient(circle at 95% 3%, rgba(23,112,85,.06), transparent 30%),
    #f7f9fc;
  color: var(--atlas-ink);
}

.br-atlas-page .br-main {
  max-width: 1260px;
}

.br-atlas-page .br-hero {
  grid-template-columns: minmax(0, 1.25fr) minmax(300px, .75fr);
  gap: 22px;
  padding-top: 28px;
  padding-bottom: 22px;
}

.br-atlas-page .br-hero__copy h1 {
  color: #10244c;
  font-size: clamp(42px, 5.2vw, 70px);
  line-height: .98;
  letter-spacing: -.055em;
}

.br-atlas-page .br-hero__copy p {
  color: #63758a;
  font-size: 17px;
  line-height: 1.55;
}

.br-atlas-page .br-principle {
  align-self: end;
  border: 1px solid #dce5ef;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 9px 24px rgba(16,36,76,.04);
}

.br-atlas-page .br-metrics {
  gap: 9px;
  margin-top: 8px;
}

.br-atlas-page .br-metric {
  border-color: #e0e7ef;
  border-radius: 16px;
  background: #fff;
  box-shadow: none;
}

.br-atlas-page .br-explorer {
  margin-top: 16px;
  border-color: #dce5ef;
  border-radius: 24px;
  background: #fff;
  box-shadow: 0 18px 44px rgba(16,36,76,.055);
}

.br-atlas-page .br-map-layout {
  grid-template-columns: minmax(0, 1.45fr) minmax(280px, .55fr);
}

.br-atlas-page .br-map-wrap,
.br-atlas-page .br-map {
  min-height: 560px;
}

.br-atlas-page .br-map-wrap {
  border-radius: 20px;
  overflow: hidden;
}

.br-atlas-page .br-inspector {
  border-color: #e0e7ef;
  border-radius: 20px;
  background: #fbfcfe;
  box-shadow: none;
}

.br-atlas-page .br-reading,
.br-atlas-page .br-method {
  border-color: #e0e7ef;
  border-radius: 22px;
  background: rgba(255,255,255,.88);
  box-shadow: none;
}

@media (max-width: 960px) {
  .atlas-simple-entry--refined .atlas-simple-entry__map--panorama {
    aspect-ratio: 2.6 / 1;
  }

  .atlas-simple-entry--refined .atlas-simple-entry__top,
  .atlas-depth-gate,
  .br-atlas-page .br-hero,
  .br-atlas-page .br-map-layout {
    grid-template-columns: 1fr;
  }

  .br-atlas-page .br-map-wrap,
  .br-atlas-page .br-map {
    min-height: 480px;
  }
}

@media (max-width: 720px) {
  .cc-public-territory .wrap {
    padding: 14px;
  }

  .atlas-simple-entry--refined {
    border-radius: 22px;
  }

  .atlas-simple-entry--refined .atlas-simple-entry__map--panorama {
    aspect-ratio: 1.9 / 1;
  }

  .atlas-simple-entry--refined .atlas-simple-entry__top {
    gap: 20px;
    padding: 20px 18px;
  }

  .atlas-simple-entry--refined h1 {
    font-size: 39px;
  }

  .atlas-simple-entry__snapshot {
    grid-template-columns: 1fr 1fr;
  }

  .atlas-simple-entry__snapshot > div {
    min-height: 86px;
    padding: 13px;
  }

  .atlas-simple-entry--refined .atlas-lens-intro {
    margin: 0 18px;
  }

  .atlas-simple-entry--refined .atlas-lens-grid {
    grid-template-columns: 1fr;
    margin: 13px 18px 22px;
  }

  .atlas-simple-entry--refined .atlas-lens-card {
    min-height: 128px;
  }

  .atlas-simple-entry--refined .atlas-network {
    margin: 0 18px 22px;
    padding: 17px;
  }

  .atlas-depth-gate {
    margin-top: 26px;
    gap: 10px;
  }

  .br-atlas-page .br-map-wrap,
  .br-atlas-page .br-map {
    min-height: 390px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .atlas-simple-entry--refined .atlas-lens-card,
  .atlas-simple-entry--refined .atlas-network__card {
    transition: none;
  }

  .atlas-simple-entry--refined .atlas-lens-card:hover,
  .atlas-simple-entry--refined .atlas-lens-card:focus-visible,
  .atlas-simple-entry--refined .atlas-network__card:hover,
  .atlas-simple-entry--refined .atlas-network__card:focus-visible {
    transform: none;
  }
}
