/* Dois momentos de leitura: minhas soluções e minha operação. */
.service-section, .intelligence-section { position: relative; background: var(--bg); scroll-margin-top: 90px; }
.service-section-in { max-width: 1560px; margin: auto; padding: 88px clamp(24px, 5vw, 80px); }
.service-heading { display: flex; align-items: end; justify-content: space-between; gap: 48px; margin-bottom: 56px; }
.service-heading .kicker { margin-bottom: 20px; }
.service-heading h2 { font: 700 clamp(2.5rem, 4.8vw, 5rem)/1.05 var(--display); letter-spacing: -.05em; text-wrap: balance; }
.service-heading h2 em { font-style: normal; background: var(--grad); background-clip: text; -webkit-background-clip: text; color: transparent; }
.service-heading > p { max-width: 34ch; color: var(--muted); font-size: .9rem; line-height: 1.9; padding-bottom: 6px; }
.service-layout { display: grid; grid-template-columns: 1fr 1.03fr; gap: clamp(40px, 6vw, 100px); align-items: start; }
.service-path { border-top: 1px solid var(--glass-line); }
.service-path:last-child { border-bottom: 1px solid var(--glass-line); }
.service-path summary { display: flex; gap: 20px; align-items: center; padding: 24px 0; cursor: pointer; list-style: none; }
.service-path summary::-webkit-details-marker, .intelligence-agent summary::-webkit-details-marker { display: none; }
.service-path summary > span { color: var(--muted); font: 600 .65rem var(--text); }
.service-path h3 { flex: 1; font: 700 clamp(1.25rem, 2vw, 2rem)/1.2 var(--display); letter-spacing: -.035em; }
.service-path summary i { color: #d5aaff; font: 400 1.4rem var(--text); font-style: normal; transition: transform .3s; }
.service-path[open] summary i { transform: rotate(45deg); }
.service-path[open] summary > span { color: #ff88b8; }
.service-path-body { padding: 0 0 32px 36px; }
.service-path-body > p { font-size: .86rem; color: var(--muted); line-height: 1.8; max-width: 46ch; margin-bottom: 24px; }
.service-path-body ul { list-style: none; display: grid; gap: 18px; }
.service-path-body li { display: flex; flex-direction: column; gap: 3px; border-left: 2px solid #9a56ca; padding-left: 14px; }
.service-path-body li b { font-size: .9rem; font-weight: 700; }
.service-path-body li span { color: var(--muted); font-size: .75rem; line-height: 1.6; }
.service-text-link { display: inline-flex; align-items: center; gap: 24px; min-height: 44px; margin-top: 20px; font: 700 .72rem var(--text); border-bottom: 1px solid #644a72; }
.service-text-link > span { font-size: 1.2rem; color: #da9cff; }
.service-gallery { position: relative; min-width: 0; aspect-ratio: 1.05; overflow: hidden; border-radius: 6px; background: var(--bg-2); }
.service-visual { position: absolute; inset: 0; margin: 0; display: grid; grid-template-rows: minmax(0,1fr) auto; background: #100d16; }
.service-visual[hidden] { display: none; }
.service-visual img { width: 100%; height: 100%; min-height: 0; object-fit: contain; padding: 16px; transform: none !important; }
.service-visual figcaption { position: relative; padding: 20px 24px; display: flex; flex-direction: column; gap: 8px; background: #100d16; border-top: 1px solid var(--glass-line); }
.service-visual figcaption > span { color: #e5dce9; font: 500 .6rem var(--text); text-transform: uppercase; letter-spacing: .13em; }
.service-visual figcaption b { font: 700 clamp(1.2rem, 2vw, 2rem)/1.2 var(--display); letter-spacing: -.025em; }
.service-visual figcaption a, .service-visual figcaption button { align-self: start; padding: 6px 0; min-height: 40px; background: none; color: var(--ink); font: 700 .72rem var(--text); border: 0; border-bottom: 1px solid #ffffff70; }
.service-gallery-index { position: absolute; top: 20px; right: 20px; padding: 8px 12px; border-radius: 100px; background: #07050abf; color: #fff; font: 600 .65rem var(--text); }
.service-next { display: flex; justify-content: space-between; gap: 24px; align-items: center; max-width: 440px; min-height: 52px; margin-top: 40px; color: var(--muted); font-size: .75rem; }
.service-next > span:last-child { font-size: 1.3rem; color: #dca8ff; }
.service-bridge { display: flex; flex-direction: column; align-items: center; gap: 24px; height: 220px; padding: 20px 0; background: var(--bg); overflow: hidden; }
.service-bridge > span { color: var(--muted); font: 500 .6rem var(--text); text-transform: uppercase; letter-spacing: .18em; }
.service-bridge > div { width: 1px; height: 150px; position: relative; background: #3c2846; }
.service-bridge i { position: absolute; inset: 0; background: linear-gradient(var(--orange), var(--hot), var(--violet)); transform-origin: top; }
.service-bridge b { position: absolute; bottom: 0; left: -3px; width: 7px; height: 7px; border-radius: 50%; background: #cb91ff; box-shadow: 0 0 20px #b656ff; }
.intelligence-section { background: radial-gradient(ellipse at 76% 45%, #6d2e8312, transparent 62%), var(--bg); }
.intelligence-section .service-heading h2 { font-size: clamp(2.2rem, 3.5vw, 4rem); }
.intelligence-layout { display: grid; grid-template-columns: .85fr 1.15fr; align-items: center; gap: clamp(32px, 5vw, 80px); }
.intelligence-instruction { color: var(--muted); font-size: .68rem; letter-spacing: .05em; margin-bottom: 20px; }
.intelligence-agent { border-top: 1px solid var(--glass-line); }
.intelligence-agent:last-child { border-bottom: 1px solid var(--glass-line); }
.intelligence-agent summary { display: flex; align-items: center; gap: 18px; min-height: 68px; padding: 16px 4px; list-style: none; cursor: pointer; }
.intelligence-agent summary > span { font: 500 .6rem var(--text); color: var(--muted); }
.intelligence-agent summary b { flex: 1; font: 700 clamp(1.1rem, 1.7vw, 1.55rem)/1.2 var(--display); letter-spacing: -.02em; }
.intelligence-agent summary i { font: 400 1.1rem var(--text); color: #ad8abf; }
.intelligence-agent[open] summary > span, .intelligence-agent[open] summary i { color: #ff82b9; }
.intelligence-agent[open] summary b { color: #e9cfff; }
.intelligence-agent > div { padding: 0 24px 24px 34px; }
.intelligence-agent p { font-size: .81rem; line-height: 1.8; color: var(--muted); }
.intelligence-agent .agent-role { margin-bottom: 10px; color: var(--ink); font-weight: 600; }
.intelligence-visual { position: relative; aspect-ratio: 6/5; min-width: 0; isolation: isolate; }
.intelligence-visual canvas, .intelligence-fallback { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.intelligence-visual canvas { display: none; }
.intelligence-visual.has-gl canvas { display: block; }
.intelligence-visual.has-gl .intelligence-fallback { display: none; }
.intelligence-visual.has-core .intelligence-hub { pointer-events: none; background: none; min-height: 0; padding: 0; height: 46%; width: 58%; justify-content: space-between; }
.intelligence-visual.has-core .intelligence-hub b { visibility: hidden; }
.intelligence-visual.has-core .intelligence-hub > span { margin-top: 2px; }
.intelligence-visual.has-core .intelligence-hub p { background: #0a0711ad; padding: 4px 12px; border-radius: 4px; }
.intelligence-fallback { opacity: .6; }
.intelligence-hub { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); width: 46%; min-height: 156px; display: flex; flex-direction: column; justify-content: center; align-items: center; padding: 20px 12px; text-align: center; background: radial-gradient(ellipse, #170e20f5 35%, #0e0913e0 70%, transparent 72%); }
.intelligence-hub > span { color: #dbaaff; font: 600 .55rem var(--text); text-transform: uppercase; letter-spacing: .15em; }
.intelligence-hub b { font: 800 clamp(1.4rem, 3vw, 2.8rem)/1 var(--display); letter-spacing: -.04em; margin: 12px 0; }
.intelligence-hub p { color: #c0b3c9; font-size: clamp(.6rem, .8vw, .75rem); line-height: 1.6; }
.intelligence-satellite { position: absolute; transform: translateX(-50%); display: flex; flex-direction: column; align-items: center; padding-top: 14px; font: 600 .65rem var(--text); color: #ad9db8; white-space: nowrap; transition: color .3s; }
.intelligence-satellite i { position: absolute; left: 50%; top: 0; transform: translate(-50%, -50%); width: 7px; height: 7px; background: #a789c0; border-radius: 50%; box-shadow: 0 0 0 5px #b45bff12; }
.intelligence-satellite[data-active] { color: #f4d6ff; }
.intelligence-satellite[data-active] i { background: #ff5d9b; box-shadow: 0 0 24px #ff2d6f9a, 0 0 0 5px #ff2d6f22; }
.satellite-0 { left: 50%; top: 13%; }.satellite-1 { left: 83.33%; top: 38%; }.satellite-2 { left: 70%; top: 85%; }.satellite-3 { left: 30%; top: 85%; }.satellite-4 { left: 16.67%; top: 38%; }
.intelligence-visual-caption { position: absolute; left: 0; right: 0; bottom: 0; text-align: center; color: var(--muted); font: 500 .55rem var(--text); letter-spacing: .08em; text-transform: uppercase; }
.intelligence-delivery { margin-top: 64px; padding-top: 24px; border-top: 1px solid var(--glass-line); display: flex; justify-content: space-between; align-items: center; gap: 32px; }
.intelligence-delivery p { font-size: .9rem; }
.intelligence-delivery p > span { display: block; color: var(--muted); font: 500 .6rem var(--text); text-transform: uppercase; letter-spacing: .12em; margin-bottom: 10px; }
.intelligence-delivery a { min-height: 44px; display: inline-flex; align-items: center; gap: 32px; font: 700 .8rem var(--text); }
.intelligence-delivery a span { color: #e1acff; font-size: 1.3rem; }
.service-section :is(a,button,summary):focus-visible, .intelligence-section :is(a,button,summary):focus-visible { outline: 2px solid #ddaaff; outline-offset: 6px; }
@media (max-width: 1000px) { .service-heading { gap: 28px; }.service-heading > p { font-size: .8rem; max-width: 28ch; }.service-layout { gap: 32px; }.intelligence-layout { gap: 24px; grid-template-columns: 1fr 1fr; }.service-path summary { gap: 12px; }.service-path-body { padding-left: 26px; }.intelligence-hub { width: 53%; } }
@media (max-width: 700px) {
  .service-section-in { padding: 64px 24px; }.service-heading { display: block; margin-bottom: 32px; }.service-heading > p { margin-top: 24px; max-width: 40ch; font-size: .85rem; }.service-heading h2 { font-size: clamp(2.7rem, 10vw, 4rem); }.service-layout { grid-template-columns: minmax(0, 1fr); gap: 32px; }.service-path h3 { font-size: 1.4rem; }.service-gallery { aspect-ratio: 1.12; }.service-next { margin-top: 24px; }.service-bridge { height: 156px; gap: 18px; }.service-bridge > div { height: 90px; }.intelligence-section .service-heading h2 { font-size: clamp(2rem, 7.5vw, 3rem); }.intelligence-layout { display: flex; flex-direction: column-reverse; gap: 32px; align-items: stretch; }.intelligence-visual { width: 100%; }.intelligence-hub { width: 50%; min-height: 120px; padding: 12px 8px; }.intelligence-hub b { font-size: clamp(1.2rem, 5.4vw, 2.5rem); margin: 8px 0; }.intelligence-satellite { font-size: .58rem; gap: 8px; }.intelligence-hub p { font-size: .6rem; }.intelligence-visual-caption { font-size: .48rem; }.intelligence-delivery { margin-top: 40px; display: block; }.intelligence-delivery a { margin-top: 20px; }.intelligence-agent summary b { font-size: 1.2rem; }
}
@media (prefers-reduced-motion: reduce) { .service-section *, .intelligence-section * { transition: none !important; animation: none !important; } }
/* Leitura guiada: a tela fica estável enquanto cada tópico é apresentado. */
.is-scroll-story > .service-section-in { height: 100svh; padding-top: 84px; padding-bottom: 24px; display: grid; grid-template-rows: auto minmax(0,1fr) auto auto; gap: 20px; }
.is-scroll-story .service-heading { margin-bottom: 8px; gap: 32px; }
.is-scroll-story .service-heading h2 { font-size: clamp(2.5rem, 3.5vw, 3.7rem); }
.is-scroll-story .service-heading .kicker { margin-bottom: 14px; }
.is-scroll-story .service-heading > p { font-size: .8rem; }
.is-scroll-story .service-layout, .is-scroll-story .intelligence-layout { min-height: 0; height: 100%; align-items: center; }
.is-scroll-story .service-gallery { height: 100%; max-height: 560px; aspect-ratio: auto; }
.is-scroll-story .service-path summary { padding: 18px 0; }
.is-scroll-story .service-path h3 { font-size: clamp(1.2rem, 1.75vw, 1.7rem); }
.is-scroll-story .service-path-body { padding-bottom: 22px; }
.is-scroll-story .service-path-body > p { margin-bottom: 16px; font-size: .8rem; }
.is-scroll-story .service-path-body ul { gap: 12px; }
.is-scroll-story .service-path-body li span { font-size: .7rem; }
.is-scroll-story .service-text-link { margin-top: 10px; }
.is-scroll-story .service-next { margin-top: 0; min-height: 36px; }
.is-scroll-story .intelligence-visual { height: 100%; max-height: 550px; width: 100%; aspect-ratio: auto; }
.is-scroll-story .intelligence-delivery { margin-top: 0; padding-top: 16px; }
.is-scroll-story .intelligence-agent summary { min-height: 58px; }
.is-scroll-story .intelligence-agent > div { padding-bottom: 18px; }
.service-story-progress { position: relative; padding-top: 12px; border-top: 1px solid var(--glass-line); }
.service-story-progress i { position: absolute; top: -1px; left: 0; width: 100%; height: 2px; background: var(--grad); transform-origin: left; }
.service-story-progress > span { display: block; text-align: right; color: var(--muted); font: 500 .55rem var(--text); text-transform: uppercase; letter-spacing: .12em; }
.service-section summary, .intelligence-section summary { cursor: pointer; }
@media (hover:hover) and (pointer:fine) { .js .service-section summary, .js .intelligence-section summary { cursor: none; } }
