/* Cenas ilustradas das páginas de serviço */
.hero-servico { padding: 3.5rem 0; border-bottom: 4px solid var(--laranja); background: radial-gradient(circle at 78% 40%, #2a1a0d 0, transparent 52%), linear-gradient(#0d0d0d, #151515); }
.hero-servico h1 { font-size: clamp(2.3rem, 6vw, 3.8rem); }
.cena svg { display: block; width: 100%; height: auto; }
.cena-foto { position: relative; overflow: hidden; border: 1px solid var(--borda); border-bottom: 3px solid var(--laranja); }
.cena-foto img { display: block; width: 100%; aspect-ratio: 16/10; object-fit: cover; }
.varredura { position: absolute; top: 0; bottom: 0; width: 22%; background: linear-gradient(90deg, transparent, rgba(255,255,255,.28), transparent); animation: varre 4s linear infinite; }
.painel-sim { background: #171717; border: 1px solid var(--borda); padding: .9rem 1rem; }
.painel-sim label { display: block; font-size: .92rem; }
.num-sim strong { display: block; color: var(--laranja); font-family: var(--titulo); font-size: 1.8rem; line-height: 1; }
.num-sim span { color: var(--texto-2); font-size: .78rem; }
.accordion-tema .accordion-item { background: var(--cartao); border-color: var(--borda); color: var(--texto); }
.accordion-tema .accordion-button { background: var(--cartao); color: #fff; font-family: var(--titulo); font-size: 1.25rem; box-shadow: none; }
.accordion-tema .accordion-button:not(.collapsed) { color: var(--laranja); background: #1f1f1f; }
.accordion-tema .accordion-button::after { filter: invert(1); }

@keyframes varre { from { left: -25%; } to { left: 105%; } }
@keyframes prensa { 0%,100% { transform: translateY(0); } 50% { transform: translateY(100px); } }
.an-prensa { animation: prensa 3.2s ease-in-out infinite; }
@keyframes pisca { 0%,100% { opacity: .95; } 50% { opacity: .35; } }
.an-feixe, .an-onda { animation: pisca 1.1s infinite; }
@keyframes ponteiro { 0%,100% { transform: rotate(-16deg); } 50% { transform: rotate(14deg); } }
.an-ponteiro { transform-origin: 260px 50px; animation: ponteiro 3.4s ease-in-out infinite; }
.an-arco { transform-origin: 262px 244px; animation: arco .18s infinite alternate; }
@keyframes arco { from { transform: scale(.82); opacity: .75; } to { transform: scale(1.1); opacity: 1; } }
@keyframes centelha { from { transform: translate(0,0); opacity: 1; } to { transform: translate(var(--x), var(--y)); opacity: 0; } }
.f1,.f2,.f3,.f4,.f5,.f6 { animation: centelha .85s linear infinite; }
.f1 { --x:-120px; --y:-90px; } .f2 { --x:-70px; --y:-150px; animation-delay:.14s; } .f3 { --x:-160px; --y:-30px; animation-delay:.28s; }
.f4 { --x:120px; --y:-40px; animation-delay:.42s; } .f5 { --x:-40px; --y:-120px; animation-delay:.56s; } .f6 { --x:90px; --y:-110px; animation-delay:.7s; }
@keyframes gira { to { transform: rotate(360deg); } }
.an-gira { transform-origin: 138px 72px; animation: gira 1.2s linear infinite; }
@keyframes ar { to { stroke-dashoffset: -44; } }
.an-ar path { stroke-dasharray: 26 18; animation: ar 1.1s linear infinite; }
@keyframes entra { 0%,12% { opacity: 0; } 22%,100% { opacity: 1; } }
.c1,.c2,.c3,.c4,.an-carimbo,.l1,.l2,.l3,.l4,.l5 { animation: entra 6s infinite; }
.c2,.l2 { animation-delay: .5s; } .c3,.l3 { animation-delay: 1s; } .c4,.l4 { animation-delay: 1.5s; } .l5 { animation-delay: 2s; } .an-carimbo { animation-delay: 2.2s; }
@keyframes peca { from { transform: translateX(0); } to { transform: translateX(510px); } }
.p1,.p2,.p3,.p4 { animation: peca 8s linear infinite; }
.p2 { animation-delay: 2s; } .p3 { animation-delay: 4s; } .p4 { animation-delay: 6s; }
@keyframes barra { 0%,100% { transform: scaleY(1); } 50% { transform: scaleY(.45); } }
.b1,.b2,.b3,.b4,.b5,.b6 { transform-box: fill-box; transform-origin: bottom; animation: barra 2.6s ease-in-out infinite; }
.b2,.b5 { animation-delay: .4s; } .b3,.b6 { animation-delay: .8s; }
/* Melhoria contínua: etapas do DMAIC acendem em sequência e as paradas caem */
.dm circle { fill: #222; stroke: #444; stroke-width: 3; } .dm text { fill: #888; }
.dm { animation: dm-acende 7.5s infinite; }
@keyframes dm-acende { 0%, 100% { opacity: .55; } 4%, 16% { opacity: 1; } 20% { opacity: .55; } }
.dm1 circle, .dm2 circle, .dm3 circle, .dm4 circle, .dm5 circle { animation: dm-cor 7.5s infinite; }
.dm1 text, .dm2 text, .dm3 text, .dm4 text, .dm5 text { animation: dm-txt 7.5s infinite; }
@keyframes dm-cor { 0%, 100% { fill: #222; stroke: #444; } 4%, 16% { fill: #ff6600; stroke: #ffb37f; } 22% { fill: #222; stroke: #ff6600; } }
@keyframes dm-txt { 0%, 100% { fill: #888; } 4%, 16% { fill: #000; } 22% { fill: #fff; } }
.dm2, .dm2 circle, .dm2 text { animation-delay: 1.2s; } .dm3, .dm3 circle, .dm3 text { animation-delay: 2.4s; }
.dm4, .dm4 circle, .dm4 text { animation-delay: 3.6s; } .dm5, .dm5 circle, .dm5 text { animation-delay: 4.8s; }
.dm-trilha { stroke-dasharray: 616; stroke-dashoffset: 616; animation: dm-trilha 7.5s linear infinite; }
@keyframes dm-trilha { 0% { stroke-dashoffset: 616; } 80% { stroke-dashoffset: 0; } 100% { stroke-dashoffset: 0; opacity: 0; } }
.bq { transform-box: fill-box; transform-origin: bottom; animation: bq 7.5s ease-out infinite; }
@keyframes bq { 0% { transform: scaleY(0); } 15%, 92% { transform: scaleY(1); } 100% { transform: scaleY(1); opacity: 0; } }
.dm-tendencia { stroke-dasharray: 200; stroke-dashoffset: 200; animation: dm-linha 7.5s ease-out infinite; }
@keyframes dm-linha { 0%, 20% { stroke-dashoffset: 200; } 45%, 92% { stroke-dashoffset: 0; } 100% { stroke-dashoffset: 0; opacity: 0; } }

@media (prefers-reduced-motion: reduce) { .cena *, .varredura { animation: none !important; } }
