/* v0.5.30 — exclusivamente a seção de localização da homepage. */
body.home .cf-map-section{
  position:relative;
  isolation:isolate;
  clip-path:none;
  mask:none;
  background:transparent;
  box-shadow:none;
  overflow:visible;
}
body.home .cf-map-section .cf-map-grid{position:relative;z-index:1}
body.home .cned-location-map-stage{position:relative;width:100%;isolation:isolate}
body.home .cned-location-map-stage > img{width:100%;height:auto;display:block}
body.home .cned-location-pin{
  position:absolute;left:33%;top:63%;transform:translate(-50%,-50%);
  display:grid;place-items:center;width:42px;height:42px;
  border:1.5px solid #6e2be9;border-radius:50%;
  background:rgba(255,255,255,.87);color:#6f29df;
  cursor:pointer;z-index:3;
  box-shadow:0 2px 15px rgba(70,39,120,.18);
  transition:box-shadow .25s ease,background-color .25s ease;
}
body.home .cned-location-pin::before{content:"";position:absolute;inset:5px;border-radius:50%;border:1px solid currentColor;opacity:.55}
body.home .cned-location-pin-core{
  display:block;width:11px;height:11px;background:var(--cned-accent,#5941b6);
  border-radius:50%;border:2px solid #fff;box-shadow:0 0 0 2px var(--cned-accent,#5941b6);
}
body.home .cned-location-pin:hover,body.home .cned-location-pin[aria-expanded="true"]{background:#fff;box-shadow:0 3px 18px rgba(70,39,120,.3)}
body.home .cned-location-pin:focus-visible,
body.home .cned-location-carousel button:focus-visible,
body.home .cned-location-carousel a:focus-visible,
body.home .cned-location-popover a:focus-visible,
body.home .cned-location-popover button:focus-visible{outline:3px solid #6424d3;outline-offset:4px}
body.home .cned-location-popover{
  position:absolute;z-index:6;left:calc(31.5% + 17px);top:calc(53% - 198px);
  width:clamp(170px,27%,250px);max-width:calc(100% - 14px);
  padding:12px;border-radius:14px;
  background:#fff;box-shadow:0 10px 38px rgba(26,13,60,.26);
  border:1px solid #e7e0f2;text-align:left;
}
body.home .cned-location-popover[hidden]{display:none}
body.home .cned-location-popover strong{display:block;padding-right:21px;font-size:13px;line-height:1.3;color:var(--cned-ink,#17132a);margin-bottom:8px}
body.home .cned-location-popover a{display:block;text-decoration:none;color:var(--cned-primary,#24174f)}
body.home .cned-location-popover a img{display:block;width:100%;height:110px;object-fit:cover;border-radius:7px}
body.home .cned-location-popover a span{display:block;font-size:11px;margin-top:6px;font-weight:700}
body.home .cned-location-popover-close{position:absolute;top:5px;right:5px;width:28px;height:28px;border:0;background:transparent;color:var(--cned-primary);font-size:22px;cursor:pointer}
/* Mantém exatamente a área lateral já existente; apenas o conteúdo da mídia vira slider. */
body.home .cf-map-photo.cned-location-carousel{position:relative;display:block;isolation:isolate}
body.home .cned-location-track{display:flex;height:100%;min-width:0;overflow:hidden;scroll-snap-type:x mandatory;scroll-behavior:smooth;scrollbar-width:none}
body.home .cned-location-track::-webkit-scrollbar{display:none}
body.home .cned-location-slide{position:relative;flex:0 0 100%;height:100%;min-width:0;display:block;scroll-snap-align:start;scroll-snap-stop:always;overflow:hidden}
body.home .cned-location-slide img{display:block;width:100%;height:100%;object-fit:cover;transition:transform .35s ease}
body.home .cned-location-slide:hover img{transform:scale(1.025)}
body.home .cned-location-carousel-nav{
  position:absolute;bottom:9px;right:9px;z-index:2;
  display:flex;align-items:center;gap:8px;
  padding:5px;border-radius:22px;background:rgba(22,14,50,.82);color:#fff;
  backdrop-filter:blur(6px);
}
body.home .cned-location-carousel-nav button{width:34px;height:34px;border:0;border-radius:50%;background:rgba(255,255,255,.14);color:#fff;font-size:20px;cursor:pointer}
body.home .cned-location-carousel-nav button:hover{background:rgba(255,255,255,.35)}
body.home .cned-location-carousel-nav span{min-width:43px;text-align:center;font-size:12px;font-weight:700;font-variant-numeric:tabular-nums}
/* Visualizador acessível sem dependências; Fancybox licenciado pode ser usado externamente. */
body.home .cned-location-lightbox{border:0;max-width:none;max-height:none;margin:auto;padding:0;background:transparent;color:#fff;width:min(96vw,1420px);height:min(92vh,900px);overflow:visible}
body.home .cned-location-lightbox::backdrop{background:rgba(10,7,27,.92)}
body.home .cned-location-lightbox-inner{position:relative;display:flex;flex-direction:column;align-items:center;justify-content:center;height:100%;min-width:0}
body.home .cned-location-lightbox-inner > img{max-width:100%;max-height:calc(100% - 65px);object-fit:contain;min-height:0}
body.home .cned-location-lightbox-close{position:absolute;top:0;right:0;border:0;background:#fff;color:#18112b;border-radius:50%;font-size:26px;line-height:1;width:38px;height:38px;cursor:pointer;z-index:1}
body.home .cned-location-lightbox-actions{display:flex;align-items:center;justify-content:center;gap:28px;margin-top:12px}
body.home .cned-location-lightbox-actions button{border:1px solid rgba(255,255,255,.45);background:rgba(255,255,255,.12);color:#fff;border-radius:50%;width:42px;height:42px;cursor:pointer;font-size:24px}
body.home .cned-location-lightbox-actions button[disabled]{opacity:.25;cursor:default}
body.home .cned-location-lightbox-actions span{min-width:58px;text-align:center;font:600 14px sans-serif}
@media(max-width:980px){
 body.home .cned-location-popover{top:calc(53% - 180px)}
}
@media(max-width:600px){
 body.home .cned-location-pin{width:35px;height:35px}
 body.home .cned-location-popover{position:relative;left:auto;top:auto;bottom:auto;transform:none;width:min(275px,94%);margin:13px auto 0;padding:9px}
 body.home .cned-location-popover a img{height:96px}
 body.home .cned-location-lightbox{width:98vw;height:90vh}
}
@media(prefers-reduced-motion:reduce){
 body.home .cned-location-track{scroll-behavior:auto}
 body.home .cned-location-slide img{transition:none}
 body.home .cned-location-pin{transition:none}
}
