/*
Theme Name: Jheniffer Pires Advocacia
Theme URI: https://jhenifferpires.adv.br
Author: 3X Sites
Author URI: https://3xsites.com.br
Description: Landing page institucional editável para Dra. Jheniffer Pires.
Version: 1.2.10
Requires at least: 6.4
Requires PHP: 7.4
Text Domain: jheniffer-pires
*/

:root {
  --jp-content-width: 1180px;
  --jp-page-gutter: clamp(28px, 4vw, 56px);
  --jp-ink: #3a1724;
  --jp-muted: #705d64;
  --jp-paper: #ffffff;
  --jp-soft: #fbf2f3;
  --jp-line: #ead7dc;
  --jp-red: #9e294c;
  --jp-red-dark: #741d37;
  --jp-gold: #b78a72;
  --jp-shadow: 0 24px 70px rgba(83, 25, 44, .10);
}

html { scroll-behavior: smooth; }
body .alignwide {
  width: min(var(--jp-content-width), calc(100% - (var(--jp-page-gutter) * 2))) !important;
  max-width: var(--jp-content-width) !important;
  margin-right: auto !important;
  margin-left: auto !important;
}
body {
  --jp-header-offset: 0px;
  overflow-x: hidden;
  padding-top: 120px;
}
body.admin-bar { --jp-header-offset: 32px; }
a { text-underline-offset: .18em; }
#inicio, #como-podemos-auxiliar, #areas-de-atuacao, #sobre, #contato { scroll-margin-top: 118px; }

.jp-motion .jp-reveal {
  opacity: 0;
  transform: translate3d(0, 24px, 0);
  transition:
    opacity .62s cubic-bezier(.22, 1, .36, 1),
    transform .62s cubic-bezier(.22, 1, .36, 1);
  transition-delay: var(--jp-delay, 0ms);
  will-change: opacity, transform;
}

.jp-motion .jp-reveal-down { transform: translate3d(0, -18px, 0); }
.jp-motion .jp-reveal-left { transform: translate3d(-34px, 0, 0); }
.jp-motion .jp-reveal-right { transform: translate3d(34px, 0, 0); }

.jp-motion .jp-reveal.is-visible {
  opacity: 1;
  transform: translate3d(0, 0, 0);
  will-change: auto;
}

.jp-site-header {
  position: fixed;
  z-index: 50;
  top: var(--jp-header-offset);
  right: 0;
  left: 0;
  width: 100%;
  border-bottom: 1px solid rgba(16, 17, 20, .08);
  background: rgba(255, 255, 255, .94);
  backdrop-filter: blur(14px);
}

.jp-contact-bar-wrap {
  position: relative;
  width: 100vw;
  max-width: none !important;
  margin-right: calc(50% - 50vw) !important;
  margin-left: calc(50% - 50vw) !important;
  color: rgba(255,255,255,.78);
  background: #4b1b2b;
}

.jp-contact-bar {
  display: flex;
  min-height: 44px;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.jp-contact-details {
  display: flex;
  align-items: center;
  gap: clamp(1.25rem, 3vw, 2.8rem);
  font-size: .76rem;
  line-height: 1.2;
}

.jp-contact-details a {
  color: inherit;
  text-decoration: none;
  transition: color .2s ease;
}

.jp-contact-details a:hover,
.jp-contact-details a:focus-visible { color: #fff; }

.jp-contact-details span {
  margin-right: .42rem;
  color: #fff;
  font-size: .64rem;
  font-weight: 750;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.jp-contact-whatsapp {
  display: inline-flex;
  min-height: 34px;
  align-items: center;
  justify-content: center;
  padding: .58rem 1rem;
  color: #fff;
  border-radius: 2px;
  background: var(--jp-red);
  font-size: .68rem;
  font-weight: 750;
  letter-spacing: .1em;
  line-height: 1;
  text-decoration: none;
  text-transform: uppercase;
  white-space: nowrap;
  transition: background .2s ease, transform .2s ease;
}

.jp-contact-whatsapp:hover,
.jp-contact-whatsapp:focus-visible {
  color: #fff;
  background: var(--jp-red-dark);
  transform: translateY(-1px);
}

.jp-whatsapp-label-short { display: none; }

.jp-header-inner { min-height: 76px; align-items: center; justify-content: space-between !important; }
.jp-brand-link { display: flex; align-items: center; text-decoration: none; }
.jp-brand-logo { display: block; width: 176px; height: 64px; object-fit: contain; object-position: left center; }

.jp-logo img {
  width: auto;
  height: 64px;
  object-fit: contain;
}

.jp-header-logo { position: relative; display: block; width: 85px; height: 64px; overflow: hidden; clip-path: inset(0 1px 0 0); }
.jp-header-logo .jp-logo-layer { position: absolute; inset: 0 auto auto 0; width: auto; height: 64px; object-fit: contain; }
.jp-header-logo .jp-logo-black { filter: url('#jp-black-elements'); }
.jp-header-logo .jp-logo-red { filter: url('#jp-red-elements'); }
.jp-logo-filters { position: absolute; width: 0; height: 0; overflow: hidden; }

.jp-site-header .wp-block-navigation-item__content {
  position: relative;
  text-decoration: none;
}

.jp-site-header .wp-block-navigation-item__content::after {
  position: absolute;
  right: 0;
  bottom: -.55rem;
  left: 0;
  height: 2px;
  content: "";
  transform: scaleX(0);
  transform-origin: left;
  background: var(--jp-red);
  transition: transform .2s ease;
}

.jp-site-header .wp-block-navigation-item__content:hover::after,
.jp-site-header .wp-block-navigation-item__content:focus-visible::after {
  transform: scaleX(1);
}

.jp-button .wp-block-button__link,
.jp-button.wp-block-button .wp-block-button__link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: .95rem 1.35rem;
  border-radius: 2px;
  color: #fff;
  background: var(--jp-red);
  box-shadow: none;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .11em;
  line-height: 1.15;
  text-transform: uppercase;
  transition: transform .2s ease, background .2s ease, box-shadow .2s ease;
}

.jp-button .wp-block-button__link:hover,
.jp-button .wp-block-button__link:focus-visible {
  background: var(--jp-red-dark);
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(173, 0, 0, .2);
}

.jp-button-outline .wp-block-button__link {
  border: 1px solid var(--jp-ink);
  color: var(--jp-ink) !important;
  background: transparent !important;
}

.jp-kicker {
  font-size: .76rem !important;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
}

.jp-hero {
  position: relative;
  min-height: 720px;
  overflow: hidden;
  color: #fff;
  background-image:
    linear-gradient(90deg, rgba(45, 13, 24, .93) 0%, rgba(55, 17, 31, .78) 42%, rgba(55, 17, 31, .15) 68%, rgba(20, 8, 12, .08) 100%),
    linear-gradient(0deg, rgba(40, 12, 22, .28), rgba(40, 12, 22, .02)),
    url('assets/hero-office.jpg');
  background-position: center;
  background-size: cover;
}

.jp-hero::before {
  position: absolute;
  z-index: 0;
  right: 4vw;
  bottom: 0;
  width: min(34vw, 510px);
  height: 5px;
  content: "";
  background: var(--jp-red);
}

.jp-hero::after {
  position: absolute;
  z-index: 0;
  inset: 0;
  content: "";
  pointer-events: none;
  background: radial-gradient(circle at 70% 35%, rgba(184, 97, 121, .13), transparent 33%);
  animation: jp-hero-light-in 1.5s ease-out both;
}

.jp-hero-inner { position: relative; z-index: 1; align-items: stretch !important; }
.jp-hero-copy { max-width: 700px; padding: 8rem 0 8.5rem; }

.jp-hero h1 {
  max-width: 720px;
  margin-top: 1.15rem;
  margin-bottom: 1.6rem;
  color: #fff;
  font-size: clamp(3rem, 5vw, 5.15rem);
  line-height: 1.01;
  letter-spacing: -.04em;
  text-shadow: 0 3px 28px rgba(0, 0, 0, .35);
}

.jp-hero h1 mark {
  color: var(--jp-red);
  background: none;
}

.jp-hero-lead {
  max-width: 620px;
  color: rgba(255,255,255,.82);
  font-size: 1.12rem;
  line-height: 1.75;
}

.jp-hero-mark {
  display: flex;
  align-items: center;
  justify-content: center;
  padding-left: clamp(1rem, 3vw, 3.5rem);
}

.jp-hero-copy > .jp-kicker { display: block; }

.jp-hero-brand-group {
  display: flex;
  align-items: center;
  flex-direction: column;
}

.jp-hero-brand {
  position: relative;
  width: min(320px, 24vw);
  aspect-ratio: 553 / 419;
  filter: drop-shadow(0 18px 34px rgba(0,0,0,.28));
}

.jp-hero-brand .jp-logo-layer {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.jp-hero-brand .jp-logo-white { filter: url('#jp-white-elements'); }
.jp-hero-brand .jp-logo-red { filter: url('#jp-red-elements'); }

.jp-hero-brand-oab {
  margin: .85rem 0 0;
  color: var(--jp-red);
  font-size: .76rem;
  font-weight: 750;
  letter-spacing: .18em;
  line-height: 1.2;
  text-align: center;
  text-transform: uppercase;
}

/* Remove pixels residuais das bordas claras do arquivo-fonte da marca. */
.jp-hero-brand .jp-logo-white,
.jp-hero-logo .jp-logo-white,
.jp-footer-logo .jp-logo-white {
  clip-path: inset(2px 2px 2px 2px);
}

.jp-hero-logo { display: none; }

.jp-hero-actions { align-items: center; gap: 1.2rem; }
.jp-hero-link { color: #fff; font-size: .82rem; font-weight: 700; letter-spacing: .1em; text-decoration-color: var(--jp-red); text-transform: uppercase; }
.jp-hero-link:hover { color: #fff; }

.jp-proof-strip {
  position: relative;
  z-index: 3;
  margin-top: -70px !important;
  margin-right: auto !important;
  margin-left: auto !important;
  padding: 1.7rem 1.35rem;
  color: #fff;
  border: 1px solid rgba(255,255,255,.12);
  background: rgba(58, 23, 36, .98);
  box-shadow: 0 24px 70px rgba(58, 23, 36, .22);
}

.jp-proof-strip .wp-block-columns {
  box-sizing: border-box;
  display: grid !important;
  width: 100% !important;
  max-width: none !important;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0 !important;
  margin: 0 !important;
}

.jp-proof-item {
  display: flex;
  min-width: 0;
  min-height: 76px;
  align-items: center;
  gap: 1rem;
  padding: 0 1.45rem;
  border-right: 1px solid rgba(255,255,255,.15);
}

.jp-proof-item:last-child { border-right: 0; }
.jp-proof-icon {
  display: grid;
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
  place-items: center;
  color: #d76687;
  border: 1px solid rgba(215, 102, 135, .34);
  border-radius: 50%;
  background: rgba(215, 102, 135, .08);
}
.jp-proof-icon svg { width: 21px; height: 21px; stroke: currentColor; }
.jp-proof-item > p { min-width: 0; margin: 0; }
.jp-proof-item strong { display: block; margin-bottom: .2rem; font-size: .86rem; line-height: 1.3; }
.jp-proof-item > p > span { display: block; color: rgba(255,255,255,.62); font-size: .78rem; line-height: 1.45; }

.jp-section { padding-top: 7rem; padding-bottom: 7rem; }
.jp-section-soft { background: var(--jp-soft); }
.jp-section-dark { color: #fff; background: var(--jp-ink); }
.jp-section-heading { max-width: 840px; margin: 0 auto 3.4rem; text-align: center; }
.jp-section-heading h2 { margin-top: .65rem; margin-bottom: 0; }

.jp-section-heading::after {
  display: block;
  width: 54px;
  height: 3px;
  margin: 1.4rem auto 0;
  content: "";
  background: var(--jp-red);
}

.jp-card-grid { align-items: stretch !important; gap: 1.3rem; }
.jp-card-grid > * {
  margin-top: 0 !important;
  margin-block-start: 0 !important;
}
.jp-situations-grid {
  display: grid !important;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  align-items: stretch !important;
}
.jp-situations-grid > .jp-situation-card { grid-column: span 3; }
.jp-situations-grid > .jp-situation-card:nth-child(n+5) { grid-column: span 4; }

.jp-situation-card,
.jp-practice-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: 2.1rem;
  border: 1px solid var(--jp-line);
  background: #fff;
  transition: transform .22s ease, border-color .22s ease, box-shadow .22s ease;
}

.jp-situation-card:hover,
.jp-practice-card:hover {
  transform: translateY(-5px);
  border-color: rgba(224, 0, 0, .42);
  box-shadow: 0 18px 45px rgba(16, 17, 20, .08);
}

.jp-card-number {
  margin-bottom: 2rem;
  color: var(--jp-red);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.85rem;
}

#como-podemos-auxiliar .jp-situation-card {
  box-sizing: border-box;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  min-height: 285px;
  border-top: 4px solid var(--jp-ink);
}

#como-podemos-auxiliar .jp-situation-card:hover { border-top-color: var(--jp-red); }

.jp-situation-card h3,
.jp-practice-card h3 { margin-top: 0; }
.jp-situation-card p,
.jp-practice-card p { color: var(--jp-muted); }
.jp-situation-card > p:last-child,
.jp-practice-card > p:last-child { margin-bottom: 0; }

.jp-practice-card {
  position: relative;
  padding-top: 2.6rem;
}

#areas-de-atuacao .jp-card-grid {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: stretch !important;
  gap: 1.4rem;
}

#areas-de-atuacao .jp-card-grid > .wp-block-column {
  display: flex;
  min-width: 0;
  margin: 0;
}

#areas-de-atuacao {
  color: #fff;
  background:
    radial-gradient(circle at 82% 16%, rgba(191,82,116,.18), transparent 28rem),
    var(--jp-ink);
}

#areas-de-atuacao .jp-practice-card {
  width: 100%;
  min-height: 285px;
  color: #fff;
  border-color: rgba(255,255,255,.14);
  background: #4a1d2d;
}

#areas-de-atuacao .jp-practice-card .jp-kicker {
  min-height: 1.2em;
  margin: 0 0 1rem;
  color: rgba(255,255,255,.58) !important;
}

#areas-de-atuacao .jp-practice-card h3 { margin-bottom: 1.5rem; }

#areas-de-atuacao .jp-practice-card p { color: rgba(255,255,255,.64); }
#areas-de-atuacao .jp-practice-card:hover { border-color: rgba(224,0,0,.75); box-shadow: 0 20px 50px rgba(0,0,0,.25); }

.jp-practice-card::before {
  position: absolute;
  top: 0;
  left: 0;
  width: 64px;
  height: 4px;
  content: "";
  background: var(--jp-red);
}

.jp-cta-band {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  margin-top: 1.4rem;
  padding: 2rem 2.4rem;
  color: var(--jp-ink);
  border: 0;
  background: #fff;
  box-shadow: var(--jp-shadow);
}

.jp-about-panel {
  position: relative;
  min-height: 580px;
  overflow: hidden;
  background-image: url('assets/jheniffer-perfil.jpg');
  background-position: center 22%;
  background-size: cover;
  border: 1px solid var(--jp-line);
}

.jp-about-panel::before {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(180deg, rgba(16,17,20,.03) 35%, rgba(16,17,20,.34) 100%);
}

.jp-about-panel::after {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 110px;
  height: 5px;
  content: "";
  background: var(--jp-red);
}

.jp-about-copy { padding: 2rem 0 2rem 3rem; }
.jp-about-copy p { line-height: 1.8; }

.jp-differential {
  margin-top: 2rem;
  padding: 1.35rem 1.5rem;
  border-left: 3px solid var(--jp-red);
  background: var(--jp-soft);
}

.jp-contact-grid { align-items: stretch !important; gap: 1.4rem; }
.jp-contact-grid > .wp-block-column { display: flex; }
.jp-contact-card { display: flex; flex: 1; flex-direction: column; justify-content: center; min-height: 430px; padding: clamp(2rem, 4vw, 3.4rem); border: 1px solid rgba(255,255,255,.16); }
.jp-contact-card a { color: #fff; }
.jp-contact-card p { color: rgba(255,255,255,.72); }
.jp-contact-photo {
  min-height: 430px;
  background-image: linear-gradient(180deg, rgba(58,23,36,.02), rgba(58,23,36,.2)), url('assets/jheniffer-contato.jpg');
  background-position: center 22%;
  background-size: cover;
}

.jp-site-footer {
  padding-top: 4.25rem;
  padding-bottom: 2.5rem;
  color: var(--jp-muted);
  border-top: 1px solid var(--jp-line);
  background: var(--jp-soft);
}

.jp-site-footer a { color: var(--jp-ink); }
.jp-site-footer > .wp-block-columns {
  display: block !important;
  text-align: center;
}
.jp-site-footer .wp-block-column { min-width: 0; }
.jp-site-footer figure { margin: 0 auto 1.2rem; }
.jp-site-footer p { margin-top: 0; line-height: 1.75; }
.jp-footer-brand { display: block; width: min(220px, 72vw); height: auto; margin-right: auto; margin-left: auto; }
.jp-footer-logo { position: relative; width: 98px; height: 74px; }
.jp-footer-logo .jp-logo-layer { position: absolute; inset: 0 auto auto 0; width: auto; height: 74px; }
.jp-footer-logo .jp-logo-white { filter: url('#jp-white-elements'); }
.jp-footer-logo .jp-logo-red { filter: url('#jp-red-elements'); }
.jp-site-footer hr { margin-top: 2.6rem; margin-bottom: 0; }
.jp-footer-bottom {
  margin-top: 1.65rem !important;
  margin-bottom: 0;
  color: var(--jp-muted) !important;
  opacity: 1 !important;
  visibility: visible !important;
  transform: none !important;
  text-align: center !important;
}
.jp-motion .jp-footer-bottom.jp-reveal,
.jp-motion .jp-footer-bottom.jp-reveal.is-visible {
  color: var(--jp-muted) !important;
  opacity: 1 !important;
  visibility: visible !important;
  transform: none !important;
}
.jp-credit { display: block; margin-top: .35rem; color: var(--jp-muted); text-align: center; }
.jp-credit a { color: var(--jp-ink); font-weight: 600; text-decoration-color: var(--jp-red); }
.jp-credit a:hover, .jp-credit a:focus-visible { color: var(--jp-red-dark); }

@media (max-width: 980px) {
  body { padding-top: 76px; }
  .jp-site-header {
    box-sizing: border-box;
    display: flex;
    min-height: 76px;
    align-items: center;
    justify-content: space-between;
    padding: 0 18px;
    background: rgba(255,255,255,.98);
  }
  .jp-contact-bar-wrap {
    position: fixed;
    z-index: 70;
    top: 14px;
    right: auto;
    bottom: auto;
    left: 50%;
    width: min(190px, calc(100% - 240px));
    max-width: none;
    flex: 0 0 auto;
    margin: 0 !important;
    background: transparent;
    transform: translateX(-50%);
  }
  .jp-contact-bar {
    width: 100% !important;
    min-height: 0;
    justify-content: flex-end;
    margin: 0 !important;
  }
  body .jp-contact-bar-wrap .jp-contact-bar.alignwide {
    width: 100% !important;
    max-width: none !important;
    margin-right: 0 !important;
    margin-left: 0 !important;
  }
  .jp-contact-details { display: none; }
  .jp-contact-whatsapp {
    box-sizing: border-box;
    width: 100%;
    max-width: 100%;
    min-height: 44px;
    padding: .75rem clamp(.5rem, 1.4vw, .9rem);
    border-radius: 999px;
    box-shadow: 0 12px 34px rgba(58,23,36,.28);
    font-size: clamp(.52rem, 1.25vw, .61rem);
    overflow: hidden;
    text-align: center;
    text-overflow: ellipsis;
  }
  .jp-contact-whatsapp > span { max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .jp-whatsapp-label-full { display: block; }
  .jp-whatsapp-label-short { display: none !important; }
  .jp-header-inner { width: 100% !important; min-height: 76px; flex: 1 1 auto; justify-content: space-between !important; margin: 0 auto !important; }
  .jp-brand-link { position: relative; z-index: 80; display: flex; flex: 0 0 104px; max-width: 104px; }
  .jp-brand-logo { width: 100px; height: 58px; }
  .jp-site-header .wp-block-navigation { position: relative; z-index: 80; flex: 0 0 44px; justify-content: flex-end; margin-left: auto; }
  .jp-site-header .wp-block-navigation__responsive-container:not(.is-menu-open) { display: none !important; }
  .jp-site-header .wp-block-navigation__responsive-container-open {
    position: relative;
    z-index: 80;
    display: flex !important;
  }
  .jp-hero { background-position: 58% center; }
  .jp-hero::before { right: 0; width: 42%; opacity: 1; }
  .jp-hero-copy { max-width: 690px; padding-top: 3rem; padding-bottom: 7.5rem; }
  .jp-hero-mark { display: none; }
  .jp-hero-logo {
    position: relative;
    display: block;
    width: min(210px, 55vw);
    aspect-ratio: 553 / 419;
    margin: 0 0 1.35rem;
  }
  .jp-hero-logo .jp-logo-layer {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
  }
  .jp-hero-logo .jp-logo-white { filter: url('#jp-white-elements'); }
  .jp-hero-logo .jp-logo-red { filter: url('#jp-red-elements'); }
  .jp-hero-copy > .jp-kicker { display: block; }
  .jp-proof-strip { margin-top: -30px !important; }
  .jp-proof-strip .wp-block-columns { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .jp-proof-item { border-right: 0; border-bottom: 1px solid var(--jp-line); }
  .jp-proof-item:nth-child(odd) { border-right: 1px solid rgba(255,255,255,.15); }
  .jp-proof-item:nth-last-child(-n+2) { border-bottom: 0; }
  #como-podemos-auxiliar { overflow: hidden; }
  .jp-situations-grid {
    width: min(var(--jp-content-width), calc(100% - (var(--jp-page-gutter) * 2))) !important;
    max-width: 100%;
    grid-template-columns: minmax(0, 1fr);
    grid-auto-flow: row;
    grid-auto-columns: minmax(0, 1fr);
  }
  .jp-situations-grid > .jp-situation-card,
  .jp-situations-grid > .jp-situation-card:nth-child(n+5),
  .jp-situations-grid > .jp-situation-card:last-child { grid-column: 1 / -1; }
  .jp-about-copy { padding-left: 0; }
  .jp-contact-photo { min-height: 520px; }
  #areas-de-atuacao .jp-card-grid { grid-template-columns: 1fr; }
}

@media (max-width: 782px) {
  body.admin-bar { --jp-header-offset: 46px; }
}

@media (max-width: 680px) {
  /* Mantém o conteúdo confortavelmente afastado das bordas em telas pequenas. */
  .jp-header-inner,
  .jp-hero-inner,
  .jp-proof-strip,
  .jp-section > .alignwide,
  .jp-site-footer > .alignwide,
  .jp-site-footer > p {
    box-sizing: border-box;
    width: calc(100% - 44px) !important;
    margin-right: auto !important;
    margin-left: auto !important;
  }

  .jp-header-inner {
    width: 100% !important;
    margin-right: auto !important;
    margin-left: auto !important;
  }

  .jp-brand-link { flex-basis: 90px; max-width: 90px; }
  .jp-brand-logo { width: 88px; }
  .jp-contact-bar-wrap { width: min(180px, calc(100% - 220px)); }

  .jp-mobile-toggle { display: block !important; }
  .jp-hero {
    min-height: auto;
    background-image:
      linear-gradient(90deg, rgba(8,9,12,.96), rgba(8,9,12,.72)),
      url('assets/hero-office.jpg');
    background-position: 67% center;
  }
  .jp-hero-copy { padding: 2.2rem 0 6.2rem; }
  .jp-hero-logo {
    width: min(230px, 68vw);
  }
  .jp-hero .jp-kicker { margin-top: 0; }
  .jp-hero h1 { font-size: clamp(2.7rem, 14vw, 4rem); }
  .jp-hero-actions { align-items: flex-start; flex-direction: column; }
  .jp-situations-grid { grid-template-columns: minmax(0, 1fr); }
  .jp-situations-grid > .jp-situation-card,
  .jp-situations-grid > .jp-situation-card:nth-child(n+5),
  .jp-situations-grid > .jp-situation-card:last-child { grid-column: 1 / -1; }
  .jp-proof-strip { padding: 1.1rem; }
  .jp-proof-strip .wp-block-columns { grid-template-columns: 1fr; }
  .jp-proof-item:nth-child(odd) { border-right: 0; }
  .jp-proof-item:nth-last-child(2) { border-bottom: 1px solid var(--jp-line); }
  .jp-section { padding-top: 5rem; padding-bottom: 5rem; }
  .jp-situation-card, .jp-practice-card, .jp-contact-card { padding: 1.6rem; }
  .jp-cta-band { padding: 1.6rem; }
  .jp-cta-band { align-items: flex-start; flex-direction: column; }
  .jp-site-footer .wp-block-columns { align-items: center !important; text-align: center; }
  .jp-site-footer .wp-block-column { width: 100%; text-align: center; }
  .jp-site-footer .jp-footer-logo { margin-right: auto; margin-left: auto; }
  .jp-site-footer p { text-align: center; }
  .jp-contact-photo { min-height: 420px; background-position: center 16%; }
}

@media (max-width: 360px) {
  .jp-site-header { padding-right: 12px; padding-left: 12px; }
  .jp-brand-link { flex-basis: 82px; max-width: 82px; }
  .jp-brand-logo { width: 80px; }
  .jp-contact-bar-wrap { width: 104px; }
  .jp-contact-whatsapp { padding-right: .45rem; padding-left: .45rem; font-size: .58rem; letter-spacing: .075em; }
  .jp-whatsapp-label-full { display: none !important; }
  .jp-whatsapp-label-short { display: block !important; }
  .jp-site-header .wp-block-navigation { flex-basis: 40px; }
}

.jp-highlight-card { border-top: 4px solid var(--jp-red) !important; }
.jp-credentials { margin-top: 1.6rem; padding: 1.3rem 1.5rem; border: 1px solid var(--jp-line); background: #fff; }
.jp-credentials p { margin: .4rem 0; font-size: .92rem; }
.jp-service-note { display: inline-flex; align-items: center; gap: .55rem; color: rgba(255,255,255,.75); font-size: .9rem; }
.jp-service-note::before { color: var(--jp-red); content: "◆"; }

@keyframes jp-hero-light-in {
  from { opacity: 0; transform: scale(1.025); }
  to { opacity: 1; transform: scale(1); }
}

@media (max-width: 980px) {
  .jp-site-header .wp-block-navigation__responsive-container.is-menu-open {
    position: fixed;
    top: calc(var(--jp-header-offset) + 76px);
    right: 0;
    bottom: auto;
    left: 0;
    box-sizing: border-box;
    display: block !important;
    width: 100vw !important;
    max-width: 100vw !important;
    height: auto !important;
    min-height: 0 !important;
    max-height: calc(100vh - var(--jp-header-offset) - 76px) !important;
    margin: 0 !important;
    padding: 1rem 22px 1.35rem !important;
    overflow-x: hidden !important;
    overflow-y: auto !important;
    color: var(--jp-ink) !important;
    border-top: 1px solid var(--jp-line);
    background: rgba(255,255,255,.985) !important;
    box-shadow: 0 18px 38px rgba(16,17,20,.14);
    backdrop-filter: blur(14px);
  }

  .jp-site-header .wp-block-navigation__responsive-dialog,
  .jp-site-header .wp-block-navigation__responsive-close {
    position: relative !important;
    box-sizing: border-box;
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
  }

  .jp-site-header .wp-block-navigation__responsive-container-close {
    position: absolute !important;
    top: 0 !important;
    right: 0 !important;
    left: auto !important;
    display: grid !important;
    width: 38px;
    height: 38px;
    margin: 0 !important;
    padding: 0 !important;
    place-items: center;
    border-radius: 50%;
    background: var(--jp-soft);
    transform: none !important;
  }

  .jp-site-header .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-content {
    box-sizing: border-box;
    display: flex !important;
    width: 100% !important;
    max-width: 100% !important;
    align-items: stretch !important;
    flex-direction: column !important;
    padding: 3rem 0 0 !important;
    overflow: visible !important;
  }

  .jp-site-header .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__container {
    display: flex !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    align-items: stretch !important;
    flex-direction: column !important;
    gap: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
  }

  .jp-site-header .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    align-items: stretch !important;
    margin: 0 !important;
  }

  .jp-site-header .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item__content {
    box-sizing: border-box;
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    padding: .78rem 0 !important;
    border-bottom: 1px solid rgba(16,17,20,.09);
    font-size: 1rem;
    font-weight: 650;
    line-height: 1.25;
  }

  .jp-site-header .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item:last-child .wp-block-navigation-item__content {
    border-bottom: 0;
  }

  .jp-site-header .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item__content::after {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; }
  .jp-motion .jp-reveal { opacity: 1 !important; transform: none !important; }
}
