/* Guardian Digital · Opção 3 "Palo Alto"
   Página escura (navy-black) com painéis navy, azul suave no papel do laranja da Palo Alto,
   vermelho só no CTA principal. Archivo Black em títulos e números, IBM Plex Sans no texto. */

:root {
  --chao: #050B12;
  --navy: #092941;
  --navy-2: #0B1F38;
  --navy-3: #17639C;
  --azul: #68B0EB;
  --ceu: #4694CF;
  --cinza: #B4BEC6;
  --mist: #DBE3E9;
  --vermelho: #B02323;
  --vermelho-2: #AC0000;
  --branco: #FFFFFF;
  --linha: rgba(255, 255, 255, .08);
  --linha-2: rgba(255, 255, 255, .16);
  --titulos: 'Archivo Black', 'Arial Black', Arial, sans-serif;
  --texto: 'IBM Plex Sans', 'Segoe UI', Arial, sans-serif;
  --gutter: clamp(20px, 5vw, 72px);
  --max: 1280px;
  --sec: clamp(96px, 11vw, 160px);
  --hdr: 76px;
  --ease: cubic-bezier(.32, .72, 0, 1);
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 130px; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
body { margin: 0; background: var(--chao); color: var(--branco); font-family: var(--texto); font-size: 1.0625rem; line-height: 1.6; letter-spacing: .01em; -webkit-font-smoothing: antialiased; overflow-x: clip; }
img, svg { max-width: 100%; display: block; }
img { height: auto; }
a { color: var(--azul); text-underline-offset: .18em; }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
button { font: inherit; color: inherit; letter-spacing: inherit; }
:focus-visible { outline: 2px solid var(--azul); outline-offset: 3px; }
.sr { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.pular { position: absolute; left: 16px; top: -100px; z-index: 200; background: var(--branco); color: var(--navy); padding: 12px 16px; font-weight: 600; border-radius: 999px; }
.pular:focus { top: 16px; }
.wrap { width: 100%; max-width: calc(var(--max) + 2 * var(--gutter)); margin-inline: auto; padding-left: max(var(--gutter), env(safe-area-inset-left, 0px)); padding-right: max(var(--gutter), env(safe-area-inset-right, 0px)); }
main:focus { outline: none; }

/* Linhas-guia e grão (Atlas) */
.guias { position: fixed; inset: 0; pointer-events: none; z-index: 1; }
.guias i { position: absolute; top: 0; bottom: 0; width: 1px; background: rgba(104, 176, 235, .10); }
.guias i:first-child { left: 22%; }
.guias i:last-child { left: 78%; }
.grao { position: fixed; inset: 0; pointer-events: none; z-index: 60; opacity: .06; background-repeat: repeat; background-size: 192px 192px; }

/* Splash */
.splash { position: fixed; inset: 0; z-index: 100; background: var(--chao); display: none; align-items: center; justify-content: center; }
html.js .splash { display: flex; }
html.js .splash-in { opacity: 0; }
@media (prefers-reduced-motion: reduce) { html.js .splash { display: none; } }
.splash-in { position: relative; display: grid; place-items: center; }
.splash-guias { position: absolute; inset: 0; pointer-events: none; }
.splash-guias i { position: absolute; background: rgba(104, 176, 235, .22); }
.splash-guias .sg-v { top: 0; bottom: 0; width: 1px; transform: scaleY(0); transform-origin: top; }
.splash-guias .sg-v1 { left: 22%; }
.splash-guias .sg-v2 { left: 78%; }
.splash-guias .sg-h { left: 0; right: 0; top: 50%; height: 1px; transform: scaleX(0); transform-origin: left; }
.splash-scan { position: absolute; left: 0; right: 0; top: 0; height: 1px; will-change: transform; background: linear-gradient(90deg, transparent, rgba(104, 176, 235, .7), transparent); opacity: 0; pointer-events: none; }
.splash-bar { display: inline-block; width: 44px; height: 10px; border: 1px solid rgba(219, 227, 233, .5); vertical-align: middle; margin: 0 12px; position: relative; }
.splash-bar b { position: absolute; left: 0; top: 0; bottom: 0; width: 100%; background: var(--mist); transform: scaleX(0); transform-origin: left; }
.splash-foot { position: absolute; top: calc(100% + 7vh); left: 50%; transform: translateX(-50%); white-space: nowrap; display: flex; gap: 18px; align-items: baseline; font-size: 11px; letter-spacing: .22em; text-transform: uppercase; color: var(--cinza); opacity: 0; }
.splash-pct { font-family: var(--display); font-size: 28px; letter-spacing: .02em; color: var(--mist); font-variant-numeric: tabular-nums; line-height: 1; }
@media (max-width: 720px) { .splash-foot { font-size: 9px; gap: 12px; } .splash-tag { display: none; } }
.splash-sym { height: 38vh; width: auto; aspect-ratio: 1153 / 1041; clip-path: inset(0 0 100% 0); }
.splash-sym img { height: 100%; width: auto; }
.splash-lab { position: absolute; font-size: 14px; font-weight: 600; letter-spacing: .3em; text-transform: uppercase; color: var(--cinza); opacity: 0; }
.splash-lab-a { left: -18vw; top: 3%; }
.splash-lab-b { right: -16vw; bottom: 3%; }
html.sem-motion .splash { display: none; }
[hidden] { display: none !important; }

/* Tipografia */
h1, h2, .h2, .h3-display { font-family: var(--titulos); font-weight: 400; text-transform: uppercase; line-height: 1.02; letter-spacing: .005em; margin: 0 0 .5em; text-wrap: balance; }
h1 { font-size: clamp(2.6rem, 1.6rem + 3.6vw, 5rem); max-width: 16ch; }
.h2 { font-size: clamp(1.9rem, 1.3rem + 2vw, 3.4rem); max-width: 22ch; }
.h3-display { font-size: clamp(1.5rem, 1.2rem + 1vw, 2.2rem); }
h3 { font-family: var(--texto); font-weight: 600; font-size: 1.125rem; line-height: 1.3; margin: 0 0 .4em; }
.sobre { font-size: .8125rem; font-weight: 600; text-transform: uppercase; letter-spacing: .18em; color: var(--azul); margin: 0 0 1.2rem; }
.rotulo { font-size: .75rem; font-weight: 600; text-transform: uppercase; letter-spacing: .16em; color: var(--cinza); margin: 0 0 .8rem; }
.rotulo-azul { color: var(--azul); }
.lead { font-size: clamp(1.0625rem, 1rem + .35vw, 1.25rem); line-height: 1.55; color: var(--mist); max-width: 60ch; }
.nota { color: var(--cinza); font-size: .95rem; margin-top: 24px; }
.azul { color: var(--azul); font-style: normal; }
.h2-split .linha { display: block; overflow: hidden; }
html.motion .h2-split .linha > span { display: block; transform: translateY(110%); }

/* Botões */
.btn { display: inline-flex; align-items: center; gap: 10px; min-height: 52px; padding: 12px 28px; border-radius: 999px; border: 1.5px solid transparent; font-weight: 600; font-size: 1rem; line-height: 1.2; text-decoration: none; cursor: pointer; transition: background-color .25s var(--ease), color .25s var(--ease), transform .35s var(--ease), border-color .25s var(--ease); white-space: nowrap; }
.btn svg { transition: transform .35s var(--ease); }
.btn:hover svg { transform: translateX(4px); }
.btn:active { transform: scale(.98); }
.btn-primary { background: var(--vermelho); color: var(--branco); }
.btn-primary:hover { background: var(--vermelho-2); }
.btn-sm { min-height: 42px; padding: 8px 20px; font-size: .9rem; }
.btn-link { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; color: var(--branco); text-decoration: none; position: relative; padding-bottom: 3px; }
.btn-link::after { content: '→'; color: var(--azul); transition: transform .3s var(--ease); }
.btn-link::before { content: ''; position: absolute; left: 0; bottom: 0; height: 1px; width: 100%; background: var(--azul); transform: scaleX(0); transform-origin: left; transition: transform .4s var(--ease); }
.btn-link:hover::before { transform: scaleX(1); }
.btn-link:hover::after { transform: translateX(4px); }
.ctas { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 28px; margin-top: 36px; }
/* Celulares estreitos: o botão quebra linha em vez de estourar a largura da página. */
@media (max-width: 420px) { .ctas .btn { white-space: normal; text-align: left; max-width: 100%; padding-block: 10px; } .ctas .btn svg { flex: none; } }
.seta { width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--linha-2); background: transparent; color: var(--branco); cursor: pointer; font-size: 1.4rem; line-height: 1; display: inline-grid; place-items: center; transition: border-color .25s, background-color .25s; }
.seta:hover { border-color: var(--azul); background: rgba(104, 176, 235, .12); }
.dest-setas { display: flex; gap: 8px; }

/* Barra institucional e cabeçalho */
.util { background: #030709; color: var(--cinza); font-size: .8125rem; border-bottom: 1px solid var(--linha); position: relative; z-index: 40; }
.util-in { display: flex; justify-content: space-between; align-items: center; min-height: 36px; gap: 24px; }
.util-desc { margin: 0; letter-spacing: .04em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; }
.util-lista { display: flex; gap: 22px; }
.util-lista a { color: var(--branco); text-decoration: none; white-space: nowrap; }
.util-lista a:hover { color: var(--azul); }
@media (max-width: 900px) { .util { display: none; } }

.topo { position: sticky; top: 0; z-index: 50; background: rgba(5, 11, 18, .94);  border-bottom: 1px solid transparent; transition: border-color .3s, background-color .3s; }
.topo.rolou { border-bottom-color: var(--linha); background: rgba(5, 11, 18, .9); }
.topo-in { display: flex; align-items: center; gap: 28px; min-height: var(--hdr); transition: min-height .3s var(--ease); }
.topo.rolou .topo-in { min-height: 62px; }
.marca { flex: none; margin-right: 8px; }
.marca img { width: 150px; height: auto; }
.nav { display: none; }
@media (min-width: 1080px) { .nav { display: block; } }
.nav-lista { display: flex; align-items: center; gap: 4px; }
.nav-item { position: relative; display: flex; align-items: center; }
.nav-link { display: block; padding: 10px 11px; color: var(--branco); font-weight: 600; font-size: .9rem; white-space: nowrap; text-decoration: none; border-radius: 999px; transition: background-color .25s; }
.nav-link:hover { background: rgba(255, 255, 255, .06); }
.nav-abre { width: 26px; height: 26px; margin-left: -8px; border: 0; background: none; cursor: pointer; display: inline-grid; place-items: center; color: var(--branco); border-radius: 50%; }
.nav-abre::before { content: ''; width: 7px; height: 7px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: translateY(-2px) rotate(45deg); transition: transform .25s; }
.nav-abre[aria-expanded="true"]::before { transform: translateY(2px) rotate(-135deg); }
.mega { position: absolute; top: calc(100% + 10px); left: -8px; z-index: 60; display: none; }
.tem-mega.aberto .mega { display: block; }
@media (hover: hover) { .tem-mega:hover .mega { display: block; } }
.mega-in { background: var(--navy-2); border: 1px solid var(--linha-2); border-radius: 16px; padding: 18px; width: max-content; max-width: min(680px, 90vw); box-shadow: 0 30px 80px rgba(0, 0, 0, .5); }
.mega-lista { display: grid; grid-template-columns: repeat(2, minmax(220px, 1fr)); gap: 4px; }
.mega-lista a { display: grid; gap: 2px; padding: 10px 12px; border-radius: 10px; text-decoration: none; color: var(--branco); transition: background-color .2s; }
.mega-lista a:hover { background: rgba(255, 255, 255, .06); }
.mega-lista b { font-weight: 600; }
.mega-lista span { font-size: .85rem; color: var(--cinza); }
.mega-rod { margin: 14px 12px 4px; font-size: .9rem; color: var(--cinza); }
.topo-acoes { margin-left: auto; display: flex; align-items: center; gap: 6px; }
.ico-btn { width: 40px; height: 40px; border-radius: 50%; border: 0; background: transparent; color: var(--branco); cursor: pointer; display: none; place-items: center; transition: background-color .2s; }
.ico-btn:hover { background: rgba(255, 255, 255, .08); }
@media (min-width: 1280px) { .ico-btn { display: inline-grid; } }
.topo-cta { display: none; min-height: 44px; padding: 10px 22px; margin-left: 10px; }
@media (min-width: 1080px) { .topo-cta { display: inline-flex; } }
.menu-btn { width: 44px; height: 44px; border: 0; background: transparent; cursor: pointer; display: grid; place-items: center; }
@media (min-width: 1080px) { .menu-btn { display: none; } }
.menu-ico { position: relative; width: 22px; height: 2px; background: var(--branco); transition: background-color .2s; }
.menu-ico::before, .menu-ico::after { content: ''; position: absolute; left: 0; width: 22px; height: 2px; background: var(--branco); transition: transform .3s var(--ease), top .3s var(--ease); }
.menu-ico::before { top: -7px; }
.menu-ico::after { top: 7px; }
.menu-btn[aria-expanded="true"] .menu-ico { background: transparent; }
.menu-btn[aria-expanded="true"] .menu-ico::before { top: 0; transform: rotate(45deg); }
.menu-btn[aria-expanded="true"] .menu-ico::after { top: 0; transform: rotate(-45deg); }
.mn { background: var(--chao); border-top: 1px solid var(--linha); }
.mn-in { padding-block: 20px 28px; display: grid; gap: 20px; }
.mn-lista a { display: block; padding: 14px 0; border-bottom: 1px solid var(--linha); font-family: var(--titulos); text-transform: uppercase; font-size: 1.1rem; color: var(--branco); text-decoration: none; }
.mn-util { display: flex; flex-wrap: wrap; gap: 8px 20px; font-size: .9rem; }
.mn-util a { color: var(--cinza); text-decoration: none; }
.mn-cta { justify-self: start; }

/* Hero */
.hero { position: relative; min-height: min(86vh, 860px); display: flex; align-items: center; overflow: hidden; isolation: isolate; padding-block: 72px; }
.ondas { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; pointer-events: none; }
.hero-foto { position: absolute; top: 0; right: 0; bottom: 0; width: 58%; z-index: 0; pointer-events: none; -webkit-mask-image: radial-gradient(ellipse 70% 80% at 65% 50%, #000 30%, transparent 72%); mask-image: radial-gradient(ellipse 70% 80% at 65% 50%, #000 30%, transparent 72%); }
.hero-foto img { width: 100%; height: 100%; object-fit: cover; opacity: .8; }
.hero-in { position: relative; z-index: 2; }
.hero-t .char, .hero-t .word { display: inline-block; }
.hero-sub { font-size: clamp(1.1rem, 1rem + .5vw, 1.4rem); color: var(--mist); max-width: 46ch; line-height: 1.5; }
@media (max-width: 900px) { .hero { min-height: auto; padding-block: 56px 48px; } .hero-foto { width: 100%; opacity: .55; -webkit-mask-image: radial-gradient(ellipse 80% 70% at 70% 30%, #000 20%, transparent 70%); mask-image: radial-gradient(ellipse 80% 70% at 70% 30%, #000 20%, transparent 70%); } }

/* Em destaque */
.destaque { padding-block: 36px 48px; border-top: 1px solid var(--linha); border-bottom: 1px solid var(--linha); position: relative; z-index: 2; background: var(--chao); }
.dest-cab { display: flex; justify-content: space-between; align-items: center; margin-bottom: 20px; }
.dest-cab .rotulo { margin: 0; }
.dest-lista { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px; }
.dest-card { display: flex; gap: 16px; align-items: flex-start; min-width: 0; }
.dest-card img { width: 110px; height: 74px; object-fit: cover; border-radius: 6px; flex: none; filter: saturate(.8) contrast(1.05); }
.dest-of { display: block; font-size: .7rem; font-weight: 600; text-transform: uppercase; letter-spacing: .16em; color: var(--azul); margin-bottom: 4px; }
.dest-card h3 { font-size: 1rem; margin-bottom: .3em; }
.dest-card p { font-size: .875rem; color: var(--cinza); margin-bottom: .5em; }
.dest-card a { font-size: .875rem; font-weight: 600; color: var(--branco); text-decoration: none; }
.dest-card a:hover { color: var(--azul); }
@media (max-width: 1080px) { .dest-lista { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 20px; padding-bottom: 8px; scrollbar-width: none; } .dest-card { flex: 0 0 82%; scroll-snap-align: start; } .dest-lista::-webkit-scrollbar { display: none; } }
@media (min-width: 1081px) { .dest-setas { opacity: .5; } }

/* Jump nav */
.salto { position: sticky; top: 62px; z-index: 45; background: rgba(5, 11, 18, .96);  border-bottom: 1px solid var(--linha); }
.salto-in { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 56px; }
.salto-lista { display: flex; gap: 2px; overflow-x: auto; scrollbar-width: none; min-width: 0; }
.salto-lista::-webkit-scrollbar { display: none; }
.salto-lista a { display: block; padding: 18px 14px; font-size: .875rem; font-weight: 600; color: var(--cinza); text-decoration: none; white-space: nowrap; position: relative; transition: color .2s; }
.salto-lista a::after { content: ''; position: absolute; left: 14px; right: 14px; bottom: 0; height: 2px; background: var(--azul); transform: scaleX(0); transition: transform .35s var(--ease); transform-origin: left; }
.salto-lista a:hover, .salto-lista a.ativo { color: var(--branco); }
.salto-lista a.ativo::after { transform: scaleX(1); }
.salto .btn { flex: none; }
.salto .btn-primary { background: transparent; border: 1.5px solid rgba(255, 255, 255, .32); color: var(--branco); }
.salto .btn-primary:hover { background: rgba(255, 255, 255, .08); border-color: rgba(255, 255, 255, .6); }
@media (max-width: 720px) { .salto .btn { display: none; } }

/* Seções */
.sec { padding-block: var(--sec); position: relative; }
.sec + .sec { border-top: 1px solid var(--linha); }
html.motion [data-reveal], html.motion [data-stagger] { opacity: 0; }
.card-h { background: var(--navy-2); border: 1px solid var(--linha); border-radius: 14px; transition: transform .45s var(--ease), border-color .3s, box-shadow .45s var(--ease); position: relative; overflow: hidden; }
.card-h::before { content: ''; position: absolute; left: 0; right: 0; top: 0; height: 2px; background: var(--azul); transform: scaleX(0); transform-origin: left; transition: transform .45s var(--ease); }
.card-h:hover { transform: translateY(-6px); border-color: rgba(104, 176, 235, .35); box-shadow: 0 30px 60px rgba(0, 0, 0, .35); }
.card-h:hover::before { transform: scaleX(1); }

/* Cenário */
.cen-grade { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); gap: 48px; align-items: center; margin-top: 56px; }
.cen-lista { display: grid; gap: 0; }
.cen-lista li { padding: 20px 0; border-top: 1px solid var(--linha-2); font-size: 1.1rem; display: flex; gap: 14px; align-items: flex-start; }
.cen-lista li::before { content: ''; flex: none; width: 10px; height: 10px; margin-top: .55em; border-radius: 50%; border: 1.5px solid var(--azul); }
.cen-lista li:last-child { border-bottom: 1px solid var(--linha-2); }
.cen-aneis { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; }
.anel { margin: 0; display: grid; justify-items: center; gap: 14px; width: 190px; }
.anel-svg { width: 170px; height: 170px; transform: rotate(-90deg); }
.anel-base { fill: none; stroke: rgba(255, 255, 255, .08); stroke-width: 10; }
.anel-arcos circle { fill: none; stroke: var(--azul); stroke-width: 10; stroke-linecap: butt; }
.anel figcaption { font-size: .8rem; font-weight: 600; text-transform: uppercase; letter-spacing: .12em; color: var(--cinza); text-align: center; line-height: 1.4; }
@media (max-width: 1080px) { .cen-grade { grid-template-columns: 1fr; gap: 40px; } .cen-aneis { justify-content: center; } }
@media (max-width: 520px) { .cen-aneis { grid-template-columns: 1fr; justify-items: center; } }

/* Abordagem */
.mantra { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px; margin-top: 64px; }
.mantra li { position: relative; padding-top: 24px; }
.mantra li::before { content: ''; position: absolute; left: 0; top: 0; width: 100%; height: 1px; background: var(--linha-2); }
.mantra li::after { content: ''; position: absolute; left: 0; top: 0; width: 100%; height: 2px; background: var(--azul); transform: scaleX(0); transform-origin: left; transition: transform 1s var(--ease); }
.mantra li.on::after { transform: scaleX(1); }
.mantra-n { display: block; font-family: var(--titulos); font-size: clamp(2.6rem, 2rem + 2vw, 4.2rem); color: var(--azul); line-height: 1; margin-bottom: 18px; font-variant-numeric: tabular-nums; }
.mantra strong { display: block; font-family: var(--titulos); font-weight: 400; text-transform: uppercase; font-size: clamp(1.25rem, 1rem + .8vw, 1.75rem); line-height: 1.05; }
.mantra-s { display: block; color: var(--cinza); margin-top: 6px; }
@media (max-width: 900px) { .mantra { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* Abas (Método e Desafios) */
.abas { margin-top: 48px; }
.abas-barra { position: relative; display: flex; gap: 0; border-bottom: 1px solid var(--linha-2); overflow-x: auto; scrollbar-width: none; }
.abas-barra::-webkit-scrollbar { display: none; }
.abas-barra [role="tab"] { flex: none; background: none; border: 0; padding: 18px 22px 18px 0; margin-right: 14px; color: var(--cinza); font-weight: 600; font-size: .9rem; cursor: pointer; display: inline-flex; align-items: center; gap: 10px; white-space: nowrap; transition: color .25s; position: relative; }
.abas-barra [role="tab"] i { font-style: normal; width: 26px; height: 26px; border-radius: 50%; border: 1px solid var(--linha-2); display: inline-grid; place-items: center; font-size: .75rem; transition: border-color .25s, background-color .25s, color .25s; }
.abas-barra [role="tab"]:hover { color: var(--branco); }
.abas-barra [role="tab"][aria-selected="true"] { color: var(--branco); }
.abas-barra [role="tab"][aria-selected="true"] i { background: var(--azul); border-color: var(--azul); color: var(--navy); }
.abas-ind { position: absolute; bottom: -1px; left: 0; height: 2px; width: 0; background: var(--azul); transition: left .45s var(--ease), width .45s var(--ease); }
.met-corpo { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 48px; align-items: center; margin-top: 56px; min-height: 460px; }
.met-paineis { position: relative; min-width: 0; }
.pn-of { font-size: .75rem; font-weight: 600; text-transform: uppercase; letter-spacing: .16em; color: var(--cinza); margin-bottom: 1rem; }
.pn-t { font-family: var(--titulos); font-weight: 400; text-transform: uppercase; font-size: clamp(1.8rem, 1.2rem + 2.2vw, 3.4rem); line-height: 1.02; color: var(--azul); margin-bottom: .5em; letter-spacing: .01em; }
.pn-p { font-size: 1.15rem; color: var(--mist); max-width: 46ch; margin-bottom: 28px; }
.met-arte { position: relative; min-height: 420px; display: grid; place-items: center; }
.pilha { width: min(100%, 440px); height: auto; position: relative; z-index: 1; }
.pilha .camada { fill: rgba(104, 176, 235, .04); stroke: rgba(104, 176, 235, .35); stroke-width: 1; transition: fill .5s, stroke .5s, filter .5s; }
.pilha .camada.on { fill: rgba(104, 176, 235, .28); stroke: var(--azul); stroke-width: 1.5; filter: drop-shadow(0 0 10px rgba(104, 176, 235, .6)); }
.pilha .lab { font-family: var(--texto); font-size: 9px; font-weight: 600; letter-spacing: .14em; fill: var(--cinza); text-transform: uppercase; transition: fill .4s; }
.pilha .lab.on { fill: var(--branco); }
.pilha .guia { stroke: rgba(255, 255, 255, .14); stroke-width: 1; stroke-dasharray: 3 4; }
.fantasma { position: absolute; right: -2%; bottom: -8%; font-family: var(--titulos); font-size: clamp(9rem, 6rem + 14vw, 22rem); line-height: 1; color: transparent; -webkit-text-stroke: 1px rgba(104, 176, 235, .35); pointer-events: none; z-index: 0; }
.fantasma span { display: block; }
@media (max-width: 1080px) { .met-corpo { grid-template-columns: 1fr; gap: 24px; min-height: 0; } .met-arte { min-height: 300px; } .fantasma { font-size: clamp(7rem, 30vw, 12rem); right: 0; bottom: 0; } .pilha { width: min(80%, 360px); } }

/* Operação contínua */
.ope-in { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 64px; align-items: center; }
.ope-foto { margin: 0; border-radius: 18px; overflow: hidden; position: relative; aspect-ratio: 4 / 5; }
.ope-foto::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(9, 41, 65, .35), rgba(9, 41, 65, .85)); }
.ope-foto img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.05); transition: transform 1.2s var(--ease); }
.ope-foto:hover img { transform: scale(1); }
.ope-itens { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin: 40px 0 32px; }
.ope-itens li { padding: 22px 18px; display: grid; gap: 14px; font-weight: 600; line-height: 1.35; }
.ope-itens svg { color: var(--azul); }
@media (max-width: 1080px) { .ope-in { grid-template-columns: 1fr; gap: 40px; } .ope-foto { aspect-ratio: 16 / 9; } }
@media (max-width: 640px) { .ope-itens { grid-template-columns: 1fr; } }

/* Desafios */
.des-paineis { position: relative; margin-top: 48px; }
.des-pn { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px; }
.dor { margin: 0; font-style: italic; font-size: clamp(1.15rem, 1rem + .6vw, 1.5rem); line-height: 1.45; color: var(--branco); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 24px; }
.chips li { display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px 6px 6px; border-radius: 999px; border: 1px solid var(--linha-2); font-size: .85rem; font-weight: 600; }
.chips i { font-style: normal; width: 22px; height: 22px; border-radius: 50%; background: var(--azul); color: var(--navy); display: inline-grid; place-items: center; font-size: .72rem; }
@media (max-width: 900px) { .des-pn { grid-template-columns: 1fr; gap: 28px; } }

/* Setores */
.setores .wrap { margin-bottom: 40px; }
.letreiro { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.letreiro-faixa { display: flex; gap: 16px; width: max-content; animation: letreiro 34s linear infinite; }
.letreiro:hover .letreiro-faixa { animation-play-state: paused; }
.letreiro-faixa li { flex: none; }
.letreiro-faixa a { display: inline-flex; align-items: center; gap: 14px; padding: 16px 28px; border-radius: 999px; border: 1px solid var(--linha-2); font-family: var(--titulos); text-transform: uppercase; font-size: clamp(1.1rem, 1rem + .8vw, 1.6rem); color: var(--branco); text-decoration: none; transition: border-color .3s, background-color .3s; }
.letreiro-faixa a span { color: var(--azul); }
.letreiro-faixa a:hover { border-color: var(--azul); background: rgba(104, 176, 235, .1); }
@keyframes letreiro { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .letreiro-faixa { animation: none; flex-wrap: wrap; width: auto; } }

/* Prova */
.prova { overflow: hidden; isolation: isolate; }
.ondas-quieta { opacity: .45; }
.prova .wrap { position: relative; z-index: 1; }
.fatos { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; margin-top: 56px; }
.fatos li { padding: 32px 26px; display: grid; gap: 12px; align-content: start; }
.fato-n { font-family: var(--titulos); font-size: clamp(3rem, 2.4rem + 2.6vw, 5rem); line-height: 1; color: var(--azul); font-variant-numeric: tabular-nums; }
.fato-t { color: var(--mist); }
.frameworks { margin-top: 56px; padding-top: 32px; border-top: 1px solid var(--linha-2); }
.fw-lista { display: flex; flex-wrap: wrap; gap: 16px 48px; }
.fw-lista li { font-family: var(--titulos); font-size: clamp(2rem, 1.5rem + 2vw, 3.6rem); color: transparent; -webkit-text-stroke: 1px rgba(255, 255, 255, .45); transition: color .4s, -webkit-text-stroke-color .4s; }
.fw-lista li:hover { color: var(--branco); -webkit-text-stroke-color: var(--branco); }
@media (max-width: 1080px) { .fatos { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .fatos { grid-template-columns: 1fr; } }

/* Aqui para você */
.portas { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin-top: 56px; }
.portas li { padding: 26px 22px 60px; min-height: 200px; display: grid; align-content: start; gap: 4px; }
.portas li p { font-weight: 600; line-height: 1.4; font-size: 1.05rem; }
.portas li a { position: absolute; left: 22px; bottom: 20px; width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--linha-2); display: grid; place-items: center; color: var(--azul); text-decoration: none; transition: background-color .25s, border-color .25s, transform .35s var(--ease); }
.portas li a:hover { background: var(--azul); color: var(--navy); border-color: var(--azul); transform: translateX(4px); }
.porta-util { background: transparent; }
.porta-util p { font-weight: 400; color: var(--mist); }
@media (max-width: 1080px) { .portas { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .portas { grid-template-columns: 1fr; } }

/* Perspectivas */
.per-cab { display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; flex-wrap: wrap; }
.per-acoes { display: flex; align-items: center; gap: 24px; padding-bottom: 8px; }
.car { overflow: hidden; margin-top: 48px; }
.car-faixa { display: flex; gap: 24px; will-change: transform; }
.art { flex: 0 0 calc((100% - 48px) / 3); min-width: 0; display: grid; gap: 10px; align-content: start; }
.art figure { margin: 0 0 8px; border-radius: 14px; overflow: hidden; aspect-ratio: 16 / 10; position: relative; }
.art figure::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(9, 41, 65, .2), rgba(9, 41, 65, .7)); }
.art img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.art:hover img { transform: scale(1.05); }
.art h3 { font-family: var(--titulos); font-weight: 400; text-transform: uppercase; font-size: 1.25rem; line-height: 1.05; }
@media (max-width: 1080px) { .art { flex-basis: calc((100% - 24px) / 2); } }
@media (max-width: 680px) { .art { flex-basis: 86%; } }

/* CTA final */
.cta-final { position: relative; padding-block: clamp(120px, 14vw, 200px); overflow: hidden; isolation: isolate; border-top: 1px solid var(--linha); }
.cta-foto { position: absolute; inset: 0; z-index: 0; }
.cta-foto img:first-child { width: 100%; height: 100%; object-fit: cover; opacity: .5; }
.cta-foto::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(5, 11, 18, .92), rgba(9, 41, 65, .55)); }
.cta-sim { position: absolute; right: 6%; top: 50%; width: 38vw; max-width: 520px; transform: translateY(-50%); opacity: .04; z-index: 1; }
.cta-in { position: relative; z-index: 2; }

/* Newsletter */
.news { background: var(--navy); border-top: 0; }
.news-in { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 48px; align-items: center; }
.news-campo { display: flex; gap: 10px; background: rgba(255, 255, 255, .06); border: 1px solid var(--linha-2); border-radius: 999px; padding: 6px 6px 6px 22px; }
.news-campo input { flex: 1; width: 0; min-width: 0; background: transparent; border: 0; color: var(--branco); font: inherit; outline: none; }
.news-campo input::placeholder { color: var(--cinza); }
.news-campo .btn { min-height: 46px; padding: 8px 22px; }
.news-nota { font-size: .85rem; color: var(--cinza); margin-top: 12px; }
.news-ok { color: var(--azul); font-weight: 600; margin-top: 12px; }
@media (max-width: 900px) { .news-in { grid-template-columns: minmax(0, 1fr); gap: 28px; } }

/* Rodapé */
.rodape { background: #030709; padding-block: 72px 40px; border-top: 1px solid var(--linha); position: relative; z-index: 2; }
.rod-topo { display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; flex-wrap: wrap; padding-bottom: 40px; border-bottom: 1px solid var(--linha); }
.rod-claim { margin: 0; font-family: var(--titulos); text-transform: uppercase; font-size: clamp(1rem, .9rem + .6vw, 1.4rem); line-height: 1.1; color: var(--mist); max-width: 30ch; }
.rod-cols { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px; padding-block: 48px; }
.rod-cols ul { display: grid; gap: 10px; }
.rod-cols a { color: var(--mist); text-decoration: none; font-size: .95rem; }
.rod-cols a:hover { color: var(--azul); }
.rod-base { border-top: 1px solid var(--linha); padding-top: 24px; font-size: .85rem; color: var(--cinza); display: grid; gap: 6px; }
.rod-base a { color: var(--cinza); }
@media (max-width: 900px) { .rod-cols { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* Cursor custom (desktop) */
.cursor { position: fixed; left: 0; top: 0; width: 10px; height: 10px; border-radius: 50%; background: var(--azul); pointer-events: none; z-index: 90; transform: translate(-50%, -50%); transition: width .3s var(--ease), height .3s var(--ease), opacity .3s; opacity: 0; }
.cursor.on { opacity: .9; }
.cursor.big { width: 44px; height: 44px; opacity: .35; }
@media (hover: none), (max-width: 900px) { .cursor { display: none; } }

@media (prefers-reduced-motion: reduce) {
  .btn, .btn svg, .card-h, .ope-foto img, .art img, .salto-lista a::after, .abas-ind { transition: none; }
}


/* ---------- Transição entre páginas (View Transitions, Chrome/Edge 126+) ---------- */
html { background: #050B12; }
@view-transition { navigation: auto; }
::view-transition-old(root) { animation: vt-out .28s ease both; }
::view-transition-new(root) { animation: vt-in .38s ease both; }
@keyframes vt-out { to { opacity: 0; } }
@keyframes vt-in { from { opacity: 0; } }
@media (prefers-reduced-motion: reduce) { ::view-transition-old(root), ::view-transition-new(root) { animation: none; } }

/* Ponte invisível entre o link e o mega menu: o hover não cai no vão */
.mega::before { content: ""; position: absolute; left: 0; right: 0; top: -14px; height: 14px; }
.tem-mega:hover .mega, .tem-mega:focus-within .mega { opacity: 1; visibility: visible; transform: none; }

/* ---------- Cursor: só o laser azul no desktop ---------- */
html.cursor-custom, html.cursor-custom * { cursor: none !important; }

/* ---------- Colmeia de fabricantes ----------
   Grade de 4 colunas (c de 1 a 4, r de 0 a 4): passo horizontal 25%, passo vertical 0.866 passo, hexágono
   com 94% do passo. Caixa com proporção 4 / 4.549 para a última linha fechar. */
.ecossistema { overflow: hidden; }
.colmeia { margin-top: 56px; }
.colmeia-caixa { position: relative; max-width: 760px; margin-inline: auto; }
.colmeia-grade { position: relative; aspect-ratio: 4 / 4.549; }
.cel { position: absolute; left: calc((var(--c) - .5) * 25% - 11.75%); top: calc(var(--r) * 19.04%); width: 23.5%; height: 23.86%; list-style: none; }
.cel-in { position: absolute; inset: 0; clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%); background: rgba(255, 255, 255, .14); transform: translateZ(0); transition: transform .45s var(--ease), opacity .45s var(--ease), filter .45s var(--ease), background-color .35s; }
.cel-fundo { position: absolute; inset: 1.5px; clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%); background: var(--branco); transition: background-color .35s; }
.cel-centro .cel-in { background: var(--azul); }
.cel-centro .cel-fundo { inset: 2.5px; background: var(--navy); }
.cel-in img { position: absolute; left: 50%; top: 50%; width: auto; height: auto; max-width: 64%; max-height: 36%; transform: translate(-50%, -50%); transition: opacity .35s, filter .35s; }
.cel-centro .cel-in img { max-width: 56%; max-height: 56%; }
/* Duas marcas na mesma célula (Thales e Imperva): uma sobre a outra, com um fio entre elas. */
.cel-dupla .cel-in img { max-width: 58%; max-height: 17%; }
.cel-dupla .cel-in img:first-of-type { top: 39%; }
.cel-dupla .cel-in img:last-of-type { top: 61%; }
.cel-dupla .cel-fundo::after { content: ''; position: absolute; left: 30%; right: 30%; top: 50%; height: 1px; background: rgba(5, 11, 18, .14); }
/* Anel externo: discreto, para o olhar ir primeiro aos parceiros principais. */
.cel:not(.nivel-1):not(.cel-centro) .cel-fundo { background: rgba(255, 255, 255, .84); }
.cel:not(.nivel-1):not(.cel-centro) .cel-in img { opacity: .78; }
/* Parceiros principais: moldura vermelha mais grossa, branco cheio e um halo leve. */
.cel.nivel-1 .cel-in { background: var(--vermelho); filter: drop-shadow(0 0 14px rgba(176, 35, 35, .42)); }
.cel.nivel-1 .cel-fundo { inset: 4px; }
.cel:not(.cel-centro) { cursor: pointer; }
.cel:focus { outline: none; }
.cel:focus-visible .cel-in { outline: 2px solid var(--azul); outline-offset: 4px; }
.colmeia.foco .cel:not(.on):not(.cel-centro) .cel-in { opacity: .32; }
.cel.on { z-index: 3; }
.cel.on .cel-in { transform: translateZ(0) scale(1.14); filter: drop-shadow(0 0 18px rgba(104, 176, 235, .75)); }
.cel.on .cel-fundo { background: var(--branco); }
.cel.on .cel-in img { opacity: 1; }
.cel.on.nivel-1 .cel-in { background: var(--azul); }
.colmeia-laser { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; overflow: visible; z-index: 2; opacity: 0; transition: opacity .25s; }
.colmeia.foco .colmeia-laser { opacity: 1; }
.laser { stroke: var(--azul); stroke-linecap: round; }
.laser-linha { stroke-width: 2; }
.laser-brilho { stroke-width: 8; opacity: .22; }
.colmeia-leg { margin: 28px auto 0; max-width: 760px; min-height: 3.2em; text-align: center; display: grid; gap: 6px; }
.leg-nome { font-family: var(--titulos); font-weight: 400; font-size: clamp(1.1rem, 1rem + .5vw, 1.5rem); letter-spacing: .01em; }
.leg-dom { color: var(--cinza); font-size: .95rem; }
.dominios-depois { margin-top: 64px; }
@media (max-width: 640px) {
  /* Sem rolagem lateral: a colmeia encolhe com a tela e ganha as margens laterais. */
  .colmeia { margin-top: 40px; }
  .colmeia-caixa { margin-inline: calc(-1 * var(--gutter) + 6px); }
  .cel-in img { max-width: 70%; max-height: 40%; }
  .cel-dupla .cel-in img { max-width: 64%; max-height: 18%; }
  .cel.nivel-1 .cel-fundo { inset: 3px; }
  .cel.nivel-1 .cel-in { filter: drop-shadow(0 0 8px rgba(176, 35, 35, .4)); }
  .colmeia-leg { padding-inline: 0; }
  .leg-dom { font-size: .9rem; }
}
@media (prefers-reduced-motion: reduce) { .cel-in, .colmeia-laser { transition: none; } }
