/* Scoped to the JACE shortcode; no carousel library or theme overrides. */
.jace-impactos {
  --impact-ink: #22404d;
  --impact-yellow: #e3e24f;
  --impact-turquoise: #00b9c5;
  box-sizing: border-box;
  width: 100%;
  padding: 38px 24px 28px;
  background: var(--impact-yellow);
  color: var(--impact-ink);
  font-family: Montserrat, Arial, sans-serif;
  text-align: center;
}
.jace-impactos *, .jace-impactos *::before, .jace-impactos *::after { box-sizing: border-box; }
.jace-impactos [hidden] { display: none !important; }
.jace-impactos .jace-impactos__heading { margin: 0 0 22px; color: var(--impact-ink); font: 800 clamp(24px, 3vw, 34px)/1.25 Montserrat, Arial, sans-serif; }
.jace-impactos__controls { display: flex; align-items: center; justify-content: center; gap: 14px; margin: 0 auto 26px; }
.jace-impactos__tabs { display: flex; gap: 6px; padding: 5px; background: rgba(255,255,255,.45); border-radius: 999px; }
.jace-impactos .jace-impactos__tab, .jace-impactos .jace-impactos__arrow { appearance: none; cursor: pointer; color: var(--impact-ink); border: 0; box-shadow: none; font-family: inherit; transition: background-color .18s, color .18s; }
.jace-impactos .jace-impactos__tab { min-width: 86px; min-height: 44px; padding: 10px 20px; border-radius: 999px; background: transparent; font-size: 16px; font-weight: 700; line-height: 1.4; }
.jace-impactos .jace-impactos__tab[aria-selected="true"] { background: var(--impact-ink); color: #fff; }
.jace-impactos .jace-impactos__tab:hover:not([aria-selected="true"]) { background: #fff; }
.jace-impactos .jace-impactos__arrow { display: grid; place-items: center; width: 44px; height: 44px; padding: 0; background: #fff; border-radius: 50%; font-size: 24px; line-height: 1; }
.jace-impactos .jace-impactos__arrow:hover:enabled { background: var(--impact-ink); color: #fff; }
.jace-impactos .jace-impactos__arrow:disabled { opacity: .35; cursor: default; }
.jace-impactos button:focus-visible, .jace-impactos [role="tabpanel"]:focus-visible { outline: 3px solid var(--impact-ink); outline-offset: 4px; }
.jace-impactos__panels { max-width: 1140px; margin: 0 auto; touch-action: pan-y; }
.jace-impactos__panel { padding: 38px 0 46px; background: #fff; border-radius: 22px; }
.jace-impactos__panel + .jace-impactos__panel { margin-top: 20px; }
.jace-impactos.is-ready .jace-impactos__panel { animation: jace-impact-appear .22s ease-out; }
.jace-impactos.is-ready .jace-impactos__panel + .jace-impactos__panel { margin-top: 0; }
.jace-impactos.is-ready .jace-impactos__fallback-year { display: none; }
.jace-impactos__fallback-year { margin: 0 0 24px; color: var(--impact-ink); font-size: 20px; }
.jace-impactos .jace-impactos__metrics { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); margin: 0; padding: 0; }
.jace-impactos__metric { position: relative; display: grid; grid-template-rows: 98px auto auto; align-content: start; padding: 0 24px; }
.jace-impactos__metric + .jace-impactos__metric::before { content: ''; position: absolute; left: 0; top: 35px; bottom: 5px; border-left: 1px dotted #d4dcdf; }
.jace-impactos__metric dt { display: contents; }
.jace-impactos__metric img { grid-row: 1; width: 90px; height: 72px; object-fit: contain; justify-self: center; }
.jace-impactos__metric dt span { grid-row: 3; max-width: 205px; justify-self: center; font-size: clamp(17px,1.7vw,20px); font-weight: 600; line-height: 1.4; }
.jace-impactos .jace-impactos__metric dd { grid-row: 2; margin: 0 0 20px; color: var(--impact-ink); font-size: clamp(30px,4vw,48px); font-weight: 800; line-height: 1.15; font-variant-numeric: tabular-nums; }
.jace-impactos .jace-impactos__hint { margin: 18px 0 0; font-size: 13px; color: var(--impact-ink); line-height: 1.5; }
@keyframes jace-impact-appear { from { opacity: .35; transform: translateX(8px); } to { opacity: 1; transform: translateX(0); } }
@media (max-width: 767px) {
  .jace-impactos { padding: 30px 16px 24px; }
  .jace-impactos__controls { gap: 8px; margin-bottom: 20px; }
  .jace-impactos .jace-impactos__tab { min-width: 64px; padding: 9px 12px; font-size: 15px; }
  .jace-impactos .jace-impactos__arrow { width: 40px; height: 44px; }
  .jace-impactos__panel { padding: 28px 0; border-radius: 18px; }
  .jace-impactos .jace-impactos__metrics { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 30px 0; }
  .jace-impactos__metric { grid-template-rows: 84px auto auto; padding: 0 16px; }
  .jace-impactos__metric:nth-child(3)::before { display: none; }
  .jace-impactos__metric + .jace-impactos__metric::before { top: 12px; }
  .jace-impactos .jace-impactos__metric dd { font-size: clamp(27px,7.3vw,42px); margin-bottom: 12px; }
  .jace-impactos__metric dt span { font-size: 15px; }
  .jace-impactos__metric img { width: 80px; height: 64px; }
}
@media (max-width: 359px) {
  .jace-impactos { padding-inline: 10px; }
  .jace-impactos__controls { gap: 4px; }
  .jace-impactos .jace-impactos__tab { min-width: 54px; padding-inline: 9px; }
  .jace-impactos__metric { padding-inline: 9px; }
}
@media (prefers-reduced-motion: reduce) {
  .jace-impactos *, .jace-impactos.is-ready .jace-impactos__panel { animation: none; transition: none; }
}

/* Chamada para os relatórios, abaixo dos indicadores. */
.jace-impactos .jace-report-cta { display: grid; grid-template-columns: 52px minmax(0,1fr) auto; align-items: center; gap: 22px; max-width: 1140px; margin: 26px auto 0; padding: 28px 32px; border-radius: 20px; background: #22404d; color: #fff; text-align: left; }
.jace-report-cta__icon { display: grid; place-items: center; width: 52px; height: 58px; color: #e3e24f; }
.jace-report-cta__icon svg { width: 44px; height: 44px; }
.jace-impactos .jace-report-cta__copy h3 { margin: 0 0 9px; color: #fff; font: 750 21px/1.4 Montserrat, Arial, sans-serif; }
.jace-impactos .jace-report-cta__copy p { margin: 0; color: #e0ecee; font-size: 14px; line-height: 1.6; }
.jace-impactos .jace-report-cta__link { display: inline-flex; align-items: center; justify-content: center; gap: 14px; min-height: 48px; padding: 13px 20px; border-radius: 999px; background: #e3e24f; color: #22404d; font-size: 14px; font-weight: 750; line-height: 1.4; text-decoration: none; transition: background-color .18s; }
.jace-impactos .jace-report-cta__link:hover { color: #22404d; background: #fff; }
.jace-impactos .jace-report-cta__link:focus-visible { outline: 3px solid #fff; outline-offset: 4px; }
@media (max-width: 900px) {
  .jace-impactos .jace-report-cta { grid-template-columns: 44px minmax(0,1fr); gap: 16px; padding: 26px; }
  .jace-report-cta__icon { width: 44px; }
  .jace-impactos .jace-report-cta__link { grid-column: 2; justify-self: start; }
}
@media (max-width: 480px) {
  .jace-impactos .jace-report-cta { grid-template-columns: minmax(0,1fr); gap: 12px; padding: 24px; }
  .jace-report-cta__icon { height: 44px; }
  .jace-impactos .jace-report-cta__copy h3 { font-size: 19px; }
  .jace-impactos .jace-report-cta__link { grid-column: 1; justify-self: stretch; margin-top: 8px; }
}
@media (prefers-reduced-motion: reduce) { .jace-impactos .jace-report-cta__link { transition: none; } }

.jace-impactos .jace-impactos__pending { margin:0; padding:0 24px 28px; color:#22404d; text-align:center; font-size:15px; line-height:1.6; }
