/* ===================================================================
   HOME V2 (TESTE) — só carrega neste template (ver rubeus_enqueue_assets()).
   Acrescenta à home: card flutuante da Ana no hero, setas/indicador no slider
   de cases, botões em destaque, CTA final em cartão e o laboratório de fonte.
   =================================================================== */

/* ── Tipografia dos títulos: Outfit ── */
/* blog.css (global) força Plus Jakarta com !important nos títulos; aqui precisa !important + mais especificidade. */
body.page-template-page-home-php { --v2-display: 'Outfit', var(--font-jakarta); }
body.page-template-page-home-php :is(h1, h2, h3, h4) { font-family: var(--v2-display) !important; }

/* Títulos grandes só nos momentos de destaque: hero, afirmação "contraste" e CTA final. */
/* Hero: três palavras empilhadas em tom neutro; a cor da marca entra só no ponto final de cada uma. */
.hero__title.hv2-words { display: flex; flex-direction: column; align-items: flex-start; gap: 0; margin: 0; padding: 0; line-height: 1; letter-spacing: -0.05em; font-weight: 800; text-align: left; }
.hv2-word { display: block; font-size: clamp(3rem, 6.2vw, 5.4rem); line-height: 0.98; color: var(--slate-400); opacity: 0; transform: translateY(0.35em); animation: hv2-word-in 0.8s var(--ease-out-smooth) forwards; }
.hv2-word:nth-child(1) { animation-delay: 0.15s; }
.hv2-word:nth-child(2) { animation-delay: 0.55s; }
.hv2-word:nth-child(3) { animation-delay: 0.95s; }
.hv2-dot { display: inline-block; width: 0.23em; height: 0.23em; margin-left: 0.07em; border-radius: 50%; background: var(--teal-bright); transform: scale(0); animation: hv2-dot-in 0.45s var(--ease-out-smooth) forwards; }
.hv2-word:nth-child(1) .hv2-dot { animation-delay: 0.7s; }
.hv2-word:nth-child(2) .hv2-dot { animation-delay: 1.1s; }
.hv2-word:nth-child(3) .hv2-dot { animation-delay: 1.5s; }
.hv2-dot--teal { background: var(--teal-bright); }
.hv2-word:nth-child(3) { color: #fff; }
@keyframes hv2-word-in { to { opacity: 1; transform: none; } }
@keyframes hv2-dot-in { 0% { transform: scale(0); } 70% { transform: scale(1.25); } 100% { transform: scale(1); } }
@media (prefers-reduced-motion: reduce) { .hv2-word { opacity: 1; transform: none; animation: none; } .hv2-dot { transform: none; animation: none; } }
.contraste__title { font-size: clamp(2.4rem, 4.6vw, 4.1rem); line-height: 1.05; letter-spacing: -0.035em; }
.hero__lead { max-width: 34rem; }

/* O CTA final em cartão substitui a faixa de CTA do rodapé só nesta página. */
body.page-template-page-home-php .footer__cta { display: none; }

/* ── Botões em destaque (caixa alta, retos, com ícone) ── */
.btn-slab {
  text-transform: uppercase; letter-spacing: 0.07em; font-size: 0.78rem !important; font-weight: 700;
  border-radius: 10px !important; padding: 1rem 1.4rem;
}
.btn-slab .icon { transition: transform 0.2s var(--ease-out-smooth); }
.btn-slab:hover .icon { transform: translateX(3px); }
.btn-slab--onlight { border-color: var(--gray-900); color: var(--gray-900); }
.btn-slab--onlight:hover { background: var(--gray-900); color: #fff; }

.v2-cta-row { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.75rem; margin-top: 3rem; }
.v2-cta-row--left { justify-content: flex-start; margin-top: 2rem; }

/* ── Hero em duas colunas (texto à esquerda, história da Ana à direita) ── */
@media (min-width: 1024px) {
  .hero__grid { display: grid; grid-template-columns: minmax(31rem, 1fr) 1.15fr; align-items: center; gap: 3rem; text-align: left; }
  .hero__copy { align-items: flex-start; margin: 0; max-width: none; }
  .hero__title { text-align: left; margin-inline: 0; max-width: none; padding-top: 0; }
  .hero__lead { text-align: left; margin-inline: 0; }
  .hero__actions { justify-content: flex-start; }
}

/* ── Estrutura: menu em grade larga (logo e login junto às bordas) e conteúdo do hero mais centralizado, como no Salesloft ── */
/* Menu e demais seções seguem a mesma grade larga; só o conteúdo do hero fica mais estreito. */
body.page-template-page-home-php .container { max-width: var(--container-max); padding-inline: var(--container-pad); }
body.page-template-page-home-php .hero__content { max-width: var(--container-max); }

/* Menu principal com um pouco mais de corpo (600, sem chegar ao bold). */
body.page-template-page-home-php .navbar__link, body.page-template-page-home-php .navbar__login { font-weight: 600; }

/* Mais respiro: cabeçalho mais alto, mais ar entre título, texto, botões e etapas. */
@media (min-width: 768px) { body.page-template-page-home-php .navbar__inner { height: 4.75rem; } body.page-template-page-home-php .navbar.is-scrolled .navbar__inner { height: 3.5rem; } }
body.page-template-page-home-php .hero { padding-top: 5.5rem; }
body.page-template-page-home-php .hero__grid { gap: 3rem; }
body.page-template-page-home-php .hero__lead { margin-top: 1.75rem; }
body.page-template-page-home-php .hero__actions { margin-top: 1.25rem; padding-top: 0; }

/* ── Hero: hexágonos pequenos espalhados pela largura toda (bem sutis) ── */
.hv2-particles { position: absolute; inset: 0; z-index: 1; overflow: hidden; pointer-events: none; }
.hv2-hp { position: absolute; display: block; opacity: 0; animation: hv2-hp-life var(--life, 7s) ease-in-out forwards; }
.hv2-hp svg { display: block; width: 100%; height: 100%; }
@keyframes hv2-hp-life { 0% { opacity: 0; transform: scale(0.92); } 30% { opacity: var(--o, 0.08); } 70% { opacity: var(--o, 0.08); } 100% { opacity: 0; transform: scale(1.04); } }
@media (prefers-reduced-motion: reduce) { .hv2-hp { animation: none; opacity: var(--o, 0.08); } }

/* ── Hero: fundo em degradê da marca (sem desfoque, só uma transição de cor) ── */
body.page-template-page-home-php #hero-bg { background: radial-gradient(46% 66% at 79% 50%, rgba(46,98,98,0.62) 0%, rgba(36,70,70,0.42) 36%, rgba(30,52,52,0) 74%), linear-gradient(180deg, var(--gray-900) 0%, var(--gray-900) 100%) !important; }

/* ── Hero: animação da plataforma (lado direito) ── */
/* Peças soltas, sem moldura: canvas de 600x500 escalado pela largura do palco (JS define --s). */
.hv2-platform { position: relative; width: 100%; max-width: 640px; margin: 0 auto; aspect-ratio: 600 / 410; }

/* Malha de hexágonos (formato do logo), esmaecida nas bordas; células acendem a cada cena. */
.hv2-hexfield { position: absolute; left: 50%; top: 50%; width: 190%; height: auto; aspect-ratio: 960 / 760; transform: translate(-50%, -50%); pointer-events: none; -webkit-mask-image: radial-gradient(closest-side, #000 38%, transparent 100%); mask-image: radial-gradient(closest-side, #000 38%, transparent 100%); }
.hx { fill: none; stroke: rgba(255,255,255,0.032); stroke-width: 1.2; stroke-linejoin: round; }
.hx.is-on { fill: rgba(61,213,214,0.03); }
.hx.is-hot { animation: hx-hot 2.2s ease-out var(--hd, 0s) both; }
.hx-ring { fill: none; stroke: rgba(61,213,214,0.11); stroke-width: 1.6; stroke-linejoin: round; }
.hx-ring--2 { stroke: rgba(61,213,214,0.05); }
@keyframes hx-hot { 0% { fill: rgba(61,213,214,0); stroke: rgba(255,255,255,0.032); } 24% { fill: rgba(61,213,214,0.16); stroke: rgba(61,213,214,0.3); } 100% { fill: rgba(61,213,214,0.03); stroke: rgba(255,255,255,0.032); } }

.hv2-ui { position: absolute; left: 0; top: 0; width: 600px; height: 410px; transform-origin: 0 0; transform: scale(var(--s, 1)); font-family: var(--font-inter); font-size: 12px; line-height: 1.35; color: var(--gray-900); text-align: left; }
.hv2-ui h4 { margin: 0; color: var(--gray-900); }
.hv2-ui .icon { width: 14px; height: 14px; flex: none; }
.hv2-ui small { display: block; color: #666; font-size: 10.5px; }
.hv2-ui i { font-style: normal; }

/* Etiqueta de contexto (muda a cada cena) */
.ui-ctx { position: absolute; left: 0; top: 0; z-index: 6; display: inline-flex; align-items: center; gap: 9px; height: 30px; padding: 0 14px 0 8px; background: #F6F6F5; border-radius: 999px; box-shadow: 0 8px 20px rgba(0,0,0,0.2); }
.ui-ctx img { height: 19px; width: 19px; }
.ui-ctx span { font-size: 10.5px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; }

.ui-scene { position: absolute; inset: 0; opacity: 0; visibility: hidden; transition: opacity 0.4s ease, visibility 0s 0.4s; }
.ui-scene.is-active { opacity: 1; visibility: visible; transition: opacity 0.4s ease; }

/* Peça flutuante: posição inline, entrada escalonada (--d) e leve flutuação */
.ui-f { position: absolute; box-shadow: 0 10px 26px rgba(0,0,0,0.2); }
@keyframes ui-in { from { opacity: 0; transform: translateY(14px) scale(0.98); } to { opacity: 1; transform: none; } }
@keyframes ui-float { 0%, 100% { translate: 0 0; } 50% { translate: 0 -3px; } }
@keyframes ui-grow { from { transform: scaleX(0); } to { transform: scaleX(1); } }
.ui-scene.is-active .ui-f { animation: ui-in 0.55s var(--ease-out-smooth) var(--d, 0s) both, ui-float 7s ease-in-out calc(var(--d, 0s) + 0.6s) infinite; }
.ui-scene.is-active .ui-f:nth-child(even) { animation-duration: 0.55s, 8.5s; }

.ui-chip { display: inline-block; padding: 2px 8px; border-radius: 999px; background: var(--gray-100); color: var(--gray-700); font-size: 10.5px; font-weight: 700; white-space: nowrap; }
.ui-chip--teal { background: #DDF3F3; color: var(--teal-deep); }
.ui-chip--rose { background: #FFE6EA; color: #99001D; }

/* 1 · captar */
.ui-source { display: flex; align-items: center; gap: 6px; padding: 8px 12px; background: #F6F6F5; border-radius: 999px; font-size: 11px; font-weight: 600; white-space: nowrap; }
.ui-source .icon { color: var(--teal); }
.ui-lead { display: grid; grid-template-columns: 30px 1fr auto 40px; align-items: center; gap: 10px; padding: 9px 11px; background: #F6F6F5; border-radius: 12px; }
.ui-lead > i, .ui-person > i { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: #DDF3F3; color: var(--teal-deep); font-size: 10px; font-weight: 700; }
.ui-lead b, .ui-person b { display: block; font-size: 12px; }
.ui-lead time { text-align: right; font-size: 10.5px; color: var(--gray-500); }
.ui-lead.is-new { box-shadow: 0 10px 26px rgba(0,0,0,0.2), 0 0 0 1.5px rgba(61,213,214,0.8); }
.ui-track { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; padding: 10px 12px; background: #F6F6F5; border-radius: 12px; }
.ui-track__t { margin-right: 4px; font-size: 11px; font-weight: 700; }

.ui-tag { margin-left: 4px; padding: 1px 5px; border-radius: 4px; background: #E9E9E9; color: var(--gray-700); font-size: 9px; font-weight: 800; font-style: normal; letter-spacing: 0.04em; vertical-align: 1px; }
.ui-tag--pj { background: var(--teal-deep); color: #fff; }

/* 2 · qualificar */
.ui-chat { display: flex; flex-direction: column; gap: 8px; padding: 10px; height: 300px; background: #F6F6F5; border-radius: 14px; overflow: hidden; }
.ui-chat__head { display: flex; align-items: center; gap: 6px; padding-bottom: 8px; border-bottom: 1px solid var(--gray-100); font-size: 11px; font-weight: 700; }
.ui-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--teal); }
.ui-msg { margin: 0; padding: 8px 10px; max-width: 90%; border-radius: 10px; font-size: 11.5px; line-height: 1.4; opacity: 0; }
.ui-msg--in { align-self: flex-start; background: var(--gray-100); border-bottom-left-radius: 3px; }
.ui-msg--out { align-self: flex-end; background: #DDF3F3; color: #003A3A; border-bottom-right-radius: 3px; }
.ui-scene.is-active .ui-msg { animation: ui-in 0.5s var(--ease-out-smooth) both; }
.ui-scene.is-active .ui-msg:nth-of-type(1) { animation-delay: 0.6s; } .ui-scene.is-active .ui-msg:nth-of-type(2) { animation-delay: 1.7s; }
.ui-scene.is-active .ui-msg:nth-of-type(3) { animation-delay: 2.9s; } .ui-scene.is-active .ui-msg:nth-of-type(4) { animation-delay: 4s; }
.ui-ai { display: flex; flex-direction: column; gap: 9px; padding: 13px; height: 262px; background: #F6F6F5; border-radius: 14px; box-shadow: 0 10px 26px rgba(0,0,0,0.2), 0 0 0 1.5px rgba(61,213,214,0.8); }
.ui-ai__head { display: flex; align-items: center; gap: 6px; color: #0A8C8C; font-size: 12px; font-weight: 700; }
.ui-ai__text { margin: 0; min-height: 112px; font-size: 12px; line-height: 1.55; }
.ui-ai__chips { display: flex; flex-wrap: wrap; gap: 6px; opacity: 0; }
.ui-scene.is-active .ui-ai__chips { animation: ui-in 0.5s var(--ease-out-smooth) 5.2s both; }
.ui-ai__foot { margin-top: auto; font-size: 9.5px; font-weight: 600; letter-spacing: 0.05em; text-transform: uppercase; color: var(--gray-500); }

/* 3 · converter */
.ui-col { min-height: 178px; padding: 8px; background: #E9E9E9; border-radius: 12px; }
.ui-col header { margin-bottom: 8px; font-size: 11px; font-weight: 700; }
.ui-card { position: relative; display: block; padding: 8px 9px 9px; background: #F6F6F5; border: 1px solid #E3E3E3; border-radius: 8px; }
.ui-card b { display: block; padding-right: 12px; font-size: 11.5px; line-height: 1.25; }
.ui-card small { margin-top: 2px; padding-right: 12px; font-size: 10px; }
.ui-st { position: absolute; right: 8px; top: 9px; width: 7px; height: 7px; border-radius: 50%; background: #BFBFBF; }
.ui-st--teal { background: var(--teal); } .ui-st--red { background: #FF0031; }
.ui-card--alert { background: #FFF1F3; border-color: #F7C3CC; }
/* card que atravessa o funil: sai da coluna 1 (8,155) e termina na coluna 4 */
.ui-card--move { position: absolute; left: 8px; top: 149px; z-index: 3; width: 116px; border-color: var(--teal); box-shadow: 0 10px 26px rgba(0,0,0,0.2), 0 0 0 1.5px rgba(61,213,214,0.8); opacity: 0; }
.ui-card__tag { margin-top: 6px; opacity: 0; }
.ui-scene.is-active .ui-card--move { animation: ui-move 4.8s 1s ease-in-out both; }
.ui-scene.is-active .ui-card__tag { animation: ui-in 0.4s 5.2s both; }
@keyframes ui-move {
  0% { opacity: 0; transform: translate(0, 10px); }
  8% { opacity: 1; transform: translate(0, 0); }
  22% { transform: translate(0, 0); }
  38% { transform: translate(144px, 18px); }
  52% { transform: translate(144px, 18px); }
  68% { transform: translate(288px, 36px); }
  80% { transform: translate(288px, 36px); }
  95%, 100% { opacity: 1; transform: translate(432px, 0); }
}

/* faixa B2B do funil */
.ui-b2b { padding: 11px 13px; background: #F6F6F5; border-radius: 14px; }
.ui-b2b__head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 8px; }
.ui-b2b__head b { font-size: 12px; }
.ui-b2b__labels { display: grid; grid-template-columns: repeat(4, 1fr); margin-bottom: 6px; font-size: 10.5px; font-weight: 600; color: #666; }
.ui-b2b__bar { position: relative; height: 6px; margin-bottom: 24px; background: #E9E9E9; border-radius: 3px; }
.ui-b2b__bar i { display: block; width: 100%; height: 100%; border-radius: 3px; background: var(--teal); transform-origin: left; transform: scaleX(0.14); }
.ui-b2b__bar em { position: absolute; top: 12px; left: 14%; padding: 2px 8px; border-radius: 999px; background: #DDF3F3; color: var(--teal-deep); font-size: 10px; font-weight: 700; font-style: normal; white-space: nowrap; transform: translateX(-100%); }
.ui-scene.is-active .ui-b2b__bar i { animation: ui-b2b-fill 4.4s 1.8s ease-in-out both; }
.ui-scene.is-active .ui-b2b__bar em { animation: ui-b2b-pin 4.4s 1.8s ease-in-out both; }
@keyframes ui-b2b-fill { from { transform: scaleX(0.14); } to { transform: scaleX(1); } }
@keyframes ui-b2b-pin { from { left: 14%; } to { left: 100%; } }

/* 4 · atender (visão 360) */
.ui-360__id { display: flex; align-items: center; gap: 12px; padding: 11px 13px; background: #F6F6F5; border-radius: 14px; }
.ui-360__id > i { width: 44px; height: 44px; border-radius: 10px; display: grid; place-items: center; background: var(--teal-deep); color: #fff; font-size: 16px; font-weight: 800; }
.ui-360__id h4 { font-size: 16px; font-weight: 700; }
.ui-chips { display: flex; gap: 6px; margin-top: 5px; }
.ui-person { display: grid; grid-template-columns: 30px 1fr; align-items: center; gap: 6px 8px; padding: 9px 11px; background: #F6F6F5; border-radius: 12px; }
.ui-person .ui-chip { grid-column: 1 / -1; justify-self: start; }
.ui-tabs { display: flex; gap: 6px; box-shadow: none; }
.ui-tabs span { padding: 6px 12px; background: #F6F6F5; border-radius: 999px; font-size: 11px; font-weight: 600; color: var(--gray-700); box-shadow: 0 6px 14px rgba(0,0,0,0.16); }
.ui-tabs .is-on { background: var(--teal); color: #fff; }
.ui-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; padding: 11px 13px; background: #F6F6F5; border-radius: 14px; }
.ui-stats b { font-family: var(--v2-display); font-size: 22px; font-weight: 800; }
.ui-stats .is-teal { color: var(--teal); }
.ui-tl { display: flex; gap: 10px; padding: 8px 12px; background: #F6F6F5; border-radius: 10px; font-size: 11px; }
.ui-tl time { width: 74px; flex: none; color: var(--gray-500); font-weight: 600; }
.ui-tl.is-late { background: #FFF1F3; color: #99001D; }

/* 5 · reter (engajamento e risco) */
.ui-score, .ui-mini { padding: 11px 13px; background: #F6F6F5; border-radius: 14px; }
.ui-score b, .ui-mini b { font-family: var(--v2-display); font-size: 28px; font-weight: 800; color: var(--teal-deep); }
.ui-score b span { font-size: 12px; font-weight: 600; color: var(--gray-500); }
.ui-score em { margin-left: 6px; font-size: 10px; font-weight: 800; font-style: normal; text-transform: uppercase; color: var(--teal); }
.ui-mini b { display: block; color: var(--gray-900); }
.ui-bar-track { height: 6px; margin-top: 6px; overflow: hidden; background: #E9E9E9; border-radius: 3px; }
.ui-bar-track i { display: block; width: 62%; height: 100%; background: var(--teal); transform-origin: left; }
.ui-scene.is-active .ui-bar-track i { animation: ui-grow 1.2s 0.8s var(--ease-out-smooth) both; }
.ui-funnel { display: grid; gap: 6px; padding: 11px 13px; background: #F6F6F5; border-radius: 14px; }
.ui-funnel__t { font-size: 11px; font-weight: 700; }
.ui-fb { display: grid; grid-template-columns: 60px 1fr; align-items: center; gap: 8px; }
.ui-fb label { font-size: 10.5px; color: #666; }
.ui-fb i { display: block; width: var(--w); height: 12px; border-radius: 3px; background: var(--teal); transform-origin: left; }
.ui-fb:nth-of-type(1) i { background: var(--slate-200); } .ui-fb:nth-of-type(3) i { background: var(--teal-deep); }
.ui-scene.is-active .ui-fb i { animation: ui-grow 0.9s 1.3s var(--ease-out-smooth) both; }
.ui-alert, .ui-next { display: flex; align-items: flex-start; gap: 10px; padding: 11px 13px; border-radius: 14px; }
.ui-alert { background: #FFF1F3; }
.ui-alert .icon { color: #FF0031; width: 16px; height: 16px; }
.ui-alert b { display: block; font-size: 12px; color: #99001D; } .ui-alert small { color: #99001D; opacity: 0.85; font-size: 11px; }
.ui-next { background: #F6F6F5; box-shadow: 0 10px 26px rgba(0,0,0,0.2), 0 0 0 1.5px rgba(61,213,214,0.8); }
.ui-next .icon { color: var(--teal); width: 16px; height: 16px; }
.ui-next b { display: block; font-size: 12px; color: var(--teal-deep); } .ui-next small { font-size: 11px; }

@media (prefers-reduced-motion: reduce) { .ui-scene *, .hx { animation: none !important; } .ui-scene .ui-f, .ui-scene .ui-msg, .ui-ai__chips, .ui-card__tag { opacity: 1 !important; transform: none !important; } .ui-card--move { transform: translate(432px, 0) !important; opacity: 1 !important; } }

/* Linha de etapas, abaixo dos botões do hero. */
.hv2-steps { list-style: none; display: flex; flex-wrap: wrap; gap: 0.5rem 1.5rem; margin: 2.25rem 0 0; padding: 0; }
.hv2-steps button { display: inline-flex !important; align-items: center; gap: 0.5rem; padding: 0 !important; background: none !important; border: 0 !important; box-shadow: none !important; border-radius: 0 !important; font: 600 1.0625rem var(--v2-display) !important; letter-spacing: -0.01em; color: var(--gray-500) !important; cursor: pointer; transition: color 0.25s; }
.hv2-steps button::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: transparent; transition: background-color 0.25s; }
.hv2-steps button:hover { color: var(--slate-200) !important; }
.hv2-steps li.is-active button { color: #fff !important; }
.hv2-steps li.is-active button::before { background: var(--teal-bright); }
.hv2-steps--center { justify-content: center; margin-top: 6rem; gap: 0.5rem 2.25rem; }
@media (max-width: 640px) { .hv2-platform, .hv2-steps { display: none; } }
@media (max-width: 1023px) { .hv2-platform { max-width: 520px; margin-top: 1.5rem; } .hv2-hexfield { width: 150%; } }


/* ── Seções no estilo do hero: fundo escuro, cinzas em escala, verde-água como único acento ── */
body.page-template-page-home-php .integracao { background: var(--gray-900); border: 0; }
body.page-template-page-home-php :is(.contraste__glow, .section-top-line) { display: none; }
body.page-template-page-home-php .integracao .eyebrow-pill--light { color: var(--slate-400); opacity: 1; letter-spacing: 0.12em; }
body.page-template-page-home-php .contraste__kicker { color: var(--gray-500); opacity: 1; letter-spacing: 0.12em; }

/* Faixa de marcas: fundo claro, logos cinza que ganham cor ao passar o mouse */
body.page-template-page-home-php .parceiros { padding-block: 3rem; background: #F6F6F5; border-bottom: 1px solid var(--gray-100); }
body.page-template-page-home-php .parceiros__inner { gap: 0; }
body.page-template-page-home-php .parceiros__label { margin: 0 0 0.9rem; text-align: center; color: var(--ink-soft); }

/* Contraste ("A complexidade não deveria…"): fundo claro, tipografia e acento do hero */
body.page-template-page-home-php .contraste { background: #fff; }
body.page-template-page-home-php .contraste__title { color: var(--gray-900); font-size: clamp(2.2rem, 4.2vw, 3.5rem); line-height: 1.05; letter-spacing: -0.035em; }
body.page-template-page-home-php .contraste__underline { color: var(--teal-ink-soft); }
body.page-template-page-home-php .contraste__subtitle { color: var(--gray-700); }
body.page-template-page-home-php .contraste__highlight { background: #fff; border: 1px solid #E6E6E6; box-shadow: 0 12px 30px rgba(26,26,26,0.07); }
body.page-template-page-home-php .contraste__quote-mark { background: var(--teal-bright); color: var(--gray-900); box-shadow: none; }
body.page-template-page-home-php .problems__title { color: var(--gray-900); font-size: clamp(1.6rem, 2.6vw, 2.1rem); letter-spacing: -0.03em; }
body.page-template-page-home-php .problems__lead { color: #666; }
body.page-template-page-home-php .problems__header { margin-bottom: 3rem; }

/* Dores em linha horizontal: três itens compactos, cada um com uma mini-história da plataforma */
/* Título principal: preto com o fecho em verde-água, como o título da seção logo acima. */
.pain-rz { color: var(--teal-ink-soft); }
body.page-template-page-home-php .problems__title { color: var(--gray-900); text-align: center; text-wrap: balance; }
.pain-text__title .pain-rz { color: inherit; }
body.page-template-page-home-php .problems__lead { max-width: 40rem; text-wrap: balance; margin: 1rem auto 0; font-size: 0.9375rem; line-height: 1.55; text-align: center; }
.pain-list { position: relative; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 3.5rem; padding-top: 4.25rem; }
.pain-list__line { position: absolute; left: 20px; right: 0; top: 19px; height: 2px; background: linear-gradient(to right, var(--teal), rgba(13,166,166,0.12)); }
.pain-item { position: relative; display: flex; flex-direction: column; align-items: stretch; gap: 2.25rem; }
.pain-item__text { transition: opacity 0.6s ease; }
.pain-list.is-seq .pain-item:not(.is-on) .pain-item__text { opacity: 0.35; }
.pain-list.is-seq .pain-item:not(.is-on) .pain-item__node { background: #BFBFBF; color: var(--gray-700); }
.pain-item__node { transition: background-color 0.4s ease, color 0.4s ease, transform 0.4s ease; position: absolute; left: 0; top: -4.25rem; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: var(--gray-900); color: #fff; font-family: var(--v2-display); font-size: 1rem; font-weight: 800; }
body.page-template-page-home-php .pain-text__title { color: var(--gray-900); font-size: 1.45rem; letter-spacing: -0.02em; margin-bottom: 0.6rem; }
body.page-template-page-home-php .pain-text__body { color: var(--gray-700); }
.pain-item__stage { position: relative; width: 100%; aspect-ratio: 440 / 250; margin-top: auto; }
.pain-ui { width: 440px; height: 250px; }
.pain-ui .ui-f { box-shadow: 0 8px 22px rgba(26,26,26,0.1), 0 0 0 1px rgba(26,26,26,0.06); }
.pn-rec { padding: 10px 12px; background: #fff; border-radius: 12px; }
.pn-rec header { margin-bottom: 5px; font-size: 9.5px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--gray-500); }
.pn-rec b { display: block; font-size: 12.5px; }
.pn-rec small { margin-bottom: 6px; }
.pn-chips { display: flex; flex-wrap: wrap; gap: 5px; margin-top: 4px; }
.pn-link { position: absolute; height: 0; border-top: 2px dashed #BFBFBF; }
.pn-link::after { content: ""; position: absolute; top: -5px; left: 0; width: 8px; height: 8px; border-radius: 50%; background: var(--teal); }
.pain-ui .ui-scene.is-active .pn-link { animation: ui-in 0.5s var(--ease-out-smooth) var(--d, 0s) both; }
.pain-ui .ui-scene.is-active .pn-link::after { animation: pn-dot 1.6s ease-in-out 1s infinite; }
@keyframes pn-dot { 0% { transform: translateX(0); opacity: 0; } 15% { opacity: 1; } 85% { opacity: 1; } 100% { transform: translateX(24px); opacity: 0; } }
.pn-lines { display: grid; gap: 5px; margin: 2px 0 6px; }
.pn-lines i { height: 7px; border-radius: 3px; background: #E9E9E9; }
.pn-lines i:nth-child(2) { width: 82%; } .pn-lines i:nth-child(3) { width: 58%; }
.pn-alert { display: flex; align-items: flex-start; gap: 8px; padding: 10px 12px; background: #FFF1F3; border-radius: 12px; }
.pn-alert .icon { width: 15px; height: 15px; color: #FF0031; }
.pn-alert b { display: block; font-size: 11.5px; color: #99001D; }
.pn-alert small { color: #99001D; opacity: 0.85; font-size: 10.5px; margin: 0; }
.pn-bars { display: flex; align-items: flex-end; gap: 7px; height: 54px; margin: 2px 0 8px; }
.pn-bars i { flex: 1; height: var(--h); border-radius: 3px 3px 0 0; background: var(--slate-200); }
.pn-bars .is-ghost { background: transparent; border: 1.5px dashed #BFBFBF; border-bottom: 0; }
.pn-field { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; margin: 3px 0 2px; font-size: 11px; }
.pn-field small { width: 100%; margin: 0; }
.pn-field .is-bad { color: #99001D; text-decoration: line-through; }
.pn-field em { color: var(--gray-500); font-style: normal; }
.pn-meter { height: 6px; margin: 4px 0 7px; overflow: hidden; background: #E9E9E9; border-radius: 3px; }
.pn-meter i { display: block; width: 28%; height: 100%; background: #FF0031; border-radius: 3px; }
.pn-dup { display: flex; align-items: center; justify-content: space-between; padding: 5px 0; font-size: 11.5px; font-weight: 600; }
.pn-dup + .pn-dup { border-top: 1px solid var(--gray-100); }
@media (max-width: 1180px) {
  .pain-list { grid-template-columns: 1fr; gap: 3.5rem; padding: 0 0 0 3.5rem; }
  .pain-list__line { left: 19px; right: auto; top: 20px; bottom: 20px; width: 2px; height: auto; background: linear-gradient(to bottom, var(--teal), rgba(13,166,166,0.12)); }
  .pain-item { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: 2.5rem; align-items: center; }
  .pain-item__node { left: -3.5rem; top: 50%; transform: translateY(-50%); }
  .pain-item__stage { margin-top: 0; }
}
@media (max-width: 760px) { .pain-item { grid-template-columns: 1fr; gap: 1.25rem; } .pain-item__node { top: 0; transform: none; } }

/* Integração Just-in-Time */
body.page-template-page-home-php .integracao .section-title { color: #fff; font-size: clamp(2rem, 3.6vw, 3.1rem); line-height: 1.08; letter-spacing: -0.03em; }
body.page-template-page-home-php .integracao .section-subtitle { color: var(--slate-400); }
body.page-template-page-home-php .integracao span[style*="--teal"] { color: var(--teal-bright) !important; }

/* ── Pilares: ciclo. O anel gira para o próximo pilar conforme a rolagem (clique no celular) ── */
body.page-template-page-home-php .pilares { background: #fff; }
body.page-template-page-home-php .pilares .section-top-line { display: none; }
body.page-template-page-home-php .pilares .eyebrow-pill--light { color: var(--gray-500); opacity: 1; letter-spacing: 0.12em; }
body.page-template-page-home-php .pilares .section-title { color: var(--gray-900); font-size: clamp(2.2rem, 4.2vw, 3.5rem); line-height: 1.05; letter-spacing: -0.035em; }
body.page-template-page-home-php .pilares .gradient-text-teal { background: none; -webkit-text-fill-color: currentColor; color: var(--teal-ink-soft); }

.pv-stage-label { display: flex; align-items: center; gap: 0.75rem; margin: 0 0 0.9rem; font-size: 0.75rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--gray-500); }
.pv-num { font-family: var(--v2-display); font-size: 1rem; font-weight: 800; letter-spacing: 0; color: var(--teal); }
.pv-title { margin: 0 0 1.5rem; max-width: 22ch; font-family: var(--v2-display); font-size: clamp(1.75rem, 2.8vw, 2.5rem); font-weight: 800; line-height: 1.04; letter-spacing: -0.035em; color: var(--gray-900); }
.pv-prac { margin: 0 0 0.75rem; font-size: 0.75rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--gray-500); }
.pv-tablist { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-bottom: 0.9rem; }
.pv-tab { padding: 0.4rem 0.9rem !important; border: 1px solid var(--slate-200) !important; border-radius: 10px !important; background: #fff !important; color: var(--gray-700) !important; font: 600 0.8125rem var(--font-inter) !important; cursor: pointer; transition: background-color 0.2s, color 0.2s; }
.pv-tab.is-on { background: var(--gray-900) !important; border-color: var(--gray-900) !important; color: #fff !important; }
.pv-tabpanel { display: none; max-width: 34rem; min-height: 5.4em; margin: 0; font-size: 1rem; line-height: 1.65; color: var(--gray-700); }
.pv-tabpanel.is-on { display: block; animation: pvFade 0.35s ease; }
@keyframes pvFade { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
.pv-metric { display: flex; align-items: baseline; gap: 0.9rem; margin-top: 1.5rem; }
.pv-metric b { font-family: var(--v2-display); font-size: clamp(2.6rem, 4vw, 3.5rem); font-weight: 800; line-height: 1; letter-spacing: -0.04em; color: var(--teal); }
.pv-metric span { max-width: 12rem; font-size: 0.875rem; font-weight: 600; line-height: 1.35; color: #666; }
.pv-visual { min-width: 0; }
.pv-stage { position: relative; width: 100%; aspect-ratio: 440 / 300; }
.pv-ui { width: 440px; height: 300px; }
.pv-ui .ui-f { box-shadow: 0 8px 22px rgba(26,26,26,0.1), 0 0 0 1px rgba(26,26,26,0.06); }
.pv-tl { display: grid; margin: 2px 0 4px; }
.pv-tl span { display: flex; gap: 8px; padding: 5px 0; border-top: 1px solid var(--gray-100); font-size: 11px; }
.pv-tl span:first-child { border-top: 0; }
.pv-tl i { width: 58px; font-weight: 700; font-style: normal; color: var(--gray-500); }

/* Seção fixa enquanto rola: 3 passos de rolagem, um por pilar. Sem folga extra: o conteúdo nasce logo abaixo do título
   e, ao fixar, se centraliza na tela (mínimo de 5rem do topo, por causa do menu). */
body.page-template-page-home-php .pilares { padding-block: 5rem 4rem; }
body.page-template-page-home-php .pilares .section-header { margin-bottom: 0; padding-top: 0; }
/* Distância de rolagem: ~290px por pilar (antes ~490px). Conteúdo fixo + 3 passos curtos, em qualquer altura de tela. */
.pv-cycle { position: relative; height: calc(660px + 95vh); margin-top: 2.25rem; }
.pv-cycle__sticky { position: sticky; top: max(5rem, calc((100vh - 46rem) / 2)); display: block; }
.pv-cycle__grid { width: 100%; display: grid; grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr); gap: 4.5rem; align-items: center; }
.pv-cycle__left { display: grid; gap: 1rem; justify-items: center; }
.pv-ring { position: relative; width: 100%; max-width: 320px; aspect-ratio: 1; --rot: 0deg; }
.pv-ring__rot { position: absolute; inset: 0; transform: rotate(var(--rot)); transition: transform 0.95s cubic-bezier(0.3, 0.7, 0.2, 1); }
.pv-ring svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.pv-ring__base { fill: none; stroke: #E3E3E3; stroke-width: 2; stroke-linejoin: round; }
.pv-seg { fill: none; stroke: transparent; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 6 9; }
.pv-seg.is-on { stroke: var(--teal); animation: pvFlow 1.1s linear infinite; }
@keyframes pvFlow { to { stroke-dashoffset: -30; } }
.pv-node { position: absolute; transform: translate(-50%, -50%); padding: 0 !important; background: none !important; border: 0 !important; box-shadow: none !important; cursor: pointer; }
.pv-node__in { display: flex; flex-direction: column; align-items: center; gap: 0.45rem; transform: rotate(calc(var(--rot) * -1)); transition: transform 0.95s cubic-bezier(0.3, 0.7, 0.2, 1); }
.pv-node__n { display: grid; place-items: center; width: 58px; height: 58px; border-radius: 50%; background: #fff; border: 2px solid var(--slate-200); font-family: var(--v2-display); font-size: 1.05rem; font-weight: 800; color: var(--gray-700); transition: background-color 0.4s, border-color 0.4s, color 0.4s, transform 0.4s; }
.pv-node__t { font: 700 0.9375rem var(--v2-display); color: var(--gray-500); transition: color 0.4s; }
.pv-node.is-on .pv-node__n { background: var(--gray-900); border-color: var(--gray-900); color: #fff; transform: scale(1.1); }
.pv-node.is-on .pv-node__t { color: var(--gray-900); }
.pv-ring__core { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); display: grid; justify-items: center; gap: 0.5rem; pointer-events: none; }
.pv-ring__core img { width: 60px; height: auto; }
.pv-ring__core span { font-size: 0.6875rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--gray-500); }
.pv-visboxes { width: 100%; max-width: 400px; }
.pv-visbox { display: none; }
.pv-visbox.is-on { display: block; }
.pv-detail { display: none; }
.pv-detail.is-on { display: block; animation: pvFade 0.45s ease; }

/* Dica de avanço: progresso em 3 passos + instrução (rolagem no desktop, toque no celular) */
.pv-hint { display: flex; align-items: center; gap: 0.9rem; width: 100%; max-width: 400px; margin-top: 0.25rem; }
.pv-hint__bar { display: flex; gap: 6px; }
.pv-hint__bar i { width: 28px; height: 4px; border-radius: 2px; background: #E3E3E3; transition: background-color 0.4s; }
.pv-hint__bar i.is-done { background: var(--teal); }
.pv-hint__txt { font-size: 0.75rem; font-weight: 600; letter-spacing: 0.02em; color: var(--gray-500); }
.pv-hint__m { display: none; }
.pv-hint__d::after { content: "↓"; display: inline-block; margin-left: 0.4rem; animation: pvNudge 1.6s ease-in-out infinite; }
@keyframes pvNudge { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(3px); } }

/* Fecho do ciclo: o diferencial Rubeus */
.pv-cta { position: relative; display: flex; align-items: center; min-height: clamp(22rem, 30vw, 27rem); margin-top: 4.5rem; padding: 3.5rem; overflow: hidden; border-radius: 1.5rem; background: var(--gray-900); }
.pv-cta__copy { position: relative; z-index: 2; max-width: 33rem; }
.pv-cta .pv-title { max-width: 16ch; color: #fff; font-size: clamp(2rem, 3.3vw, 3rem); }
.pv-cta .pv-acc { color: var(--teal-bright, #3DD5D6); }
.pv-cta .pv-stage-label { color: var(--slate-400); }
.pv-cta__text { max-width: 30rem; margin: 0 0 1.75rem; font-size: 1.0625rem; line-height: 1.6; color: var(--slate-400); }
.pv-cta__photo { filter: saturate(0.78) contrast(1.05) brightness(0.88); position: absolute; right: 0; bottom: 0; z-index: 1; width: 68%; height: auto; -webkit-mask-image: linear-gradient(to right, transparent 6%, #000 44%), linear-gradient(to bottom, transparent 0, #000 18%); -webkit-mask-composite: source-in; mask-image: linear-gradient(to right, transparent 6%, #000 44%), linear-gradient(to bottom, transparent 0, #000 18%); mask-composite: intersect; pointer-events: none; }
.pv-cta__hex { position: absolute; top: 0; right: 0; z-index: 0; width: min(46%, 36rem); height: auto; -webkit-mask-image: linear-gradient(to left, #000 20%, transparent 95%); mask-image: linear-gradient(to left, #000 20%, transparent 95%); pointer-events: none; }
.pv-cta__hex path { fill: none; stroke: rgba(61,213,214,0.22); stroke-width: 1.6; }
.pv-cta__hex path.is-fill { fill: rgba(61,213,214,0.1); stroke: rgba(61,213,214,0.4); animation: pvHex 6s ease-in-out infinite alternate; }
.pv-cta__hex path.is-fill:nth-of-type(n+2) { animation-delay: -3s; }

/* O jeito Rubeus de ser: caixa escura; a foto recortada sai pelo topo e à direita; três depoimentos saem pela base */
.pv-cta--deps { overflow: visible; align-items: flex-start; min-height: clamp(27.5rem, 33vw, 29.5rem); padding: 3.25rem 3.5rem; margin-bottom: 9.5rem; }
.pv-cta--deps .pv-cta__copy { max-width: min(38rem, 50%); }
.pv-cta--deps .pv-title { max-width: 18ch; font-size: clamp(2rem, 2.9vw, 2.6rem); }
.pv-cta--deps .pv-cta__text { max-width: 36rem; }
/* botão como no modelo: teal cheio, texto escuro, sem caixa alta */
body.page-template-page-home-php .pv-cta--deps .btn-slab { text-transform: none; letter-spacing: 0; font-size: 1.0625rem !important; font-weight: 700; background: #0DA5A6 !important; color: #001110; box-shadow: none; padding: 1.05rem 1.75rem; border-radius: 0.6rem !important; }
body.page-template-page-home-php .pv-cta--deps .btn-slab:hover { background: #12BDBE !important; color: #001110; }
body.page-template-page-home-php .pv-cta--deps .pv-cta__text { font-size: 0.9375rem !important; line-height: 1.6; }
/* foto com o fundo do evento: o fundo (a partir de 5,92% do topo da imagem) cobre a caixa inteira, colado à base e à borda direita; a cabeça passa pelo topo. Altura = caixa / 0,9408 (106,2% deixa o fundo ~0,5px abaixo do topo, sem linha clara); o lado esquerdo da imagem é #1A1A1A, igual à caixa */
.pv-cta__cut { position: absolute; right: 0; bottom: 0; z-index: 1; width: auto; max-width: none; height: 106.2%; aspect-ratio: 2000 / 1064; pointer-events: none; user-select: none; }
.pv-deps { position: absolute; left: 3.5rem; top: calc(100% - 4.4rem); z-index: 3; display: grid; grid-template-columns: repeat(3, minmax(0, 15.25rem)); gap: 1.2rem; align-items: start; }
.pv-dep { position: relative; margin: 0; padding: 1.35rem 1.15rem 1rem; border: 1px solid #E4EEEE; border-radius: 0.75rem; background: #fff; color: var(--gray-900); box-shadow: 0 18px 38px -14px rgba(0,0,0,0.5); animation: pvDepFloat 7s ease-in-out infinite; will-change: translate, transform; transition: transform 0.35s var(--ease-out-smooth, ease-out), box-shadow 0.35s; }
.pv-dep:nth-child(1) { transform: rotate(-2deg); animation-delay: -1s; }
.pv-dep:nth-child(2) { transform: rotate(1.4deg) translateY(0.35rem); animation-delay: -3.5s; }
.pv-dep:nth-child(3) { transform: rotate(-1.4deg) translateY(0.1rem); animation-delay: -5.5s; }
.pv-dep:hover { animation-play-state: paused; transform: rotate(0) translateY(-0.5rem); box-shadow: 0 26px 46px -14px rgba(0,0,0,0.55); }
.pv-dep__mark { position: absolute; top: 0.1rem; left: 0.85rem; font: 800 2rem/1 var(--v2-display, inherit); color: var(--teal-ink-soft, #0A8F8F); }
.pv-dep blockquote { margin: 0.8rem 0 0.9rem; font-size: 0.875rem; line-height: 1.45; font-weight: 500; color: var(--gray-700, #3d4a4a); }
.pv-dep blockquote .v2-acc { color: var(--teal-ink-soft, #0A8F8F); font-weight: 700; }
.pv-dep figcaption { display: flex; align-items: center; gap: 0.55rem; padding-top: 0.7rem; border-top: 1px solid #E4EEEE; }
.pv-dep .dep-avatar { width: 2.4rem; height: 2.4rem; font-size: 0.75rem; }
.pv-dep figcaption b { display: block; font-size: 0.8125rem; line-height: 1.25; }
.pv-dep figcaption small { display: block; font-size: 0.6875rem; line-height: 1.3; color: var(--gray-500); }
/* flutua com a propriedade translate (compositor, sem recalcular o layout a cada quadro; antes animava margin-top e travava) */
@keyframes pvDepFloat { 0%, 100% { translate: 0 0; } 50% { translate: 0 -0.35rem; } }
/* cantos da foto seguem o arredondamento da caixa (1.5rem) no topo e na base à direita; a cabeça passa pelo topo */
@media (min-width: 1360px) {
  .pv-cta__cut { clip-path: polygon(-10% -30%, calc(100% - 1.5rem) -30%, calc(100% - 1.5rem) 5.92%, calc(100% - 0.75rem) calc(5.92% + 0.201rem), calc(100% - 0.201rem) calc(5.92% + 0.75rem), 100% calc(5.92% + 1.5rem), 100% calc(100% - 1.5rem), calc(100% - 0.201rem) calc(100% - 0.75rem), calc(100% - 0.75rem) calc(100% - 0.201rem), calc(100% - 1.5rem) 100%, -10% 100%); }
}
@media (prefers-reduced-motion: reduce) { .pv-dep { animation: none; } }
@media (max-width: 1359px) {
  .pv-cta.pv-cta--deps { flex-direction: column; align-items: stretch; min-height: 0; padding: 2rem 1.5rem 0; margin-bottom: 5.5rem; }
  .pv-cta--deps .pv-cta__copy { max-width: none; }
  .pv-cta--deps .pv-title { max-width: none; }
  .pv-cta__cut { position: relative; right: auto; bottom: auto; width: calc(100% + 3rem); max-width: none; height: auto; margin: 0.5rem -1.5rem 0; border-radius: 0 0 1.5rem 1.5rem; }
  .pv-deps { position: relative; left: auto; bottom: auto; grid-template-columns: repeat(auto-fit, minmax(13rem, 1fr)); gap: 1rem; margin: -1.5rem 0 -4rem; }
  .pv-dep:nth-child(n) { transform: none; animation: none; }
}
@keyframes pvHex { from { opacity: 0.4; } to { opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .pv-cta__hex path.is-fill { animation: none; } }

@media (max-width: 1023px) {
  .pv-cycle { height: auto; margin-top: 1.5rem; }
  .pv-cycle__sticky { position: static; display: block; }
  .pv-hint { justify-self: center; justify-content: center; }
  .pv-hint__d { display: none; }
  .pv-hint__m { display: inline; }
  .pv-cycle__grid { grid-template-columns: 1fr; gap: 1.5rem; }
  .pv-cycle__left { display: contents; }
  .pv-ring { order: 1; justify-self: center; max-width: 300px; }
  .pv-hint { order: 2; }
  .pv-details { order: 3; }
  .pv-visboxes { order: 4; justify-self: center; }
  .pv-cta { flex-direction: column; align-items: stretch; min-height: 0; padding: 2rem 2rem 0; }
  .pv-cta__copy { max-width: none; }
  .pv-cta .pv-title { max-width: none; }
  .pv-cta__photo { position: relative; right: auto; bottom: auto; width: calc(100% + 4rem); max-width: none; margin: 2rem -2rem 0; -webkit-mask-image: linear-gradient(to bottom, transparent 0, #000 22%); mask-image: linear-gradient(to bottom, transparent 0, #000 22%); }
  .pv-cta__hex { width: 70%; opacity: 0.6; }
}

/* ── Rubeus no Brasil: mapa 3D (Three.js) que sobe e colore estado a estado; o SVG plano é a reserva (celular, movimento reduzido, sem WebGL) ── */
body.page-template-page-home-php .brasil-map__state { fill: #E7E7E7; stroke: #fff; stroke-width: 350; transition: fill 0.7s ease var(--d, 0s); }
body.page-template-page-home-php .brasil-map.is-in .brasil-map__state { fill: var(--mapa-estado); }

.brasil-map__pin { transform-box: fill-box; transform-origin: 50% 100%; opacity: 0; transform: translateY(-5500px); transition: transform 0.65s cubic-bezier(0.34, 1.56, 0.64, 1) var(--md, 1s), opacity 0.3s ease var(--md, 1s); }
.brasil-map.is-in .brasil-map__pin { opacity: 1; transform: none; }
.brasil-map__pin-body { fill: var(--mapa-pino); }
.brasil-map__pin-eye { fill: #fff; }
body.page-template-page-home-php .brasil-map .brasil-map__pulse { r: 1500; opacity: 0; animation: none; fill: var(--mapa-pulso); transform: scale(0.4, 0.18); }
body.page-template-page-home-php .brasil-map.is-in .brasil-map__marker .brasil-map__pulse { animation: brPinPulse 2.8s ease-out infinite; animation-delay: calc(var(--md, 1s) + 0.6s); }
@keyframes brPinPulse { 0% { transform: scale(0.4, 0.18); opacity: 0.7; } 100% { transform: scale(2.8, 1.1); opacity: 0; } }

/* Camada 3D: canvas sobre o mapa; o SVG só mantém o espaço e fica invisível quando o 3D está ativo.
   O contêiner é absoluto e "contido" para que o tamanho do canvas nunca influencie o layout da página. */
.brasil-map__gl { display: none; position: absolute; inset: 0; overflow: hidden; contain: size layout paint; }
.brasil-map__gl canvas { position: absolute; left: 0; top: 0; display: block; width: 100%; height: 100%; max-width: 100%; max-height: 100%; }
.brasil-map[data-map="gl"] .brasil-map__gl { display: block; }
.brasil-map[data-map="gl"] .brasil-map__svg { visibility: hidden; }
.brasil-gl-pin { position: absolute; left: 0; top: 0; width: 0; height: 0; pointer-events: none; }
.brasil-gl-pin svg { position: absolute; left: -14px; top: -37px; width: 28px; height: 37px; opacity: 0; transform: translateY(-34px); transition: transform 0.65s cubic-bezier(0.34, 1.56, 0.64, 1) var(--md, 1s), opacity 0.3s ease var(--md, 1s); }
.brasil-map.is-in .brasil-gl-pin svg { opacity: 1; transform: none; }
.brasil-gl-pin__pulse { position: absolute; left: -11px; top: -5px; width: 22px; height: 10px; border-radius: 50%; background: var(--mapa-pulso); opacity: 0; }
.brasil-map.is-in .brasil-gl-pin__pulse { animation: brGlPulse 2.8s ease-out infinite; animation-delay: calc(var(--md, 1s) + 0.6s); }
@keyframes brGlPulse { 0% { transform: scale(0.4); opacity: 0.7; } 100% { transform: scale(2.6, 2); opacity: 0; } }

/* Celular: coluna do texto do mapa não pode ser mais larga que a tela; estatísticas empilham */
@media (max-width: 767px) {
  body.page-template-page-home-php .brasil__grid { grid-template-columns: minmax(0, 1fr); gap: 2rem; }
  body.page-template-page-home-php .brasil__copy-col { min-width: 0; }
  body.page-template-page-home-php .brasil__stats { grid-template-columns: 1fr; gap: 1.1rem; }
  body.page-template-page-home-php .brasil-stat { padding: 0; }
  body.page-template-page-home-php .brasil-stat + .brasil-stat { padding-top: 1.1rem; border-left: 0; border-top: 1px solid #E6E6E6; }
  body.page-template-page-home-php .brasil-stat__label { white-space: normal; }
}

/* ── Bento "O motor que orquestra": dois modelos para decidir (2 fluxo, 3 camadas) ── */
body.page-template-page-home-php .platform-scroll { background: var(--gray-900); padding-block: 8rem 7rem; }
body.page-template-page-home-php .platform-scroll__header-title { color: #fff; font-size: clamp(2.2rem, 4.2vw, 3.5rem); line-height: 1.05; letter-spacing: -0.035em; }
/* Cabeçalho dividido: título grande à esquerda, texto à direita (como no Salesloft) */
body.page-template-page-home-php .bento__header { max-width: none; margin: 0; text-align: left; display: grid; gap: 1rem 4rem; align-items: end; }
body.page-template-page-home-php .bento__header > * { margin-top: 0; }
body.page-template-page-home-php .bento__header .eyebrow-pill { align-self: start; justify-self: start; padding-left: 0; }
body.page-template-page-home-php .platform-scroll__header-title { margin: 0; max-width: 24ch; text-align: left; font-size: clamp(2.8rem, 5vw, 4.6rem); line-height: 1.02; }
body.page-template-page-home-php .platform-scroll__header-subtitle { margin: 0; max-width: 34rem; text-align: left; font-size: 1.0625rem; line-height: 1.65; color: var(--slate-400); }
/* "sua operação." nunca se separa; no desktop vai sempre inteira para a segunda linha */
.bt-keep { white-space: nowrap; }
@media (min-width: 1024px) {
  .platform-scroll__header-title { white-space: nowrap; }
  .bt-keep { display: block; }
}
@media (min-width: 1024px) {
  body.page-template-page-home-php .bento__header { grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr); grid-template-areas: "eyebrow eyebrow" "title sub"; row-gap: 1.25rem; }
  body.page-template-page-home-php .bento__header .eyebrow-pill { grid-area: eyebrow; }
  body.page-template-page-home-php .platform-scroll__header-title { grid-area: title; }
  body.page-template-page-home-php .platform-scroll__header-subtitle { grid-area: sub; padding-bottom: 0.4rem; }
}

.bt-eyebrow { display: flex; align-items: center; gap: 0.75rem; margin: 0 0 0.8rem; font-size: 0.75rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--slate-400); }
.bt-title { margin: 0 0 1rem; font-family: var(--v2-display); font-size: clamp(1.7rem, 2.5vw, 2.25rem); font-weight: 800; line-height: 1.05; letter-spacing: -0.03em; color: #fff; }
.bt-body { max-width: 36rem; margin: 0 0 1.25rem; font-size: 1rem; line-height: 1.7; color: var(--slate-400); }
.bt-pane { display: none; }
.bt-pane.is-on { display: block; animation: pvFade 0.4s ease; }
.bt-pane .bento__points { gap: 0.9rem; max-width: 36rem; }
.bt-pane .bento__examples { max-width: 36rem; }
.bt-pane .bento__example { background: transparent; border-color: rgba(255,255,255,0.12); }
.bt-metric { display: flex; flex-direction: column; gap: 0.25rem; margin-top: 1.5rem; }
.bt-metric b { font-family: var(--v2-display); font-size: clamp(2rem, 3vw, 2.6rem); font-weight: 800; letter-spacing: -0.03em; line-height: 1; color: var(--teal-bright); }
.bt-metric b span { color: var(--gray-500); font-weight: 600; }
.bt-metric small { font-size: 0.8125rem; font-weight: 600; color: var(--gray-500); }
.bt-scene .pv-stage { max-width: 480px; margin-inline: auto; }
.bt-rows { display: grid; margin: 2px 0 4px; }
.bt-rows span { display: flex; align-items: center; justify-content: space-between; padding: 6px 0; border-top: 1px solid var(--gray-100); font-size: 11px; font-weight: 600; }
.bt-rows span:first-child { border-top: 0; }
.bt-rows i { font-style: normal; }
.bt-rows em { width: 26px; height: 14px; border-radius: 999px; background: var(--teal); position: relative; }
.bt-rows em::after { content: ""; position: absolute; right: 2px; top: 2px; width: 10px; height: 10px; border-radius: 50%; background: #fff; }

.bt-visbox { display: none; }
.bt-visbox.is-on { display: block; }
.bt-eyebrow { gap: 0; }

/* A · Hub: o motor Rubeus no centro e os quatro pilares ao redor, todos com o mesmo peso */

/* B · Abas: quatro abas de igual peso, com ícone e sem numeração */
.bt-tabbar { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 0.75rem; margin-bottom: 3.25rem; }
.bt-tab { display: flex !important; align-items: center; justify-content: center; gap: 0.6rem; padding: 0.95rem 1rem !important; border: 1px solid rgba(255,255,255,0.14) !important; border-radius: 0.9rem !important; background: transparent !important; color: var(--slate-400) !important; font: 700 1rem var(--v2-display) !important; cursor: pointer; transition: background-color 0.3s, color 0.3s, border-color 0.3s; }
.bt-tab:hover { border-color: rgba(61,213,214,0.5) !important; color: #fff !important; }
.bt-tab.is-on { background: #fff !important; border-color: #fff !important; color: var(--gray-900) !important; }
.bt-tabs__body { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 0.9fr); gap: 4rem; align-items: start; }

@media (max-width: 1023px) {
  .bt-tabbar { grid-template-columns: repeat(2, minmax(0, 1fr)); margin-bottom: 1.5rem; }
}

/* Chips do pilar Construtores */
.bt-chiprow { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 1.5rem; max-width: 36rem; }
.bt-chiprow span { padding: 0.4rem 0.8rem; border: 1px solid rgba(255,255,255,0.18); border-radius: 8px; font-size: 0.8125rem; font-weight: 600; color: var(--slate-200); }

/* Seção "Construtores" antiga: oculta; o conteúdo foi para o 5º pilar do motor (decidir depois se sai de vez) */

/* Vídeo da Ana, em seção própria abaixo do hero. */

/* ── Slider de cases: setas, contador e "próximo" ── */
.provas__nav { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 0.75rem; margin: 0 auto 1.5rem; }
.provas-arrow {
  display: inline-flex; align-items: center; justify-content: center; width: 46px; height: 46px; border-radius: 50%;
  background: #fff; border: 1.5px solid var(--gray-300); color: var(--gray-900); cursor: pointer;
  transition: border-color 0.2s, background-color 0.2s, color 0.2s, transform 0.15s;
}
.provas-arrow:hover { border-color: var(--teal); background: var(--teal); color: #fff; }
.provas-arrow:active { transform: scale(0.94); }
.provas__count { font-weight: 700; font-size: 0.9375rem; color: var(--gray-500); margin-left: 0.5rem; font-variant-numeric: tabular-nums; }
.provas__count b { color: var(--gray-900); }
.provas__next { font-size: 0.8125rem; color: var(--gray-500); margin-left: 0.75rem; }
.provas__next b { color: var(--teal); font-weight: 700; }
#provasSlider:focus-visible { outline: 2px solid var(--teal); outline-offset: 6px; border-radius: 16px; }

/* ── CTA final em cartão ── */
.v2-final { background: var(--teal-deep); padding-block: 7rem 7.5rem; }
.v2-final__inner { max-width: 62rem; margin-inline: auto; text-align: center; }
.v2-final__kicker { font-size: 0.75rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: rgba(255,255,255,0.6); margin: 0 0 1.5rem; }
.v2-final__title { font-family: var(--v2-display); font-weight: 800; font-size: var(--title-cta); line-height: 1.04; letter-spacing: -0.035em; color: #fff; margin: 0; text-wrap: balance; }
.v2-final__title span { color: var(--teal-bright) !important; }
.v2-final .btn-primary { background: #fff !important; color: var(--teal-deep) !important; border-color: #fff !important; box-shadow: none !important; }
.v2-final .btn-primary:hover { background: var(--teal-bright) !important; border-color: var(--teal-bright) !important; }
.v2-final__micro { margin: 1.5rem 0 0; font-size: 0.875rem; color: rgba(255,255,255,0.65); }

/* ── Ecossistema: seção em verde escuro da marca (depois da Prova social, que é clara). Logos brancas, cards em verde mais claro. ── */
body.page-template-page-home-php #ecossistema-parcerias { background: var(--teal-deep) !important; background-image: none !important; padding-block: 7rem 6.5rem; }
body.page-template-page-home-php .ecossistema .eyebrow-pill--light { color: rgba(255,255,255,0.65); opacity: 1; letter-spacing: 0.12em; }
body.page-template-page-home-php .ecossistema .section-title { color: #fff; font-size: clamp(2.4rem, 4.6vw, 4.2rem) !important; line-height: 1.05; letter-spacing: -0.035em; text-wrap: balance; }
body.page-template-page-home-php .ecossistema .section-title span { color: var(--teal-bright) !important; }
body.page-template-page-home-php .ecossistema .section-header { max-width: 60rem; }
body.page-template-page-home-php .ecossistema .section-subtitle { color: #C5DCDC; max-width: 56rem; margin-inline: auto; text-wrap: balance; }
body.page-template-page-home-php .ecossistema-block { background: #005454; border: 1px solid rgba(255,255,255,0.12); box-shadow: none; }
body.page-template-page-home-php .ecossistema-block:hover { border-color: rgba(61,213,214,0.45); }
body.page-template-page-home-php .ecossistema-block__title { color: #fff; }
body.page-template-page-home-php .ecossistema-block__title span { color: var(--teal-bright) !important; }
body.page-template-page-home-php .ecossistema-block__text,
body.page-template-page-home-php .ecossistema-block__points span:last-child { color: #C5DCDC; }
body.page-template-page-home-php .ecossistema-block__points .icon { color: var(--teal-bright) !important; }
body.page-template-page-home-php .ecossistema-block__cta { color: var(--teal-bright); background: none; border: 0; padding: 0; cursor: pointer; }
body.page-template-page-home-php .ecossistema-stat { background: rgba(255,255,255,0.07); border-color: rgba(255,255,255,0.14); }
body.page-template-page-home-php .ecossistema-stat__value { color: var(--teal-bright); }
body.page-template-page-home-php .ecossistema-stat__label { color: #C5DCDC; }
body.page-template-page-home-php .ecossistema-block__pills span { background: rgba(255,255,255,0.04); border-color: rgba(255,255,255,0.14); color: var(--slate-200); }
body.page-template-page-home-php .ecossistema-block__visual { background: #003D3D; }
body.page-template-page-home-php .partner-card { background: #005454; border-color: rgba(255,255,255,0.14); }
body.page-template-page-home-php .partner-card__sub { color: #C5DCDC; }
body.page-template-page-home-php .partner-card__check { background: rgba(61,213,214,0.12); color: var(--teal-bright); border-color: rgba(61,213,214,0.35); }
/* Logos brancas por máscara (a mesma técnica do modelo claro; aqui em branco) */
body.page-template-page-home-php .partner-card__logo { display: block; height: 2.5rem; width: auto; aspect-ratio: var(--ar); max-width: 100%; background-color: var(--logo-c, #fff); -webkit-mask: var(--logo) left center / contain no-repeat; mask: var(--logo) left center / contain no-repeat; }
@media (min-width: 1024px) { body.page-template-page-home-php .partner-card__logo { height: 3rem; } }

/* ── Prova social: título grande; setas abaixo do card ── */
body.page-template-page-home-php .provas__heading { margin-bottom: 2.75rem; }
body.page-template-page-home-php .provas__heading h2 { max-width: 22ch; margin-inline: auto; color: var(--gray-900); font-family: var(--v2-display); font-weight: 800; font-size: clamp(2.2rem, 4.2vw, 3.5rem); line-height: 1.05; letter-spacing: -0.035em; text-transform: none; }
body.page-template-page-home-php .provas__nav { margin: 2rem auto 0; }
body.page-template-page-home-php .provas__dna { margin: 0 auto 2.5rem; width: auto; max-width: 68rem; flex-direction: row; justify-content: center; align-items: flex-start; gap: 0.75rem; padding: 0; background: none; border: 0; box-shadow: none; text-align: center; }
body.page-template-page-home-php .provas__dna span:last-child { font-size: 1rem; line-height: 1.6; color: var(--gray-700); text-align: center; }
body.page-template-page-home-php .provas__dna .provas__dna-icon { display: inline-block; vertical-align: -0.4rem; margin: 0 0.6rem 0 0; }
body.page-template-page-home-php .provas__dna strong { display: inline; margin: 0; font-size: 1rem; letter-spacing: 0; color: var(--teal); }

/* ── Impacto: quatro áreas em linha ── */
body.page-template-page-home-php .impacto { background: var(--gray-900); border-top: 0; padding-block: 7rem 6.5rem; }
body.page-template-page-home-php .impacto .eyebrow-pill--dark { color: var(--slate-400); opacity: 1; letter-spacing: 0.12em; }
body.page-template-page-home-php .impacto .section-header { max-width: 76rem; margin-bottom: 3rem; }
body.page-template-page-home-php .impacto .im-title { font-size: clamp(1.9rem, 3.7vw, 3.6rem); line-height: 1.08; letter-spacing: -0.035em; color: #fff; }
@media (min-width: 1000px) { body.page-template-page-home-php .impacto .im-title { white-space: nowrap; } }
body.page-template-page-home-php .impacto .section-subtitle { color: var(--slate-400); max-width: 44rem; margin-inline: auto; text-wrap: balance; }
.im-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0 3rem; }
.im-card { display: flex; flex-direction: column; padding: 0.25rem 0 0.5rem; }
.im-card__area { margin: 0 0 0.5rem; font-size: 0.75rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--slate-400); }
.im-card__title { margin: 0 0 0.7rem; font-family: var(--v2-display); font-weight: 800; font-size: 1.5rem; letter-spacing: -0.02em; line-height: 1.15; color: #fff; }
.im-card__copy { margin: 0; font-size: 0.9375rem; line-height: 1.65; color: var(--slate-400); }
@media (max-width: 1100px) { .im-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 3rem 2.5rem; } }
@media (max-width: 640px) { .im-grid { grid-template-columns: 1fr; gap: 2.5rem; } }

/* ── Especialistas em CX: título grande, abas + retrato com peças da plataforma, faixa de recrutamento clara ── */
body.page-template-page-home-php .especialistas { background: var(--gray-50); padding-block: 7rem 6.5rem; }
body.page-template-page-home-php .especialistas .eyebrow-pill--light { color: var(--gray-500); opacity: 1; letter-spacing: 0.12em; }
.es-header { max-width: 60rem; margin: 0 auto 4rem; text-align: center; }
body.page-template-page-home-php .es-title { font-size: clamp(2.4rem, 5.4vw, 4.6rem); line-height: 1.05; letter-spacing: -0.035em; color: var(--gray-900); }
@media (min-width: 900px) { .es-title > span { display: block; } }
body.page-template-page-home-php .es-header .section-subtitle { color: var(--gray-700); max-width: 56rem; margin: 1.5rem auto 0; text-wrap: balance; }
body.page-template-page-home-php .especialistas-panel { margin-bottom: 4rem; }
body.page-template-page-home-php .especialistas-tab.is-active { box-shadow: none; background: #fff; }
body.page-template-page-home-php .especialistas-panel__detail { box-shadow: none; border-color: #E4E6E6; padding: 2.5rem; min-height: 0; overflow: visible; }
body.page-template-page-home-php .especialista-detail.is-active { display: grid; grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr); align-items: center; gap: 3.5rem; }
.es-photo { position: relative; }
.es-photo img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 1.25rem; background: #E9E9E9; }
.es-piece { position: absolute; display: flex; flex-direction: column; align-items: flex-start; gap: 3px; width: max-content; max-width: 15rem; padding: 10px 12px; background: #fff; border-radius: 12px; box-shadow: 0 8px 22px rgba(26,26,26,0.14), 0 0 0 1px rgba(26,26,26,0.06); opacity: 0; }
.es-piece small { display: block; font-size: 9.5px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--gray-500); }
.es-piece b { font-size: 12.5px; line-height: 1.3; color: var(--gray-900); }
.es-piece .ui-chip { margin-top: 4px; }
.es-piece--1 { left: -1.75rem; bottom: 7%; }
.es-piece--2 { right: -1.75rem; bottom: 24%; }
.especialista-detail.is-active .es-piece { animation: ui-in 0.55s var(--ease-out-smooth) var(--d, 0s) both, ui-float 7s ease-in-out calc(var(--d, 0s) + 0.6s) infinite; }
.es-bar { display: block; width: 100%; height: 6px; margin-top: 4px; background: #E9E9E9; border-radius: 3px; overflow: hidden; }
.es-bar i { display: block; width: var(--w); height: 100%; background: var(--teal); transform-origin: left; }
.especialista-detail.is-active .es-bar i { animation: ui-grow 1.2s 0.9s var(--ease-out-smooth) both; }
.es-copy { display: flex; flex-direction: column; gap: 1.1rem; }
body.page-template-page-home-php .especialista-detail__eyebrow { color: var(--gray-500); letter-spacing: 0.12em; }
body.page-template-page-home-php .es-copy h3 { font-family: var(--v2-display); font-weight: 800; font-size: clamp(1.5rem, 2.2vw, 1.9rem); line-height: 1.1; letter-spacing: -0.03em; color: var(--gray-900); }
body.page-template-page-home-php .es-copy p:not(.especialista-detail__eyebrow) { font-size: 1.0625rem; line-height: 1.65; color: var(--gray-700); max-width: 34rem; }
@media (max-width: 1023px) {
  body.page-template-page-home-php .especialista-detail.is-active { grid-template-columns: 1fr; gap: 2.5rem; }
  .es-photo { display: flex; flex-wrap: wrap; gap: 0.75rem; max-width: 22rem; margin-inline: auto; }
  .es-photo img { flex: 0 0 100%; }
  .es-piece, .es-piece--1, .es-piece--2 { position: relative; left: auto; right: auto; bottom: auto; flex: 1 1 9rem; width: auto; max-width: none; }
}
@media (max-width: 520px) { body.page-template-page-home-php .especialistas-panel__detail { padding: 1.5rem; } }
body.page-template-page-home-php .especialistas-recruit { flex-direction: column; align-items: center; gap: 1.25rem; padding: 4rem 0 0; background: none; border: 0; border-top: 1px solid #E4E6E6; border-radius: 0; box-shadow: none; text-align: center; }
body.page-template-page-home-php .especialistas-recruit__glow { display: none; }
.especialistas-recruit__eyebrow { margin: 0; font-size: 0.75rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--gray-500); }
body.page-template-page-home-php .especialistas-recruit__copy { align-items: center; max-width: 40rem; gap: 0.75rem; }
body.page-template-page-home-php .especialistas-recruit__copy h3 { color: var(--gray-900); font-family: var(--v2-display); font-weight: 800; font-size: clamp(1.5rem, 2.4vw, 2rem); letter-spacing: -0.025em; line-height: 1.15; text-wrap: balance; }
body.page-template-page-home-php .especialistas-recruit__copy p { color: var(--gray-700); font-size: 1rem; }
body.page-template-page-home-php .especialistas-recruit__cta { background: transparent !important; color: var(--gray-900) !important; border: 1.5px solid var(--gray-900) !important; box-shadow: none !important; }
body.page-template-page-home-php .especialistas-recruit__cta:hover { background: var(--gray-900) !important; color: #fff !important; }

/* ── Rodapé da home-v2 ── */
.ft2 { background: var(--gray-900); color: var(--slate-400); padding-block: 5rem 2rem; }
.ft2__top { display: flex; flex-wrap: wrap; align-items: flex-start; justify-content: space-between; gap: 2.5rem 4rem; padding-bottom: 3.5rem; border-bottom: 1px solid rgba(255,255,255,0.1); }
.ft2__brand { max-width: 26rem; }
.ft2__logo { display: block; height: 2rem; width: auto; margin-bottom: 1.25rem; filter: brightness(0) invert(1); }
.ft2__brand p, .ft2__news p { margin: 0; font-size: 0.9375rem; line-height: 1.65; color: var(--slate-400); }
.ft2__news { max-width: 28rem; display: flex; flex-direction: column; align-items: flex-start; gap: 1.25rem; }
.ft2__btn { display: inline-flex; align-items: center; gap: 0.5rem; padding: 0.75rem 1.4rem; border: 1.5px solid #fff; border-radius: 0.6rem; color: #fff; font-size: 0.875rem; font-weight: 600; transition: background-color 0.2s, color 0.2s; }
.ft2__btn:hover { background: #fff; color: var(--gray-900); }
.ft2__grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 3rem 2rem; padding-block: 3.5rem; }
.ft2 .footer__col h4, .ft2 .footer__col-title { margin: 0 0 1.1rem; color: #fff; font-family: var(--v2-display); font-size: 1rem; font-weight: 700; letter-spacing: 0; }
.ft2 .footer__col ul { display: flex; flex-direction: column; gap: 0.7rem; margin: 0; padding: 0; list-style: none; }
.ft2 .footer__col a { color: var(--slate-400); font-size: 0.9375rem; transition: color 0.2s; }
.ft2 .footer__col a:hover { color: var(--teal-bright); }
.ft2 .footer__col li { display: flex; flex-direction: column; gap: 0.1rem; }
.ft2__label { font-size: 0.75rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--gray-500); }
.ft2__bottom { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem; padding-top: 1.75rem; border-top: 1px solid rgba(255,255,255,0.1); font-size: 0.8125rem; color: var(--gray-500); }
.ft2 .footer__bottom-links { display: flex; flex-wrap: wrap; gap: 1.5rem; }
.ft2 .footer__bottom-links a { color: var(--gray-500); transition: color 0.2s; }
.ft2 .footer__bottom-links a:hover { color: #fff; }
@media (max-width: 1100px) { .ft2__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 640px) { .ft2 { padding-block: 3.5rem 1.75rem; } .ft2__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .ft2__bottom { flex-direction: column; align-items: flex-start; } }
.ft2__contact { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 2rem 3rem; padding-block: 2.25rem; border-top: 1px solid rgba(255,255,255,0.1); }
.ft2__contact-info { display: flex; flex-wrap: wrap; gap: 1.5rem 3.5rem; }
.ft2__contact-info > div { display: flex; flex-direction: column; gap: 0.15rem; }
.ft2__contact-info a { color: var(--slate-400); font-size: 0.9375rem; transition: color 0.2s; }
.ft2__mails { display: flex; flex-wrap: wrap; align-items: center; gap: 0 0.6rem; }
.ft2__sep { color: rgba(255,255,255,0.3); font-size: 0.9375rem; }
.ft2__contact-info a:hover { color: var(--teal-bright); }
.ft2__social { display: flex; gap: 0.6rem; }
.ft2__social a { display: grid; place-items: center; width: 2.75rem; height: 2.75rem; border: 1px solid rgba(255,255,255,0.18); border-radius: 50%; color: var(--slate-200); transition: border-color 0.2s, color 0.2s, background-color 0.2s; }
.ft2__social a:hover { border-color: var(--teal-bright); color: var(--teal-bright); }
.ft2__social svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

/* ── Integração Just-in-Time: cabeçalho dividido, três pontos em linha, fechamento em duas colunas ── */
body.page-template-page-home-php .integracao { padding-block: 9.5rem 9rem; }
.jit-header { margin: 0 0 7rem; }
.jit-header .eyebrow-pill { margin: 0 0 1.75rem; padding-left: 0; text-align: left; }
body.page-template-page-home-php .integracao .section-title.jit-title { margin: 0; font-size: clamp(2.4rem, 4.6vw, 4.2rem) !important; line-height: 1.04; letter-spacing: -0.04em; color: #fff; text-align: left; text-wrap: balance; }
body.page-template-page-home-php .integracao .jit-header .section-subtitle { margin: 1.5rem 0 0; max-width: 34rem; text-align: left; }
@media (min-width: 1024px) {
  .jit-header { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 0.7fr); grid-template-areas: "eyebrow eyebrow" "title sub"; column-gap: 5rem; row-gap: 0; align-items: end; }
  .jit-header .eyebrow-pill { grid-area: eyebrow; }
  .jit-title { grid-area: title; }
  .jit-header .section-subtitle { grid-area: sub; margin-top: 0 !important; padding-bottom: 0.5rem; }
}
.jit-flow { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 4rem; }
.jit-col { display: flex; flex-direction: column; }
.jit-icon { display: grid; place-items: center; width: 48px; height: 48px; margin-bottom: 1.5rem; border: 1px solid rgba(61,213,214,0.55); border-radius: 50%; color: var(--teal-bright); }
.jit-icon .icon { width: 22px; height: 22px; }
.jit-point-title { margin: 0 0 0.6rem; font-family: var(--v2-display); font-weight: 800; font-size: 1.5rem; letter-spacing: -0.02em; line-height: 1.15; color: #fff; }
.jit-point-text { margin: 0; font-size: 0.9375rem; line-height: 1.65; color: var(--slate-400); max-width: 22rem; }
.jit-close { display: flex; align-items: center; justify-content: space-between; gap: 2rem 3rem; margin-top: 7rem; padding: 3rem 3.5rem; background: #242424; border: 1px solid rgba(255,255,255,0.08); border-radius: 1.5rem; }
.jit-close__copy { max-width: 40rem; }
.jit-close h3 { margin: 0; font-family: var(--v2-display); font-weight: 800; font-size: clamp(1.4rem, 2.2vw, 2rem); line-height: 1.15; letter-spacing: -0.02em; color: #fff; text-wrap: balance; }
.jit-close p { margin: 0.75rem 0 0; font-size: 1rem; line-height: 1.65; color: var(--slate-400); }
.jit-close .btn { flex-shrink: 0; }
@media (max-width: 760px) { .jit-close { flex-direction: column; align-items: flex-start; padding: 2rem 1.5rem; margin-top: 5rem; } }
@media (max-width: 900px) { body.page-template-page-home-php .integracao { padding-block: 6rem 5.5rem; } .jit-header { margin-bottom: 4rem; } .jit-flow { grid-template-columns: 1fr; gap: 3rem; }  .jit-point-text { max-width: none; } }

/* Integração Just-in-Time em verde escuro da marca */
body.page-template-page-home-php .integracao { background: var(--teal-deep); }
body.page-template-page-home-php .integracao .eyebrow-pill--light { color: rgba(255,255,255,0.65); }
body.page-template-page-home-php .integracao .section-subtitle { color: #C5DCDC; }
.integracao .jit-point-text { color: #C5DCDC; }
.integracao .jit-icon { border-color: rgba(61,213,214,0.7); }
.integracao .jit-close { background: #005454; border-color: rgba(255,255,255,0.12); }
.integracao .jit-close p { color: #C5DCDC; }

/* Menu: entre 768 e 1099 px o menu completo não cabe (o botão de demonstração saía da tela); usa o menu lateral do celular */
@media (min-width: 768px) and (max-width: 1099px) {
  body.page-template-page-home-php .navbar__links, body.page-template-page-home-php .navbar__cta { display: none !important; }
  body.page-template-page-home-php .navbar__burger { display: flex; }
  body.page-template-page-home-php .mobile-menu { display: flex !important; }
  body.page-template-page-home-php .mobile-menu-backdrop { display: block !important; }
}

/* O menu lateral fechado deixava a sombra vazar na borda direita da tela */
body.page-template-page-home-php .mobile-menu:not(.is-open) { box-shadow: none; }

/* CTAs secundários: link de texto (Impacto) e botão de contorno (Integração) */
.v2-textlink { display: inline-flex; align-items: center; gap: 0.5rem; color: var(--teal-bright); font-size: 1rem; font-weight: 600; text-decoration: underline; text-underline-offset: 0.35em; text-decoration-color: rgba(61,213,214,0.45); transition: text-decoration-color 0.2s; }
.v2-textlink:hover { text-decoration-color: var(--teal-bright); }
.impacto .v2-cta-row { margin-top: 4rem; }
body.page-template-page-home-php .jit-close__btn { background: transparent !important; color: #fff !important; border: 1.5px solid #fff !important; box-shadow: none !important; }
body.page-template-page-home-php .jit-close__btn:hover { background: #fff !important; color: var(--teal-deep) !important; }

/* ── Escala padrão dos títulos de seção (o css/blog.css força 2,6rem, por isso !important) ──
   A: cabeçalho de seção (largura total) · B: título em coluna ao lado de imagem/mapa · C: Impacto (uma linha, mais longa) · hero e CTA final ficam maiores */
body.page-template-page-home-php :is(.integracao .section-title.jit-title, .pilares .section-title, .platform-scroll__header-title, .provas__heading h2, .ecossistema .section-title, .es-title) { font-size: var(--title-section) !important; line-height: 1.05; letter-spacing: -0.035em; }
body.page-template-page-home-php :is(.contraste__title, .brasil__title, .apis__title) { font-size: var(--title-section) !important; line-height: 1.06; letter-spacing: -0.03em; }
body.page-template-page-home-php .impacto .im-title { font-size: clamp(1.8rem, 3vw, 2.8rem) !important; }
body.page-template-page-home-php .es-header { max-width: 72rem; }
body.page-template-page-home-php .pilares .section-header { max-width: 72rem; }
body.page-template-page-home-php .pilares .section-title { text-wrap: balance; }

/* Parcerias: dois cards lado a lado (logo em cima, texto embaixo) */
.eco-pair { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.5rem; }
@media (max-width: 900px) { .eco-pair { grid-template-columns: 1fr; } }
body.page-template-page-home-php .eco-pair .ecossistema-block { display: flex; flex-direction: column; }
body.page-template-page-home-php .eco-pair .ecossistema-block__grid { display: flex; flex-direction: column; flex: 1; }
body.page-template-page-home-php .eco-pair .ecossistema-block__visual { order: -1; min-height: 0; padding: 2.5rem 2.5rem 0; background: transparent; }
body.page-template-page-home-php .eco-pair .ecossistema-block__copy { padding: 2rem 2.5rem 2.75rem; flex: 1; }
body.page-template-page-home-php .eco-pair .partner-card { max-width: none; padding: 1.75rem 2rem; }
body.page-template-page-home-php .eco-pair .ecossistema-block__text { margin-bottom: 1.25rem; }
/* Dores: sem o cartão de citação, o bloco de problemas respira sozinho */
body.page-template-page-home-php .contraste .problems { margin-top: 5rem; }
body.page-template-page-home-php .contraste__subtitle strong { color: var(--gray-900); font-weight: 700; }
body.page-template-page-home-php .contraste { padding-block: 6.5rem 6rem; }
body.page-template-page-home-php .contraste .problems { margin-top: 4rem; }
body.page-template-page-home-php .contraste .problems__header { margin-bottom: 2.5rem; }

/* Barra de rolagem em cinza (a padrão do tema é verde) */
@media (hover: hover) and (pointer: fine) {
  ::-webkit-scrollbar-thumb { background: var(--slate-400); }
  ::-webkit-scrollbar-thumb:hover { background: var(--gray-500); }
  html { scrollbar-color: var(--slate-400) var(--gray-100); }
}

/* ── Escala 17/10: textos de apoio e títulos de cases um pouco menores ── */
body.page-template-page-home-php :is(.section-subtitle, .apis__lead, .contraste__subtitle, .platform-scroll__header-subtitle, .pv-cta__text) { font-size: 1.0625rem !important; }
body.page-template-page-home-php .provas h3 { font-size: clamp(1.4rem, 2.2vw, 1.75rem) !important; line-height: 1.2; }
body.page-template-page-home-php .im-card__title, body.page-template-page-home-php .jit-point-title { font-size: 1.25rem !important; }

/* ── Acessibilidade (auditoria de 17/10): contraste, foco e alvos de toque ── */
body.page-template-page-home-php .btn-primary { background: var(--teal-ink) !important; border-color: var(--teal-ink) !important; }
body.page-template-page-home-php .btn-primary:hover { background: var(--teal-ink-hover) !important; border-color: var(--teal-ink-hover) !important; }
.ft2 .footer__col a { color: #B5B5B5; }
.ft2__bottom, .ft2__label, .ft2__bottom a { color: var(--slate-400); }
body.page-template-page-home-php :is(a, button, summary, [tabindex="0"]):focus-visible { outline: 2px solid var(--teal-bright); outline-offset: 3px; border-radius: 4px; }
body.page-template-page-home-php :is(.pilares, .contraste, .provas, .brasil, .apis) :is(a, button):focus-visible { outline-color: var(--teal-ink); }
body.page-template-page-home-php .navbar__link, body.page-template-page-home-php .navbar__login, .ft2 .footer__col a, .ft2__bottom a, .ft2__contact-info a { position: relative; }
body.page-template-page-home-php .navbar__link::before, body.page-template-page-home-php .navbar__login::before, .ft2 .footer__col a::before, .ft2__bottom a::before, .ft2__contact-info a::before { content: ""; position: absolute; inset: -0.6rem -0.35rem; }

/* Contraste do rodapé (o css/blog.css força cinzas escuros com !important) */
footer.ft2 .footer__col a { color: #B5B5B5 !important; }
footer.ft2 .footer__col a:hover { color: var(--teal-bright) !important; }
footer.ft2 .footer__bottom-links a { color: var(--slate-400) !important; }
footer.ft2 .footer__bottom-links a:hover { color: #fff !important; }


/* ── Celular: hero maior e centralizado; mapa, depoimento e números do Brasil ── */
@media (max-width: 1023px) {
  .hero__title.hv2-words { align-items: center; text-align: center; margin-inline: auto; }
  .hv2-word { font-size: clamp(3.9rem, 19vw, 6.2rem); }
  .hero__lead { margin-inline: auto; text-align: center; }
  .hero__actions { justify-content: center; }
}
@media (max-width: 767px) {
  body.page-template-page-home-php .provas-case__copy { padding: 1.5rem; }
  body.page-template-page-home-php .provas-case__copy h3 { margin-bottom: 1.1rem; }
  body.page-template-page-home-php .provas-case__quote { padding: 1rem 1.1rem; margin-bottom: 1.5rem; }
  body.page-template-page-home-php .provas-case__quote p:first-child { font-size: 0.9375rem; line-height: 1.55; }
  body.page-template-page-home-php .provas-case__author { font-size: 0.8125rem; }
  body.page-template-page-home-php .brasil__stats { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; }
  body.page-template-page-home-php .brasil-stat { padding: 0 0.6rem; }
  body.page-template-page-home-php .brasil-stat:first-child { padding-left: 0; }
  body.page-template-page-home-php .brasil-stat + .brasil-stat { padding-top: 0; border-top: 0; border-left: 0; }
  body.page-template-page-home-php .brasil-stat__icon { margin-bottom: 0.4rem; }
  body.page-template-page-home-php .brasil-stat__icon svg, body.page-template-page-home-php .brasil-stat__icon .icon { width: 18px; height: 18px; }
  body.page-template-page-home-php .brasil-stat__value { font-size: 1.2rem; line-height: 1.1; }
  body.page-template-page-home-php .brasil-stat__label { font-size: 0.75rem; }
  body.page-template-page-home-php .brasil-stat__desc { font-size: 0.6875rem; }
}


/* ── Especialistas em CX no celular (lista vertical que abre; ver initEspecialistasMobile em js/home.js) ── */
.es-acc-mode .especialistas-panel__tabs { display: flex; flex-direction: column; gap: 0.75rem; overflow: visible; padding: 0; }
.es-acc-mode .especialistas-panel__detail { display: none; }
.es-acc-mode .es-acc { overflow: hidden; border: 1px solid #E4E6E6; border-radius: 1rem; background: #fff; scroll-margin-top: 5rem; transition: border-color 0.2s; }
.es-acc-mode .es-acc.is-open { border-color: var(--teal); }
.es-acc-mode .especialistas-tab { width: 100%; justify-content: flex-start; gap: 0.85rem; padding: 1rem 1.1rem; border: 0 !important; border-radius: 0; background: transparent !important; box-shadow: none !important; text-align: left; }
.es-acc-mode .especialistas-tab__title { flex: 1; font-size: 1rem; font-weight: 700; color: var(--gray-900); white-space: normal; line-height: 1.25; }
.es-acc-mode .es-acc__chev { width: 20px; height: 20px; flex: 0 0 auto; color: var(--ink-soft); transition: transform 0.25s var(--ease-out-smooth); }
.es-acc-mode .es-acc.is-open .es-acc__chev { transform: rotate(180deg); color: var(--teal-ink); }
.es-acc-mode .especialista-detail { display: none; padding: 0 1.1rem 1.25rem; }
.es-acc-mode .especialista-detail.is-active { display: grid; grid-template-columns: 1fr; gap: 1.1rem; animation: especialistaFade 0.35s var(--ease-out-smooth); }
.es-acc-mode .es-photo { display: grid; grid-template-columns: 1fr 1fr; gap: 0.6rem; max-width: none; margin: 0; }
.es-acc-mode .es-photo img { grid-column: 1 / -1; aspect-ratio: 16 / 11; object-position: center 22%; border-radius: 0.85rem; }
.es-acc-mode .es-piece { position: relative; left: auto; right: auto; bottom: auto; width: auto; max-width: none; margin: 0; padding: 8px 10px; opacity: 1 !important; transform: none !important; animation: none !important; box-shadow: none; border: 1px solid #E4E6E6; }
.es-acc-mode .es-copy { gap: 0.6rem; }
.es-acc-mode .especialista-detail__eyebrow { display: none; }
.es-acc-mode .es-copy h3 { font-size: 1.25rem; }
.es-acc-mode .es-copy p:not(.especialista-detail__eyebrow) { font-size: 0.9688rem; line-height: 1.6; }


/* Correções do diagnóstico (18/10/2026): sem desfoque nos brilhos do bloco de APIs; botão vazado do menu em teal escuro */
.apis__glow--1, .apis__glow--2, .apis__terminal-glow { filter: none; }
.btn-outline { color: var(--teal) !important; border-color: var(--teal); }
.btn-outline:hover { background-color: var(--teal) !important; color: #fff !important; }
:is(.megamenu, .mobile-menu, .contraste, .pilares, .provas, .brasil, .especialistas) .btn-outline { color: var(--teal-ink) !important; border-color: var(--teal-ink); }
:is(.megamenu, .mobile-menu, .contraste, .pilares, .provas, .brasil, .especialistas) .btn-outline:hover { background-color: var(--teal-ink) !important; color: #fff !important; }
body.page-template-page-home-php .eyebrow-pill--dark { opacity: 1; }
.navbar__burger { min-width: 44px; min-height: 44px; }
.apis-feature h3 { display: flex; align-items: center; gap: 0.625rem; color: #fff; font-weight: 600; font-size: 0.875rem; margin-bottom: 0.25rem; }
body.page-template-page-home-php { --font-jakarta: 'Outfit', sans-serif; }

/* Contraste: cinzas e teal de texto conforme o fundo da seção (escuro, claro ou verde) */
body.page-template-page-home-php :is(.parceiros, .contraste, .pilares, .provas, .brasil, .especialistas, .hv2-ui, .ui-scene) { --gray-500: var(--ink-soft); --gray-400: var(--ink-soft); }
body.page-template-page-home-php :is(.hero, .platform-scroll, .impacto, .apis, .ft2) { --gray-500: #9B9B9B; }
body.page-template-page-home-php :is(.integracao, .ecossistema, .v2-final) { --slate-400: #C5DCDC; }
body.page-template-page-home-php :is(.contraste, .pilares, .provas, .brasil, .especialistas, .hv2-ui, .ui-scene) :is(.is-teal:not(.ui-tag--pj), .provas__next b, .provas__dna strong, .ui-score em, .ui-stats .is-teal, .ui-lead em:not(.ui-tag)) { color: var(--teal-ink); }
body.page-template-page-home-php :is(.pv-metric b) { color: var(--teal-ink-soft); }
body.page-template-page-home-php :is(.hv2-ui, .ui-scene) .ui-tag.is-teal:not(.ui-tag--pj) { color: var(--teal-ink-hover); }
body.page-template-page-home-php .ecossistema-stat__value { color: #7FE6E7; }
body.page-template-page-home-php .brasil__segments-label { color: var(--ink-soft); }
body.page-template-page-home-php .pv-num { color: var(--teal-ink-hover); }
body.page-template-page-home-php .v2-final .btn-primary { background: #fff !important; color: var(--teal-deep) !important; border-color: #fff !important; }
body.page-template-page-home-php .eyebrow-pill:is(.eyebrow-pill--dark, .eyebrow-pill--dark-accent) { opacity: 1; }

/* Parceiros (TOTVS e Infobip): sem a caixa em volta do logo, logo maior e a legenda logo abaixo */
body.page-template-page-home-php .eco-pair .partner-card { padding: 0; background: none; border: 0; border-radius: 0; box-shadow: none; }
body.page-template-page-home-php .eco-pair .partner-card__check { display: none; }
body.page-template-page-home-php .eco-pair .partner-card__brand { gap: 1.1rem; }
body.page-template-page-home-php .eco-pair .partner-card__logo { height: 3rem; }
@media (min-width: 1024px) { body.page-template-page-home-php .eco-pair .partner-card__logo { height: 3.5rem; } }
body.page-template-page-home-php .eco-pair .partner-card__sub { font-size: 1rem; }
body.page-template-page-home-php .eco-pair .ecossistema-block__copy { justify-content: flex-start; }

/* Provas: cards mais largos, foto ocupando a lateral inteira (sem o fundo cinza em volta) e sombra sem corte */
body.page-template-page-home-php .provas__slider { --peek-item-w: min(1240px, 91vw); }
body.page-template-page-home-php .provas__slider .peek-slider__track { padding-block: 3rem; margin-block: -3rem; }
body.page-template-page-home-php .provas-case__visual { padding: 0; background: none; }
body.page-template-page-home-php .provas-case__visual-inner { border-radius: 0; }
body.page-template-page-home-php .provas-case__play { backdrop-filter: none; background: rgba(255,255,255,0.92); }

/* Destaque de lançamento: pílula delicada no alto da hero (inc/destaque.php). Sólida, sem brilho, sem fechar. */
.hero__content--launch { padding-top: 0.75rem; }
.launch { display: flex; justify-content: center; margin-bottom: 4.5rem; padding-inline: 0.5rem; animation: launch-in 0.9s var(--ease-out-smooth) 2.6s both; }
.launch__pill { display: inline-flex; align-items: center; gap: 1rem; max-width: 100%; padding: 0.6rem 0.6rem 0.6rem 1.2rem; border: 1px solid rgba(255,255,255,0.12); border-radius: 0.75rem; background: rgba(10,10,10,0.68); color: rgba(255,255,255,0.88); font-size: 0.8125rem; line-height: 1.3; }
.launch__pill { animation: launchFloat 5.5s ease-in-out 3.5s infinite; }
@keyframes launchFloat { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-4px); } }
@media (prefers-reduced-motion: reduce) { .launch__pill { animation: none; } }
.launch__name { flex: 0 0 auto; color: #fff; font: 600 0.875rem/1.2 'Outfit', var(--font-jakarta); }
.launch__sep { flex: 0 0 auto; width: 1px; height: 1rem; background: rgba(255,255,255,0.2); }
.launch__text { min-width: 0; color: rgba(255,255,255,0.88); }
.launch__btn { display: inline-flex; flex: 0 0 auto; align-items: center; gap: 0.35rem; padding: 0.55rem 1rem; border-radius: 0.5rem; background: var(--teal-ink); color: #fff; font: 600 0.75rem/1 'Outfit', var(--font-jakarta); transition: background-color 0.2s ease; }
.launch__btn:hover { background: var(--teal-ink-hover); }
.launch__btn svg { width: 0.8rem; height: 0.8rem; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.launch__btn:focus-visible { outline: 2px solid var(--teal-bright); outline-offset: 2px; }
@keyframes launch-in { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: none; } }
@media (max-width: 720px) { .launch__sep, .launch__text { display: none; } .launch__pill { gap: 0.8rem; padding-left: 1rem; } .launch { margin-bottom: 3rem; } }
@media (prefers-reduced-motion: reduce) { .launch { animation: none; } }


/* Plataforma Rubeus: abas com foto em hexágono e peças da plataforma sobre a foto (só o modelo de abas) */
body.page-template-page-home-php .platform-scroll { padding-block: 6.5rem 6rem; }
body.page-template-page-home-php .bento__header { align-items: start; margin-bottom: 3.5rem; }
@media (min-width: 1024px) { body.page-template-page-home-php .bento__header { grid-template-columns: minmax(0, 1.3fr) minmax(0, 0.7fr); } }
body.page-template-page-home-php .bento__header .platform-scroll__header-subtitle { padding: 0.55rem 0 0; }
body.page-template-page-home-php #bento .platform-scroll__header-title.bt-h2 { max-width: none; margin: 0; white-space: normal; color: #fff; font-size: clamp(3rem, 5.4vw, 4.8rem) !important; font-weight: 800; line-height: 1.02; letter-spacing: -0.04em; }
.bt-h2 .bt-dim { color: var(--slate-400); }
.bt-dot { color: var(--teal-bright); }
@media (max-width: 560px) { .bt-br { display: none; } }
.bt-tabbar { gap: 0.75rem; margin-bottom: 3.5rem; }
.bt-tab { gap: 0.55rem !important; padding: 0.75rem 0.75rem !important; border-radius: 0.7rem !important; font: 600 0.875rem var(--font-inter) !important; }
.bt-tabs__body { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 4rem; align-items: center; }
.bt-title { margin-bottom: 1.25rem; font-size: clamp(2rem, 3.2vw, 2.7rem); letter-spacing: -0.035em; }
.bt-pane .bento__points { gap: 1rem; max-width: 32rem; }
.bt-pane .bento__point { font-size: 0.9375rem; line-height: 1.55; }
.bt-pane .bento__point strong { color: #fff; }
.bt-pane .bento__insight-hook { max-width: 32rem; margin-top: 1.5rem; }
.bt-ctas { margin-top: 1.75rem; }
.bt-prat { max-width: 32rem; margin-top: 1.75rem; }
.bt-prat__label { margin: 0 0 0.75rem; font-size: 0.6875rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--slate-400); }
.bt-prat__tabs { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-bottom: 0.9rem; }
.bt-prat__tabs button { padding: 0.4rem 0.95rem !important; border: 1px solid rgba(255,255,255,0.2) !important; border-radius: 999px !important; background: transparent !important; color: var(--slate-200) !important; font: 600 0.8125rem var(--font-inter) !important; cursor: pointer; }
.bt-prat__tabs button.is-on { background: #fff !important; border-color: #fff !important; color: var(--gray-900) !important; }
.bt-prat__txt { display: none; margin: 0; font-size: 0.9375rem; line-height: 1.55; color: var(--slate-200); }
.bt-prat__txt.is-on { display: block; animation: pvFade 0.35s ease; }
.bt-prat .bt-metric { margin-top: 1.25rem; }
.bt-prat .bt-metric b { font-size: clamp(2.2rem, 3.4vw, 3rem); }
.bt-visbox.is-on { animation: pvFade 0.45s ease; }
.bt-photo { position: relative; width: 100%; max-width: 540px; aspect-ratio: 560 / 520; margin-inline: auto; }
.bt-photo__deco { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.bt-hx { fill: none; stroke-linejoin: round; stroke-linecap: round; transform-box: fill-box; transform-origin: center; }
.bt-hx--big { stroke: rgba(61,213,214,0.26); stroke-width: 3; animation: bt-breathe 11s ease-in-out infinite alternate; }
.bt-hx--run { stroke: var(--teal-bright); stroke-width: 3.4; stroke-dasharray: 55 945; opacity: 0.85; animation: bt-run 14s linear infinite, bt-breathe 11s ease-in-out infinite alternate; }
.bt-hx--sm { stroke: rgba(255,255,255,0.26); stroke-width: 3.2; animation: bt-float 8s ease-in-out infinite alternate; }
.bt-hx--teal { stroke: var(--teal-bright); animation-duration: 7s; }
.bt-hx--b { animation-duration: 10s; animation-direction: alternate-reverse; }
.bt-hx--xs { stroke: rgba(61,213,214,0.6); stroke-width: 2.6; animation: bt-float 6s ease-in-out -2s infinite alternate; }
.bt-dot-d { fill: var(--teal-bright); animation: bt-pulse 4.5s ease-in-out infinite alternate; }
.bt-dot-d--dim { fill: rgba(255,255,255,0.35); animation-duration: 6s; }
@keyframes bt-breathe { from { transform: translate(0, 0) scale(1); } to { transform: translate(-5px, -4px) scale(1.022); } }
@keyframes bt-run { from { stroke-dashoffset: 0; } to { stroke-dashoffset: -1000; } }
@keyframes bt-float { from { transform: translate(0, 0) rotate(0deg); } to { transform: translate(7px, -9px) rotate(14deg); } }
@keyframes bt-pulse { from { opacity: 0.35; } to { opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .bt-hx, .bt-dot-d { animation: none; } .bt-hx--run { display: none; } }
/* a foto (hexágono) fica dentro do contorno animado, sem cobrir os hexágonos pequenos */
.bt-photo__img { position: absolute; left: 10%; top: 7.5%; z-index: 1; width: 80%; height: 78%; object-fit: contain; }
.bt-photo .bt-scene { position: absolute; left: -3%; bottom: -6%; z-index: 3; width: 94%; pointer-events: none; transform: scale(0.82); transform-origin: 0% 100%; }
.bt-photo .bt-scene .pv-stage { max-width: none; aspect-ratio: 440 / 250; }
.bt-photo .pv-ui { height: 250px; }
.pv-tl span.is-hl { margin-inline: -6px; padding-inline: 6px; border-radius: 6px; background: #DDF3F3; }
.bt-minibtn { display: inline-block; margin-top: 8px; padding: 3px 10px; border: 1px solid var(--teal); border-radius: 6px; font-size: 10px; font-weight: 700; color: var(--teal-deep); }
@media (max-width: 1023px) {
  .bt-tabs__body { grid-template-columns: 1fr; gap: 3rem; }
  .bt-photo { max-width: 460px; }
  .bt-tabbar { grid-template-columns: repeat(2, minmax(0, 1fr)); margin-bottom: 2rem; }
}


/* Impacto: cartões com foto que "salta" para fora da moldura + fundo de hexágonos bem sutil */
body.page-template-page-home-php .impacto { position: relative; overflow: hidden; }
body.page-template-page-home-php .impacto::before { content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none; opacity: 0.05; background-image: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 width=%2284%22 height=%2248.5%22 viewBox=%220 0 84 48.5%22%3E%3Cpath d=%22M70.0 24.2 L56.0 48.5 L28.0 48.5 L14.0 24.2 L28.0 0.0 L56.0 0.0 Z M28.0 0.0 L14.0 24.2 L-14.0 24.2 L-28.0 0.0 L-14.0 -24.2 L14.0 -24.2 Z M112.0 0.0 L98.0 24.2 L70.0 24.2 L56.0 0.0 L70.0 -24.2 L98.0 -24.2 Z M28.0 48.5 L14.0 72.7 L-14.0 72.7 L-28.0 48.5 L-14.0 24.2 L14.0 24.2 Z M112.0 48.5 L98.0 72.7 L70.0 72.7 L56.0 48.5 L70.0 24.2 L98.0 24.2 Z%22 fill=%22none%22 stroke=%22%23fff%22 stroke-width=%221%22/%3E%3C/svg%3E"); background-size: 84px 48.5px; -webkit-mask-image: radial-gradient(ellipse 62% 78% at 14% 58%, #000 0%, transparent 72%); mask-image: radial-gradient(ellipse 62% 78% at 14% 58%, #000 0%, transparent 72%); }
body.page-template-page-home-php .impacto > .container { position: relative; z-index: 1; }
.im-grid { gap: 2rem 1.5rem; padding-top: 0; }
.im-card { position: relative; padding: 0 0.4rem 1.75rem; border: 1px solid rgba(255,255,255,0.07); border-radius: 1.1rem; background: rgba(255,255,255,0.025); }
.im-card__media { margin-top: calc(-1 * (var(--top) / var(--w)) * 100% + 6px); }
.im-card__media img { display: block; width: 100%; height: auto; }
.im-card__body { padding: 1.25rem 0.9rem 0; }
.im-card__area { font-size: 0.6875rem; }
body.page-template-page-home-php .im-card__title { font-size: 1.2rem !important; line-height: 1.2; }
.im-acc { color: var(--teal-bright); }
.im-card__copy { font-size: 0.875rem; line-height: 1.6; }
@media (max-width: 1023px) { .im-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .im-grid { grid-template-columns: 1fr; max-width: 24rem; margin-inline: auto; } }


/* APIs & Integrações: texto direto, foto em hexágono com contorno e peças de código (endpoints e cURL) */
.apis__title-acc { display: block; color: var(--teal-bright); }
.apis__copy { gap: 1.5rem; }
.apis__features { gap: 0.9rem; }
.apis-feature { display: flex; align-items: flex-start; gap: 0.8rem; margin: 0; padding: 0; background: none; border-radius: 0; color: var(--slate-200); font-size: 0.9375rem; line-height: 1.55; }
.apis-feature .icon { flex: none; margin-top: 0.15rem; color: var(--teal-bright); }
.apis-feature strong { color: #fff; font-weight: 700; }
.apis__doc-btn { margin-top: 0.5rem; }
.apis-photo { position: relative; width: 100%; max-width: 540px; aspect-ratio: 560 / 520; margin-inline: auto; container-type: inline-size; }
.apis-photo__deco { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.apis-photo__img { position: absolute; left: 20%; top: 8%; z-index: 1; width: 76%; height: 80%; max-width: none; object-fit: contain; }
.apis-card { position: absolute; z-index: 3; font-family: var(--font-inter); font-size: 1.62cqw; line-height: 1.35; border-radius: 1.3em; background: #fff; color: #1A1A1A; box-shadow: 0 0.8em 2.2em rgba(0,0,0,0.3), 0 0 0 1px rgba(26,26,26,0.06); }
.apis-ep { left: 0; top: 4cqw; width: 40cqw; padding: 1em 1.1em 0.8em; }
.apis-card__head { display: flex; justify-content: space-between; margin-bottom: 0.6em; font-size: 0.82em; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: #6B6B6B; }
.apis-card__head b { color: var(--teal-ink); }
.apis-ep__row { display: flex; align-items: center; gap: 0.9em; padding: 0.5em 0; border-top: 1px solid #EDEDED; }
.apis-ep__row:first-of-type { border-top: 0; }
.apis-ep code { min-width: 0; overflow: hidden; font: 500 0.95em var(--font-inter); text-overflow: ellipsis; white-space: nowrap; }
.m { flex: none; min-width: 4.8em; padding: 0.18em 0.5em; border-radius: 0.5em; font-size: 0.78em; font-style: normal; font-weight: 700; text-align: center; }
.m--post { background: #D8F1EF; color: #087D7D; } .m--get { background: #E1ECFF; color: #2F5FD0; } .m--put { background: #FFEBCF; color: #A55507; } .m--del { background: #FFDDE3; color: #B80E28; }
.apis-code { left: -1cqw; bottom: -2cqw; width: 58cqw; padding: 0.9em 1.1em 1em; background: #0F1313; color: #E8EEEE; box-shadow: 0 0.8em 2.2em rgba(0,0,0,0.4), 0 0 0 1px rgba(255,255,255,0.1); }
.apis-code__tabs { display: flex; align-items: center; gap: 1.5em; margin-bottom: 0.85em; border-bottom: 1px solid rgba(255,255,255,0.12); font-size: 0.9em; }
.apis-code__tabs button { margin-bottom: -1px; padding: 0 0 0.6em; border: 0; border-bottom: 2px solid transparent; background: none; color: #8E9494; font: inherit; cursor: pointer; }
.apis-code__tabs button.is-on { border-bottom-color: var(--teal-bright); color: var(--teal-bright); }
.apis-code__tabs b { margin-left: auto; padding-bottom: 0.6em; font-size: 0.8em; letter-spacing: 0.1em; text-transform: uppercase; color: var(--teal-bright); }
.apis-code__body { display: none; margin: 0; overflow: hidden; font: 500 0.95em/1.65 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; color: #E8EEEE; white-space: pre; }
.apis-code__body.is-on { display: block; }
.apis__terminal-wrap.is-visible .apis-card { animation: ui-in 0.7s var(--ease-out-smooth) 0.5s both; }
.apis__terminal-wrap.is-visible .apis-code { animation-delay: 0.9s; }
@media (max-width: 1023px) { .apis-photo { max-width: 460px; } }
@media (prefers-reduced-motion: reduce) { .apis__terminal-wrap.is-visible .apis-card { animation: none; } }

/* ===== Depoimentos: partes só da home (card em vídeo e navegação). O resto está em css/depoimentos.css ===== */
body.page-template-page-home-php .provas-case__copy { padding: clamp(1.75rem, 3.4vw, 3.25rem); }
.provas__nav { align-items: center; gap: 1rem; }
.provas__nav .provas__count { margin: 0; }
body.page-template-page-home-php .provas-case { min-height: clamp(30rem, 40vw, 36rem); }
body.page-template-page-home-php .provas-case__copy { position: relative; overflow: hidden; justify-content: flex-start; }
@media (min-width: 1024px) {
  body.page-template-page-home-php .provas-case__copy { flex: 1 1 0; max-width: none; }
  body.page-template-page-home-php .provas-case__visual { flex: 0 0 auto; align-self: stretch; width: auto; max-width: none; aspect-ratio: 4 / 5; }
}
@media (max-width: 1023px) {
  body.page-template-page-home-php .provas-case__visual { flex: none; align-self: center; width: min(100%, 26rem); height: auto; min-height: 0; aspect-ratio: 4 / 5; margin: 0 auto 1.25rem; }
}
/* Card em vídeo: a frase em destaque fica centralizada na altura livre entre o logo e o rodapé */
body.page-template-page-home-php .provas-case__copy .dep-title { margin-block: auto; padding-block: 1.25rem; }
body.page-template-page-home-php .provas-case__copy .dep-foot { margin-top: 0; }

/* Mapa do Brasil: nome do estado ao passar o mouse */
/* Cores do mapa: estados (verde escuro) e pinos (vermelho da marca). Antes: estado #33383A, pino #3DD5D6, pulso rgba(61,213,214,.55). */
.brasil-map { position: relative; --mapa-estado: #0B4F4F; --mapa-pino: var(--rose); --mapa-pulso: rgba(255,0,49,0.45); }
.brasil-gl-pin__body { fill: var(--mapa-pino); }
.brasil-map__tip { position: absolute; left: 0; top: 0; z-index: 6; padding: 0.3rem 0.7rem; border-radius: 6px; background: var(--gray-900, #1A1A1A); color: #fff; font: 600 0.8125rem/1.2 var(--v2-display, inherit); white-space: nowrap; pointer-events: none; box-shadow: 0 4px 14px rgba(26,26,26,0.25); }
.brasil-map__tip[hidden] { display: none; }

/* Definição "A Rubeus é…" logo abaixo do H1 */
body.page-template-page-home-php .hero__def { max-width: 34rem; margin: 1.5rem 0 0; font-size: 1rem; line-height: 1.6; color: var(--slate-300, #C9C9C9); }
@media (max-width: 1023px) { body.page-template-page-home-php .hero__def { margin-inline: auto; text-align: center; } }

/* Complexidade: detalhes em hexágono ao redor da foto (anéis, hexágonos e pontos que flutuam devagar) */
.cx-photo { position: relative; width: 100%; max-width: 34rem; }
.cx-photo img { position: relative; z-index: 1; display: block; width: 100%; max-width: none; height: auto; }
.cx-deco { position: absolute; inset: 0; z-index: 0; width: 100%; height: 100%; overflow: visible; pointer-events: none; }
.cx-ring { fill: none; stroke: rgba(8,125,125,0.22); stroke-width: 1.6; stroke-linejoin: round; transform-box: fill-box; transform-origin: center; animation: bt-breathe 11s ease-in-out infinite alternate; }
.cx-ring--out { stroke: rgba(26,26,26,0.12); }
.cx-ring--run { stroke: var(--teal-ink-soft, #0A8F8F); stroke-width: 2.4; stroke-dasharray: 55 945; stroke-linecap: round; animation: bt-run 14s linear infinite, bt-breathe 11s ease-in-out infinite alternate; }
.cx-hx { fill: none; stroke: var(--teal-ink-soft, #0A8F8F); stroke-width: 1.8; opacity: 0.8; stroke-linejoin: round; transform-box: fill-box; transform-origin: center; animation: bt-float 8s ease-in-out infinite alternate; }
.cx-hx--soft { stroke: rgba(26,26,26,0.26); }
.cx-hx--fill { fill: #DDF3F3; stroke: none; opacity: 1; }
.cx-dot { fill: var(--teal-ink-soft, #0A8F8F); animation: bt-pulse 4.5s ease-in-out infinite alternate; }
.cx-dot--dim { fill: rgba(26,26,26,0.3); animation-duration: 6s; }
@media (prefers-reduced-motion: reduce) { .cx-ring, .cx-hx, .cx-dot { animation: none; } .cx-ring--run { display: none; } }

/* ── Vermelho de assinatura (var(--rbs-detalhe)): só detalhes pequenos ── */
.ui-chip--live::before { content: ""; display: inline-block; width: 0.45em; height: 0.45em; margin-right: 0.45em; border-radius: 50%; background: var(--rbs-detalhe); vertical-align: 0.05em; animation: bt-pulse 2.4s ease-in-out infinite alternate; }
.bt-hx--xs { stroke: var(--rbs-detalhe); }
.cx-hx--fill { fill: var(--rose-light); stroke: var(--rbs-detalhe); stroke-width: 1.6; }
@media (prefers-reduced-motion: reduce) { .ui-chip--live::before { animation: none; } }
.bt-photo .bt-hx--run { stroke: var(--rbs-detalhe); opacity: 0.95; }
.bt-photo .bt-hx--big { stroke: color-mix(in srgb, var(--rbs-detalhe-claro) 10%, transparent); }

/* ── Pilares · teste: halo no nó ativo, ponto vermelho correndo pela linha da etapa e número que conta ── */
.pv-node__n { transition: transform 0.4s var(--ease-out-smooth, ease), box-shadow 0.5s ease, background-color 0.4s, border-color 0.4s, color 0.4s; }
.pv-node.is-on .pv-node__n { box-shadow: 0 0 0 8px rgba(13,166,166,0.14), 0 0 0 1px rgba(26,26,26,0.04); }
.pv-dot { display: none; fill: var(--rbs-detalhe); }
.pv-seg.is-on + .pv-dot { display: block; }
@media (prefers-reduced-motion: reduce) { .pv-seg.is-on + .pv-dot { display: none; } }


/* Pilares: título ao lado da bolinha (no lado de fora do anel) e cards da direita um pouco menores */
@media (min-width: 1024px) {
  .pv-node__in { display: block; position: relative; }
  .pv-node__t { position: absolute; top: 50%; white-space: nowrap; transform: translateY(-50%); }
  .pv-node[data-side="l"] .pv-node__t { right: calc(100% + 0.75rem); animation: pvTitleL 0.95s ease; }
  .pv-node[data-side="r"] .pv-node__t { left: calc(100% + 0.75rem); animation: pvTitleR 0.95s ease; }
  .pv-visboxes { max-width: 340px; }
}
@keyframes pvTitleL { 0%, 45% { opacity: 0; } 100% { opacity: 1; } }
@keyframes pvTitleR { 0%, 45% { opacity: 0; } 100% { opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .pv-node__t { animation: none !important; } }

/* Hero: rosto no lugar das iniciais (fotos de banco de imagens gratuito; as pessoas são fictícias) */
.ui-lead > i:has(img), .ui-person > i:has(img), .ui-360__id > i:has(img) { padding: 0; overflow: hidden; background: var(--slate-200, #E5E7EB); }
.ui-lead > i img, .ui-person > i img, .ui-360__id > i img { display: block; width: 100%; height: 100%; max-width: none; object-fit: cover; }
