/* =========================================================
   JumperFour — estilos globais (tokens, base, botões, header,
   rodapé, peças compartilhadas e movimento).
   Convertido de layout-jumperfour/assets/css/global.css; as regras
   exclusivas de cada página ficam em assets/css/<página>.css,
   carregadas por inc/assets.php só onde são usadas.
   ========================================================= */
:root {
  /* Cores */
  --c-primary: #032b34;      /* Azul metálico */
  --c-accent: #a6e17d;       /* Verde limão */
  --c-light: #e1e1e1;        /* Cinza claro */
  --c-white: #ffffff;
  --c-slate: #2a3842;        /* Azul acinzentado (formas) */
  --c-muted: #858c91;        /* Números auxiliares e divisórias em fundo claro */
  --c-hero-veil: rgb(3 43 52 / 0.8);
  --c-photo-veil: rgb(0 0 0 / 0.55);
  /* Tipografia */
  --font: "Sora", system-ui, -apple-system, "Segoe UI", sans-serif;
  --fs-display: clamp(2.25rem, 1.2rem + 2.6vw, 3.8125rem);   /* 61px */
  --fs-h3: clamp(1.625rem, 1rem + 1.5vw, 2.4375rem);         /* 39px */
  --fs-title: clamp(1.25rem, 1rem + 0.5vw, 1.5625rem);       /* 25px a partir de 1500px */
  --fs-lead: clamp(1.0625rem, 1rem + 0.25vw, 1.25rem);       /* 20px */
  --fs-body: 1rem;                                           /* 16px */
  --fs-small: 0.875rem;                                      /* 14px */
  --fs-eyebrow: 0.8125rem;                                   /* 13px */
  --lh: 1.2;
  /* Espaçamento */
  --container: 1720px;
  --gutter: clamp(20px, 5.21vw, 100px);
  --section-y: clamp(72px, 6.25vw, 120px);
  --space-60: clamp(36px, 3.125vw, 60px);
  --space-30: 30px;
  --radius-media: 26px;
  --radius-card: 30px;
  --header-h: 99px;
  /* Movimento */
  --ease: cubic-bezier(.22, 1, .36, 1);       /* transições de interface e hover */
  --duration-fast: 140ms;
  --duration-base: 240ms;
  --motion-reveal: 800ms;                      /* fade-up */
  --ease-reveal: cubic-bezier(.16, 1, .3, 1);
}

/* ---------- Base ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 24px);   /* o header fica fixo no topo */
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: var(--fs-body);
  font-weight: 400;
  line-height: var(--lh);
  color: var(--c-primary);
  background: var(--c-light);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1,
h2,
h3,
h4,
p,
ul,
ol,
dl,
dd,
figure {
  margin: 0;
}

ul,
ol {
  padding: 0; list-style: none;
}

img,
video,
svg {
  display: block; max-width: 100%;
}

a {
  color: inherit; text-decoration: none;
}

address {
  font-style: normal;
}

strong {
  font-weight: 600;
}

button {
  font: inherit; color: inherit;
}

:focus-visible {
  outline: 2px solid var(--c-accent);
  outline-offset: 3px;
  border-radius: 4px;
}

.section--light :focus-visible,
.site-header :focus-visible,
.site-footer :focus-visible {
  outline-color: var(--c-primary);
}

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0);
  white-space: nowrap; border: 0;
}

.skip-link {
  position: absolute;
  z-index: 100;
  top: 8px;
  left: 8px;
  padding: 10px 16px;
  background: var(--c-primary);
  color: var(--c-light);
  border-radius: 8px;
  transform: translateY(-150%);
}

.skip-link:focus {
  transform: none;
}

.sprite {
  position: absolute; width: 0; height: 0; overflow: hidden;
}

.icon {
  width: 24px;
  height: 24px;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.container {
  width: 100%;
  max-width: calc(var(--container) + var(--gutter) * 2);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.text-accent {
  color: var(--c-accent);
}

/* ---------- Botões e links ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 13px;
  min-height: 39px;
  padding: 0 19px 0 20px;
  border-radius: 999px;
  font-size: var(--fs-body);
  line-height: var(--lh);
  white-space: nowrap;
  position: relative;
  isolation: isolate;
  --btn-core: #ffffff;   /* centro do feixe de luz (branco em fundo escuro) */
  transition:
  background-color .2s ease,
  color .2s ease,
  transform .4s var(--ease),
  box-shadow .4s var(--ease);
}

.btn--accent {
  background: var(--c-accent); color: var(--c-primary);
}

.btn--dark {
  background: var(--c-primary); color: var(--c-light);
}

.btn .icon {
  width: 17px; height: 17px;
}

.btn--dark .icon {
  color: var(--c-accent);
}

.text-link .icon {
  width: 17px; height: 17px;
}

.btn .icon,
.text-link .icon {
  transition: transform var(--duration-base) var(--ease);
}

@media (hover: hover) and (pointer: fine) {
  .btn--accent:hover {
    background: #bdea9d;
  }
  .btn--dark:hover {
    background: #0b3f4b;
  }
  .btn:hover .icon,
  .text-link:hover .icon {
    transform: translateX(3px);
  }
  .site-nav__list a:hover,
  .site-footer a:not(.btn):hover {
    text-decoration: underline; text-underline-offset: 4px;
  }
}

@media (pointer: coarse) {
  .btn {
    min-height: 44px;
  }
}

.heading {
  font-size: var(--fs-display);
  font-weight: 600;
  line-height: var(--lh);
}

.lead {
  font-size: var(--fs-lead);
  font-weight: 300;
  line-height: var(--lh);
}

.rule {
  width: 100%;
  height: 1px;
  margin: -2px 0 0; /* exceção: no layout a divisória fica 2px acima do ritmo de 60px */
  border: 0;
  background: var(--c-muted);
}

.rule--light {
  background: var(--c-light);
}

/* ---------- Header ---------- */
.site-header {
  position: sticky;   /* fica no topo ao rolar, sem tirar o espaço do fluxo */
  top: 0;
  z-index: 20;
  background: var(--c-light);
  transition: box-shadow var(--duration-base) var(--ease);
}

/* Depois que a página rola, uma sombra separa o header das faixas claras (mesmo cinza) */
.site-header.is-scrolled {
  box-shadow: 0 1px 0 rgb(3 43 52 / .08), 0 14px 32px -20px rgb(3 43 52 / .45);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  min-height: var(--header-h);
}

.logo {
  display: block; flex: none;
}

.logo img {
  width: 200px; height: auto;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 30px;
}

.site-nav__list {
  display: flex;
  align-items: center;
  gap: 30px;
}

.site-nav__list a {
  white-space: nowrap;
}

/* Página atual (aria-current): rodapé em negrito; o menu ganha a pílula abaixo */
.site-footer__nav a[aria-current] {
  font-weight: 600;
}

.site-header .btn[aria-current] {
  box-shadow: 0 0 0 2px var(--c-light), 0 0 0 4px #5cb236;
}

.menu-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: var(--c-primary);
  cursor: pointer;
}

@media (min-width: 1440px) and (max-width: 1599px) {
  /* Menu completo: precisa de ~1360px além das margens; entre 1440 e 1599 os espaços ficam compactos */
  .site-header__inner,
  .site-nav,
  .site-nav__list {
    gap: 18px;
  }
}

@media (max-width: 1439px) {
  .js .menu-toggle {
    display: inline-flex;
  }
  .js .site-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: flex-start;
    gap: 24px;
    padding: 8px var(--gutter) 32px;
    background: var(--c-light);
    border-top: 1px solid rgb(3 43 52 / 0.12);
    box-shadow: 0 24px 32px -24px rgb(3 43 52 / 0.35);
  }
  .js .site-nav {
    max-height: calc(100dvh - var(--header-h));
    overflow-y: auto;
  }
  .js .site-nav:not(.is-open) {
    display: none;
  }
  .js .site-nav__list {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    width: 100%;
  }
  .js .site-nav__list a {
    display: flex;
    align-items: center;
    min-height: 48px;
    border-bottom: 1px solid rgb(3 43 52 / 0.12);
  }
  .js .site-nav__list a[aria-current] {
    padding-left: 14px;
    box-shadow: inset 3px 0 0 #5cb236;
    font-weight: 600;
  }
  /* Sem JavaScript o menu fica visível e quebra linha */
  .no-js .site-header {
    position: relative;
  }
  .no-js .site-header__inner {
    flex-wrap: wrap; padding-block: 24px;
  }
  .no-js .site-nav__list a[aria-current] {
    font-weight: 600;
    text-decoration: underline 2px #5cb236;
    text-underline-offset: 6px;
  }
  .no-js .site-nav,
  .no-js .site-nav__list {
    flex-wrap: wrap; gap: 12px 24px;
  }
}

/* sem JS o controle não funciona: fica oculto */
.hero__toggle .icon {
  width: 18px; height: 18px;
}

/* ---------- Seções ---------- */
.section {
  position: relative; padding-block: var(--section-y);
}

.section--light {
  background: var(--c-light); color: var(--c-primary);
}

.section--dark {
  background: var(--c-primary); color: var(--c-light);
}

.heading__line {
  display: block;
}

.checklist .icon {
  color: var(--c-accent);
}

/* ---------- Rodapé ---------- */
.site-footer {
  background: var(--c-white);
  color: var(--c-primary);
}

.site-footer__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 40px;
  padding-block: 60px;
}

.site-footer__contact {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 30px;
}

.site-footer__nav {
  display: flex;
  gap: 30px;
}

.site-footer__nav ul {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 30px;
}

.social {
  display: flex;
  gap: 30px;
}

.social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  border-radius: 12px;
}

.icon--social {
  width: 50px; height: 50px;
}

@media (max-width: 1099px) {
  .site-footer__inner {
    justify-content: flex-start; column-gap: 64px; row-gap: 40px;
  }
  .site-footer__inner > .logo {
    flex: 0 0 100%;
  }
}

@media (max-width: 719px) {
  :root {
    --radius-media: 18px; --radius-card: 22px;
  }
  .site-footer__nav {
    flex-direction: column;
  }
}

/* =========================================================
   Página Quem somos (frame "Quem somos", 1920px)
   ========================================================= */
/* ---------- Peças compartilhadas ---------- */
/* Ícones exportados do Figma: cada traço ou preenchimento traz o próprio atributo */
.icon--glyph {
  fill: none;
  stroke: none;
  stroke-width: 1;
  stroke-linecap: butt;
  stroke-linejoin: miter;
}

.icon-tile {
  display: inline-flex;
  flex: none;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 8px;
  background: var(--c-accent);
  color: var(--c-primary);
}

.stack-60 {
  display: flex;
  flex-direction: column;
  gap: var(--space-60);
}

/* Título à esquerda e introdução à direita, alinhados pela base */
.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: var(--space-60);
}

.section-head > .heading {
  flex: 0 0 auto;
}

.section-head__intro {
  flex: 0 1 604px; min-width: 0;
}

.stack-60 > .rule {
  margin-top: -1px;
}

.values {
  display: flex;
  margin-top: auto;
  background: var(--c-white);
  color: var(--c-primary);
  border-radius: var(--radius-card);
}

.value {
  position: relative;
  display: flex;
  flex: 1 1 0;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  min-width: 0;
  padding: 30px 30px 30px 60px;
}

.value + .value::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 8px;   /* no layout a divisória termina 8px antes da base do painel */
  left: 0;
  width: 1px;
  background: var(--c-primary);
}

.value__text {
  max-width: 440px;
  font-size: var(--fs-title);
  font-weight: 600;
  line-height: var(--lh);
}

.reasons > .container {
  position: relative;
}

.cycle > .container {
  position: relative;
}

/* 840px a 61px: mantém as 4 linhas do layout */
.steps {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-60);
  margin: 0;
  padding: 0;
  list-style: none;
}

/* Abaixo de 1920px tudo escala na proporção do layout para manter as 4 colunas */
.step {
  --step-gap: clamp(20px, 1.5625vw, 30px);
  display: flex;
  flex: 0 0 calc((100% - var(--space-60) * 3) / 4);
  flex-direction: column;
  justify-content: space-between;
  gap: var(--step-gap);
  min-width: 0;
  min-height: clamp(300px, 20.834vw, 400px);
  padding: clamp(28px, 3.125vw, 60px);
  background: var(--c-white);
  border-radius: var(--radius-card);
}

.step__top {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--step-gap);
}

.step__title {
  font-size: clamp(1.125rem, 1.3021vw, 1.5625rem);
  font-weight: 600;
  line-height: var(--lh);
}

.step__text {
  padding-top: var(--step-gap);
  border-top: 1px solid var(--c-muted);
  font-weight: 300;
  line-height: var(--lh);
}

@media (max-width: 1279px) {
  /* ---------- Quem somos: responsivo (adaptação inferida) ---------- */
  /* Abaixo de 1280px: título e introdução empilhados, etapas em 2 colunas */
  .section-head {
    flex-direction: column; align-items: flex-start; gap: 30px;
  }
  .section-head__intro {
    flex: none; max-width: 604px;
  }
  .step {
    flex-basis: calc((100% - var(--space-60)) / 2);
  }
  .step__title {
    font-size: var(--fs-title);
  }
}

@media (max-width: 1099px) {
  .values {
    position: relative;
    flex-direction: column;
    margin-top: -96px; /* exceção: o painel sobrepõe a base da foto, como no desktop */
  }
  .value {
    padding: 28px clamp(24px, 4vw, 40px);
  }
  .value + .value::before {
    top: 0; right: clamp(24px, 4vw, 40px); bottom: auto; left: clamp(24px, 4vw, 40px); width: auto; height: 1px;
  }
  .value__text {
    max-width: 520px;
  }
}

@media (max-width: 719px) {
  .values {
    margin-top: -64px;
  }
  .step {
    flex-basis: 100%; min-height: 0;
  }
}

.icon-tile--team .icon {
  width: 25px; height: 25px;
}

@keyframes panel-swap {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: none; }
}

.solution-panel .btn {
  --btn-core: #5cb236;
}

.check-list .icon {
  margin-top: -2px;
  color: var(--c-primary);
}

/* =========================================================
   Página Manutenção e suporte (frame "Manutenção e Suporte", 1920px)
   ========================================================= */
/* ---------- Hero ---------- */
.service-hero {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  background: var(--c-primary) url("../images/nosso-time-hero-fundo.webp") center / cover no-repeat;
  color: var(--c-light);
}

/* Forma verde no canto (a mesma da Quem somos, com 494px no quadro de 1920) e seta de vidro */
.service-hero__shape {
  position: absolute;
  z-index: -1;
  height: auto;
  pointer-events: none;
}

.service-hero__shape {
  top: 0; right: 0; width: min(25.71vw, 494px);
}

.service-hero__title {
  font-size: var(--fs-display);
  font-weight: 600;
  line-height: var(--lh);
}

.service-hero__text {
  max-width: 800px;   /* no layout a 2ª linha começa em "constante" */
  font-size: var(--fs-lead);
  font-weight: 300;
  line-height: var(--lh);
}

@media (max-width: 1279px) {
  .service-hero__title .heading__line {
    display: inline;
  }
}

@media (max-width: 719px) {
  .service-hero__shape {
    width: 30vw;
  }
}

.case-card__body .btn {
  margin-top: auto;
}

.contact-address .icon {
  width: 25px; height: 25px;
}

/* =========================================================
   Efeitos de movimento (skill efeitos-visuais-sites)
   Estados ocultos só existem sob .js; o JavaScript decide o que entra.
   ========================================================= */
/* Ângulo e cores do contorno girando (animáveis via @property) */
@property --ring-angle { syntax: "<angle>"; inherits: false; initial-value: 0deg; }

@property --ring { syntax: "<color>"; inherits: false; initial-value: rgb(166 225 125 / 0); }

@property --ring-core { syntax: "<color>"; inherits: false; initial-value: rgb(255 255 255 / 0); }

@keyframes ring-spin { to { --ring-angle: 360deg; } }

/* Botões: luz em volta, brilho interno, reflexo e leve aumento no hover/foco
   (StarBorder aplicado só no hover, para manter o botão do layout em repouso) */
.btn::before {
  content: "";
  position: absolute;
  inset: -2px;
  padding: 2px;
  border-radius: inherit;
  background: conic-gradient(from var(--ring-angle), transparent 0deg, transparent 200deg,
  var(--ring) 270deg, var(--ring-core) 315deg, var(--ring) 340deg, transparent 360deg);
  pointer-events: none;
  animation: ring-spin 2.6s linear infinite paused;
  transition: --ring .4s, --ring-core .4s;
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0);
}

.btn::after {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(105deg, transparent 30%, rgb(255 255 255 / .18) 45%,
  rgb(255 255 255 / .75) 50%, rgb(255 255 255 / .18) 55%, transparent 70%) no-repeat;
  background-position: 130% 0;
  background-size: 250% 100%;
  pointer-events: none;
}

.btn--dark::after {
  background-image: linear-gradient(105deg, transparent 30%, rgb(166 225 125 / .3) 45%,
  rgb(255 255 255 / .35) 50%, rgb(166 225 125 / .3) 55%, transparent 70%);
}

.site-header .btn,
.site-footer .btn {
  --btn-core: #5cb236;
}

/* fundo claro: o centro branco sumiria */
.btn:focus-visible {
  transform: scale(1.04);
  box-shadow: 0 0 22px -2px rgb(166 225 125 / .75), 0 0 60px -10px rgb(166 225 125 / .55);
}

.btn:focus-visible::before {
  --ring: rgb(166 225 125 / 1);
  --ring-core: var(--btn-core);
  animation-play-state: running;
}

@media (hover: hover) and (pointer: fine) {
  .btn:hover {
    transform: scale(1.04);
    box-shadow:
    0 0 22px -2px rgb(166 225 125 / .75),
    0 0 60px -10px rgb(166 225 125 / .55),
    inset 0 0 0 1px rgb(166 225 125 / .25),
    inset 0 0 22px rgb(166 225 125 / .28);
  }
  .btn:hover::before {
    --ring: rgb(166 225 125 / 1);
    --ring-core: var(--btn-core);
    animation-play-state: running;
  }
  .btn:hover::after {
    background-position: -30% 0;
    transition: background-position .9s var(--ease);
  }
}

/* Título palavra a palavra (BlurText): H1 do hero e H2 dos cabeçalhos */
.word {
  display: inline-block;
  animation: blur-in .9s var(--ease) both;
}

@keyframes blur-in {
  from { opacity: 0; filter: blur(10px); transform: translateY(-.25em); }
  to { opacity: 1; filter: none; transform: none; }
}

/* Palavras do H2 aguardam a entrada na tela */
.js .reveal-words .word {
  animation-play-state: paused;
}

.js .reveal-words.is-visible .word {
  animation-play-state: running;
}

/* Fade-up com blur no scroll */
.js .reveal {
  opacity: 0;
  filter: blur(10px);
  transform: translateY(1.5rem);
  transition:
  opacity var(--motion-reveal) var(--ease-reveal),
  filter var(--motion-reveal) var(--ease-reveal),
  transform var(--motion-reveal) var(--ease-reveal);
  transition-delay: var(--reveal-delay, 0ms);
}

.js .reveal.is-visible {
  opacity: 1;
  filter: none;
  transform: none;
}

/* Entrada em sequência do painel de valores do hero (só CSS) */
.values .value {
  animation: panel-in .7s var(--ease) both;
}

.values .value:nth-child(1) {
  animation-delay: .9s;
}

.values .value:nth-child(2) {
  animation-delay: 1.15s;
}

.values .value:nth-child(3) {
  animation-delay: 1.4s;
}

.values .value:nth-child(4) {
  animation-delay: 1.65s;
}

@keyframes logo-loop { to { transform: translateX(-50%); } }

@keyframes panel-in {
  from { opacity: 0; filter: blur(6px); transform: translateX(14px); }
  to { opacity: 1; filter: none; transform: none; }
}

/* Indicador deslizante no menu (criado pelo JavaScript, só no desktop) */
.site-nav__indicator {
  display: none;
}

@media (min-width: 1440px) {
  .site-nav {
    position: relative;
  }
  .site-nav__list a {
    position: relative; z-index: 1;
  }
  .site-nav__indicator {
    position: absolute;
    top: 0;
    left: 0;
    display: block;
    border: 1px solid rgb(3 43 52 / .12);
    border-radius: 999px;
    background: rgb(3 43 52 / .06);
    opacity: 0;
    pointer-events: none;
    transition:
    transform .35s var(--ease),
    width .35s var(--ease),
    opacity .25s;
  }
  .site-nav__indicator::after {
    content: "";
    position: absolute;
    right: 20%;
    bottom: -1px;
    left: 20%;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--c-accent), transparent);
    box-shadow: 0 0 10px var(--c-accent);
  }
  .site-nav.is-hovering .site-nav__indicator {
    opacity: 1;
  }
}

@media (min-width: 1440px) {
  /* Página atual no menu (desktop): pílula fixa com o mesmo desenho do indicador do hover.
   Não muda o peso da fonte para não alterar a largura do menu. */
  .site-nav__list a[aria-current] {
    position: relative; z-index: 1;
  }
  .site-nav__list a[aria-current]::before {
    content: "";
    position: absolute;
    z-index: -1;
    inset: -10px -12px;
    border: 1px solid rgb(3 43 52 / .16);
    border-radius: 999px;
    background: rgb(255 255 255 / .55);
  }
  .site-nav__list a[aria-current]::after {
    content: "";
    position: absolute;
    right: 8%;
    bottom: -11px;
    left: 8%;
    height: 2px;
    border-radius: 2px;
    background: linear-gradient(90deg, transparent, #5cb236, transparent);
  }
  .site-nav.has-indicator .site-nav__list a:hover {
    text-decoration: none;
  }
}

/* Borda e spotlight que seguem o cursor (MagicBento) */
.glow {
  position: relative; isolation: isolate;
}

.glow::before {
  content: "";
  position: absolute;
  z-index: 2;
  inset: 0;
  padding: 1px;
  border-radius: inherit;
  background: radial-gradient(22rem circle at var(--mx, 50%) var(--my, -20%),
  var(--c-accent) 0, rgb(166 225 125 / .35) 35%, transparent 65%);
  opacity: var(--glow, 0);
  pointer-events: none;
  transition: opacity .35s var(--ease);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0);
}

.glow::after {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(28rem circle at var(--mx, 50%) var(--my, 50%),
  var(--spot, rgb(255 255 255 / .06)), transparent 60%);
  opacity: var(--glow, 0);
  pointer-events: none;
  transition: opacity .35s var(--ease);
}

/* Etapas: contorno girando, subida e halo no hover (reaproveita o ::before do .glow) */
.step {
  transition: box-shadow .4s var(--ease), transform .4s var(--ease);
}

.step.glow {
  --spot: rgb(166 225 125 / .34);
}

.step.glow::before {
  --ring: rgb(166 225 125 / 0);
  --ring-core: rgb(92 178 54 / 0);
  padding: 2px;
  background: conic-gradient(from var(--ring-angle), transparent 0deg, transparent 150deg,
  var(--ring) 240deg, var(--ring-core) 310deg, var(--ring) 340deg, transparent 360deg);
  opacity: 1;
  animation: ring-spin 3.2s linear infinite paused;
  transition: --ring .4s, --ring-core .4s;
}

@media (hover: hover) and (pointer: fine) {
  .step.glow:hover::before {
    --ring: rgb(166 225 125 / 1);
    --ring-core: rgb(92 178 54 / 1);   /* card branco: centro em verde mais forte */
    animation-play-state: running;
  }
  .step:hover {
    transform: translateY(-4px);
    box-shadow:
    0 0 28px -8px rgb(166 225 125 / .55),
    0 24px 60px -28px rgb(3 43 52 / .45);
  }
}

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

/* =========================================================
   WordPress: integração do layout com o tema de blocos
   ========================================================= */

/* Barra administrativa: o header fixo e as âncoras descontam a altura dela.
   Abaixo de 600px a barra deixa de ser fixa e rola com a página. */
:root {
  --admin-bar-h: var(--wp-admin--admin-bar--height, 0px);
  scroll-padding-top: calc(var(--admin-bar-h) + var(--header-h) + 24px);
}
@media (max-width: 600px) {
  :root { --admin-bar-h: 0px; }
}

/* As partes do template ficam coladas, como no layout (sem o blockGap da raiz) */
.wp-site-blocks > * { margin-block: 0; }

/* O header é o próprio elemento da template part, filho de .wp-site-blocks */
.site-header { top: var(--admin-bar-h); }
@media (max-width: 1439px) {
  .js .site-nav { max-height: calc(100dvh - var(--header-h) - var(--admin-bar-h)); }
}

/* Menus do WordPress: o <li> não interfere no layout dos links */
.site-nav__list li,
.site-footer__nav li { display: block; }

/* Rodapé: linha inferior com a Política de Privacidade e o crédito */
.site-footer__bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 30px;
  padding-block: 24px;
  border-top: 1px solid var(--c-light);
  font-size: var(--fs-small);
}
.site-footer__bottom a { text-decoration: underline; text-underline-offset: 3px; }
@media (hover: hover) and (pointer: fine) {
  .site-footer__bottom a:hover { text-decoration-color: #5cb236; }
}

/* Páginas editoriais (Política de Privacidade e páginas sem template próprio), busca e 404 */
.editorial {
  padding-block: var(--section-y);
}
.editorial__inner {
  display: flex;
  flex-direction: column;
  gap: var(--space-60);
}
.editorial__title {
  font-size: var(--fs-display);
  font-weight: 600;
  line-height: var(--lh);
}
.editorial__meta { color: var(--c-slate); font-size: var(--fs-small); }
.editorial__content {
  max-width: 860px;
  font-size: var(--fs-lead);
  font-weight: 300;
  line-height: 1.5;
}
.editorial__content > * + * { margin-top: 1em; }
.editorial__content h2,
.editorial__content h3,
.editorial__content h4 { margin-top: 1.6em; font-weight: 600; line-height: var(--lh); }
.editorial__content h2 { font-size: var(--fs-h3); }
.editorial__content h3 { font-size: var(--fs-title); }
.editorial__content ul,
.editorial__content ol { padding-left: 1.25em; }
.editorial__content ul { list-style: disc; }
.editorial__content ol { list-style: decimal; }
.editorial__content li + li { margin-top: .4em; }
.editorial__content a { text-decoration: underline; text-underline-offset: 3px; }
.editorial__content strong { font-weight: 600; }

.search-form {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  max-width: 640px;
}
.search-form__field {
  flex: 1 1 260px;
  height: 50px;
  padding: 0 30px;
  border: 1px solid rgb(3 43 52 / .2);
  border-radius: 999px;
  background: var(--c-white);
  color: var(--c-primary);
  font: inherit;
}
.search-form__field:focus-visible { outline: 2px solid var(--c-primary); outline-offset: 2px; }

.search-results {
  display: flex;
  flex-direction: column;
  gap: 30px;
}
.search-result {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: clamp(24px, 2.6vw, 40px);
  background: var(--c-white);
  border-radius: var(--radius-card);
}
.search-result__type { color: var(--c-slate); font-size: var(--fs-eyebrow); text-transform: uppercase; letter-spacing: .08em; }
.search-result__title { font-size: var(--fs-title); font-weight: 600; line-height: var(--lh); }
.search-result__title a:hover { text-decoration: underline; text-underline-offset: 4px; }
.search-result__excerpt { font-weight: 300; line-height: 1.4; }

.pagination .nav-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.pagination .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  height: 44px;
  padding: 0 14px;
  border-radius: 999px;
  background: var(--c-white);
}
.pagination .page-numbers.current { background: var(--c-primary); color: var(--c-light); }

.editorial__inner > * { margin-block: 0; }
.site-footer__credit a { text-decoration: underline; text-underline-offset: 3px; }
