/* Janelas "Saiba mais" e "Conheça o profissional" (mesmo molde do site de advocacia) */
html.jn-open, html.jn-open body { overflow: hidden; }

.jn {
  position: fixed; inset: 0; z-index: 300;
  display: grid; place-items: center; padding: 16px;
  background: rgba(5, 4, 3, 0.78);
  -webkit-backdrop-filter: blur(5px); backdrop-filter: blur(5px);
  opacity: 0; visibility: hidden;
  transition: opacity .3s var(--ease-out), visibility 0s linear .3s;
}
.jn.is-open { opacity: 1; visibility: visible; transition: opacity .3s var(--ease-out), visibility 0s; }

.jn__sheet {
  position: relative; display: flex; flex-direction: column;
  width: min(100%, 520px); max-height: calc(100vh - 32px); max-height: calc(100dvh - 32px);
  overflow: hidden;
  background: linear-gradient(180deg, #171719, #0B0B0D 70%);
  border: 1px solid rgba(198,161,91, 0.5); border-radius: 18px;
  box-shadow: 0 30px 80px -20px rgba(0, 0, 0, 0.9);
  transform: translate3d(0, 14px, 0) scale(0.94); opacity: 0;
  transition: transform .34s var(--ease-luxe), opacity .3s var(--ease-out),
              border-color .7s var(--ease-out), box-shadow .8s var(--ease-out);
}
.jn.is-open .jn__sheet { transform: none; opacity: 1; }

.jn__content { overflow-y: auto; -webkit-overflow-scrolling: touch; overscroll-behavior: contain; }

.jn__close {
  position: absolute; top: 12px; right: 12px; z-index: 5;
  display: grid; place-items: center; width: 40px; height: 40px;
  border-radius: 50%; color: var(--gold-2);
  background: rgba(11,11,13, 0.7); border: 1px solid rgba(198,161,91, 0.5);
  transition: background .3s, color .3s, transform .6s var(--ease-luxe);
}
.jn__close svg { width: 18px; height: 18px; }
.jn__close:hover { background: rgba(198,161,91, 0.18); color: #fff; transform: rotate(90deg); }

/* tratamento: imagem no topo */
.jn__media { height: 170px; background: #0B0B0D; border-bottom: 1px solid rgba(198,161,91, 0.25); }
.jn__media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.jn__cabeca { padding: 0 24px; }
.jn__ico {
  display: flex; align-items: center; justify-content: center; width: 48px; height: 48px;
  margin-top: -24px; position: relative; border-radius: 50%;
  background: #0B0B0D; border: 1px solid rgba(198,161,91, 0.55); color: var(--gold);
}
.jn__ico svg { width: 26px; height: 26px; stroke: currentColor; stroke-width: 1.5; fill: none; }
.jn__titulo { margin-top: 14px; font-weight: 300; font-size: clamp(24px, 6.4vw, 30px); line-height: 1.15; }
.jn__sub { margin-top: 8px; font-size: 14px; line-height: 1.5; color: var(--gold-2); }

/* profissional: foto ao lado do nome */
.jn__head { display: grid; grid-template-columns: 96px minmax(0, 1fr); gap: 16px; align-items: center; padding: 26px 24px 4px; }
.jn__foto { aspect-ratio: 4 / 5; border-radius: 12px; overflow: hidden; border: 1px solid rgba(198,161,91, 0.4); background: #0B0B0D; }
.jn__foto img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 20%; display: block; }
.jn__rotulo { font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: var(--gold-2); }
.jn--perfil .jn__titulo { margin-top: 6px; font-size: clamp(20px, 5.4vw, 26px); }
.jn--perfil .jn__sub { color: var(--muted); font-size: 12.5px; letter-spacing: .06em; }

.jn__corpo { padding: 16px 24px 24px; }
.jn__texto { font-size: 14.5px; line-height: 1.7; color: var(--ink-2); font-weight: 300; }
.jn__tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.jn__tags span { padding: 6px 12px; border: 1px solid rgba(198,161,91, 0.4); border-radius: 999px; font-size: 12px; color: var(--gold-2); }
.jn__sec { margin-top: 20px; padding-top: 18px; border-top: 1px solid rgba(255, 255, 255, 0.09); }
.jn__sec h4 { font-size: 11px; font-weight: 500; letter-spacing: .2em; text-transform: uppercase; color: var(--gold); }
.jn__sec p { margin-top: 8px; font-size: 14px; line-height: 1.65; color: var(--ink-2); font-weight: 300; }
.jn__pendente { color: var(--muted); font-style: italic; }
.jn__lista { margin-top: 10px; display: grid; gap: 8px; list-style: none; padding: 0; }
.jn__lista li { position: relative; padding-left: 22px; font-size: 14px; line-height: 1.5; color: var(--ink-2); font-weight: 300; }
.jn__lista li::before { content: ""; position: absolute; left: 3px; top: .55em; width: 7px; height: 7px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 10px rgba(198,161,91, 0.6); }
.jn__nota { margin-top: 18px; font-size: 12px; line-height: 1.5; color: var(--muted); }
.jn__cta { width: 100%; margin-top: 22px; justify-content: space-between; }
.jn__cta span { flex: 1; text-align: center; }

@media (prefers-reduced-motion: reduce) {
  .jn__sheet, .jn { transition-duration: .2s !important; }
}
