/* Abertura S4 Hub: fundo verde-petróleo com ondas, peças de vidro reais e o bloco S4 em 3D */
:root{
  --petroleo:#06232A;   /* fundo da abertura */
  --petroleo2:#0A3338;
  --neon:#22E39A;       /* verde da luz */
  --neon2:#16C784;
  --vidro:rgba(255,255,255,.10);
  --vidro-borda:rgba(255,255,255,.24);
}

/* navegação escura */
.nav2{position:absolute;z-index:30;top:0;left:0;right:0;height:84px;display:flex;align-items:center;gap:28px;
  padding:0 max(24px,env(safe-area-inset-right,0px)) 0 max(24px,env(safe-area-inset-left,0px));max-width:1440px;margin:0 auto;border-bottom:1px solid rgba(255,255,255,.10)}
.marca2{display:flex;align-items:center;gap:10px;text-decoration:none;color:#fff;margin-right:auto}
.marca2 img{height:34px;width:auto}
.marca2 span{font:600 30px/1 var(--display);letter-spacing:-.03em}
.menu2{list-style:none;display:flex;gap:34px}
.menu2 a{display:flex;align-items:center;gap:6px;color:#E6F2EF;text-decoration:none;font:500 17px/1 var(--texto);padding:10px 0}
.menu2 a:hover{color:var(--neon)}
.menu2 svg{width:16px;height:16px;fill:none;stroke:currentColor;stroke-width:2.2;stroke-linecap:round;stroke-linejoin:round}
.cta2{background:var(--neon);color:#04261A;text-decoration:none;font:600 17px/1 var(--texto);padding:15px 28px;border-radius:999px;box-shadow:0 0 30px rgba(34,227,154,.35);transition:box-shadow .25s,transform .25s}
.cta2:hover{box-shadow:0 0 44px rgba(34,227,154,.6);transform:translateY(-1px)}

/* fundo */
.hero3{position:relative;overflow:hidden;color:#fff;min-height:max(100svh,760px);
  background:radial-gradient(70% 60% at 72% 45%,#0E4A48 0%,transparent 70%),radial-gradient(60% 70% at 0% 100%,#0B3B3E 0%,transparent 70%),linear-gradient(180deg,#072A31 0%,var(--petroleo) 100%)}
.ondas{position:absolute;inset:0;width:100%;height:100%;z-index:0}
.brilhos{position:absolute;inset:0;z-index:0;pointer-events:none}
.brilhos i{position:absolute;border-radius:50%;filter:blur(40px);animation:vaga 14s ease-in-out infinite alternate}
.brilhos i:nth-child(1){width:380px;height:380px;right:22%;top:24%;background:rgba(34,227,154,.20)}
.brilhos i:nth-child(2){width:260px;height:260px;right:6%;top:8%;background:rgba(22,199,132,.16);animation-duration:18s;animation-delay:-5s}
.brilhos i:nth-child(3){width:300px;height:300px;right:30%;bottom:4%;background:rgba(34,227,154,.14);animation-duration:22s;animation-delay:-9s}
@keyframes vaga{to{transform:translate(-90px,60px) scale(1.2)}}

.hero3-grid{position:relative;z-index:2;max-width:1440px;margin:0 auto;display:grid;grid-template-columns:minmax(0,.86fr) minmax(0,1.14fr);align-items:center;gap:20px;
  min-height:max(100svh,760px);padding:110px max(24px,env(safe-area-inset-right,0px)) 50px max(24px,env(safe-area-inset-left,0px))}
.hero3-texto{padding-left:clamp(0px,3vw,60px)}
.selo3{display:inline-flex;align-items:center;gap:12px;padding:12px 22px;border-radius:999px;font:500 17px/1 var(--texto);color:#E6F2EF;
  background:rgba(34,227,154,.08);box-shadow:inset 0 0 0 1.5px rgba(34,227,154,.55)}
.selo3 svg{width:24px;height:24px;fill:none;stroke:var(--neon);stroke-width:1.8;stroke-linejoin:round}
.hero3 h1{font:600 clamp(42px,4.6vw,72px)/1.06 var(--display);letter-spacing:-.03em;color:#fff;margin:34px 0 26px;max-width:13ch}
.hero3 h1 em{font-style:normal;color:var(--neon);text-shadow:0 0 34px rgba(34,227,154,.35)}
.hero3-texto>p{font-size:clamp(17px,1.35vw,21px);line-height:1.5;color:#CFE0DC;max-width:31ch}
.hero3-acoes{display:flex;flex-wrap:wrap;align-items:center;gap:20px 34px;margin-top:40px}
.cta3{display:inline-flex;align-items:center;gap:14px;background:var(--neon);color:#04261A;text-decoration:none;font:600 19px/1 var(--texto);padding:21px 30px;border-radius:999px;
  box-shadow:0 0 40px rgba(34,227,154,.38);transition:box-shadow .25s,transform .25s}
.cta3 svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:2.6;stroke-linecap:round;stroke-linejoin:round;transition:transform .25s}
.cta3:hover{box-shadow:0 0 60px rgba(34,227,154,.6);transform:translateY(-2px)}.cta3:hover svg{transform:translateX(3px)}
.ver3{display:inline-flex;align-items:center;gap:12px;color:#fff;text-decoration:none;font:500 19px/1 var(--texto)}
.ver3 .pl{width:34px;height:34px;border-radius:50%;box-shadow:inset 0 0 0 2px #fff;display:grid;place-items:center}
.ver3 svg{width:20px;height:20px;fill:#fff;margin-left:2px}
.ver3:hover .pl{box-shadow:inset 0 0 0 2px var(--neon)}.ver3:hover svg{fill:var(--neon)}

/* cena: palco de tamanho fixo, escalado para caber */
.cena3{position:relative;height:720px}
.palco3{position:absolute;left:0;top:0;width:900px;height:720px;transform-origin:0 0}
.ligas{position:absolute;inset:0;width:100%;height:100%;overflow:visible;z-index:5}
.ligas path{fill:none;stroke:rgba(34,227,154,.55);stroke-width:2;filter:drop-shadow(0 0 5px rgba(34,227,154,.8))}
.ligas path.luz{stroke:#B7FFE0;stroke-width:3;stroke-linecap:round;stroke-dasharray:18 900}
.peca{position:absolute;will-change:transform}

/* vidro de verdade: desfoca o que passa atrás */
.vidro{background:linear-gradient(135deg,rgba(255,255,255,.22),rgba(255,255,255,.06) 55%,rgba(255,255,255,.12));
  backdrop-filter:blur(16px) saturate(170%);-webkit-backdrop-filter:blur(16px) saturate(170%);
  border:1px solid var(--vidro-borda);box-shadow:inset 0 1px 0 rgba(255,255,255,.45),inset 0 -12px 30px rgba(255,255,255,.04),0 30px 60px -30px rgba(0,0,0,.6),0 0 30px -10px rgba(34,227,154,.35)}
.pilula{display:flex;align-items:center;gap:9px;padding:10px 18px;border-radius:999px;font:500 15px/1 var(--texto);color:#fff;white-space:nowrap;
  background:rgba(6,40,40,.72);backdrop-filter:blur(10px);-webkit-backdrop-filter:blur(10px);box-shadow:inset 0 0 0 1.5px rgba(34,227,154,.6),0 0 22px -6px rgba(34,227,154,.6)}
.pilula svg{width:20px;height:20px;fill:none;stroke:var(--neon);stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}

/* notebook */
.note3{left:190px;top:230px;width:520px;transform-style:preserve-3d}
.note3-tela{position:relative;height:330px;border-radius:16px;background:#0B1416;padding:12px;transform:perspective(1400px) rotateY(-14deg) rotateX(4deg) rotateZ(-3deg);
  box-shadow:0 0 0 2px #2b3a3d,0 40px 80px -30px rgba(0,0,0,.8),0 0 40px -10px rgba(34,227,154,.4)}
.note3-base{height:22px;margin:-6px -40px 0 -26px;border-radius:4px 4px 18px 18px;background:linear-gradient(180deg,#c9d4d6,#7f8d91 70%,#5b676b);
  transform:perspective(1400px) rotateY(-14deg) rotateX(58deg) rotateZ(-3deg);transform-origin:50% 0;box-shadow:0 30px 40px -20px rgba(0,0,0,.8)}
.dash{display:grid;grid-template-columns:118px 1fr;height:100%;border-radius:8px;overflow:hidden;background:linear-gradient(160deg,#0F2A2E,#0A1D21)}
.dash aside{padding:16px 10px;background:rgba(0,0,0,.18);display:flex;flex-direction:column;gap:6px}
.dash-marca{display:flex;align-items:center;gap:5px;margin:0 0 12px 4px}.dash-marca img{height:16px}.dash-marca b{font:600 15px/1 var(--display)}
.dash aside span{display:flex;align-items:center;gap:7px;padding:7px 8px;border-radius:7px;font-size:10.5px;color:#C5D6D3}
.dash aside span i{width:10px;height:10px;border-radius:3px;box-shadow:inset 0 0 0 1.5px #8fb3ad}
.dash aside span em{font-style:normal}
.dash aside span.on{background:rgba(34,227,154,.85);color:#04261A;font-weight:600}.dash aside span.on i{box-shadow:inset 0 0 0 1.5px #04261A}
.dash-main{padding:16px 16px 10px;display:flex;flex-direction:column;gap:12px;min-width:0}
.dash-top{display:flex;align-items:center;justify-content:space-between}
.dash-top b{font:600 16px/1 var(--display)}
.dash-top small{font-size:9.5px;color:#C5D6D3;padding:5px 9px;border-radius:999px;box-shadow:inset 0 0 0 1px rgba(255,255,255,.2)}
.kpis{display:grid;grid-template-columns:repeat(3,1fr);gap:8px}
.kpis div{position:relative;padding:9px 10px;border-radius:9px;background:rgba(255,255,255,.06);box-shadow:inset 0 0 0 1px rgba(255,255,255,.08)}
.kpis small{display:block;font-size:9.5px;color:#C5D6D3}
.kpis b{display:block;font:600 19px/1.2 var(--display);margin-top:3px;font-variant-numeric:tabular-nums}
.kpis u{position:absolute;right:9px;bottom:10px;width:20px;height:14px;background:linear-gradient(90deg,var(--neon) 0 3px,transparent 3px 5px,var(--neon) 5px 8px,transparent 8px 10px,var(--neon) 10px 13px,transparent 13px 15px,var(--neon) 15px 18px,transparent 18px);
  -webkit-mask:linear-gradient(to top right,#000 50%,transparent 50%);mask:linear-gradient(to top right,#000 50%,transparent 50%)}
.grafico{flex:1;width:100%;min-height:0}
.grade-g line{stroke:rgba(255,255,255,.06)}
.grafico .linha{fill:none;stroke:var(--neon);stroke-width:2.5;filter:drop-shadow(0 0 4px rgba(34,227,154,.9));stroke-dasharray:600;stroke-dashoffset:600;animation:traca 3.2s .4s ease-out forwards}
.grafico .area{opacity:0;animation:aparece3 1.2s 1.6s forwards}
.grafico .pt{fill:#fff;opacity:0;animation:aparece3 .5s 2.6s forwards}.grafico .pt.fim{fill:var(--neon);filter:drop-shadow(0 0 6px var(--neon))}
@keyframes traca{to{stroke-dashoffset:0}}
@keyframes aparece3{to{opacity:1}}

/* cartão do site */
.web3{left:70px;top:40px;width:270px;height:200px;border-radius:18px;transform:perspective(1000px) rotateY(16deg) rotateX(6deg) rotateZ(-6deg);overflow:hidden}
.web3-barra{display:flex;align-items:center;gap:5px;padding:12px 14px;border-bottom:1px solid rgba(255,255,255,.18)}
.web3-barra i{width:7px;height:7px;border-radius:50%;background:#FF6B6B}.web3-barra i:nth-child(2){background:#FFC857}.web3-barra i:nth-child(3){background:#22E39A}
.web3-barra span{margin-left:auto;width:14px;height:8px;background:linear-gradient(#fff 0 2px,transparent 2px 3px,#fff 3px 5px,transparent 5px 6px,#fff 6px);opacity:.6}
.web3-corpo{position:relative;height:calc(100% - 32px);padding:22px 18px}
.web3-corpo b{position:relative;z-index:2;font:600 21px/1.15 var(--display);color:#11313A;font-style:italic}
.web3-foto{position:absolute;right:-10px;top:0;bottom:0;width:62%;background:linear-gradient(180deg,#E8EEF1,#C9D6DB)}
.web3-foto .predio{position:absolute;right:20px;top:26px;width:70%;height:70%;background:linear-gradient(135deg,#F7FAFB,#B6C4CA);clip-path:polygon(0 30%,100% 0,100% 100%,0 100%)}
.web3-foto .planta{position:absolute;right:40px;bottom:16px;width:34px;height:40px;border-radius:50% 50% 8px 8px;background:radial-gradient(circle at 50% 30%,#3BA55C,#1F6B3A)}
.web3-corpo u{position:absolute;left:18px;bottom:22px;z-index:2;width:90px;height:10px;border-radius:6px;background:linear-gradient(90deg,var(--neon),#B7FFE0)}
.p-web{left:96px;top:236px;transform:rotate(-6deg)}
.web3{background:linear-gradient(140deg,rgba(255,255,255,.78),rgba(226,236,240,.55) 60%,rgba(255,255,255,.66))}
.web3-barra{border-bottom-color:rgba(11,31,58,.10)}
.web3-barra span{background:linear-gradient(#52617A 0 2px,transparent 2px 3px,#52617A 3px 5px,transparent 5px 6px,#52617A 6px)}
.web3-corpo b{font-size:23px;color:#0D2B33}
.web3-foto{opacity:.95}
.s4bloco{left:378px;top:455px;width:200px;height:200px}
.s4bloco canvas{inset:-45px;width:290px;height:290px}

/* cartão do Google */
.goo3{left:560px;top:30px;width:330px;padding:18px 20px;border-radius:18px;background:linear-gradient(135deg,rgba(255,255,255,.88),rgba(255,255,255,.7));color:#0B1F3A;transform:perspective(1000px) rotateY(-10deg) rotateX(4deg) rotateZ(-4deg)}
.goo3-topo{display:flex;align-items:center;gap:12px}
.goo3-topo .g{width:34px;height:34px;border-radius:50%;display:grid;place-items:center;font:700 22px/1 Arial,sans-serif;color:#fff;
  background:conic-gradient(from -45deg,#EA4335 0 25%,#FBBC05 0 50%,#34A853 0 75%,#4285F4 0)}
.goo3-topo b{font:600 17px/1.2 var(--display)}
.goo3-nota{display:flex;align-items:center;gap:8px;margin-top:14px}
.goo3-nota b{font:700 22px/1 var(--display)}
.estrelas{color:#F5B301;font-size:20px;letter-spacing:1px}
.goo3-nota small{font-size:14px;color:#52617A}
.sobe{margin-left:auto;width:34px;height:34px;fill:none;stroke:#13A86E;stroke-width:2.4;stroke-linecap:round;stroke-linejoin:round}
.p-goo{left:620px;top:150px;transform:rotate(-4deg)}

/* celular */
.fone3{left:700px;top:250px;width:190px;height:330px;border-radius:30px;padding:7px;background:linear-gradient(145deg,#3a4a4f,#121c1f);
  transform:perspective(1000px) rotateY(-16deg) rotateX(4deg) rotateZ(4deg);box-shadow:0 40px 70px -30px rgba(0,0,0,.85),0 0 30px -8px rgba(34,227,154,.45)}
.fone3-tela{height:100%;border-radius:24px;overflow:hidden;background:linear-gradient(170deg,#123236,#0A1E22);display:flex;flex-direction:column;padding:10px 10px 10px}
.fone3-status{display:flex;justify-content:space-between;align-items:center;padding:0 6px;font-size:10px}
.fone3-status span{width:28px;height:7px;border-radius:3px;background:linear-gradient(90deg,#fff 0 60%,rgba(255,255,255,.4) 60%)}
.fone3-cab{display:flex;align-items:center;gap:7px;margin:12px 4px 8px}
.fone3-cab svg{width:18px;height:18px;fill:#FFD54A}
.fone3-cab b{font:600 12.5px/1 var(--display)}
.chat3{flex:1;display:flex;flex-direction:column;justify-content:flex-end;gap:7px;padding:4px 2px;overflow:hidden}
.msg3{max-width:88%;padding:8px 10px;border-radius:12px;font-size:10.5px;line-height:1.35;animation:entra3 .45s cubic-bezier(.2,.9,.3,1.2) both}
.msg3.ia{align-self:flex-start;background:rgba(255,255,255,.88);color:#0B1F3A;border-bottom-left-radius:4px}
.msg3.eu{align-self:flex-end;background:var(--neon);color:#04261A;border-bottom-right-radius:4px;font-weight:500}
.msg3.digi{display:flex;gap:4px;padding:10px 12px;background:rgba(255,255,255,.88)}
.msg3.digi i{width:6px;height:6px;border-radius:50%;background:#0E9F70;animation:pula3 1s infinite}
.msg3.digi i:nth-child(2){animation-delay:.15s}.msg3.digi i:nth-child(3){animation-delay:.3s}
@keyframes entra3{from{opacity:0;transform:translateY(10px) scale(.95)}}
@keyframes pula3{30%{transform:translateY(-3px)}}
.fone3-input{display:flex;align-items:center;gap:6px;margin-top:8px;padding:8px 10px;border-radius:999px;box-shadow:inset 0 0 0 1px rgba(255,255,255,.18)}
.fone3-input span{flex:1;height:6px}
.fone3-input svg{width:14px;height:14px;fill:none;stroke:var(--neon);stroke-width:2}
.p-ia{left:670px;top:600px;transform:rotate(-2deg);font-size:17px;padding:12px 20px}

/* bloco S4 */
.s4bloco{left:390px;top:470px;width:170px;height:170px}
.s4bloco canvas{position:absolute;inset:-40px;width:250px;height:250px}
.s4-reserva{display:none}
.s4bloco.sem-gl{border-radius:30px;background:linear-gradient(145deg,#0F3B37,#072226);box-shadow:inset 0 0 0 2px rgba(34,227,154,.8),0 0 50px rgba(34,227,154,.5);display:grid;place-items:center}
.s4bloco.sem-gl .s4-reserva{display:block;width:70%}

/* cartão da venda */
.venda3{left:140px;top:590px;width:350px;display:flex;align-items:center;gap:16px;padding:20px 22px;border-radius:20px;background:linear-gradient(135deg,rgba(255,255,255,.9),rgba(255,255,255,.72));color:#0B1F3A;
  transform:perspective(1000px) rotateX(10deg) rotateY(6deg) rotateZ(3deg)}
.carrinho{width:40px;height:40px;fill:none;stroke:#13A86E;stroke-width:2;stroke-linecap:round;stroke-linejoin:round;flex:none}
.venda3 b{display:block;font:600 19px/1.2 var(--display)}
.venda3 div span{font-size:15px;color:#3A4A5C}
.venda3 .ok{margin-left:auto;width:40px;height:40px;border-radius:12px;background:var(--neon2);display:grid;place-items:center;box-shadow:0 0 20px rgba(22,199,132,.6)}
.venda3 .ok svg{width:24px;height:24px;fill:none;stroke:#04261A;stroke-width:3;stroke-linecap:round;stroke-linejoin:round}

/* flutuar */
.flut{animation:flutua3 6s ease-in-out infinite}
@keyframes flutua3{50%{translate:0 -10px}}

@media (max-width:1100px){
  .menu2{display:none}
  .hero3-grid{grid-template-columns:1fr;padding-top:120px;gap:10px}
  .hero3-texto{padding-left:0}
  .hero3 h1{max-width:16ch}
}
@media (max-width:600px){
  .nav2{height:70px}
  .marca2 img{height:26px}.marca2 span{font-size:24px}
  .cta2{padding:12px 18px;font-size:15px}
  .selo3{font-size:14px;padding:10px 16px}
  .hero3 h1{margin:24px 0 18px}
  .cta3{padding:18px 24px;font-size:17px}
  .ver3{font-size:17px}
}
@media (prefers-reduced-motion:reduce){.brilhos i,.flut,.grafico .linha{animation:none}.grafico .linha{stroke-dashoffset:0}.grafico .area,.grafico .pt{opacity:1}}

.hero3 .merge{opacity:0;left:50%;bottom:0}
