/* GERADO por converter_para_oficial.py a partir de css/tokens.css, home-3d.css, home-3d-v2.css e opcao-c.css do modelo. Não editar à mão. */

/* ===== tokens.css ===== */
/* Valores do modelo da página inicial.
   Os nomes e os valores de marca vêm do `style.css` do site (e do IV-01.1_tokens.css):
   NÃO se redigita hexadecimal de marca aqui — só se aponta para a variável do site.
   O que está marcado «NOVO» não existe no site hoje: é proposta, para Gabriel decidir. */
:root {
  /* herdados do site (definidos em style.css; repetidos só como reserva se a folha não carregar) */
  --navy:      #101535;
  --navy-800:  #0B0F28;
  --navy-700:  #1A2150;
  --gold:      #F0C738;
  --gold-600:  #D4A91E;
  --blue:      #0F62AC;
  --blue-600:  #0B4E8A;
  --ink:       #1B2030;
  --muted:     #5A6275;
  --line:      #E6E9F0;
  --bg-soft:   #F5F7FB;
  --navy-texto:       #CDD4EC;   /* texto sobre navy, 12,78:1 (IV-01.1) */
  --navy-texto-apoio: #9AA3C0;   /* apoio sobre navy, 7,52:1 (IV-01.1) */

  /* NOVO — cores dos quatro pilares do mapa, tiradas só da família da marca.
     Cada pilar também tem forma de traço própria (ver home-3d.css), então a cor
     não é a única pista. */
  --pl-eletrica:  #F0C738;   /* = --gold */
  --pl-processos: #6DB3F2;   /* NOVO — azul claro (tom do --blue para fundo escuro) */
  --pl-trabalho:  #52C47A;   /* NOVO — verde claro (tom do --conforme-grafico) */
  --pl-gestao:    #CDD4EC;   /* = --navy-texto */
  --pl-materiais: #B79CF2;   /* NOVO — lilás claro, 5º pilar (Materiais); só web, entra na PEND-IV-54 */

  /* NOVO — palco do mapa */
  --palco-fundo: radial-gradient(ellipse at 50% 38%, #1A2150 0%, #101535 55%, #0B0F28 100%);
  --foco-anel: 3px solid var(--gold);
}

/* ===== home-3d.css ===== */
/* Página inicial com mapa 3D — modelo. Vem DEPOIS de style.css (que dá topo, cabeçalho, botões e rodapé). */

/* ---------- sem JavaScript: a lista de links aparece; com JavaScript, fica só para leitor de tela e buscador ---------- */
.js #mapa-fallback { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
#mapa-fallback { background: var(--navy-800); color: var(--navy-texto); padding: 32px 0; }
#mapa-fallback h2 { color: #fff; font-size: 1.3rem; margin: 0 0 14px; }
#mapa-fallback ul { list-style: none; margin: 0; padding: 0; }
#mapa-fallback > .container > ul { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 18px; }
#mapa-fallback li ul { margin: 6px 0 0 14px; font-size: .92rem; }
#mapa-fallback a { color: var(--gold); }
#mapa-fallback strong a { font-weight: 700; }
.js .nojs-only { display: none; }

/* ---------- abertura ---------- */
.h3d { background: var(--palco-fundo); color: #fff; position: relative; padding: 48px 0 0; overflow: hidden; }
.h3d-head { text-align: center; max-width: 920px; margin: 0 auto; padding: 0 24px; }
.h3d-head .eyebrow { color: var(--gold); justify-content: center; }
.h3d-head h1 { color: #fff; margin: 12px 0 0; font-size: clamp(1.9rem, 4.4vw, 3.2rem); line-height: 1.1; letter-spacing: -.5px; }
.h3d-head h1 .hl { color: var(--gold); }
.h3d-head p { color: var(--navy-texto); font-size: 1.08rem; line-height: 1.6; margin: 16px auto 0; max-width: 700px; }

/* ---------- barra de controles ---------- */
.h3d-bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; max-width: var(--maxw, 1180px); margin: 26px auto 0; padding: 0 24px; position: relative; z-index: 5; }
.h3d-bar [role="group"], .h3d-bar .h3d-acoes { display: flex; flex-wrap: wrap; gap: 8px; }
.h3d-btn { position: relative; display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 16px; border-radius: 10px; border: 1px solid rgba(255,255,255,.28); background: transparent; color: #fff; font: 600 .88rem 'Montserrat', sans-serif; cursor: pointer; overflow: hidden; transition: background .2s, border-color .2s; }
.h3d-btn:hover { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.5); }
.h3d-btn[aria-pressed="true"] { background: var(--gold); border-color: var(--gold); color: var(--navy); }
.h3d-btn .pt { width: 9px; height: 9px; border-radius: 50%; background: var(--c, #fff); flex: 0 0 auto; }
.h3d-btn[aria-pressed="true"] .pt { background: var(--navy); }
.h3d-btn .prog { position: absolute; left: 0; bottom: 0; height: 3px; width: 100%; background: var(--navy); transform: scaleX(0); transform-origin: 0 50%; }
.h3d button:focus-visible, .h3d a:focus-visible, .h3d-stage:focus-visible { outline: var(--foco-anel); outline-offset: 3px; }

/* ---------- palco ---------- */
.h3d-stage { position: relative; height: 620px; margin: 6px auto 0; max-width: 1440px; overflow: hidden; touch-action: pan-y; cursor: grab; user-select: none; -webkit-user-select: none; }
.h3d-stage:active { cursor: grabbing; }
.h3d-zoom { position: absolute; inset: 0; transform-origin: 50% 42%; transition: transform .7s cubic-bezier(.2,.8,.2,1); }
.h3d-zoom.is-zoom { transform: scale(1.05); }
.h3d-svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; pointer-events: none; }
.h3d-flow { animation: h3d-dash 3.4s linear infinite; }
@keyframes h3d-dash { to { stroke-dashoffset: -140; } }

.h3d-hub, .h3d-node, .h3d-pilar, .h3d-sat, .h3d-tip { position: absolute; left: 0; top: 0; will-change: transform, opacity; }
.h3d-hub { width: 168px; height: 168px; border-radius: 50%; border: 0; padding: 0; cursor: pointer; z-index: 110; display: grid; place-items: center; background: #fff; box-shadow: 0 0 0 6px rgba(240,199,56,.22), 0 18px 50px rgba(0,0,0,.5); }
.h3d-hub img { width: 78%; height: auto; display: block; pointer-events: none; }
.h3d-hub-pulso { position: absolute; left: 0; top: 0; width: 168px; height: 168px; border-radius: 50%; border: 2px solid var(--gold); z-index: 109; pointer-events: none; animation: h3d-pulso 3s ease-out infinite; }
@keyframes h3d-pulso { 0% { opacity: .6; scale: .95; } 100% { opacity: 0; scale: 1.7; } }

.h3d-node { width: 178px; padding: 12px 14px; text-align: left; border-radius: 14px; cursor: pointer; color: #fff; background: linear-gradient(180deg, #1A2150, #101535); border: 1px solid rgba(255,255,255,.18); box-shadow: 0 12px 30px rgba(0,0,0,.4); display: block; }
.h3d-node.is-on { border-color: var(--c); box-shadow: 0 0 0 1px var(--c), 0 0 34px color-mix(in srgb, var(--c) 55%, transparent); }
.h3d-node .linha { display: flex; align-items: center; gap: 8px; }
.h3d-node svg { width: 20px; height: 20px; flex: 0 0 auto; stroke: var(--c); fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.h3d-node .cod { display: inline-block; padding: 2px 8px; border-radius: 6px; border: 1px solid color-mix(in srgb, var(--c) 55%, transparent); color: var(--c); font: 700 .74rem Consolas, 'Courier New', monospace; }
.h3d-node .rot { display: block; margin-top: 8px; font: 700 .86rem/1.25 'Montserrat', sans-serif; color: #fff; }
.h3d-node .sem { display: block; margin-top: 6px; font-size: .68rem; color: var(--navy-texto-apoio); }

.h3d-pilar { display: inline-flex; align-items: center; gap: 7px; min-height: 36px; padding: 0 14px; border-radius: 999px; cursor: pointer; background: var(--navy-800); border: 1.5px solid var(--c); color: #fff; font: 700 .8rem 'Montserrat', sans-serif; white-space: nowrap; }
.h3d-pilar .pt { width: 8px; height: 8px; border-radius: 50%; background: var(--c); }
.h3d-pilar[aria-pressed="true"] { background: var(--c); color: var(--navy); }
.h3d-pilar[aria-pressed="true"] .pt { background: var(--navy); }

.h3d-sat { z-index: 400; display: inline-flex; align-items: center; gap: 8px; max-width: 230px; padding: 9px 14px; border-radius: 999px; background: #1A2150; border: 1px solid var(--c); color: #fff; font: 500 .8rem/1.25 'Roboto', sans-serif; text-decoration: none; box-shadow: 0 8px 24px rgba(0,0,0,.45); }
.h3d-sat:hover { background: #232b66; color: #fff; }
.h3d-sat .n { font: 700 .68rem Consolas, monospace; color: var(--c); }
.h3d-sat.mais { background: var(--c); color: var(--navy); font-weight: 700; }
.h3d-sat.mais:hover { background: #fff; color: var(--navy); }
.h3d-sat.is-in { animation: h3d-pop .45s cubic-bezier(.2,.9,.3,1.2) both; }
@keyframes h3d-pop { from { opacity: 0; scale: .5; } to { opacity: 1; scale: 1; } }

.h3d-tip { z-index: 600; max-width: 260px; padding: 8px 11px; border-radius: 8px; background: #fff; color: var(--ink); font: 400 .8rem/1.4 'Roboto', sans-serif; box-shadow: 0 8px 24px rgba(0,0,0,.4); pointer-events: none; opacity: 0; }

.h3d-dica { position: absolute; left: 0; right: 0; bottom: 14px; margin: 0; text-align: center; font-size: .8rem; color: var(--navy-texto-apoio); pointer-events: none; padding: 0 16px; }

/* ---------- painel de detalhe ---------- */
.h3d-painel { max-width: var(--maxw, 1180px); margin: 0 auto; padding: 8px 24px 64px; }
.h3d-painel-in { background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.14); border-top: 3px solid var(--c, var(--gold)); border-radius: 18px; padding: 30px; }
.h3d-painel .topo { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 20px; align-items: flex-start; }
.h3d-painel .meta { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; font-size: .85rem; color: var(--navy-texto-apoio); }
.h3d-painel .cod { padding: 2px 9px; border-radius: 6px; border: 1px solid var(--c); color: var(--c); font: 700 .78rem Consolas, monospace; }
.h3d-painel .estado { padding: 2px 9px; border-radius: 6px; background: rgba(255,255,255,.1); color: var(--navy-texto); font-size: .76rem; }
.h3d-painel h2 { margin: 14px 0 10px; color: #fff; font-size: clamp(1.4rem, 3vw, 2rem); line-height: 1.15; }
.h3d-painel p.desc { margin: 0; max-width: 760px; color: var(--navy-texto); font-size: 1.02rem; line-height: 1.6; }
.h3d-painel .setas { display: flex; gap: 8px; }
.h3d-painel .seta { width: 48px; height: 48px; border-radius: 12px; border: 1px solid rgba(255,255,255,.25); background: transparent; color: #fff; cursor: pointer; display: grid; place-items: center; }
.h3d-painel .seta:hover { background: rgba(255,255,255,.1); }
.h3d-painel .seta svg { width: 20px; height: 20px; stroke: currentColor; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.h3d-painel ul.subs { list-style: none; margin: 24px 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 12px; }
.h3d-painel ul.subs a { display: flex; gap: 12px; align-items: flex-start; min-height: 56px; padding: 13px 16px; border-radius: 12px; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12); color: #fff; text-decoration: none; font-size: .95rem; line-height: 1.35; height: 100%; }
.h3d-painel ul.subs a:hover { border-color: var(--c); background: rgba(255,255,255,.1); }
.h3d-painel ul.subs .n { font: 700 .78rem Consolas, monospace; color: var(--c); padding-top: 2px; }
.h3d-painel ul.subs .t { display: block; margin-top: 3px; font-size: .72rem; color: var(--navy-texto-apoio); }
.h3d-painel .ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }

/* ---------- seções claras ---------- */
.h3d-numeros { background: var(--bg-soft); padding: 56px 0; }
.h3d-numeros .grade { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 28px; text-align: center; }
.h3d-numeros b { display: block; font: 800 clamp(2.2rem, 4vw, 3rem)/1 'Montserrat', sans-serif; color: var(--blue); }
.h3d-numeros span { display: block; margin-top: 8px; color: var(--muted); }

.h3d-pdca .abas { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.h3d-pdca .aba { text-align: left; min-height: 88px; padding: 16px; border-radius: 14px; border: 1.5px solid var(--line); background: #fff; cursor: pointer; color: var(--ink); font-family: 'Montserrat', sans-serif; }
.h3d-pdca .aba .l { display: block; font-weight: 800; font-size: 1.6rem; color: var(--blue); }
.h3d-pdca .aba .nm { display: block; margin-top: 4px; font-weight: 700; font-size: .98rem; }
.h3d-pdca .aba[aria-selected="true"] { border-color: var(--navy); background: var(--navy); color: #fff; }
.h3d-pdca .aba[aria-selected="true"] .l { color: var(--gold); }
.h3d-pdca .quadro { display: flex; flex-wrap: wrap; gap: 28px; align-items: stretch; }
.h3d-pdca .abas { flex: 1 1 320px; }
.h3d-pdca .painel { flex: 999 1 420px; min-width: 0; padding: 30px; border-radius: 18px; background: var(--bg-soft); border: 1px solid var(--line); }
.h3d-pdca .painel .et { margin: 0; font: 600 .85rem Consolas, monospace; color: var(--blue); }
.h3d-pdca .painel h3 { margin: 8px 0 10px; font-size: 1.5rem; }
.h3d-pdca .barra { margin-top: 20px; height: 6px; border-radius: 3px; background: var(--line); overflow: hidden; }
.h3d-pdca .barra i { display: block; height: 100%; background: var(--gold-600); transform-origin: 0 50%; }

.h3d-clientes { background: var(--bg-soft); padding: 44px 0; overflow: hidden; }
.h3d-clientes .titulo { text-align: center; margin: 0 0 20px; color: var(--muted); font-size: .92rem; }
.h3d-marq { overflow: hidden; }
.h3d-trilha { display: flex; width: max-content; gap: 14px; animation: h3d-marq 42s linear infinite; }
.h3d-marq:hover .h3d-trilha { animation-play-state: paused; }
@keyframes h3d-marq { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.h3d-logo { flex: 0 0 auto; width: 160px; height: 84px; background: #fff; border: 1px solid var(--line); border-radius: 12px; display: grid; place-items: center; padding: 12px; }
.h3d-logo img { max-height: 44px; max-width: 100%; width: auto; filter: grayscale(1); opacity: .75; }
.h3d-logo:hover img { filter: none; opacity: 1; }
.h3d-logo .nm { font: 700 .9rem 'Montserrat', sans-serif; color: var(--navy); text-align: center; }

.h3d-conh { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 16px; }
.h3d-conh a { display: flex; gap: 14px; align-items: flex-start; padding: 20px; border: 1px solid var(--line); border-radius: 14px; background: #fff; color: var(--ink); text-decoration: none; transition: transform .25s, box-shadow .25s; }
.h3d-conh a:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.h3d-conh svg { width: 26px; height: 26px; flex: 0 0 auto; stroke: var(--blue); fill: none; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.h3d-conh strong { display: block; font-family: 'Montserrat', sans-serif; font-size: 1rem; color: var(--navy); }
.h3d-conh span { display: block; margin-top: 4px; color: var(--muted); font-size: .9rem; line-height: 1.45; }

.h3d-faq details { border: 1px solid var(--line); border-radius: 12px; background: #fff; margin-bottom: 10px; }
.h3d-faq summary { cursor: pointer; padding: 16px 18px; font: 700 1rem 'Montserrat', sans-serif; color: var(--navy); min-height: 44px; }
.h3d-faq details p { margin: 0; padding: 0 18px 18px; color: var(--muted); line-height: 1.6; }

/* ---------- celular ---------- */
@media (max-width: 719px) {
  .h3d-stage { height: 560px; }
  .h3d-hub, .h3d-hub-pulso { width: 112px; height: 112px; }
  .h3d-node { width: 118px; padding: 8px 10px; }
  .h3d-node .rot { font-size: .72rem; }
  .h3d-node .cod, .h3d-node .sem { display: none; }
  .h3d-painel-in { padding: 20px; }
  .h3d-pdca .abas { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* ---------- menos movimento ---------- */
@media (prefers-reduced-motion: reduce) {
  .h3d-flow, .h3d-hub-pulso, .h3d-trilha { animation: none; }
  .h3d-zoom { transition-duration: .01s; }
  .h3d-sat.is-in { animation-duration: .01s; }
  .h3d-marq { overflow-x: auto; }
}

/* ===== home-3d-v2.css ===== */
/* Versão 2 — vem DEPOIS de home-3d.css. Controles abaixo do mapa, cartões com mais vida, fundos ricos. */

/* ---------- fundo da abertura: foto industrial + malha técnica + diagrama unifilar + faíscas ---------- */
.h3d.v2 {
  background-color: #0B0F28;
  background-image:
    radial-gradient(ellipse at 50% 34%, rgba(26,33,80,.78) 0%, rgba(16,21,53,.55) 48%, rgba(11,15,40,.2) 100%),
    linear-gradient(180deg, rgba(11,15,40,.92) 0%, rgba(16,21,53,.86) 50%, rgba(11,15,40,.96) 100%),
    url("img/industrial_hero_bg.webp");
  background-size: auto, auto, cover;
  background-position: center, center, center 30%;
}
.h3d.v2 > * { position: relative; z-index: 2; }
.h3d.v2 > .h3d-fundo { position: absolute; inset: 0; z-index: 0; overflow: hidden; pointer-events: none; }
.h3d-fundo .malha { position: absolute; left: 0; right: 0; top: -64px; bottom: 0; background: url("img/fundo-grade.svg") 0 0 / 64px 64px; opacity: .075;
  -webkit-mask-image: radial-gradient(ellipse at 50% 52%, #000 12%, transparent 72%); mask-image: radial-gradient(ellipse at 50% 52%, #000 12%, transparent 72%);
  animation: h3d-malha 28s linear infinite; }
@keyframes h3d-malha { to { transform: translate3d(0, 64px, 0); } }
.h3d-fundo .unifilar { position: absolute; left: 50%; bottom: -2%; width: min(1500px, 140%); aspect-ratio: 16 / 9; translate: -50% 0; background: url("img/fundo-unifilar.svg") center / contain no-repeat; opacity: .075; }
.h3d-fundo .halo { position: absolute; left: 50%; top: 52%; width: 900px; height: 900px; translate: -50% -50%; border-radius: 50%;
  background: radial-gradient(circle, rgba(240,199,56,.13) 0%, rgba(240,199,56,0) 62%); animation: h3d-halo 7s ease-in-out infinite; }
@keyframes h3d-halo { 0%, 100% { opacity: .55; scale: .94; } 50% { opacity: 1; scale: 1.04; } }
.h3d-fundo i { position: absolute; bottom: -10px; left: var(--x); width: var(--s, 3px); height: var(--s, 3px); border-radius: 50%; background: var(--gold); opacity: 0; box-shadow: 0 0 10px 2px rgba(240,199,56,.55); animation: h3d-faisca var(--t, 11s) linear var(--d, 0s) infinite; }
@keyframes h3d-faisca { 0% { transform: translate3d(0, 0, 0); opacity: 0; } 12% { opacity: .85; } 80% { opacity: .35; } 100% { transform: translate3d(var(--dx, 30px), -820px, 0); opacity: 0; } }

/* ---------- abertura sem botões: título, mapa, depois controles ---------- */
.h3d.v2 .h3d-head { padding-bottom: 6px; }
.h3d.v2 .h3d-stage { margin-top: 0; height: 700px; }
@media (max-width: 719px) { .h3d.v2 .h3d-stage { height: 780px; } }
.h3d-bar.abaixo { margin-top: 4px; padding-top: 18px; border-top: 1px solid rgba(255,255,255,.08); }
.h3d-ctas { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; max-width: var(--maxw, 1180px); margin: 22px auto 0; padding: 0 24px; }

/* ---------- cartões das áreas, com vida ---------- */
.h3d-node { width: var(--card-w, 180px); padding: 0; overflow: hidden; border-radius: 16px;
  background: linear-gradient(165deg, #232b66 0%, #1A2150 38%, #101535 100%); border: 1px solid rgba(255,255,255,.2);
  box-shadow: 0 14px 34px rgba(0,0,0,.45), inset 0 1px 0 rgba(255,255,255,.12); translate: 0 0; transition: translate .25s, border-color .25s, box-shadow .25s; }
.h3d-node:hover { translate: 0 -5px; border-color: var(--c); }
.h3d-node::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 4px; background: linear-gradient(90deg, var(--c), color-mix(in srgb, var(--c) 25%, transparent)); }
.h3d-node::after { content: ""; position: absolute; inset: 0; border-radius: 16px; border: 1px solid var(--c); opacity: 0; pointer-events: none; }
.h3d-node.is-front::after { animation: h3d-respira 2.6s ease-in-out infinite; }
@keyframes h3d-respira { 0%, 100% { opacity: .15; } 50% { opacity: .85; } }
.h3d-node .mar { position: absolute; right: -10px; bottom: -12px; width: 86px; height: 86px; stroke: var(--c); opacity: .13; stroke-width: 1.2; fill: none; pointer-events: none; }
.h3d-node .corpo { display: block; position: relative; padding: 16px 14px 12px; }
.h3d-node .topo { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.h3d-node .ic { width: 38px; height: 38px; border-radius: 12px; display: grid; place-items: center; background: color-mix(in srgb, var(--c) 18%, transparent); border: 1px solid color-mix(in srgb, var(--c) 55%, transparent); }
.h3d-node .ic svg { width: 21px; height: 21px; stroke: var(--c); fill: none; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.h3d-node .cod { padding: 2px 8px; border-radius: 6px; font: 700 .72rem Consolas, 'Courier New', monospace; color: var(--c); border: 1px solid color-mix(in srgb, var(--c) 55%, transparent); }
.h3d-node .rot { display: block; margin-top: 10px; font: 700 .9rem/1.22 'Montserrat', sans-serif; color: #fff; }
.h3d-node .rod { display: flex; text-align: left; align-items: center; justify-content: space-between; gap: 8px; margin-top: 10px; padding-top: 9px; border-top: 1px solid rgba(255,255,255,.1); font-size: .7rem; color: var(--navy-texto-apoio); }
.h3d-node .rod .est { display: inline-flex; align-items: center; gap: 5px; }
.h3d-node .rod .est::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--ponto, var(--c)); }
.h3d-node .rod .est.consulta::before { background: transparent; border: 1.5px solid var(--c); }
.h3d-node .rod b { color: var(--navy-texto); font-weight: 700; }
.h3d-node.is-on { box-shadow: 0 0 0 1px var(--c), 0 0 42px color-mix(in srgb, var(--c) 60%, transparent), 0 18px 40px rgba(0,0,0,.5); }
.h3d-node.is-on .rod { border-top-color: color-mix(in srgb, var(--c) 45%, transparent); }

.h3d-zoom.is-zoom ~ .h3d-dica { opacity: 0; }
.h3d-dica { transition: opacity .3s; }
.h3d-node .rod span { white-space: nowrap; }

/* ---------- fundos das demais seções ---------- */
.h3d-numeros { position: relative; overflow: hidden; background: linear-gradient(120deg, #0B0F28, #101535 55%, #1A2150); color: #fff; padding: 64px 0; }
.h3d-numeros::before { content: ""; position: absolute; inset: 0; background: url("img/fundo-grade.svg") 0 0 / 64px 64px; opacity: .06; }
.h3d-numeros::after { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 3px; background: linear-gradient(90deg, transparent, var(--gold), transparent); }
.h3d-numeros .grade { position: relative; z-index: 1; }
.h3d-numeros b { color: var(--gold); }
.h3d-numeros span { color: var(--navy-texto); }

.h3d-pdca { position: relative; overflow: hidden; background: linear-gradient(180deg, #fff 0%, #F5F7FB 100%); }
.h3d-pdca::before { content: ""; position: absolute; right: -90px; top: 50%; width: 560px; height: 560px; translate: 0 -50%; background: url("img/fundo-ciclo.svg") center / contain no-repeat; opacity: .07; animation: h3d-gira 90s linear infinite; }
@keyframes h3d-gira { to { rotate: 360deg; } }
.h3d-pdca > .container { position: relative; z-index: 1; }

.h3d-clientes { background: #F5F7FB url("img/fundo-grade.svg") 0 0 / 64px 64px; background-blend-mode: soft-light; position: relative; }
.h3d-clientes::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, #F5F7FB 0%, rgba(245,247,251,0) 12%, rgba(245,247,251,0) 88%, #F5F7FB 100%); pointer-events: none; z-index: 2; }

#conhecimento { position: relative; overflow: hidden; background: radial-gradient(ellipse at 90% 0%, rgba(15,98,172,.10), transparent 55%), radial-gradient(ellipse at 0% 100%, rgba(240,199,56,.12), transparent 50%), #F5F7FB; }
#conhecimento::before { content: ""; position: absolute; inset: 0; background: url("img/fundo-grade.svg") 0 0 / 64px 64px; opacity: .45; -webkit-mask-image: linear-gradient(180deg, #000, transparent 70%); mask-image: linear-gradient(180deg, #000, transparent 70%); filter: invert(.15) hue-rotate(180deg); }
#conhecimento > .container { position: relative; z-index: 1; }

#faq-home { background: linear-gradient(180deg, #fff, #F5F7FB); }

.cta-final { background-image: linear-gradient(120deg, rgba(11,15,40,.94), rgba(16,21,53,.86)), url("img/industrial_hero_bg.webp"); background-size: cover; background-position: center; }

/* ---------- celular ---------- */
@media (max-width: 719px) {
  .h3d-node { width: 112px; }
  .h3d-node .corpo { padding: 12px 10px 9px; }
  .h3d-node .ic { width: 30px; height: 30px; border-radius: 10px; }
  .h3d-node .ic svg { width: 17px; height: 17px; }
  .h3d-node .rot { font-size: .72rem; margin-top: 7px; }
  .h3d-node .rod, .h3d-node .mar, .h3d-node .cod { display: none; }
  .h3d-fundo .halo { width: 520px; height: 520px; }
}

@media (prefers-reduced-motion: reduce) {
  .h3d-fundo .malha, .h3d-fundo .halo, .h3d-fundo i, .h3d-pdca::before, .h3d-node.is-front::after { animation: none; }
  .h3d-fundo i { display: none; }
  .h3d-node.is-front::after { opacity: .5; }
}

/* ---------- pausa global (WCAG 2.2.2): um botão para todo o movimento ---------- */
.h3d-pausa *, .h3d-pausa *::before, .h3d-pausa *::after { animation-play-state: paused !important; }
.h3d.v2 > .h3d-pausa-hero { position: absolute; left: 24px; top: 18px; z-index: 5; min-height: 40px; font-size: .8rem; }

/* ---------- elementos novos: selos, setores, passos, nota do Google ---------- */
.h3d-selos { display: flex; flex-wrap: wrap; justify-content: center; gap: 18px 28px; margin: 44px 0 0; padding: 0; list-style: none; }
.h3d-selos a { display: block; transition: transform .25s; }
.h3d-selos a:hover { transform: translateY(-4px) rotate(-2deg); }
.h3d-selos img { width: 112px; height: 112px; object-fit: contain; filter: drop-shadow(0 8px 14px rgba(16,21,53,.25)); }
.h3d-selos-t { text-align: center; margin: 36px 0 0; color: var(--muted); font-size: .92rem; }

.h3d-setores { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin: 18px auto 0; padding: 0 24px; list-style: none; max-width: 900px; }
.h3d-setores li { padding: 6px 14px; border-radius: 999px; background: #fff; border: 1px solid var(--line); color: var(--navy); font: 600 .8rem 'Montserrat', sans-serif; }

.h3d-passos { counter-reset: p; display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 18px; margin: 0; padding: 0; list-style: none; }
.h3d-passos li { position: relative; padding: 26px 22px 22px; border-radius: 16px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
.h3d-passos li::after { content: ""; position: absolute; left: 22px; top: 0; width: 44px; height: 4px; background: var(--gold); border-radius: 0 0 4px 4px; }
.h3d-passos .n { font: 800 1.9rem 'Montserrat', sans-serif; color: var(--blue); }
.h3d-passos h3 { margin: 6px 0 8px; font-size: 1.05rem; color: var(--navy); }
.h3d-passos p { margin: 0; color: var(--muted); font-size: .92rem; line-height: 1.55; }

.h3d-google { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 16px; border-radius: 999px; border: 1px solid rgba(255,255,255,.22); background: rgba(255,255,255,.06); color: #fff; font-size: .88rem; text-decoration: none; }
.h3d-google:hover { background: rgba(255,255,255,.12); color: #fff; }
.h3d-google b { color: var(--gold); font-family: 'Montserrat', sans-serif; }
.h3d-google svg { width: 16px; height: 16px; fill: var(--gold); }
.h3d-numeros .h3d-google { margin: 26px auto 0; display: flex; width: max-content; max-width: 100%; position: relative; z-index: 1; }

/* ---------- desempenho: seções abaixo da dobra só são pintadas quando chegam perto ---------- */
.h3d-pdca, #conhecimento, #faq-home, .h3d-passos-sec { content-visibility: auto; contain-intrinsic-size: auto 700px; }

@media (max-width: 719px) { .h3d.v2 > .h3d-pausa-hero { position: static; margin: 14px auto 0; display: flex; } }
@media (prefers-reduced-motion: reduce) { .h3d-selos a:hover { transform: none; } }

/* selos PDCA dentro do painel da área PDCA */
.h3d-selos-painel { display: flex; flex-wrap: wrap; gap: 14px; margin: 22px 0 0; padding: 0; list-style: none; align-items: center; }
.h3d-selos-painel li { list-style: none; }
.h3d-selos-painel a { display: block; border-radius: 50%; transition: transform .25s; }
.h3d-selos-painel a:hover { transform: translateY(-3px) rotate(-3deg); }
.h3d-selos-painel img { display: block; width: 76px; height: 76px; object-fit: contain; filter: drop-shadow(0 6px 12px rgba(0,0,0,.4)); }
.h3d-selos-painel .leg { font-size: .8rem; color: var(--navy-texto-apoio); max-width: 220px; line-height: 1.4; }
@media (prefers-reduced-motion: reduce) { .h3d-selos-painel a:hover { transform: none; } }

/* celular: alvos de toque de pelo menos 44 px (rótulos dos pilares no mapa e botão do menu) */
@media (max-width: 719px) {
  .h3d-pilar { min-height: 44px; font-size: .86rem; }
  .menu-toggle { min-width: 44px; min-height: 44px; display: inline-flex; align-items: center; justify-content: center; } /* alvos de toque */
  .h3d-pausa-hero { min-height: 44px; }
}

/* celular: o painel da área abre LOGO ABAIXO do mapa; filtros e botões vêm depois (ordem só visual) */
@media (max-width: 719px) {
  .h3d.v2.c-mapa { display: flex; flex-direction: column; }
  .c-mapa > .h3d-head, .c-mapa > #mapa { order: 0; }
  .c-mapa > .h3d-stage { order: 1; width: 100%; }
  .c-mapa > .h3d-painel { order: 2; width: 100%; box-sizing: border-box; padding-top: 4px; }
  .c-mapa > .h3d-bar { order: 3; width: 100%; box-sizing: border-box; margin-top: 0; }
  .c-mapa > .h3d-ctas { order: 4; width: 100%; box-sizing: border-box; padding-bottom: 36px; }
}

/* ===== opcao-c.css ===== */
/* Opção C — abertura convencional + mapa como seção. Vem depois de home-3d-v2.css. */
.c-abertura { padding: 72px 0 64px; }
.c-grade { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 40px; align-items: center; }
.c-texto .eyebrow { color: var(--gold); }
.c-texto h1 { color: #fff; margin: 14px 0 0; font-size: clamp(2rem, 4.2vw, 3.1rem); line-height: 1.1; letter-spacing: -.5px; }
.c-texto h1 .hl { color: var(--gold); }
.c-lead { color: var(--navy-texto); font-size: 1.1rem; line-height: 1.65; margin: 18px 0 0; max-width: 620px; }
.c-botoes { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.c-provas { list-style: none; display: flex; flex-wrap: wrap; gap: 8px 22px; margin: 26px 0 0; padding: 0; color: var(--navy-texto-apoio); font-size: .9rem; }
.c-provas li::before { content: ""; display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--gold); margin-right: 8px; }
.c-ia { background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.18); border-top: 3px solid var(--gold); border-radius: 18px; padding: 28px; }
.c-tag { font: 700 .74rem Consolas, monospace; letter-spacing: .08em; text-transform: uppercase; color: var(--gold); }
.c-ia h2 { color: #fff; font-size: 1.5rem; margin: 12px 0 8px; }
.c-ia p { color: var(--navy-texto); margin: 0 0 18px; }
.c-mapa { padding-top: 56px; }
@media (max-width: 860px) { .c-grade { grid-template-columns: 1fr; } .c-abertura { padding: 48px 0; } }

.c-grade { position: relative; }
.c-ia form { display: flex; gap: 8px; margin: 0 0 14px; }
.c-ia input[type="text"] { flex: 1 1 auto; min-width: 0; min-height: 48px; padding: 0 14px; border-radius: 10px; border: 1px solid rgba(255,255,255,.25); background: rgba(255,255,255,.1); color: #fff; font: 400 .95rem 'Roboto', sans-serif; }
.c-ia input[type="text"]::placeholder { color: var(--navy-texto-apoio); }
.c-ia input[type="text"]:focus-visible { outline: var(--foco-anel); outline-offset: 2px; }
.c-ia form button { min-width: 48px; min-height: 48px; border-radius: 10px; border: 0; background: var(--gold); color: var(--navy); cursor: pointer; font-size: 1rem; }
.c-ia .c-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.c-ia .c-chips button { min-height: 40px; padding: 0 12px; border-radius: 999px; border: 1px solid rgba(255,255,255,.25); background: transparent; color: #fff; font: 600 .78rem 'Montserrat', sans-serif; cursor: pointer; }
.c-ia .c-chips button:hover { background: rgba(255,255,255,.1); }

/* ===== imersiva.css ===== */
/* Navegação imersiva a partir do mapa — vem DEPOIS de home-3d-v2.css e opcao-c.css.
   Tudo o que se move aqui é transform ou opacity (compositor), nunca clip-path, layout ou filtro.
   As animações do mergulho são feitas em JavaScript (API de animações); aqui ficam só o visual e as pausas. */

/* a camada do mapa fica fixada: é só ampliada pelo compositor, sem redesenho */
.h3d-zoom { will-change: transform; }

/* enquanto sai: o motor para (home-3d-v2.js) e param as animações que PINTAM (as de transform seguem) */
.hz-saindo .h3d-flow, .hz-saindo .h3d-hub-pulso, .hz-saindo .h3d-trilha, .hz-saindo .h3d-node::after, .hz-saindo .h3d-pdca::before { animation-play-state: paused !important; }
.hz-saindo .h3d-stage { pointer-events: none; }

/* círculo de saída, na cor do pilar */
.hz-saida { position: fixed; inset: 0; z-index: 2147483000; pointer-events: all; overflow: hidden; contain: strict; }
.hz-saida .disco { position: absolute; border-radius: 50%; transform: scale(.001); will-change: transform;
  background: #101535; /* cor de reserva para navegador sem color-mix */
  background: radial-gradient(circle, color-mix(in srgb, var(--c, #F0C738) 30%, #101535) 0%, #101535 55%, #0B0F28 100%); }
.hz-saida .cx { position: absolute; inset: 0; display: grid; place-content: center; text-align: center; padding: 0 24px; color: #fff; opacity: 0; }
.hz-saida .anel { width: 70px; height: 70px; margin: 0 auto 18px; border-radius: 50%; border: 3px solid color-mix(in srgb, var(--c, #F0C738) 38%, transparent); border-top-color: var(--c, #F0C738); animation: hz-gira .9s linear infinite; }
@keyframes hz-gira { to { rotate: 360deg; } }
.hz-saida b { display: block; font: 700 .78rem Consolas, 'Courier New', monospace; letter-spacing: .18em; text-transform: uppercase; color: var(--c, #F0C738); }
.hz-saida span.t { display: block; margin-top: 10px; font: 800 clamp(1.5rem, 4vw, 2.6rem)/1.15 'Montserrat', sans-serif; }

@media (prefers-reduced-motion: reduce) { .hz-saida .anel { animation: none; } }
