/* ══════════════════════════════════════════════════
   REDE CREDENCIADA · Pantanal Saúde
   Hero com foto + busca card + cards verticais + mapa grande
══════════════════════════════════════════════════ */

[data-variant="rede"] {
  --rede-bg: #f7f4ef;
  --rede-bg-soft: rgba(12, 43, 82, .05);
  --rede-card: #fff;
  --rede-border: rgba(15, 39, 71, .12);
  --rede-border-strong: rgba(15, 39, 71, .22);
  --rede-mint-soft: rgba(27, 139, 115, .16);
  --rede-mint: #1b8b73;
}

[data-variant="rede"] body {
  background: var(--rede-bg);
}

/* Base do .nav-link-item está em style-additions.css (carregado em todas as páginas) */

/* ══════════════════════════════════════════
   01 · HERO com foto de fundo
══════════════════════════════════════════ */
.rede-hero {
  position: relative;
  min-height: clamp(420px, 60vh, 580px);
  display: flex;
  align-items: center;
  padding: clamp(120px, 14vh, 180px) 0 clamp(48px, 6vw, 80px);
  overflow: hidden;
  isolation: isolate;
}
.rede-hero-bg {
  position: absolute;
  inset: 0;
  z-index: -1;
}
.rede-hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}
.rede-hero-tint {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(10, 46, 36, .55) 0%, rgba(15, 39, 71, .50) 100%);
}
.rede-hero-inner {
  text-align: center;
  position: relative;
  z-index: 1;
}

.rede-hero-pill {
  display: inline-block;
  background: rgba(197, 232, 211, .85);
  color: var(--pn-green-deep);
  padding: 7px 18px;
  border-radius: 999px;
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .005em;
  margin-bottom: 24px;
}

.rede-hero-title {
  font-family: var(--font-display);
  font-size: clamp(48px, 7vw, 96px);
  font-weight: 400;
  line-height: 1.02;
  letter-spacing: -0.035em;
  color: #fff;
  margin: 0 0 18px;
  font-variation-settings: "SOFT" 50, "opsz" 144;
}
.rede-hero-title em {
  font-style: italic;
  color: #fff;
  font-weight: 400;
}

.rede-hero-lead {
  font-family: var(--font-body);
  font-size: clamp(16px, 1.4vw, 20px);
  line-height: 1.5;
  color: rgba(255, 255, 255, .9);
  max-width: 56ch;
  margin: 0 auto;
}

/* ══════════════════════════════════════════
   02 · SEARCH CARD (flutuante sobre o hero)
══════════════════════════════════════════ */
.rede-search-section {
  position: relative;
  margin-top: clamp(-60px, -6vw, -40px);
  z-index: 2;
}
.rede-search-card {
  background: #fff;
  border-radius: 18px;
  padding: clamp(24px, 3vw, 36px);
  box-shadow: 0 20px 50px rgba(15, 39, 71, .14);
  border: 1px solid var(--rede-border);
}

.rede-search-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 16px;
  margin-bottom: 22px;
}
@media (max-width: 880px) {
  .rede-search-grid { grid-template-columns: 1fr; }
}

.rede-search-field { display: flex; flex-direction: column; gap: 8px; }
.rede-search-field label {
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--pn-text-mute);
}
.rede-search-input {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 16px;
  border: 1px solid var(--rede-border);
  border-radius: 999px;
  background: var(--rede-bg);
  transition: border-color .2s, box-shadow .2s;
}
.rede-search-input:focus-within {
  border-color: var(--pn-green-deep);
  background: #fff;
  box-shadow: 0 0 0 4px rgba(15, 39, 71, .08);
}
.rede-search-input svg { color: var(--pn-text-mute); flex-shrink: 0; }
.rede-search-input input {
  flex: 1;
  border: 0;
  outline: 0;
  background: transparent;
  font-family: var(--font-body);
  font-size: 14px;
  padding: 14px 0;
  color: var(--pn-text);
  width: 100%;
}
.rede-search-input input::placeholder { color: var(--pn-text-mute); }

.rede-search-select {
  padding: 14px 16px;
  border: 1px solid var(--rede-border);
  border-radius: 999px;
  background: var(--rede-bg);
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 500;
  color: var(--pn-text);
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'><path d='M3 4.5L6 7.5L9 4.5' stroke='%231A6B22' stroke-width='1.5' fill='none' stroke-linecap='round' stroke-linejoin='round'/></svg>");
  background-repeat: no-repeat;
  background-position: right 18px center;
  padding-right: 40px;
}
.rede-search-select:focus {
  outline: 0;
  border-color: var(--pn-green-deep);
  background-color: #fff;
}

/* Sugestões */
.rede-search-suggest {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  padding-top: 18px;
  border-top: 1px solid var(--rede-border);
}
.rede-search-suggest-label {
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 600;
  color: var(--pn-text-mute);
}
.rede-search-suggest ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.rede-search-chip {
  background: var(--rede-bg);
  border: 1px solid var(--rede-border);
  color: var(--pn-text);
  padding: 7px 16px;
  border-radius: 999px;
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  transition: all .2s;
}
.rede-search-chip:hover {
  border-color: var(--pn-green);
  color: var(--pn-green-deep);
}
.rede-search-chip.on {
  background: var(--rede-mint-soft);
  border-color: var(--rede-mint);
  color: var(--pn-green-deep);
  font-weight: 600;
}

/* ══════════════════════════════════════════
   03 · UNIDADES (grid de cards verticais)
══════════════════════════════════════════ */
.rede-unidades {
  padding: clamp(60px, 7vw, 96px) 0 clamp(40px, 5vw, 64px);
}
.rede-unidades-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 24px;
  margin-bottom: clamp(28px, 4vw, 44px);
  flex-wrap: wrap;
}
.rede-unidades-title {
  font-family: var(--font-display);
  font-size: clamp(28px, 3vw, 40px);
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: -0.025em;
  color: var(--pn-green-deep);
  margin: 0 0 6px;
  font-variation-settings: "SOFT" 50, "opsz" 144;
}
.rede-unidades-sub {
  font-family: var(--font-body);
  font-size: 14px;
  color: var(--pn-text-soft);
  margin: 0;
}

.rede-unidades-empty {
  background: #fff;
  border: 1px dashed var(--rede-border-strong);
  border-radius: 14px;
  padding: 60px 32px;
  text-align: center;
  color: var(--pn-text-soft);
}

.rede-unidades-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
@media (max-width: 980px) {
  .rede-unidades-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .rede-unidades-grid { grid-template-columns: 1fr; }
}

/* Card */
.rede-unit-card {
  background: var(--rede-card);
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--rede-border);
  display: flex;
  flex-direction: column;
  transition: transform .25s, box-shadow .25s, border-color .25s;
}
.rede-unit-card:hover,
.rede-unit-card.is-hovered {
  transform: translateY(-4px);
  box-shadow: 0 20px 44px rgba(15, 39, 71, .12);
  border-color: var(--pn-green);
}

.rede-unit-photo {
  position: relative;
  aspect-ratio: 16 / 10;
  background: linear-gradient(135deg, var(--rede-bg-soft), var(--rede-bg));
  display: grid;
  place-items: center;
  overflow: hidden;
}
.rede-unit-photo img {
  max-width: 65%;
  max-height: 65%;
  object-fit: contain;
  filter: drop-shadow(0 4px 12px rgba(15, 39, 71, .12));
}

.rede-unit-tag {
  position: absolute;
  top: 14px;
  left: 14px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255, 255, 255, .94);
  color: var(--pn-green-deep);
  padding: 6px 12px 6px 10px;
  border-radius: 999px;
  font-family: var(--font-body);
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: .02em;
  backdrop-filter: blur(8px);
  border: 1px solid rgba(15, 39, 71, .14);
}
.rede-unit-tag-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--rede-mint);
  box-shadow: 0 0 0 3px rgba(125, 211, 175, .25);
}

.rede-unit-body {
  display: flex;
  flex-direction: column;
  padding: 20px 22px 22px;
  flex: 1;
}
.rede-unit-cat {
  font-family: var(--font-body);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--pn-text-mute);
  margin-bottom: 8px;
}
.rede-unit-name {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 500;
  letter-spacing: -0.02em;
  color: var(--pn-green-deep);
  margin: 0 0 16px;
  font-variation-settings: "SOFT" 50, "opsz" 144;
}

.rede-unit-meta {
  list-style: none;
  margin: 0 0 20px;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
}
.rede-unit-meta li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-family: var(--font-body);
  font-size: 13px;
  line-height: 1.5;
  color: var(--pn-text-soft);
}
.rede-unit-meta svg {
  width: 15px;
  height: 15px;
  color: var(--pn-green);
  flex-shrink: 0;
  margin-top: 2px;
}

/* ═════════════════════════════════════════════
   MODAL · detalhes da unidade (fundo verde-escuro)
═════════════════════════════════════════════ */
.rede-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(8, 28, 22, 0.72);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  display: grid;
  place-items: center;
  padding: 24px;
  z-index: 1000;
  animation: redeFadeIn .25s ease;
}
@keyframes redeFadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.rede-modal {
  position: relative;
  width: min(560px, 100%);
  max-height: calc(100vh - 48px);
  overflow-y: auto;
  background: linear-gradient(165deg, #1b8b73 0%, #0c2b52 100%);
  color: #fff;
  border-radius: 22px;
  padding: 28px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.35), 0 0 0 1px rgba(255, 255, 255, 0.06) inset;
  animation: redeModalIn .3s cubic-bezier(.2, .8, .2, 1);
}
@keyframes redeModalIn {
  from { opacity: 0; transform: translateY(12px) scale(.97); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}
.rede-modal::-webkit-scrollbar { width: 8px; }
.rede-modal::-webkit-scrollbar-track { background: transparent; }
.rede-modal::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.15);
  border-radius: 999px;
}

.rede-modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 999px;
  color: #fff;
  cursor: pointer;
  transition: all .2s;
  z-index: 2;
}
.rede-modal-close:hover {
  background: rgba(255, 255, 255, 0.18);
  transform: rotate(90deg);
}

/* Galeria no topo */
.rede-modal-gallery {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  margin-bottom: 22px;
}
.rede-modal-photo {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  aspect-ratio: 1 / 1;
  background:
    repeating-linear-gradient(
      45deg,
      rgba(255, 255, 255, 0.04) 0,
      rgba(255, 255, 255, 0.04) 6px,
      transparent 6px,
      transparent 12px
    );
  border: 1px dashed rgba(255, 255, 255, 0.18);
  border-radius: 12px;
  color: rgba(255, 255, 255, 0.7);
  transition: all .2s;
}
.rede-modal-photo:hover {
  color: var(--pn-yellow, #f2c52f);
  border-color: rgba(244, 200, 66, 0.5);
}
.rede-modal-photo svg {
  width: 24px;
  height: 24px;
}
.rede-modal-photo span {
  font-family: var(--font-body);
  font-size: 10px;
  font-weight: 600;
  text-align: center;
  letter-spacing: 0.02em;
  padding: 0 4px;
  line-height: 1.2;
}

/* Link "Ver fotos reais no Google Maps" */
.rede-modal-photos-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 22px;
  padding: 9px 14px;
  background: rgba(244, 200, 66, 0.12);
  border: 1px solid rgba(244, 200, 66, 0.35);
  border-radius: 999px;
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.01em;
  color: var(--pn-yellow, #f2c52f);
  text-decoration: none;
  transition: all .2s;
  align-self: flex-start;
}
.rede-modal-photos-link:hover {
  background: rgba(244, 200, 66, 0.22);
  border-color: var(--pn-yellow, #f2c52f);
}
.rede-modal-photos-link svg { flex-shrink: 0; }

/* Cabeçalho */
.rede-modal-head {
  padding-bottom: 18px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  margin-bottom: 18px;
}
.rede-modal-cat {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--pn-yellow, #f2c52f);
  margin-bottom: 8px;
}
.rede-modal-title {
  font-family: var(--font-display, "Fraunces"), serif;
  font-size: clamp(22px, 3vw, 28px);
  font-weight: 500;
  line-height: 1.15;
  margin: 0 0 6px;
  color: #fff;
}
.rede-modal-sub {
  font-family: var(--font-body);
  font-size: 13.5px;
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.75);
  margin: 0;
}

/* Informações */
.rede-modal-info {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
  margin-bottom: 22px;
}
.rede-modal-info-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.rede-modal-info-item p,
.rede-modal-info-item a {
  margin: 0;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 500;
  color: #fff;
  line-height: 1.4;
}
.rede-modal-info-item a {
  text-decoration: none;
  color: var(--pn-yellow, #f2c52f);
  transition: opacity .2s;
}
.rede-modal-info-item a:hover { opacity: 0.8; }
.rede-modal-info-label {
  font-family: var(--font-body);
  font-size: 10.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(255, 255, 255, 0.5);
}

/* Serviços (chips) */
.rede-modal-services {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  margin-bottom: 22px;
}
.rede-modal-services ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.rede-modal-services li {
  padding: 6px 11px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.92);
}

/* Ações */
.rede-modal-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.rede-modal-btn {
  flex: 1;
  min-width: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 18px;
  border-radius: 999px;
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.18);
  transition: all .2s;
  text-align: center;
}
.rede-modal-btn:hover {
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(255, 255, 255, 0.35);
}
.rede-modal-btn--primary {
  background: var(--pn-yellow, #f2c52f);
  color: var(--pn-green-deep, #1b8b73);
  border-color: var(--pn-yellow, #f2c52f);
}
.rede-modal-btn--primary:hover {
  background: #f2c52f;
  border-color: #f2c52f;
  color: var(--pn-green-deep, #1b8b73);
}

@media (max-width: 520px) {
  .rede-modal { padding: 22px; border-radius: 18px; }
  .rede-modal-gallery { grid-template-columns: repeat(2, 1fr); }
  .rede-modal-actions { flex-direction: column; }
}

.rede-unit-actions {
  display: flex;
  gap: 8px;
  margin-top: auto;
}
.rede-unit-btn {
  flex: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 16px;
  border-radius: 999px;
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  background: var(--rede-bg);
  color: var(--pn-text);
  border: 1px solid var(--rede-border);
  transition: all .2s;
}
.rede-unit-btn:hover { border-color: var(--pn-green-deep); }
.rede-unit-btn--primary {
  background: var(--pn-green-deep);
  color: #fff;
  border-color: var(--pn-green-deep);
}
.rede-unit-btn--primary:hover {
  background: #0c2b52;
  color: #fff;
}
.rede-unit-btn-icon {
  width: 44px;
  display: grid;
  place-items: center;
  background: var(--rede-bg);
  border: 1px solid var(--rede-border);
  border-radius: 12px;
  color: var(--pn-green-deep);
  transition: all .2s;
}
.rede-unit-btn-icon:hover {
  border-color: var(--pn-green-deep);
  background: var(--rede-bg-soft);
}

/* Explore link */
.rede-unidades-explore {
  display: flex;
  justify-content: center;
  margin-top: clamp(32px, 4vw, 48px);
}
.rede-unidades-explore-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 600;
  color: var(--pn-green-deep);
  text-decoration: none;
  padding: 10px 4px;
  transition: gap .2s, color .2s;
}
.rede-unidades-explore-link:hover {
  gap: 12px;
  color: #0c2b52;
}

/* ══════════════════════════════════════════
   04 · MAPA GRANDE (full width)
══════════════════════════════════════════ */
.rede-mapa {
  background: var(--rede-bg);
  padding: clamp(60px, 8vw, 100px) 0 clamp(72px, 9vw, 120px);
}
.rede-mapa-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 24px;
  margin-bottom: clamp(28px, 3vw, 40px);
  flex-wrap: wrap;
}
.rede-mapa-eyebrow {
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--pn-green-deep);
  margin: 0 0 8px;
}
.rede-mapa-title {
  font-family: var(--font-display);
  font-size: clamp(28px, 3vw, 40px);
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: -0.025em;
  color: var(--pn-green-deep);
  margin: 0;
  font-variation-settings: "SOFT" 50, "opsz" 144;
}
.rede-mapa-title em { font-style: italic; color: var(--pn-green-deep); }
.rede-mapa-legend {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #fff;
  padding: 10px 18px;
  border-radius: 999px;
  border: 1px solid var(--rede-border);
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 500;
  color: var(--pn-text-soft);
}
.rede-mapa-legend-pin {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--pn-green-deep);
  box-shadow: 0 0 0 3px rgba(15, 39, 71, .14);
}

.rede-mapa-wrap {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 24px;
  background: #fff;
  border: 1px solid var(--rede-border);
  border-radius: 18px;
  padding: 14px;
  box-shadow: 0 16px 40px rgba(15, 39, 71, .08);
}
@media (max-width: 880px) {
  .rede-mapa-wrap { grid-template-columns: 1fr; }
}
.rede-mapa-canvas {
  width: 100%;
  height: clamp(440px, 60vh, 640px);
  border-radius: 12px;
  overflow: hidden;
  z-index: 1;
}

/* Pin */
.rede-mapa-leaflet-marker { background: transparent !important; border: 0 !important; }
.rede-mapa-pin {
  width: 36px;
  height: 44px;
  background: var(--pn-green-deep);
  color: #fff;
  border-radius: 50% 50% 50% 0;
  transform: rotate(-45deg);
  display: grid;
  place-items: center;
  box-shadow: 0 4px 12px rgba(15, 39, 71, .35);
  transition: transform .25s, background .25s;
}
.rede-mapa-pin span {
  transform: rotate(45deg);
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 500;
  font-style: italic;
}
.rede-mapa-leaflet-marker.is-hovered .rede-mapa-pin {
  background: var(--pn-yellow);
  color: var(--pn-green-deep);
  transform: rotate(-45deg) scale(1.18);
}
.leaflet-popup-content-wrapper {
  border-radius: 10px !important;
  box-shadow: 0 8px 24px rgba(15, 39, 71, .18) !important;
}
.rede-mapa-popup { display: flex; flex-direction: column; gap: 4px; padding: 4px; font-family: var(--font-body); }
.rede-mapa-popup strong {
  font-family: var(--font-display);
  font-size: 15px;
  color: var(--pn-green-deep);
  font-weight: 500;
}
.rede-mapa-popup span { font-size: 12px; color: var(--pn-text-soft); }
.rede-mapa-popup small { font-size: 11px; color: var(--pn-text-mute); font-weight: 500; }

/* Side list */
.rede-mapa-side {
  background: var(--rede-bg);
  border-radius: 12px;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-height: clamp(440px, 60vh, 640px);
  overflow-y: auto;
}
.rede-mapa-side-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 4px 8px 12px;
  border-bottom: 1px solid var(--rede-border);
}
.rede-mapa-side-head span {
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--pn-text-mute);
}
.rede-mapa-side-head strong {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 500;
  color: var(--pn-green-deep);
}
.rede-mapa-side-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.rede-mapa-side-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px;
  border-radius: 8px;
  cursor: pointer;
  transition: background .2s;
}
.rede-mapa-side-item:hover,
.rede-mapa-side-item.is-hovered {
  background: #fff;
}
.rede-mapa-side-num {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--pn-green-deep);
  color: #fff;
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-style: italic;
  font-size: 13px;
  font-weight: 500;
  flex-shrink: 0;
}
.rede-mapa-side-item.is-hovered .rede-mapa-side-num {
  background: var(--pn-yellow);
  color: var(--pn-green-deep);
}
.rede-mapa-side-info { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.rede-mapa-side-info strong {
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 500;
  color: var(--pn-green-deep);
}
.rede-mapa-side-info span {
  font-family: var(--font-body);
  font-size: 11px;
  color: var(--pn-text-mute);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* ══════════════════════════════════════════
   05 · "Não encontrou?" (CTA com imagem)
══════════════════════════════════════════ */
.rede-notfound {
  background: var(--rede-bg-soft);
  padding: clamp(72px, 9vw, 120px) 0;
}
.rede-notfound-inner {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: clamp(40px, 5vw, 80px);
  align-items: center;
}
@media (max-width: 880px) {
  .rede-notfound-inner { grid-template-columns: 1fr; }
}
.rede-notfound-title {
  font-family: var(--font-display);
  font-size: clamp(32px, 4vw, 48px);
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: -0.025em;
  color: var(--pn-green-deep);
  margin: 0 0 22px;
  font-variation-settings: "SOFT" 50, "opsz" 144;
}
.rede-notfound-title em { font-style: italic; color: var(--pn-green-deep); }
.rede-notfound-lead {
  font-family: var(--font-body);
  font-size: clamp(15px, 1.2vw, 17px);
  line-height: 1.65;
  color: var(--pn-text-soft);
  margin: 0 0 32px;
  max-width: 56ch;
}
.rede-notfound-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.rede-notfound-btn {
  display: inline-flex;
  align-items: center;
  padding: 14px 28px;
  border-radius: 999px;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  background: #fff;
  color: var(--pn-green-deep);
  border: 1px solid var(--rede-border-strong);
  transition: all .2s;
}
.rede-notfound-btn:hover { border-color: var(--pn-green-deep); }
.rede-notfound-btn--primary {
  background: var(--pn-green-deep);
  color: #fff;
  border-color: var(--pn-green-deep);
}
.rede-notfound-btn--primary:hover {
  background: #0c2b52;
  color: #fff;
}

/* Visual com foto do Pantanal */
.rede-notfound-visual {
  display: grid;
  place-items: center;
}
.rede-notfound-photo {
  margin: 0;
  width: 100%;
  max-width: 480px;
  aspect-ratio: 16 / 11;
  background: #fff;
  border: 1px solid var(--rede-border);
  border-radius: 16px;
  padding: 12px;
  box-shadow: 0 22px 50px -18px rgba(15, 39, 71, .22);
  transform: rotate(-1.5deg);
  transition: transform .35s cubic-bezier(.2, .8, .2, 1);
  overflow: hidden;
}
.rede-notfound-photo:hover { transform: rotate(0); }
.rede-notfound-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 10px;
  display: block;
}

/* ═══ POLISH · contraste, logos uniformes, placeholder ═══ */

/* Hero com foto: itálico amarelo (azul não tem contraste sobre foto escura) */
.rede-hero-title em { color: var(--pn-yellow) !important; }

/* Área do logo das clínicas · altura fixa + fundo uniforme */
.rede-unit-photo {
  height: 150px;
  background: #F4F6F3;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 22px;
  border-bottom: 1px solid var(--rede-border);
}
.rede-unit-photo img {
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

/* Foto do Pantanal · placeholder colorido enquanto carrega */
.rede-notfound-photo {
  background: linear-gradient(155deg, #d8ecf5 0%, #cfe6da 100%);
}
