/* SóGuia — carrossel leque exclusivo de /categorias; não interfere nos demais banners. */
.sgcf-root{position:relative;isolation:isolate;width:min(100%,1280px);margin:0 auto 74px;padding:0 20px;box-sizing:border-box;container-type:inline-size;--sgcf-mult:1;--sgcf-mult-h:1;--sgcf-blue:#1876e7;color:#19334f}
.sgcf-root *,.sgcf-root *::before,.sgcf-root *::after{box-sizing:border-box}
.sgcf-stage{position:relative;width:100%;height:clamp(225px,36vw,380px);display:flex;align-items:center;justify-content:center;perspective:1100px;contain:layout style}
.sgcf-card{position:absolute;display:block;inset:auto;width:clamp(135px,17vw,205px);aspect-ratio:4/7;overflow:hidden;border-radius:24px;border:2px solid rgba(255,255,255,.88);background:#eaf3ff;box-shadow:0 17px 45px rgba(26,65,118,.17),0 3px 9px rgba(28,62,102,.1);transform:translate(var(--sgcf-x-slot,0rem),var(--sgcf-y-slot,0rem)) rotate(var(--sgcf-rot,0deg)) scale(var(--sgcf-scale,1));--sgcf-x-slot:var(--sgcf-x-lg,0rem);--sgcf-y-slot:var(--sgcf-y-lg,0rem);transform-origin:50% 62%;backface-visibility:hidden;will-change:transform,opacity;text-decoration:none;transition:box-shadow .24s ease;outline-offset:5px}
.sgcf-card img{display:block;width:100%;height:100%;max-width:none;object-fit:cover;pointer-events:none;user-select:none}
.sgcf-card:hover{box-shadow:0 25px 55px rgba(27,83,151,.24),0 0 0 2px rgba(36,119,239,.16)}
.sgcf-card:focus-visible{outline:3px solid var(--sgcf-blue)}
.sgcf-controls{position:relative;z-index:30;display:flex;align-items:center;justify-content:center;gap:14px;margin:0 auto 4px}
.sgcf-arrow{display:flex;align-items:center;justify-content:center;flex:0 0 auto;width:42px;height:42px;border:1px solid #cfe0f4;border-radius:50%;background:rgba(255,255,255,.92);color:#3374bb;box-shadow:0 4px 20px rgba(31,80,134,.12);cursor:pointer;transition:transform .2s ease,background .2s ease,color .2s ease,border-color .2s ease}
.sgcf-arrow:hover{background:#1677ed;color:white;border-color:#1677ed;transform:translateY(-2px)}
.sgcf-arrow:focus-visible{outline:3px solid #67a9ff;outline-offset:3px}
.sgcf-arrow svg{width:19px;height:19px;fill:none;stroke:currentColor;stroke-width:2.4;stroke-linecap:round;stroke-linejoin:round}
.sgcf-dots{display:flex;flex-wrap:wrap;align-items:center;justify-content:center;gap:6px;max-width:min(55vw,350px)}
.sgcf-dot{display:block;width:6px;height:6px;border-radius:100px;background:#c5d6eb;transition:all .25s ease}
.sgcf-dot-active{width:19px;background:#1978ec}
@container (max-width:1023.98px){.sgcf-root{--sgcf-mult:.75}.sgcf-stage{height:clamp(220px,40vw,330px)}.sgcf-card{width:clamp(130px,19vw,185px);--sgcf-x-slot:var(--sgcf-x-md,0rem)}}
@container (max-width:767.98px){.sgcf-root{--sgcf-mult:.50;--sgcf-mult-h:.78}.sgcf-stage{height:clamp(210px,47vw,275px)}.sgcf-card{width:clamp(115px,21vw,155px);border-radius:18px;--sgcf-x-slot:var(--sgcf-x-sm,0rem);--sgcf-y-slot:var(--sgcf-y-sm,0rem)}}
@container (max-width:639.98px){.sgcf-root{--sgcf-mult:.38;--sgcf-mult-h:.64}.sgcf-stage{height:clamp(190px,51vw,235px)}.sgcf-card{width:clamp(104px,23vw,130px);border-radius:15px;--sgcf-x-slot:var(--sgcf-x-xs,0rem);--sgcf-y-slot:var(--sgcf-y-xs,0rem)}.sgcf-arrow{width:36px;height:36px}}
@container (max-width:479.98px){.sgcf-root{--sgcf-mult:.26;--sgcf-mult-h:.53;padding:0 5px;margin-bottom:35px}.sgcf-stage{height:clamp(155px,52vw,190px)}.sgcf-card{width:clamp(82px,24vw,105px);border-radius:12px;border-width:1.5px;--sgcf-x-slot:var(--sgcf-x-phone,0rem);--sgcf-y-slot:var(--sgcf-y-phone,0rem)}.sgcf-controls{gap:11px}.sgcf-dots{gap:5px}.sgcf-dot{width:5px;height:5px}.sgcf-dot-active{width:14px}}
@media(max-height:580px) and (min-width:641px){.sgcf-stage{height:min(320px,56svh)}.sgcf-card{width:min(180px,29svh)}}
@media(prefers-reduced-motion:reduce){.sgcf-root *, .sgcf-root *::before,.sgcf-root *::after{animation:none!important;transition:none!important}}

/* Popup do carrossel de CATEGORIAS: imagem sem faixas laterais,
   moldura Liquid Glass translúcida, ajustada ao formato REAL do banner.
   NÃO altera cartões, formulários ou carrosséis de outras páginas. */
.sgcf-card{padding:0;appearance:none;cursor:zoom-in}
.sgcf-card.sgcf-card-activated img{animation:sgcf-card-click-spring .40s cubic-bezier(.22,.8,.23,1) both}
@keyframes sgcf-card-click-spring{
  0%{transform:scale(1)}
  28%{transform:scale(.89)}
  64%{transform:scale(1.10)}
  82%{transform:scale(.975)}
  100%{transform:scale(1)}
}
.sgcf-modal,.sgcf-modal *, .sgcf-modal *::before,.sgcf-modal *::after{box-sizing:border-box}
.sgcf-modal[hidden],.sgcf-modal [hidden]{display:none!important}
.sgcf-modal{
  --sgcf-image-width:360px;
  --sgcf-image-height:640px;
  position:fixed;inset:0;z-index:2147483000;
  display:grid;place-items:center;padding:10px;
  isolation:isolate;overflow-x:hidden;overflow-y:auto;
}
.sgcf-modal-backdrop{
  position:absolute;inset:0;
  background:rgba(7,18,40,.67);
  -webkit-backdrop-filter:blur(14px) saturate(135%);
  backdrop-filter:blur(14px) saturate(135%);
  animation:sgcf-fade-in .24s ease-out both;
  cursor:zoom-out;
}
/* A largura segue exatamente a imagem + 12px de vidro, sem o retângulo
   fixo de 780px. As dimensões são calculadas a partir de naturalWidth/Height. */
.sgcf-modal-panel{
  position:relative;z-index:1;
  display:flex;flex-direction:column;gap:5px;
  width:fit-content;max-width:calc(100vw - 20px);
  max-height:calc(100vh - 20px);max-height:calc(100dvh - 20px);
  min-width:0;padding:5px;
  border:1px solid rgba(255,255,255,.72);
  border-radius:23px;
  background:linear-gradient(147deg,rgba(255,255,255,.60) 0%,rgba(216,235,255,.24) 39%,rgba(255,255,255,.47) 100%);
  -webkit-backdrop-filter:blur(30px) saturate(190%) brightness(1.07);
  backdrop-filter:blur(30px) saturate(190%) brightness(1.07);
  box-shadow:inset 0 2px 1px rgba(255,255,255,.87),inset 1px 0 2px rgba(255,255,255,.45),
             inset 0 -2px 3px rgba(58,95,138,.16),0 32px 85px rgba(0,12,33,.43),0 5px 18px rgba(2,15,35,.32);
  overflow:hidden;
  animation:sgcf-popup-spring .65s cubic-bezier(.19,1,.22,1) both;
}
.sgcf-modal-panel::before{
  content:"";position:absolute;inset:1px;z-index:0;
  pointer-events:none;border-radius:inherit;
  background:linear-gradient(148deg,rgba(255,255,255,.31),transparent 27%,transparent 79%,rgba(255,255,255,.12));
}
.sgcf-modal-panel>*{position:relative;z-index:1}
.sgcf-modal-heading{
  display:flex;min-width:0;width:100%;gap:7px;
  align-items:center;justify-content:space-between;
  padding:4px 5px 5px 9px;border-radius:16px;
  background:linear-gradient(130deg,rgba(255,255,255,.54),rgba(232,245,255,.24));
  border:1px solid rgba(255,255,255,.43);
  box-shadow:inset 0 1px 1px rgba(255,255,255,.79);
}
.sgcf-modal-heading-text{min-width:0;flex:1 1 auto;overflow:hidden}
.sgcf-modal-heading-text>span{display:block;margin:0 0 2px;color:#2463a6;font-size:9px;font-weight:800;letter-spacing:.095em;text-transform:uppercase;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.sgcf-modal-heading-text h2{margin:0;font:750 clamp(12px,1.7vw,15px)/1.24 system-ui,-apple-system,'Segoe UI',sans-serif;color:#15395e;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.sgcf-modal-close{
  display:grid;place-items:center;flex:0 0 35px;width:35px;height:35px;padding:0;
  border:1px solid rgba(255,255,255,.74);border-radius:50%;
  background:linear-gradient(145deg,rgba(255,255,255,.83),rgba(204,226,249,.44));
  -webkit-backdrop-filter:blur(16px) saturate(170%);backdrop-filter:blur(16px) saturate(170%);
  box-shadow:inset 0 1px 1px rgba(255,255,255,.9),0 2px 7px rgba(15,59,106,.12);
  color:#1b507f;cursor:pointer;transition:background .18s ease,transform .18s ease;
}
.sgcf-modal-close:hover{background:rgba(255,255,255,.95);transform:scale(1.07)}
.sgcf-modal-close svg{width:17px;height:17px;fill:none;stroke:currentColor;stroke-width:2.2;stroke-linecap:round}
.sgcf-modal-image-box{
  display:block;width:var(--sgcf-image-width);height:var(--sgcf-image-height);
  max-width:100%;min-width:0;flex:0 0 auto;overflow:hidden;
  border-radius:15px;background:transparent;
  border:1px solid rgba(255,255,255,.42);
  box-shadow:inset 0 0 0 1px rgba(255,255,255,.20),0 2px 10px rgba(4,31,60,.19);
}
.sgcf-modal-image-box img{
  display:block;width:100%;height:100%;max-width:100%;max-height:100%;
  object-fit:contain;object-position:center;
}
.sgcf-modal-footer{
  display:flex;min-width:0;align-items:center;justify-content:center;
  width:100%;padding:2px 1px 1px;
}
.sgcf-modal-visit{
  display:flex;align-items:center;justify-content:center;gap:9px;
  width:100%;min-height:43px;padding:8px 10px;
  border:1px solid rgba(236,248,255,.84);border-radius:15px;
  background:linear-gradient(140deg,rgba(39,145,252,.92),rgba(1,93,205,.91));
  -webkit-backdrop-filter:blur(18px) saturate(175%);backdrop-filter:blur(18px) saturate(175%);
  box-shadow:inset 0 1px 1px rgba(255,255,255,.68),inset 0 -2px 5px rgba(0,43,114,.19),0 4px 12px rgba(9,78,168,.27);
  color:#fff!important;text-align:center;text-decoration:none!important;
  font:750 14px/1.2 system-ui,-apple-system,'Segoe UI',sans-serif;
  transition:transform .2s ease,box-shadow .2s ease,filter .2s ease;
}
.sgcf-modal-visit:hover{transform:translateY(-1px);filter:brightness(1.08);box-shadow:inset 0 1px 1px rgba(255,255,255,.7),0 7px 16px rgba(7,78,168,.32)}
.sgcf-modal-visit svg{width:17px;height:17px;flex:0 0 17px;fill:none;stroke:currentColor;stroke-width:2.3;stroke-linecap:round;stroke-linejoin:round}
.sgcf-modal-no-link{margin:4px 6px 5px;color:#21476e;text-align:center;font:550 12px/1.35 system-ui,-apple-system,'Segoe UI',sans-serif;overflow-wrap:anywhere}
.sgcf-modal :is(button,a):focus-visible{outline:3px solid #90beff;outline-offset:2px}
body.sgcf-modal-open{overflow:hidden}
.sgcf-modal.is-closing .sgcf-modal-backdrop{animation:sgcf-fade-out .20s ease-in both}
.sgcf-modal.is-closing .sgcf-modal-panel{animation:sgcf-popup-out .20s ease-in both}
@keyframes sgcf-fade-in{from{opacity:0}to{opacity:1}}
@keyframes sgcf-fade-out{from{opacity:1}to{opacity:0}}
@keyframes sgcf-popup-spring{
  0%{opacity:0;transform:translateY(22px) scale(.76)}
  49%{opacity:1;transform:translateY(-5px) scale(1.045)}
  70%{transform:translateY(1px) scale(.979)}
  87%{transform:translateY(-1px) scale(1.008)}
  100%{opacity:1;transform:translateY(0) scale(1)}
}
@keyframes sgcf-popup-out{from{opacity:1;transform:translateY(0) scale(1)}to{opacity:0;transform:translateY(14px) scale(.96)}}
@media(max-width:600px){
  .sgcf-modal{padding:7px}
  .sgcf-modal-panel{max-width:calc(100vw - 14px);max-height:calc(100dvh - 14px);padding:4px;border-radius:20px;gap:4px}
  .sgcf-modal-heading{padding:3px 4px 3px 8px;border-radius:14px}
  .sgcf-modal-heading-text>span{font-size:9px}
  .sgcf-modal-heading-text h2{font-size:13px}
  .sgcf-modal-close{flex-basis:33px;width:33px;height:33px}
  .sgcf-modal-image-box{border-radius:12px}
  .sgcf-modal-visit{min-height:43px;border-radius:12px}
}
@media(max-height:480px){
  /* Em formato paisagem, não deixar um título maior alargar o vidro. */
  .sgcf-modal-heading-text{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
  .sgcf-modal-heading{justify-content:flex-end}
}
@media(prefers-reduced-motion:reduce){
  .sgcf-card.sgcf-card-activated img,.sgcf-modal-backdrop,.sgcf-modal-panel,
  .sgcf-modal.is-closing .sgcf-modal-backdrop,.sgcf-modal.is-closing .sgcf-modal-panel{animation:none!important}
  .sgcf-modal :is(button,a){transition:none!important}
}
