/* pjadv.css — moldura pública (top bar, header, sticky header, footer, WhatsApp
   flutuante), extraída de docs/prototipos/.../Home PJADV.dc.html.
   Construído sobre pjadv-ds.css (Classical): usa somente var(--color-*),
   var(--font-*), var(--radius-*), var(--shadow-*) — nunca hex/fonte que o DS
   já define. Espaçamentos e breakpoints seguem os valores literais do
   protótipo (fora da escala --space-*, que é mais grosseira). */

/* ===== Top bar ===== */
.pj-topbar {
  background: var(--color-neutral-200);
  border-bottom: 1px solid var(--color-divider);
  padding: 10px clamp(20px, 4vw, 48px);
}
.pj-topbar-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px clamp(14px, 2vw, 24px);
}
.pj-topbar-title {
  font-family: var(--font-heading);
  font-weight: var(--font-heading-weight);
  font-size: 16px;
  color: var(--color-text);
  white-space: nowrap;
}
/* Cada "linha" é um grupo lógico (item 01 do ajuste mobile); em telas largas
   display:contents remove a div do fluxo e deixa seus filhos como itens
   diretos de .pj-topbar-inner — layout desktop fica idêntico ao anterior. */
.pj-topbar-line { display: contents; }

.pj-topbar-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: var(--color-text);
}
.pj-topbar-item img { width: 22px; height: 22px; object-fit: contain; }
.pj-topbar-item span { white-space: nowrap; }
.pj-topbar-address { min-width: 0; flex: 1 1 0; justify-content: center; }
.pj-topbar-address img { flex-shrink: 0; }
.pj-topbar-address span {
  min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.pj-topbar-whatsapp {
  display: flex; align-items: center; gap: 10px;
  background: var(--color-neutral-900);
  color: #fff;
  padding: 9px 20px;
  white-space: nowrap;
  font-family: var(--font-heading);
  font-weight: var(--font-heading-weight);
  font-size: 14px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  border-radius: var(--radius-sm);
  text-decoration: none;
}
.pj-topbar-whatsapp:hover { background: var(--color-text); }

/* ===== Header (usa .nav / .nav-brand do DS como base) ===== */
.pj-header {
  position: relative;
  z-index: 100;
  background: var(--color-bg);
  padding: 22px clamp(20px, 4vw, 48px);
  flex-wrap: wrap;
  gap: 22px;
}
.pj-header-logo { margin-right: auto; display: block; }
.pj-header-logo img { height: clamp(64px, 8vw, 96px); display: block; }
.pj-header-logo-text {
  font-family: var(--font-heading);
  font-weight: var(--font-heading-weight);
  font-size: clamp(20px, 3vw, 28px);
  color: var(--color-text);
}
.pj-header-menu {
  display: flex; align-items: center; gap: 20px;
  flex-wrap: wrap; justify-content: flex-end;
}

/* ===== Sticky header (aparece ao rolar para cima) ===== */
.pj-header-sticky {
  position: fixed; top: 0; left: 0; right: 0; z-index: 200;
  background: var(--color-bg);
  padding: 8px clamp(20px, 4vw, 48px);
  flex-wrap: wrap;
  gap: 22px;
  box-shadow: var(--shadow-md);
  transform: translateY(-110%);
  transition: transform .35s ease;
}
.pj-header-sticky.is-visible { transform: translateY(0); }
.pj-header-sticky .pj-header-logo img { height: clamp(40px, 5vw, 52px); }

/* ===== Menu hambúrguer (≤ 960px) ===== */
.pj-hamburger {
  display: none;
  align-items: center; justify-content: center;
  width: 44px; height: 44px;
  border: none; background: transparent; color: var(--color-text);
  cursor: pointer; padding: 0; border-radius: var(--radius-md);
}
.pj-hamburger:hover { background: color-mix(in srgb, var(--color-text) 7%, transparent); }
.pj-hamburger:focus-visible { outline: 2px solid var(--color-accent); outline-offset: 2px; }
.pj-hamburger-icon-close { display: none; }
.pj-hamburger.is-open .pj-hamburger-icon-menu { display: none; }
.pj-hamburger.is-open .pj-hamburger-icon-close { display: block; }

.pj-mobile-menu {
  position: fixed; inset: 0; z-index: 500;
  background: var(--color-bg);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: var(--space-8);
  padding: 32px clamp(20px, 6vw, 48px);
  overflow-y: auto;
}
.pj-mobile-menu[hidden] { display: none; }
.pj-mobile-menu:focus-visible { outline: none; }
.pj-mobile-menu-close {
  position: absolute; top: 14px; right: 14px;
  display: flex; align-items: center; justify-content: center;
  width: 44px; height: 44px;
  border: none; background: transparent; color: var(--color-text);
  cursor: pointer; padding: 0; border-radius: var(--radius-md);
}
.pj-mobile-menu-close:hover { background: color-mix(in srgb, var(--color-text) 7%, transparent); }
.pj-mobile-menu-close:focus-visible { outline: 2px solid var(--color-accent); outline-offset: 2px; }
.pj-mobile-menu-links { display: flex; flex-direction: column; align-items: center; gap: 26px; }
.pj-mobile-menu-links a {
  font-family: var(--font-heading); font-weight: var(--font-heading-weight);
  font-size: 24px; color: var(--color-text); text-decoration: none;
}
.pj-mobile-menu-links a[aria-current='page'] { color: var(--color-accent); }
.pj-mobile-menu-links a.btn { font-size: 16px; margin-top: 10px; }
.pj-mobile-menu-phone {
  display: flex; align-items: center; gap: 8px;
  font-size: 16px; color: var(--color-text);
}
.pj-mobile-menu-wa {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-width: 220px;
  background: var(--color-neutral-900); color: #fff;
  padding: 14px 28px;
  font-family: var(--font-heading); font-weight: var(--font-heading-weight);
  font-size: 15px; letter-spacing: 1px; text-transform: uppercase;
  border-radius: var(--radius-sm); text-decoration: none;
}
.pj-mobile-menu-wa:hover { background: var(--color-text); }
.pj-mobile-menu-address {
  display: flex; align-items: flex-start; gap: 8px;
  max-width: 280px; text-align: center;
  font-size: 13px; color: var(--color-neutral-700); line-height: 1.5;
}
.pj-mobile-menu-address i, .pj-mobile-menu-address svg { flex-shrink: 0; margin-top: 2px; }
body.pj-menu-open { overflow: hidden; }
body.pj-menu-open .pj-whatsapp-float { display: none; }

/* ===== Footer ===== */
.pj-footer {
  background: var(--color-neutral-900);
  color: rgba(255, 255, 255, .55);
  padding: 64px clamp(20px, 4vw, 48px) 28px;
}
.pj-footer-inner { max-width: 1200px; margin: 0 auto; }
.pj-footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 40px;
  margin-bottom: 44px;
}
.pj-footer-brand {
  font-family: var(--font-heading);
  font-weight: var(--font-heading-weight);
  font-size: 19px;
  color: #fff;
}
.pj-footer-tagline {
  font-size: 11px;
  color: var(--color-accent-300);
  letter-spacing: 2.5px;
  text-transform: uppercase;
  margin-bottom: 14px;
}
.pj-footer-desc {
  font-size: 13px; line-height: 1.7; color: rgba(255, 255, 255, .45); max-width: 260px;
}
.pj-footer-social { margin-top: 16px; }
.pj-footer-social a {
  display: inline-flex; align-items: center; justify-content: center;
  width: 36px; height: 36px; border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, .25); color: rgba(255, 255, 255, .55);
  text-decoration: none;
}
.pj-footer-social a:hover { border-color: var(--color-accent-300); color: var(--color-accent-300); }
.pj-footer-heading { color: var(--color-accent-300); margin-bottom: 14px; }
.pj-footer-links { display: flex; flex-direction: column; }
.pj-footer-links a,
.pj-footer-areas span {
  display: block; font-size: 13px; color: rgba(255, 255, 255, .55);
  margin-bottom: 8px; text-decoration: none;
}
.pj-footer-links a:last-child,
.pj-footer-areas span:last-child { margin-bottom: 0; }
.pj-footer-links a:hover { color: var(--color-accent-300); }
.pj-footer-location p { font-size: 13px; color: rgba(255, 255, 255, .55); line-height: 1.7; margin: 0 0 10px; }
.pj-footer-location p:last-child { color: var(--color-accent-300); margin: 0; }
.pj-footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, .08);
  padding-top: 20px;
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 12px;
}
.pj-footer-copy { font-size: 12px; color: rgba(255, 255, 255, .3); }
.pj-footer-credit { font-size: 12px; color: var(--color-accent-400); }

/* ===== Home — Hero ===== */
.pj-hero {
  position: relative;
  overflow: hidden;
  background: var(--color-neutral-900);
  /* altura definida inline por página: min(88vh, {slider_height}px); min-height:520px — comportamento do protótipo */
}
.pj-hero .hero-swiper { position: absolute; inset: 0; width: 100%; height: 100%; }
/* .swiper-wrapper e .swiper-slide usam o padrão do swiper.min.css
   (position:relative; width/height:100%; flex) — não sobrescrever aqui:
   isso quebrava o cálculo interno de progress do Swiper e travava o
   fade (todas as opacidades ficavam presas em 0 exceto o 1º slide). */
.pj-hero-slide-bg { position: absolute; inset: 0; background-size: cover; background-position: center; }
.pj-hero-overlay {
  position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(100deg, rgba(45, 43, 43, .92) 34%, rgba(45, 43, 43, .45) 100%);
}
.pj-hero-accent-bar { position: absolute; left: 0; top: 0; bottom: 0; width: 3px; background: var(--color-accent); z-index: 1; }
.pj-hero-inner {
  position: relative; z-index: 2; max-width: 1200px; margin: 0 auto;
  padding: 0 clamp(20px, 4vw, 48px); height: 100%;
  display: flex; flex-direction: column; justify-content: center;
}
.pj-hero-kicker {
  font-size: 12px; font-weight: 600; color: var(--color-accent-300);
  letter-spacing: 4px; text-transform: uppercase;
  display: flex; align-items: center; gap: 12px; margin-bottom: 20px;
}
.pj-hero-kicker::before { content: ''; width: 28px; height: 1px; background: var(--color-accent-300); }
.pj-hero-title {
  font-size: clamp(44px, 5.6vw, 72px); color: #fff; line-height: 1.02;
  max-width: 720px; margin: 0 0 24px; font-weight: 400;
}
.pj-hero-title span { color: var(--color-accent-300); font-style: italic; }
.pj-hero-desc {
  font-size: 17px; color: rgba(255, 255, 255, .72); max-width: 460px;
  margin: 0 0 34px; font-family: var(--font-body); line-height: 1.75;
}
.pj-hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }
.pj-hero-btn-outline {
  border: 1px solid rgba(255, 255, 255, .4); color: #fff; padding: 14px 26px; font-size: 13px;
  font-family: var(--font-heading); font-weight: var(--font-heading-weight);
  letter-spacing: .3px; border-radius: var(--radius-md); text-decoration: none;
}
.pj-hero-btn-outline:hover { border-color: #fff; }
.pj-hero-team { position: absolute; right: clamp(20px, 4vw, 48px); bottom: 26px; z-index: 3; display: flex; gap: 24px; }
.pj-hero-team-item + .pj-hero-team-item { border-left: 1px solid rgba(255, 255, 255, .25); padding-left: 24px; }
.pj-hero-team-name { font-family: var(--font-heading); font-size: 14px; color: #fff; font-weight: var(--font-heading-weight); }
.pj-hero-team-oab { font-size: 10px; color: var(--color-accent-300); letter-spacing: 1px; }
.pj-hero .swiper-button-prev, .pj-hero .swiper-button-next { display: none; }

/* Paginação (dots) do hero — fora de .hero-swiper (irmã de .pj-hero-inner),
   como filho direto de .pj-hero: .swiper cria stacking context (z-index:1) e
   .pj-hero-overlay/.pj-hero-inner ficavam por cima, bloqueando o clique. */
.pj-hero-pagination { z-index: 3; bottom: 26px; }
.pj-hero-pagination .swiper-pagination-bullet {
  position: relative;
  width: 24px; height: 24px; margin: 0 !important;
  background: transparent; opacity: 1; cursor: pointer;
  display: inline-flex; align-items: center; justify-content: center;
}
.pj-hero-pagination .swiper-pagination-bullet::after {
  content: '';
  width: 12px; height: 12px; border-radius: 50%;
  background: rgba(255, 255, 255, .45);
  transition: width .25s ease, border-radius .25s ease, background .25s ease;
}
.pj-hero-pagination .swiper-pagination-bullet:hover::after,
.pj-hero-pagination .swiper-pagination-bullet:focus-visible::after {
  background: rgba(255, 255, 255, .8);
}
.pj-hero-pagination .swiper-pagination-bullet:focus-visible {
  outline: 2px solid var(--color-accent); outline-offset: 2px; border-radius: var(--radius-sm);
}
.pj-hero-pagination .swiper-pagination-bullet-active::after {
  width: 28px; border-radius: var(--radius-sm); background: var(--color-accent);
}
/* Telas estreitas: o bloco dos sócios (direita) fica largo demais ao lado dos
   dois nomes + OAB e passa a colidir com os dots centralizados na base. */
@media (max-width: 680px) {
  .pj-hero-team { display: none; }
}

/* ===== Home — Strip de números ===== */
.pj-strip { background: var(--color-bg); border-bottom: 1px solid var(--color-divider); }
.pj-strip-grid { max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); }
.pj-strip-item { padding: 30px clamp(16px, 3vw, 32px); text-align: center; border-right: 1px solid var(--color-divider); }
.pj-strip-item:last-child { border-right: none; }
.pj-strip-num, .pj-strip-text { font-family: var(--font-heading); color: var(--color-accent-700); line-height: 1; }
.pj-strip-num { font-size: 34px; font-feature-settings: "tnum" 1; }
.pj-strip-text { font-size: 20px; line-height: 1.2; padding-top: 6px; }
.pj-strip-label { font-size: 11px; color: var(--color-neutral-700); letter-spacing: 1.4px; text-transform: uppercase; margin-top: 6px; }

/* ===== Home — seções genéricas ===== */
.pj-section { padding: 96px clamp(20px, 4vw, 48px); }
.pj-section-alt { background: var(--color-surface); border-top: 1px solid var(--color-divider); border-bottom: 1px solid var(--color-divider); }
.pj-section-inner { max-width: 1200px; margin: 0 auto; }
.pj-eyebrow {
  font-size: 11px; font-weight: 600; color: var(--color-accent-700); letter-spacing: 4px;
  text-transform: uppercase; display: flex; align-items: center; gap: 10px; margin-bottom: 14px;
}
.pj-eyebrow::before { content: ''; width: 28px; height: 1px; background: var(--color-accent); }
.pj-h2 { font-size: clamp(34px, 4vw, 48px); line-height: 1.08; font-weight: 400; margin: 0 0 20px; color: var(--color-text); max-width: 600px; }
.pj-h2 span { color: var(--color-accent-700); font-style: italic; }

/* ===== Home — Sobre ===== */
/* grid-template-areas em vez de 2 filhos diretos (texto/figura): permite
   reordenar para kicker→título→IMAGEM→texto no mobile (ajuste 04) sem mudar
   o layout de desktop, que continua igual (figura ocupando as 2 linhas). */
.pj-sobre-grid {
  max-width: 1200px; margin: 0 auto;
  display: grid; grid-template-columns: 1.1fr 1fr;
  grid-template-areas: "head figure" "body figure";
  gap: 0 64px; align-items: center;
}
.pj-sobre-head { grid-area: head; }
.pj-sobre-figure { grid-area: figure; }
.pj-sobre-body { grid-area: body; }
.pj-sobre-heading { font-size: clamp(44px, 5.6vw, 72px); line-height: 1.02; font-weight: 400; margin: 0 0 36px; color: var(--color-text); max-width: 560px; }
.pj-sobre-heading span { color: var(--color-accent-700); font-style: italic; }
.pj-sobre-text { color: var(--color-neutral-800); text-align: justify; font-size: 16px; line-height: 1.85; margin: 0 0 var(--space-3); }
.pj-sobre-tags { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 20px; }
.pj-sobre-plate { height: 420px; overflow: hidden; }
.pj-sobre-plate img { width: 100%; height: 100%; object-fit: cover; }

/* ===== Home — cards em grade (diferenciais / áreas) ===== */
.pj-cards-grid-4 { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 20px; margin-top: 40px; }
.pj-card-icon {
  width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--color-accent);
  display: flex; align-items: center; justify-content: center; color: var(--color-accent-700);
}

/* ===== Home — Como Atendemos ===== */
.pj-atendemos-row { display: flex; justify-content: space-between; align-items: flex-end; flex-wrap: wrap; gap: 20px; margin-bottom: 28px; }
.pj-atendemos-desc { max-width: 520px; color: var(--color-neutral-800); font-size: 16px; line-height: 1.7; margin: 0; }
.pj-atendemos-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }
.pj-atendemos-item { display: flex; align-items: center; gap: 12px; padding: 16px 20px; border-right: 1px solid var(--color-divider); }
.pj-atendemos-item span { font-size: 16px; font-weight: 500; color: var(--color-text); }

/* ===== Home — Áreas ===== */
.pj-areas-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin-top: 40px; }
.pj-area-card-head { display: flex; align-items: center; gap: 10px; }
.pj-area-list { margin: 0; padding-left: 18px; font-size: 16px; color: var(--color-neutral-700); line-height: 1.75; flex: 1; }
.pj-area-link { font-size: 13px; font-weight: 600; letter-spacing: .5px; text-transform: uppercase; }

/* ===== Home — Equipe ===== */
.pj-equipe-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(340px, 1fr)); gap: 32px; }
.pj-equipe-card { display: flex; gap: 22px; align-items: flex-start; background: var(--color-bg); border: 1px solid var(--color-divider); border-radius: var(--radius-md); padding: 28px; }
.pj-equipe-avatar {
  width: 74px; height: 74px; border-radius: 50%; border: 1px solid var(--color-accent);
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.pj-equipe-initials { font-family: var(--font-heading); font-size: 24px; font-weight: var(--font-heading-weight); color: var(--color-accent-700); }
.pj-equipe-name { font-family: var(--font-heading); font-size: 22px; font-weight: var(--font-heading-weight); color: var(--color-text); }
.pj-equipe-oab { font-size: 14px; color: var(--color-accent-700); letter-spacing: .5px; margin: 2px 0 4px; }
.pj-equipe-bio { font-size: 16px; color: var(--color-neutral-700); line-height: 1.7; margin-top: 10px; text-align: justify; }

/* ===== Home — Valores ===== */
.pj-valores { padding: 72px clamp(20px, 4vw, 48px); text-align: center; }
.pj-valores-inner { max-width: 640px; margin: 0 auto; }
.pj-valores-hr { margin: 0 auto 28px; width: 60px; }

/* ===== Home — CTA Diligência ===== */
.pj-cta-diligencia { position: relative; padding: 100px clamp(20px, 4vw, 48px); text-align: center; background: var(--color-neutral-900) center/cover no-repeat; }
.pj-cta-diligencia-overlay { position: absolute; inset: 0; background: rgba(45, 43, 43, .78); }
.pj-cta-diligencia-inner { position: relative; z-index: 1; max-width: 620px; margin: 0 auto; }
.pj-cta-diligencia-actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* ===== Faixa de título — páginas internas ===== */
.pj-page-hero {
  position: relative; height: 200px; overflow: hidden;
  background: var(--color-neutral-900) center/cover no-repeat;
}
.pj-page-hero-overlay { position: absolute; inset: 0; background: rgba(45, 43, 43, .72); }
.pj-page-hero-inner {
  position: relative; z-index: 1; max-width: 1200px; margin: 0 auto;
  padding: 0 clamp(20px, 4vw, 48px); height: 100%;
  display: flex; flex-direction: column; justify-content: center;
}
.pj-page-hero-kicker {
  font-size: 12px; font-weight: 600; color: var(--color-accent-300);
  letter-spacing: 4px; text-transform: uppercase; margin-bottom: 14px;
}
.pj-page-hero-title { color: #fff; font-size: clamp(28px, 3.2vw, 38px); font-weight: 400; margin: 0; }

/* ===== Sobre — blocos de texto editáveis (TinyMCE) ===== */
/* grid-template-areas: mesma técnica de .pj-sobre-grid, para permitir
   kicker→título→IMAGEM→texto no mobile (ajuste 04) sem mudar o desktop. */
.pj-sobre-page-grid {
  max-width: 1200px; margin: 0 auto; padding: 96px clamp(20px, 4vw, 48px);
  display: grid; grid-template-columns: 1.1fr 1fr;
  grid-template-areas: "head figure" "body figure";
  gap: 0 64px; align-items: start;
}
.pj-sobre-page-grid .pj-sobre-head { grid-area: head; }
.pj-sobre-page-grid .pj-office-figure { grid-area: figure; }
.pj-sobre-page-grid .pj-sobre-body { grid-area: body; }
.pj-sobre-block { border-top: 1px solid var(--color-divider); padding-top: 22px; }
.pj-sobre-block + .pj-sobre-block { margin-top: 30px; }
.pj-sobre-block h3 { font-size: 24px; margin: 0 0 10px; }
.pj-sobre-block p { color: var(--color-neutral-800); text-align: justify; font-size: 16px; line-height: 1.85; margin: 0 0 14px; }
.pj-sobre-block p:last-child { margin-bottom: 0; }

.pj-office-figure { position: sticky; top: 90px; margin: 0; }
.pj-office-plate { position: relative; height: clamp(420px, 52vw, 600px); overflow: hidden; }
.pj-office-img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  opacity: 0; transition: opacity 1.2s ease;
}
.pj-office-img.is-active { opacity: 1; }
.pj-office-caption-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: 14px; }
.pj-office-dots { display: flex; gap: 8px; }
.pj-office-dot {
  width: 9px; height: 9px; border-radius: 50%; padding: 0; cursor: pointer;
  border: 1px solid var(--color-accent); background: transparent;
}
.pj-office-dot.is-active { background: var(--color-accent); }

/* ===== Áreas — introdução (conteúdo TinyMCE) ===== */
.pj-areas-intro { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 20px 40px; padding-bottom: 16px; }

/* ===== Áreas — linhas com ícone + lista em colunas ===== */
.pj-area-row {
  padding: 44px 0; border-bottom: 1px solid var(--color-divider);
  display: grid; grid-template-columns: 56px 1fr; gap: 24px;
}
.pj-area-row-icon {
  width: 56px; height: 56px; border-radius: 50%; border: 1px solid var(--color-accent);
  display: flex; align-items: center; justify-content: center; color: var(--color-accent-700);
}
.pj-area-row h3 { margin: 0 0 14px; font-size: 26px; }
.pj-area-row-list {
  margin: 0; padding-left: 20px; font-size: 16px; color: var(--color-neutral-700);
  line-height: 1.85; columns: 2 220px; column-gap: 32px;
}
.pj-area-row-link { display: inline-block; margin-top: 14px; font-size: 13px; font-weight: 600; letter-spacing: .5px; text-transform: uppercase; }

/* ===== Equipe — linhas completas ===== */
.pj-equipe-row {
  display: grid; grid-template-columns: 140px 1fr; gap: 32px; align-items: flex-start;
  padding-bottom: 44px; border-bottom: 1px solid var(--color-divider);
}
.pj-equipe-row-avatar {
  width: 140px; height: 140px; border-radius: 50%; border: 1px solid var(--color-accent);
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.pj-equipe-row-initials { font-family: var(--font-heading); font-size: 44px; font-weight: var(--font-heading-weight); color: var(--color-accent-700); }
.pj-equipe-row-name { font-family: var(--font-heading); font-size: 26px; font-weight: var(--font-heading-weight); color: var(--color-text); }
.pj-equipe-row-oab { font-size: 14px; color: var(--color-accent-700); letter-spacing: .5px; margin: 4px 0 6px; }
.pj-equipe-row-bio { font-size: 16px; color: var(--color-neutral-700); line-height: 1.8; margin-top: 14px; text-align: justify; }

/* ===== WhatsApp flutuante ===== */
.pj-whatsapp-float {
  position: fixed; bottom: 22px; right: 22px; z-index: 999;
  width: 52px; height: 52px;
  border-radius: 50%;
  background: var(--color-neutral-900);
  display: flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow-lg);
  text-decoration: none;
}
.pj-whatsapp-float:hover { background: var(--color-text); }

/* ===== Publicações — listagem ===== */
.pj-pub-back { display: inline-block; margin-bottom: 20px; font-size: 13px; font-weight: 600; letter-spacing: .5px; text-transform: uppercase; }
.pj-pub-intro {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px 40px; padding-bottom: 56px; margin-top: 20px;
  border-bottom: 1px solid var(--color-divider);
}
.pj-pub-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 28px; }
.pj-pub-card { position: relative; text-decoration: none; }
.pj-pub-card-cover { height: 200px; overflow: hidden; margin: calc(var(--space-3) * -1) calc(var(--space-3) * -1) 0; }
.pj-pub-card-cover img { width: 100%; height: 100%; object-fit: cover; }
.pj-pub-card-cat {
  position: relative; z-index: 2; align-self: flex-start;
  display: inline-flex; align-items: center; gap: 10px; font-size: 12px; font-weight: 600;
  color: var(--color-accent-700); letter-spacing: 2.5px; text-transform: uppercase; text-decoration: none;
}
.pj-pub-card-cat::before { content: ''; width: 22px; height: 1px; background: var(--color-accent); flex-shrink: 0; }
.pj-pub-card-cat:hover { color: var(--color-accent-600); }
.pj-pub-card-title { text-decoration: none; color: var(--color-text); }
.pj-pub-card-title::after { content: ''; position: absolute; inset: 0; z-index: 1; }
.pj-pub-card-date { font-size: 12px; color: var(--color-neutral-700); letter-spacing: .5px; }
.pj-pub-empty {
  text-align: center; padding: 64px clamp(20px, 4vw, 48px);
  border: 1px solid var(--color-divider); border-radius: var(--radius-md);
}
.pj-pub-empty p { font-size: 17px; color: var(--color-neutral-700); margin-bottom: 24px; }

/* ===== Paginação ===== */
.pj-pagination { display: flex; gap: 8px; justify-content: center; flex-wrap: wrap; margin-top: 56px; }
.pj-pagination a, .pj-pagination span {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 38px; height: 38px; padding: 0 10px;
  border: 1px solid var(--color-divider); border-radius: var(--radius-md);
  font-size: 14px; color: var(--color-text); text-decoration: none;
}
.pj-pagination a:hover { border-color: var(--color-accent); color: var(--color-accent-700); }
.pj-pagination .is-active { border-color: var(--color-accent); color: var(--color-accent-700); background: var(--color-accent-100); }

/* ===== Publicação — detalhe ===== */
.pj-post-article { max-width: 720px; margin: 0 auto; }
.pj-post-back { font-size: 13px; font-weight: 600; letter-spacing: .5px; text-transform: uppercase; }
.pj-post-cat {
  display: inline-flex; align-items: center; gap: 10px; font-size: 12px; font-weight: 600;
  color: var(--color-accent-700); letter-spacing: 2.5px; text-transform: uppercase; text-decoration: none;
}
.pj-post-cat::before { content: ''; width: 22px; height: 1px; background: var(--color-accent); flex-shrink: 0; }
.pj-post-cat:hover { color: var(--color-accent-600); }
.pj-post-title { margin: 18px 0 10px; font-size: clamp(28px, 4vw, 38px); font-weight: 400; }
.pj-post-meta { font-size: 13px; color: var(--color-neutral-700); letter-spacing: .5px; margin-bottom: 36px; }
.pj-post-cover { height: 340px; overflow: hidden; margin-bottom: 36px; }
.pj-post-cover img { width: 100%; height: 100%; object-fit: cover; }
.pj-post-cta { text-align: center; }
.pj-post-cta p { font-size: 15px; color: var(--color-neutral-700); margin-bottom: 16px; }

/* Conteúdo do TinyMCE (post) — tipografia dentro do padrão do DS */
.pj-post-content { font-size: 16px; line-height: 1.9; color: var(--color-neutral-800); text-align: justify; }
.pj-post-content p { margin: 0 0 22px; }
.pj-post-content h2 { font-size: 28px; font-weight: 400; text-align: left; margin: 40px 0 16px; }
.pj-post-content h3 { font-size: 22px; font-weight: 400; text-align: left; margin: 32px 0 14px; }
.pj-post-content ul, .pj-post-content ol { margin: 0 0 22px; padding-left: 22px; text-align: left; }
.pj-post-content li { margin-bottom: 8px; }
.pj-post-content img { width: 100%; height: auto; border-radius: var(--radius-md); margin: 28px 0; }
.pj-post-content a { text-decoration: underline; }
.pj-post-content blockquote {
  margin: 28px 0; padding-left: 20px; text-align: left; font-style: italic;
  color: var(--color-neutral-700); border-left: 2px solid var(--color-accent);
}

/* ===== Contato ===== */
.pj-contact-grid {
  max-width: 1200px; margin: 0 auto;
  display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr));
  gap: clamp(32px, 5vw, 64px); align-items: start;
}
.pj-contact-form { display: flex; flex-direction: column; gap: 22px; }
.pj-contact-form .input {
  border: 1px solid var(--color-neutral-600); background: var(--color-neutral-100);
  color: var(--color-text); font-size: 16px; padding: 12px 14px;
}
.pj-contact-form .btn-primary {
  padding: 16px 20px; font-size: 17px; letter-spacing: 1px;
  border: 2px solid var(--color-accent-700); color: var(--color-accent-800); background: var(--color-accent-100);
}
.pj-contact-form .btn-primary:hover { background: var(--color-accent-200); }
.pj-contact-form-note { font-size: 14px; color: var(--color-neutral-800); text-align: center; margin: 0; }
/* Par de campos lado a lado dentro de um formulário (ex.: Estado/Cidade na
   Diligência) — empilha em 1 coluna no mobile, junto com os demais grids. */
.pj-form-grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }

.pj-contact-side { position: sticky; top: 100px; border-left: 1px solid var(--color-accent); padding: 8px 0 8px clamp(24px, 4vw, 56px); }
.pj-contact-info { display: flex; flex-direction: column; border-bottom: 1px solid var(--color-divider); margin-bottom: 28px; }
.pj-contact-info-row { display: flex; gap: 16px; align-items: flex-start; padding: 18px 0; border-top: 1px solid var(--color-divider); }
.pj-contact-info-row img { width: 28px; height: 28px; object-fit: contain; flex-shrink: 0; margin-top: 2px; }
.pj-contact-info-label { font-size: 12px; font-weight: 600; color: var(--color-accent-700); letter-spacing: 2px; text-transform: uppercase; margin-bottom: 4px; }
.pj-contact-info-value { font-size: 17px; line-height: 1.6; color: var(--color-text); }
.pj-contact-wa-link { display: inline-flex; align-items: center; gap: 10px; font-size: 14px; font-weight: 600; letter-spacing: .5px; text-transform: uppercase; text-decoration: none; }

.pj-contact-map { height: 360px; }
.pj-contact-map iframe { width: 100%; height: 100%; border: 0; display: block; }

/* ═══════════════════════════════════════════════════════════════════════
   AJUSTES MOBILE — template público (todas as páginas)
   Só variáveis do DS; visual de desktop (> 960px / > 768px) não muda.
   ═══════════════════════════════════════════════════════════════════ */

/* Rede de segurança contra rolagem horizontal (ajuste 09). */
html, body { max-width: 100%; overflow-x: hidden; }

/* ===== 02/03 — logo centralizada + menu hambúrguer (≤ 960px) ===== */
@media (max-width: 960px) {
  .pj-header {
    display: grid; grid-template-columns: 1fr auto 1fr; align-items: center;
  }
  .pj-header-logo { grid-column: 2; margin: 0 auto; }
  .pj-header-menu { display: none; }
  .pj-hamburger { display: inline-flex; grid-column: 3; justify-self: end; }
}

/* ===== 01/04–09 — topbar, colunas, footer, justificação (≤ 768px) ===== */
@media (max-width: 768px) {
  /* 01 — top bar mobile: 2 linhas; endereço só em desktop/notebook */
  .pj-topbar-inner { flex-direction: column; gap: 6px; }
  .pj-topbar-line {
    display: flex; flex-wrap: nowrap; justify-content: center; align-items: center;
    gap: 8px; width: 100%;
  }
  .pj-topbar-line-2 { display: none; }
  .pj-topbar-title { font-size: 12px; white-space: nowrap; }
  .pj-topbar-line-1 .pj-topbar-item { gap: 5px; font-size: 11px; white-space: nowrap; }
  .pj-topbar-line-1 .pj-topbar-item img { width: 15px; height: 15px; }
  .pj-topbar-whatsapp {
    padding: 5px 10px; font-size: 10px; gap: 5px; letter-spacing: .3px; white-space: nowrap;
  }
  .pj-topbar-whatsapp i, .pj-topbar-whatsapp svg { width: 13px !important; height: 13px !important; }
  .pj-topbar-line-3 .pj-topbar-item { font-size: 12px; }

  /* 04 — Quem Somos (Home) e Sobre: kicker → título → imagem → texto */
  .pj-sobre-grid,
  .pj-sobre-page-grid {
    grid-template-columns: 1fr;
    grid-template-areas: "head" "figure" "body";
    gap: 24px;
  }
  .pj-office-figure { position: static; }
  .pj-sobre-plate,
  .pj-office-plate { height: 280px; }

  /* 05 — Áreas de Atuação (Home e /areas): uma coluna, listas em 1 coluna */
  .pj-areas-grid { grid-template-columns: 1fr; }
  .pj-area-row-list { columns: 1; }

  /* 06 — Sócios (Home e /equipe): ícone acima do nome, centralizado */
  .pj-equipe-card { flex-direction: column; align-items: center; text-align: center; }
  .pj-equipe-card > div:last-child { width: 100%; }
  .pj-equipe-card .pj-equipe-bio { text-align: left; }
  .pj-equipe-row { grid-template-columns: 1fr; text-align: center; gap: 20px; }
  .pj-equipe-row-avatar { justify-self: center; }
  .pj-equipe-row-bio { text-align: left; }

  /* 07 — Footer: uma coluna, tudo centralizado */
  .pj-footer-grid { grid-template-columns: 1fr; gap: 32px; text-align: center; }
  .pj-footer-desc { margin-left: auto; margin-right: auto; }
  .pj-footer-bottom { flex-direction: column; gap: 8px; text-align: center; }

  /* 08 — texto justificado vira alinhado à esquerda */
  .pj-sobre-text,
  .pj-equipe-bio,
  .pj-sobre-block p,
  .pj-equipe-row-bio,
  .pj-post-content { text-align: left; }

  /* 09 — revisão geral: qualquer outro grid de várias colunas empilha */
  .pj-cards-grid-4 { grid-template-columns: 1fr; }
  .pj-atendemos-grid { grid-template-columns: 1fr; }
  .pj-atendemos-item { border-right: none; border-bottom: 1px solid var(--color-divider); }
  .pj-atendemos-item:last-child { border-bottom: none; }
  /* 02 — strip de números: 2 colunas x 2 linhas, com linhas divisórias do DS */
  .pj-strip-grid { grid-template-columns: repeat(2, 1fr); }
  .pj-strip-item {
    border-right: 1px solid var(--color-divider);
    border-bottom: 1px solid var(--color-divider);
  }
  .pj-strip-item:nth-child(2n) { border-right: none; }
  .pj-strip-item:nth-child(n+3) { border-bottom: none; }
  .pj-areas-intro { grid-template-columns: 1fr; }
  .pj-pub-intro { grid-template-columns: 1fr; }
  .pj-pub-grid { grid-template-columns: 1fr; }
  .pj-contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .pj-contact-side {
    position: static; border-left: none; padding: 0;
    border-top: 1px solid var(--color-divider); padding-top: 32px;
  }
  .pj-form-grid-2 { grid-template-columns: 1fr; }
}
