/* Parceiros map page — page-specific styles only */

.parceiros-page {
  padding: 88px 0 40px;
  min-height: 100svh;
}

.parceiros-page__inner {
  width: min(1120px, calc(100% - 48px));
  margin-inline: auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
}

.parceiros-page__intro {
  width: 100%;
  max-width: 720px;
  text-align: center;
}

.parceiros-page__intro h2 {
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  font-weight: 800;
  margin-bottom: 16px;
  letter-spacing: -.02em;
}

.parceiros-page__intro p {
  color: var(--text-muted);
  font-size: 1.1rem;
  line-height: 1.7;
}

.parceiros-page__intro p + p {
  margin-top: 12px;
}

.map-embed {
  width: 100%;
  --map-height: clamp(520px, calc(100svh - 300px), 820px);
  --map-chrome-top: 67px;
  height: var(--map-height);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--bg-card);
  transition: height 0.25s ease;
}

.map-embed iframe {
  width: 100%;
  height: calc(100% + var(--map-chrome-top));
  margin-top: calc(-1 * var(--map-chrome-top));
  border: 0;
  display: block;
  transition: margin-top 0.25s ease, height 0.25s ease;
}

/* Full iframe while interacting — pin info panel renders at the top */
.map-embed.is-active {
  height: calc(var(--map-height) + var(--map-chrome-top));
}

.map-embed.is-active iframe {
  height: 100%;
  margin-top: 0;
}

@media (max-width: 768px) {
  .parceiros-page {
    padding: 80px 0 32px;
  }

  .parceiros-page__inner {
    width: min(1120px, calc(100% - 32px));
    gap: 20px;
  }

  .map-embed {
    --map-height: clamp(460px, calc(100svh - 340px), 720px);
  }
}
