:root {
  --jrv-social-navy: #12344e;
  --jrv-social-ink: #17364d;
  --jrv-social-teal: #0a948c;
  --jrv-social-cyan: #16a6c5;
  --jrv-social-line: #dce9eb;
  --jrv-social-mist: #eff8f7;
}

.jrv-social-header, .jrv-social-header * { box-sizing: border-box; }
.jrv-social-header { margin-left: 16px; position: relative; z-index: 1002; }
.jrv-social-toggle { align-items: center; background: linear-gradient(135deg, var(--jrv-social-cyan), #0b5868) !important; border: 0 !important; border-radius: 999px !important; box-shadow: 0 8px 20px rgba(15,81,101,.16) !important; color: #fff !important; cursor: pointer; display: inline-flex; font-size: 11px !important; font-weight: 850 !important; gap: 7px; letter-spacing: .02em; min-height: 40px; padding: 0 15px !important; white-space: nowrap; }
.jrv-social-toggle-mark { color: #85efe0; font-size: 9px; }
.jrv-social-toggle > svg { fill: none; height: 7px; margin-left: 2px; stroke: currentColor; stroke-linecap: round; stroke-width: 1.8; transition: transform .2s ease; width: 11px; }
.jrv-social-header.is-open .jrv-social-toggle > svg { transform: rotate(180deg); }
.jrv-social-menu { background: #fff; border: 1px solid var(--jrv-social-line); border-radius: 18px; box-shadow: 0 20px 55px rgba(14,48,71,.18); display: grid; gap: 5px; min-width: 260px; opacity: 0; padding: 10px; pointer-events: none; position: absolute; right: 0; top: calc(100% + 12px); transform: translateY(-7px); transition: opacity .18s ease, transform .18s ease; visibility: hidden; }
.jrv-social-header.is-open .jrv-social-menu { opacity: 1; pointer-events: auto; transform: none; visibility: visible; }
.jrv-social-link { align-items: center; color: var(--jrv-social-ink) !important; display: flex; gap: 11px; text-decoration: none !important; }
.jrv-social-menu .jrv-social-link { border-radius: 12px; padding: 9px 10px; transition: background .18s ease, transform .18s ease; }
.jrv-social-menu .jrv-social-link:hover { background: var(--jrv-social-mist); transform: translateX(2px); }
.jrv-social-icon { align-items: center; background: #eef3f4; border-radius: 10px; color: var(--jrv-social-brand); display: inline-flex; flex: 0 0 auto; height: 36px; justify-content: center; transition: background .18s ease, color .18s ease, transform .18s ease; width: 36px; }
.jrv-social-icon svg { fill: currentColor; height: 19px; width: 19px; }
.jrv-social-copy { display: block; line-height: 1.15; min-width: 0; }
.jrv-social-copy strong { color: inherit; display: block; font-size: 12px; }
.jrv-social-copy small { color: #6b808e; display: block; font-size: 10px; margin-top: 3px; }

.jrv-social-footer { background: linear-gradient(110deg, #0c4055, #12344e 56%, #123049); border-bottom: 1px solid rgba(255,255,255,.08); color: #fff; padding: 34px 0; }
.jrv-social-footer-inner { align-items: center; display: grid; gap: 30px; grid-template-columns: minmax(260px, .8fr) minmax(520px, 1.4fr); }
.jrv-social-footer-intro > span { color: #7fe4da; display: block; font-size: 10px; font-weight: 900; letter-spacing: .14em; text-transform: uppercase; }
.jrv-social-footer-intro h2 { color: #fff; font-size: clamp(25px, 2.5vw, 36px); letter-spacing: -.035em; line-height: 1.05; margin: 7px 0 8px; }
.jrv-social-footer-intro p { color: rgba(255,255,255,.7); font-size: 12px; line-height: 1.5; margin: 0; max-width: 440px; }
.jrv-social-footer-links { display: grid; gap: 9px; grid-template-columns: repeat(5, minmax(0, 1fr)); }
.jrv-social-footer-links .jrv-social-link { background: rgba(255,255,255,.075); border: 1px solid rgba(255,255,255,.09); border-radius: 14px; color: #fff !important; display: block; min-width: 0; padding: 13px 9px; text-align: center; transition: background .2s ease, border-color .2s ease, transform .2s ease; }
.jrv-social-footer-links .jrv-social-link:hover { background: rgba(255,255,255,.13); border-color: var(--jrv-social-brand); transform: translateY(-3px); }
.jrv-social-footer-links .jrv-social-icon { background: rgba(255,255,255,.12); color: #fff; margin: 0 auto 8px; }
.jrv-social-footer-links .jrv-social-link:hover .jrv-social-icon { background: var(--jrv-social-brand); color: #fff; transform: scale(1.06); }
.jrv-social-footer-links .jrv-social-copy strong { font-size: 11px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.jrv-social-footer-links .jrv-social-copy small { color: rgba(255,255,255,.58); font-size: 8px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

.jrv-social-dock { align-items: center; background: rgba(255,255,255,.97); border: 1px solid var(--jrv-social-line); border-radius: 18px; box-shadow: 0 15px 40px rgba(14,48,71,.18); display: flex; flex-direction: column; gap: 5px; opacity: 1; padding: 10px 8px; position: fixed; right: 18px; top: 50%; transform: translateY(-50%); transition: opacity .22s ease, transform .22s ease; z-index: 998; }
.jrv-social-dock.is-near-footer { opacity: 0; pointer-events: none; transform: translate(14px, -50%); }
.jrv-social-dock-label { background: var(--jrv-social-mist); border-radius: 999px; color: var(--jrv-social-navy); display: block; font-size: 12px; font-weight: 900; letter-spacing: .035em; line-height: 1; margin-bottom: 4px; padding: 8px 9px; text-align: center; text-transform: uppercase; white-space: nowrap; }
.jrv-social-dock .jrv-social-link { border-radius: 10px; }
.jrv-social-dock .jrv-social-icon { background: transparent; height: 34px; width: 34px; }
.jrv-social-dock .jrv-social-link:hover .jrv-social-icon { background: var(--jrv-social-brand); color: #fff; transform: translateX(-3px); }

@media (max-width: 1199px) {
  .jrv-social-header { border-top: 1px solid #e7eeee; margin: 10px 0 0; padding-top: 12px; width: 100%; }
  .jrv-social-toggle { justify-content: center; width: 100%; }
  .jrv-social-menu { grid-template-columns: repeat(2, minmax(0, 1fr)); margin-top: 9px; min-width: 0; opacity: 1; pointer-events: auto; position: static; transform: none; visibility: visible; width: 100%; }
  .jrv-social-header .jrv-social-toggle > svg { display: none; }
}

@media (max-width: 980px) {
  .jrv-social-footer-inner { grid-template-columns: 1fr; }
  .jrv-social-footer-links { grid-template-columns: repeat(5, minmax(100px, 1fr)); overflow-x: auto; padding-bottom: 6px; }
  .jrv-social-dock { display: none; }
}

@media (max-width: 560px) {
  .jrv-social-menu { grid-template-columns: 1fr; }
  .jrv-social-footer { padding: 28px 0; }
  .jrv-social-footer-links { grid-template-columns: repeat(5, 104px); }
}

/* Compartilhamento editorial: substitui os três conjuntos nativos do tema. */
.jrv-enhanced-sharing .list-social.-share { display: none !important; }
.jrv-share-panel, .jrv-share-panel * { box-sizing: border-box; }
.jrv-share-panel {
  background: linear-gradient(135deg, #fff 0%, #eff9f7 100%);
  border: 1px solid #cae4e1;
  border-radius: 24px;
  box-shadow: 0 18px 48px rgba(14,48,71,.1);
  clear: both;
  color: var(--jrv-social-ink);
  margin: 34px 0 10px;
  overflow: hidden;
  padding: clamp(22px,3vw,36px);
  position: relative;
}
.jrv-share-panel::before { background: linear-gradient(180deg, #16a6c5, #0a948c); content: ''; inset: 0 auto 0 0; position: absolute; width: 6px; }
.jrv-share-panel__copy > span { color: var(--jrv-social-teal); display: block; font-size: 10px; font-weight: 900; letter-spacing: .15em; margin-bottom: 8px; }
.jrv-share-panel__copy h2 { color: var(--jrv-social-navy); font-size: clamp(22px,2.3vw,32px); letter-spacing: -.035em; line-height: 1.08; margin: 0; }
.jrv-share-panel__copy p { color: #587181; font-size: 13px; line-height: 1.55; margin: 10px 0 0; }
.jrv-share-panel__actions, .jrv-share-panel__more { display: grid; gap: 9px; grid-template-columns: repeat(7,minmax(0,1fr)); margin-top: 22px; }
.jrv-share-panel__more { border-top: 1px solid #dcebea; grid-template-columns: repeat(7,minmax(0,1fr)); margin-top: 14px; padding-top: 14px; }
.jrv-share-panel__more[hidden] { display: none; }
.jrv-share-action, .jrv-share-more-toggle {
  align-items: center;
  background: #fff !important;
  border: 1px solid #d9e8e9 !important;
  border-radius: 13px !important;
  color: var(--jrv-social-ink) !important;
  cursor: pointer;
  display: flex;
  font: inherit;
  font-size: 10px !important;
  font-weight: 800 !important;
  gap: 8px;
  justify-content: flex-start;
  min-height: 48px;
  min-width: 0;
  padding: 7px 9px !important;
  text-decoration: none !important;
  transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}
.jrv-share-action:hover, .jrv-share-action:focus-visible, .jrv-share-more-toggle:hover, .jrv-share-more-toggle:focus-visible { border-color: var(--jrv-share-brand, var(--jrv-social-teal)) !important; box-shadow: 0 9px 20px rgba(14,48,71,.1); outline: none; transform: translateY(-2px); }
.jrv-share-action__icon { align-items: center; background: var(--jrv-share-brand, var(--jrv-social-teal)); border-radius: 9px; color: #fff; display: inline-flex; flex: 0 0 31px; font-size: 14px; font-weight: 900; height: 31px; justify-content: center; line-height: 1; text-transform: lowercase; width: 31px; }
.jrv-share-action__label, .jrv-share-more-toggle > span:last-child { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.jrv-share-more-toggle { --jrv-share-brand: var(--jrv-social-navy); }
.jrv-share-more-toggle[aria-expanded="true"] .jrv-share-action__icon { transform: rotate(45deg); }
.jrv-share-status { color: var(--jrv-social-teal); font-size: 11px; font-weight: 800; margin: 10px 0 0; min-height: 1em; }
.jrv-share-panel--city { background: rgba(255,255,255,.96); border-color: rgba(255,255,255,.6); margin: 24px 0 18px; }
.jrv-share-panel--city .jrv-share-panel__copy h2 { max-width: 840px; }

.jrv-share-rail {
  align-items: center;
  background: rgba(255,255,255,.97);
  border: 1px solid #d9e7e9;
  border-radius: 0 18px 18px 0;
  box-shadow: 0 15px 38px rgba(14,48,71,.15);
  display: flex;
  flex-direction: column;
  gap: 5px;
  left: 0;
  padding: 10px 7px;
  position: fixed;
  top: 50%;
  transform: translateY(-50%);
  z-index: 998;
}
.jrv-share-rail__label { color: var(--jrv-social-navy); font-size: 8px; font-weight: 900; letter-spacing: .08em; padding: 3px 0 5px; text-transform: uppercase; writing-mode: vertical-rl; }
.jrv-share-rail .jrv-share-action { border: 0 !important; min-height: 38px; padding: 3px !important; }
.jrv-share-rail .jrv-share-action__icon { border-radius: 9px; flex-basis: 34px; height: 34px; width: 34px; }
.jrv-share-rail__more { background: var(--jrv-social-navy); border: 0; border-radius: 9px; color: #fff; cursor: pointer; font-size: 20px; height: 34px; width: 34px; }
.jrv-share-mobile { display: none; }

@media (max-width: 1199px) {
  .jrv-share-panel__actions, .jrv-share-panel__more { grid-template-columns: repeat(4,minmax(0,1fr)); }
  .jrv-share-rail { display: none; }
}
@media (max-width: 680px) {
  .jrv-share-panel { border-radius: 18px; padding: 21px 16px 18px 20px; }
  .jrv-share-panel__actions, .jrv-share-panel__more { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .jrv-share-action, .jrv-share-more-toggle { min-height: 50px; }
  .jrv-share-mobile { align-items: center; background: linear-gradient(135deg,#16a6c5,#0a6f78); border: 0; border-radius: 999px; bottom: 16px; box-shadow: 0 12px 30px rgba(11,78,91,.28); color: #fff; display: flex; font-size: 12px; font-weight: 900; gap: 8px; min-height: 46px; padding: 0 18px; position: fixed; right: 14px; z-index: 997; }
}
@media (prefers-reduced-motion: reduce) {
  .jrv-share-action, .jrv-share-more-toggle { transition: none; }
}
