/* ════════════════════════════════════════════════════════════════
   STICKER DETAIL — seções extras da modal de figurinha
   (Dicas & Oportunidades · Acessos: Ciência de Dados + OMNIA)
   Usado por album.js (modal gv2, painel creme) e colecao.js (modal fd,
   claro). Cores de texto EXPLÍCITAS — sem herdar do tema da página
   (no mobile o body é escuro e o texto ficava claro sobre fundo claro).
   ════════════════════════════════════════════════════════════════ */

.sd-section, .sd-acesso {
  margin-top: 12px;
  padding-top: 11px;
  border-top: 1px solid rgba(10, 30, 74, .14);
}
.sd-section .gv2-section-title,
.sd-acesso .gv2-section-title {
  font-size: 12px; font-weight: 800; letter-spacing: .5px;
  margin-bottom: 7px; color: #0a1e4a;
}

.sd-desc { font-size: 13px; line-height: 1.5; margin: 2px 0 8px; color: #2d3a5a; }

.sd-filtro {
  font-size: 12.5px; line-height: 1.4; margin: 6px 0;
  padding: 8px 11px; border-radius: 9px;
  color: #5a4708;
  background: rgba(201, 168, 76, .16);
  border: 1px solid rgba(176, 125, 16, .4);
}
.sd-filtro b { color: #0a1e4a; }

.sd-sub {
  font-size: 11.5px; font-weight: 800; letter-spacing: .3px;
  margin: 11px 0 4px; color: #0a1e4a;
}
.sd-list { margin: 0 0 4px; padding-left: 18px; }
.sd-list li { font-size: 12.5px; line-height: 1.45; margin-bottom: 4px; color: #2d3a5a; }

/* ── Acessos (Ciência de Dados / OMNIA) ── */
.sd-acesso { display: flex; flex-direction: column; gap: 9px; align-items: stretch; }

.sd-cta {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  text-decoration: none; font-weight: 700; font-size: 13px;
  padding: 11px 14px; border-radius: 11px;
  background: linear-gradient(135deg, #1769aa, #0d4d80);
  color: #fff !important; border: 1px solid rgba(255, 255, 255, .18);
  transition: filter .15s;
}
.sd-cta:hover { filter: brightness(1.1); }

.sd-cta-omnia { background: linear-gradient(135deg, #2e7d32, #1b5e20); }

.sd-video-wrap { width: 100%; display: flex; flex-direction: column; gap: 6px; }
.sd-video {
  width: 100%; display: block; border-radius: 10px; background: #000;
  border: 1px solid rgba(255, 255, 255, .14); aspect-ratio: 16/9;
}
.sd-video-pop-btn {
  align-self: flex-end;
  display: inline-flex; align-items: center; gap: 6px;
  padding: 6px 12px; border-radius: 9px; cursor: pointer;
  font: 600 11.5px 'Inter', sans-serif;
  background: rgba(176, 125, 16, .12); color: #b07d10;
  border: 1px solid rgba(176, 125, 16, .4);
  transition: filter .15s;
}
.sd-video-pop-btn:hover { filter: brightness(1.12); }

/* pop-up de vídeo (meia tela) */
.sd-vidpop {
  position: fixed; inset: 0; z-index: 3500; display: none;
  align-items: center; justify-content: center; padding: 24px;
  background: rgba(2, 8, 20, .8); backdrop-filter: blur(3px);
}
.sd-vidpop.open { display: flex; }
.sd-vidpop-box { position: relative; width: min(900px, 90vw); }
.sd-vidpop-video {
  width: 100%; max-height: 78vh; display: block; border-radius: 14px;
  background: #000; box-shadow: 0 30px 80px rgba(0, 0, 0, .55);
}
.sd-vidpop-close {
  position: absolute; top: -14px; right: -14px; z-index: 2;
  width: 36px; height: 36px; border: 0; border-radius: 50%; cursor: pointer;
  background: #fff; color: #0c1e45; font-size: 15px; font-weight: 700;
  box-shadow: 0 4px 14px rgba(0, 0, 0, .35);
}

.sd-omnia-head { font-size: 11.5px; font-weight: 800; margin-bottom: 5px; color: #0a1e4a; }
.sd-omnia-prompt {
  font-size: 12.5px; line-height: 1.45; padding: 10px 12px; border-radius: 10px;
  color: #2d3a5a;
  background: rgba(10, 30, 74, .05);
  border: 1px dashed rgba(10, 30, 74, .3);
  white-space: pre-wrap; word-break: break-word;
}
.sd-copy-btn {
  margin-top: 8px; display: inline-flex; align-items: center; gap: 7px;
  cursor: pointer; font-family: inherit; font-weight: 700; font-size: 12.5px;
  padding: 9px 15px; border-radius: 10px; align-self: flex-start;
  background: #6b8f3e; color: #fff; border: none; transition: background .15s, transform .1s;
}
.sd-copy-btn:hover { background: #5a7a33; }
.sd-copy-btn:active { transform: scale(.97); }
.sd-copy-btn.ok { background: #2e7d32; }

/* ── Zoom da figurinha (easter eggs) ── */
.sd-zoomable { cursor: zoom-in; }
.gv2-img-col, .fd-img { position: relative; }
.sd-zoom-trigger {
  position: absolute; left: 50%; bottom: 8px; transform: translateX(-50%);
  display: inline-flex; align-items: center; gap: 5px; white-space: nowrap;
  font-family: inherit; font-size: 11px; font-weight: 700;
  padding: 5px 11px; border-radius: 16px; cursor: pointer; z-index: 3;
  background: rgba(2, 8, 20, .74); color: #fff; border: 1px solid rgba(255, 255, 255, .3);
  -webkit-backdrop-filter: blur(3px); backdrop-filter: blur(3px); transition: background .15s;
}
.sd-zoom-trigger:hover { background: rgba(2, 8, 20, .92); }

.sd-zoom {
  position: fixed; inset: 0; z-index: 4000; display: none;
  align-items: center; justify-content: center;
  background: rgba(2, 6, 16, .95); touch-action: none; user-select: none; -webkit-user-select: none;
}
.sd-zoom.open { display: flex; }
.sd-zoom-stage {
  width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; overflow: hidden;
}
.sd-zoom-img {
  max-width: 94vw; max-height: 90vh; transform-origin: center center; will-change: transform;
  cursor: grab; -webkit-user-drag: none; touch-action: none; border-radius: 6px;
  box-shadow: 0 10px 44px rgba(0, 0, 0, .6);
}
.sd-zoom-img:active { cursor: grabbing; }
.sd-zoom-close {
  position: absolute; top: 14px; right: 16px; width: 44px; height: 44px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center; cursor: pointer; z-index: 2;
  background: rgba(255, 255, 255, .14); color: #fff; border: 1px solid rgba(255, 255, 255, .28); font-size: 20px;
}
.sd-zoom-close:hover { background: rgba(255, 255, 255, .26); }
.sd-zoom-hint {
  position: absolute; bottom: 16px; left: 50%; transform: translateX(-50%); pointer-events: none;
  color: rgba(255, 255, 255, .82); font-size: 12px; text-align: center; max-width: 92vw;
  background: rgba(0, 0, 0, .45); padding: 7px 14px; border-radius: 20px;
}
