/* Refinamento visual — mantém a base existente e adiciona profundidade, movimento e acabamento premium. */
:root{
  --glow-cyan:rgba(143,214,220,.24);
  --glow-purple:rgba(147,64,170,.24);
}

body{background:
  radial-gradient(circle at 50% -20%,rgba(68,72,152,.16),transparent 36%),
  var(--bg);
}

.cursor-glow{
  position:fixed;
  width:420px;
  height:420px;
  border-radius:50%;
  pointer-events:none;
  z-index:-1;
  opacity:0;
  transform:translate(-50%,-50%);
  background:radial-gradient(circle,rgba(143,214,220,.10),rgba(147,64,170,.055) 34%,transparent 68%);
  filter:blur(14px);
  transition:opacity .35s ease;
}
.cursor-glow.active{opacity:1}

.ambient-a{animation:ambientFloatA 16s ease-in-out infinite alternate}
.ambient-b{animation:ambientFloatB 19s ease-in-out infinite alternate}
.grid-overlay{animation:gridDrift 24s linear infinite}

.site-header{
  transition:background .35s ease,border-color .35s ease,box-shadow .35s ease,transform .35s ease;
}
.site-header.scrolled{
  background:rgba(8,11,21,.88);
  border-color:rgba(143,214,220,.15);
  box-shadow:0 18px 55px rgba(0,0,0,.28),0 0 0 1px rgba(255,255,255,.015) inset;
}
.brand-mark{position:relative;overflow:hidden}
.brand-mark:after{
  content:"";
  position:absolute;
  inset:-40%;
  background:linear-gradient(115deg,transparent 36%,rgba(255,255,255,.42) 48%,transparent 60%);
  transform:translateX(-90%) rotate(8deg);
  animation:brandShine 6.5s ease-in-out infinite;
}

h1 em,h2 em{
  background-size:220% 220%;
  animation:gradientFlow 8s ease-in-out infinite;
}

.visual-shell{
  transition:transform .18s ease-out,border-color .35s ease,box-shadow .35s ease;
  will-change:transform;
}
.visual-shell:hover{
  border-color:rgba(143,214,220,.18);
  box-shadow:0 32px 100px rgba(0,0,0,.40),0 0 70px rgba(147,64,170,.08);
}
.visual-shell:after{
  content:"";
  position:absolute;
  z-index:0;
  left:0;
  right:0;
  height:1px;
  top:-10%;
  background:linear-gradient(90deg,transparent,rgba(143,214,220,.72),rgba(177,127,191,.78),transparent);
  box-shadow:0 0 20px rgba(143,214,220,.38);
  animation:scanLine 8s ease-in-out infinite;
}
.visual-card{z-index:2}
.orb-one{animation:orbFloatOne 9s ease-in-out infinite alternate}
.orb-two{animation:orbFloatTwo 11s ease-in-out infinite alternate}
.card-top{animation:cardFloatTop 6.5s ease-in-out infinite}
.card-center{animation:cardFloatCenter 7.5s ease-in-out infinite}
.card-bottom{animation:cardFloatBottom 6.8s ease-in-out infinite}

.button.primary{position:relative;overflow:hidden}
.button.primary:after{
  content:"";
  position:absolute;
  inset:0;
  background:linear-gradient(110deg,transparent 30%,rgba(255,255,255,.22) 48%,transparent 65%);
  transform:translateX(-120%);
  transition:transform .65s ease;
}
.button.primary:hover:after{transform:translateX(120%)}

.service-card,.showcase-card,.about-panel,.contact-panel{
  box-shadow:0 24px 70px rgba(0,0,0,.18);
}
.service-card,.showcase-card{
  isolation:isolate;
}
.service-card:before,.showcase-card:before{
  content:"";
  position:absolute;
  inset:0;
  z-index:-1;
  opacity:0;
  background:radial-gradient(320px circle at var(--mx,50%) var(--my,50%),rgba(143,214,220,.13),rgba(147,64,170,.06) 35%,transparent 68%);
  transition:opacity .3s ease;
}
.service-card:hover:before,.showcase-card:hover:before{opacity:1}
.service-card:hover{
  box-shadow:0 26px 70px rgba(0,0,0,.28),0 0 45px rgba(143,214,220,.035);
}

/* Nova seção de experiência — substitui os placeholders de cases. */
.showcase{padding-top:90px}
.showcase-grid{
  display:grid;
  grid-template-columns:1.05fr .95fr;
  gap:18px;
}
.showcase-card{
  position:relative;
  min-height:430px;
  overflow:hidden;
  border:1px solid var(--line);
  border-radius:30px;
  background:linear-gradient(155deg,rgba(255,255,255,.055),rgba(255,255,255,.018));
  transition:transform .35s ease,border-color .35s ease,box-shadow .35s ease;
}
.showcase-card:hover{
  transform:translateY(-5px);
  border-color:rgba(143,214,220,.22);
  box-shadow:0 30px 90px rgba(0,0,0,.30),0 0 60px rgba(147,64,170,.05);
}
.showcase-card.wide{
  grid-column:1/-1;
  min-height:310px;
  display:grid;
  grid-template-columns:.9fr 1.1fr;
}
.showcase-copy{padding:32px 34px;position:relative;z-index:4}
.showcase-copy .mini-label{display:block;margin-bottom:10px}
.showcase-copy h3{font-size:clamp(1.55rem,3vw,2.25rem);line-height:1.06;letter-spacing:-.035em;margin-bottom:12px}
.showcase-copy p{color:var(--muted);max-width:560px;margin:0}
.showcase-visual{position:relative;min-height:245px;overflow:hidden}

/* Rede de tecnologia */
.network-visual{
  position:absolute;
  inset:128px 26px 20px;
  border-radius:24px;
  background:radial-gradient(circle at 50% 50%,rgba(68,72,152,.19),transparent 50%);
}
.network-ring{
  position:absolute;
  left:50%;top:50%;
  width:190px;height:190px;
  border:1px solid rgba(143,214,220,.16);
  border-radius:50%;
  transform:translate(-50%,-50%);
  animation:networkSpin 18s linear infinite;
}
.network-ring:before,.network-ring:after{
  content:"";position:absolute;inset:24px;border:1px dashed rgba(177,127,191,.20);border-radius:50%
}
.network-ring:after{inset:58px;border-style:solid;border-color:rgba(143,214,220,.16)}
.network-core{
  position:absolute;left:50%;top:50%;width:62px;height:62px;border-radius:20px;
  transform:translate(-50%,-50%) rotate(45deg);
  background:linear-gradient(135deg,rgba(68,72,152,.85),rgba(147,64,170,.72));
  box-shadow:0 0 45px rgba(147,64,170,.28),inset 0 0 20px rgba(255,255,255,.08);
}
.node{position:absolute;width:11px;height:11px;border-radius:50%;background:var(--cyan);box-shadow:0 0 18px rgba(143,214,220,.78)}
.node.n1{left:12%;top:24%;animation:nodePulse 2.6s ease-in-out infinite}
.node.n2{right:14%;top:16%;animation:nodePulse 2.6s .5s ease-in-out infinite}
.node.n3{right:8%;bottom:20%;animation:nodePulse 2.6s 1s ease-in-out infinite}
.node.n4{left:18%;bottom:12%;animation:nodePulse 2.6s 1.5s ease-in-out infinite}
.network-line{position:absolute;height:1px;background:linear-gradient(90deg,transparent,rgba(143,214,220,.35),transparent);transform-origin:left center}
.network-line.l1{width:38%;left:16%;top:31%;transform:rotate(22deg)}
.network-line.l2{width:40%;left:49%;top:35%;transform:rotate(-24deg)}
.network-line.l3{width:37%;left:48%;top:61%;transform:rotate(24deg)}
.network-line.l4{width:38%;left:19%;top:68%;transform:rotate(-22deg)}

/* Painel marketing/design */
.signal-stage{position:absolute;inset:185px 24px 12px;display:grid;place-items:center}
.signal-orbit{width:210px;height:210px;border-radius:50%;border:1px solid rgba(177,127,191,.22);position:relative;animation:signalRotate 16s linear infinite}
.signal-orbit:before{content:"";position:absolute;inset:26px;border-radius:50%;border:1px solid rgba(143,214,220,.15)}
.signal-dot{position:absolute;width:18px;height:18px;border-radius:50%;background:linear-gradient(135deg,var(--cyan),var(--purple));box-shadow:0 0 28px rgba(143,214,220,.38)}
.signal-dot.d1{left:14px;top:48px}.signal-dot.d2{right:25px;bottom:30px}.signal-dot.d3{left:88px;bottom:-9px}
.signal-center{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);width:auto;height:auto;background:none!important;border:none!important;box-shadow:none!important;border-radius:0!important;display:grid;place-items:center;pointer-events:none;z-index:2}
.signal-halo{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);width:clamp(150px,22vw,180px);height:clamp(150px,22vw,180px);border-radius:50%;background:radial-gradient(circle,rgba(248,250,255,.18) 0%,rgba(222,211,255,.17) 28%,rgba(190,166,246,.12) 48%,rgba(159,190,244,.07) 64%,transparent 76%);filter:blur(22px);pointer-events:none;animation:haloPulse 5.8s ease-in-out infinite alternate;transition:transform .5s ease,opacity .5s ease,filter .5s ease}
.signal-symbol-wrap{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);display:grid;place-items:center;pointer-events:auto;animation:symbolFloat 5.8s ease-in-out infinite;transition:transform .5s cubic-bezier(.2,.8,.2,1)}
.signal-symbol{display:block;width:clamp(132px,18vw,154px);height:auto;aspect-ratio:512/466;object-fit:contain;user-select:none;-webkit-user-drag:none;filter:drop-shadow(0 0 7px rgba(248,250,255,.32)) drop-shadow(0 0 16px rgba(211,193,255,.24)) drop-shadow(0 0 30px rgba(160,143,226,.14));animation:symbolGlow 5.8s ease-in-out infinite;will-change:transform,filter}
.signal-text-wrap{position:absolute;left:50%;top:calc(50% + 49px);transform:translate(-50%,-50%);display:grid;place-items:center;pointer-events:auto;transition:transform .5s cubic-bezier(.2,.8,.2,1),filter .5s ease}
.signal-text{display:block;width:clamp(88px,13vw,98px);height:auto;aspect-ratio:980/110;object-fit:contain;user-select:none;-webkit-user-drag:none;filter:drop-shadow(0 2px 6px rgba(0,0,0,.5)) drop-shadow(0 0 10px rgba(143,214,220,.28));transition:filter .5s ease}
.showcase-card:hover .signal-symbol-wrap{transform:translate(-50%,-50%) translateY(-2px) scale(1.035)}
.showcase-card:hover .signal-symbol{filter:drop-shadow(0 0 10px rgba(248,250,255,.42)) drop-shadow(0 0 22px rgba(211,193,255,.34)) drop-shadow(0 0 36px rgba(160,143,226,.20)) brightness(1.06)}
.showcase-card:hover .signal-text-wrap{transform:translate(-50%,-50%) scale(1.03)}
.showcase-card:hover .signal-text{filter:drop-shadow(0 2px 8px rgba(0,0,0,.6)) drop-shadow(0 0 16px rgba(143,214,220,.5)) brightness(1.08)}
.showcase-card:hover .signal-halo{transform:translate(-50%,-50%) scale(1.1);opacity:.9;filter:blur(24px)}

/* Faixa som + digital */
.wave-stage{position:relative;min-height:100%;display:flex;align-items:center;justify-content:center;gap:8px;padding:44px}
.wave-stage:before{content:"";position:absolute;width:68%;height:68%;border-radius:50%;background:radial-gradient(circle,rgba(147,64,170,.15),transparent 68%);filter:blur(8px)}
.wave-stage span{position:relative;display:block;width:7px;border-radius:99px;background:linear-gradient(var(--cyan),var(--purple));box-shadow:0 0 22px rgba(143,214,220,.13);animation:luxWave 1.7s ease-in-out infinite}
.wave-stage span:nth-child(1),.wave-stage span:nth-child(11){height:34px}
.wave-stage span:nth-child(2),.wave-stage span:nth-child(10){height:58px;animation-delay:.1s}
.wave-stage span:nth-child(3),.wave-stage span:nth-child(9){height:92px;animation-delay:.2s}
.wave-stage span:nth-child(4),.wave-stage span:nth-child(8){height:126px;animation-delay:.3s}
.wave-stage span:nth-child(5),.wave-stage span:nth-child(7){height:88px;animation-delay:.4s}
.wave-stage span:nth-child(6){height:148px;animation-delay:.5s}

.about-panel,.contact-panel{position:relative;overflow:hidden}
.about-panel:before,.contact-panel:before{
  content:"";position:absolute;inset:0;pointer-events:none;
  background:linear-gradient(115deg,transparent 22%,rgba(255,255,255,.022) 48%,transparent 70%);
}
.about-numbers div{transition:transform .3s ease,border-color .3s ease,background .3s ease}
.about-numbers div:hover{transform:translateY(-4px);border-color:rgba(143,214,220,.2);background:rgba(12,18,34,.62)}

.reveal{filter:blur(5px)}
.reveal.visible{filter:blur(0)}

@keyframes ambientFloatA{to{transform:translate(-80px,90px) scale(1.12)}}
@keyframes ambientFloatB{to{transform:translate(100px,-70px) scale(.92)}}
@keyframes gridDrift{to{background-position:48px 48px}}
@keyframes brandShine{0%,70%{transform:translateX(-110%) rotate(8deg)}85%,100%{transform:translateX(110%) rotate(8deg)}}
@keyframes gradientFlow{0%,100%{background-position:0% 50%}50%{background-position:100% 50%}}
@keyframes scanLine{0%,8%{top:-8%;opacity:0}18%{opacity:.75}72%{opacity:.45}82%,100%{top:108%;opacity:0}}
@keyframes orbFloatOne{to{transform:translate(-20px,26px) scale(1.06)}}
@keyframes orbFloatTwo{to{transform:translate(24px,-18px) scale(.94)}}
@keyframes cardFloatTop{0%,100%{transform:rotate(4deg) translateY(0)}50%{transform:rotate(2.8deg) translateY(-8px)}}
@keyframes cardFloatCenter{0%,100%{transform:translateY(0)}50%{transform:translateY(7px)}}
@keyframes cardFloatBottom{0%,100%{transform:rotate(-3deg) translateY(0)}50%{transform:rotate(-1.8deg) translateY(-7px)}}
@keyframes networkSpin{to{transform:translate(-50%,-50%) rotate(360deg)}}
@keyframes nodePulse{50%{transform:scale(1.5);opacity:.62}}
@keyframes signalRotate{to{transform:rotate(360deg)}}
@keyframes luxWave{50%{transform:scaleY(.52);filter:brightness(1.25)}}
@keyframes symbolSpin{to{transform:rotate(360deg)}}
@keyframes symbolFloat{
  0%,100%{transform:translate(-50%,-50%) translateY(0) scale(1)}
  50%{transform:translate(-50%,-50%) translateY(-3px) scale(1.018)}
}
@keyframes symbolGlow{
  0%,100%{
    filter:drop-shadow(0 0 7px rgba(248,250,255,.28)) drop-shadow(0 0 16px rgba(211,193,255,.22)) drop-shadow(0 0 28px rgba(160,143,226,.13)) brightness(1);
  }
  50%{
    filter:drop-shadow(0 0 10px rgba(248,250,255,.40)) drop-shadow(0 0 22px rgba(211,193,255,.31)) drop-shadow(0 0 36px rgba(160,143,226,.18)) brightness(1.055);
  }
}
@keyframes haloPulse{
  0%{transform:translate(-50%,-50%) scale(.96);opacity:.55}
  100%{transform:translate(-50%,-50%) scale(1.05);opacity:.82}
}

/* Cabeçalho com Logo Oficial */
.header-brand{position:relative;display:inline-flex;align-items:center;justify-content:center;text-decoration:none;line-height:0}
.header-brand-halo{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);width:72px;height:56px;border-radius:50%;background:radial-gradient(ellipse,rgba(143,214,220,.24) 0%,rgba(147,64,170,.18) 45%,rgba(68,72,152,.05) 70%,transparent 78%);filter:blur(12px);pointer-events:none;opacity:.75;animation:headerHaloPulse 6s ease-in-out infinite alternate;transition:opacity .4s ease,transform .4s ease}
.header-logo{position:relative;z-index:1;display:block;height:clamp(40px,4.5vw,46px);width:auto;aspect-ratio:742/671;object-fit:contain;filter:drop-shadow(0 0 8px rgba(143,214,220,.24)) drop-shadow(0 0 16px rgba(147,64,170,.18));animation:headerLogoFloat 5.5s ease-in-out infinite;transition:transform .35s cubic-bezier(.2,.8,.2,1),filter .35s ease;will-change:transform,filter}
.header-brand:hover .header-logo{transform:translateY(-2px) scale(1.045);filter:drop-shadow(0 0 16px rgba(143,214,220,.65)) drop-shadow(0 0 28px rgba(177,127,191,.48)) brightness(1.1)}
.header-brand:hover .header-brand-halo{transform:translate(-50%,-50%) scale(1.18);opacity:1;filter:blur(14px)}
@keyframes headerLogoFloat{
  0%,100%{transform:translateY(0) scale(1);filter:drop-shadow(0 0 8px rgba(143,214,220,.24)) drop-shadow(0 0 16px rgba(147,64,170,.18)) brightness(1)}
  50%{transform:translateY(-2px) scale(1.02);filter:drop-shadow(0 0 13px rgba(143,214,220,.42)) drop-shadow(0 0 22px rgba(177,127,191,.3)) brightness(1.06)}
}
@keyframes headerHaloPulse{
  0%{transform:translate(-50%,-50%) scale(.92);opacity:.6}
  100%{transform:translate(-50%,-50%) scale(1.08);opacity:.9}
}

/* Rodapé com Logo Oficial e Contatos */
.footer{flex-wrap:wrap;gap:18px 24px}
.footer-logo-link{display:inline-flex;align-items:center;text-decoration:none;line-height:0;transition:transform .3s ease,opacity .3s ease}
.footer-logo-link:hover{transform:translateY(-1.5px)}
.footer-logo{display:block;height:clamp(26px,2.8vw,32px);width:auto;aspect-ratio:966/251;object-fit:contain;filter:drop-shadow(0 0 10px rgba(143,214,220,.24)) drop-shadow(0 0 18px rgba(177,127,191,.18));animation:footerGlow 5s ease-in-out infinite alternate;transition:filter .35s ease,transform .35s ease;will-change:filter}
.footer-logo-link:hover .footer-logo{filter:drop-shadow(0 0 14px rgba(143,214,220,.55)) drop-shadow(0 0 26px rgba(177,127,191,.4)) brightness(1.08)}
.footer-contacts{display:inline-flex;align-items:center;gap:10px;flex-wrap:wrap}
.footer-contact-link{
  display:inline-flex;
  align-items:center;
  gap:7px;
  padding:6px 11px;
  border-radius:10px;
  border:1px solid rgba(255,255,255,.08);
  background:rgba(255,255,255,.03);
  color:#cbd1e4;
  font-size:.80rem;
  font-weight:500;
  text-decoration:none;
  transition:color .25s ease,border-color .25s ease,background .25s ease,transform .25s ease,box-shadow .25s ease;
}
.footer-contact-link:hover{
  color:#fff;
  border-color:rgba(143,214,220,.35);
  background:rgba(255,255,255,.06);
  transform:translateY(-1.5px);
  box-shadow:0 4px 16px rgba(0,0,0,.25),0 0 16px rgba(143,214,220,.16);
}
.footer-contact-icon{flex-shrink:0;color:var(--cyan);transition:transform .25s ease,color .25s ease}
.footer-contact-link:hover .footer-contact-icon{color:#fff;transform:scale(1.08)}
.footer a.back-to-top{transition:color .25s ease,transform .25s ease}
.footer a.back-to-top:hover{color:#fff;transform:translateY(-1px)}
@keyframes footerGlow{
  0%{filter:drop-shadow(0 0 8px rgba(143,214,220,.2)) drop-shadow(0 0 14px rgba(177,127,191,.14))}
  100%{filter:drop-shadow(0 0 13px rgba(143,214,220,.38)) drop-shadow(0 0 22px rgba(177,127,191,.28))}
}

@media (max-width:900px){
  .showcase-grid{grid-template-columns:1fr}
  .showcase-card.wide{grid-column:auto;grid-template-columns:1fr}
  .showcase-card{min-height:390px}
  .signal-card .signal-stage{position:relative;inset:auto;height:238px;margin:18px 20px 18px}
  .showcase-card.wide{min-height:470px}
  .wave-stage{min-height:230px}
}

@media (max-width:640px){
  h1 em,h2 em{
    padding-right:.04em;
    -webkit-box-decoration-break:clone;
    box-decoration-break:clone;
  }
  .cursor-glow{display:none}
  .showcase-card{border-radius:24px}
  .showcase-card:first-child{min-height:560px}
  .showcase-copy{padding:26px}
  .network-visual{inset:300px 18px 18px}
  .signal-card .signal-stage{inset:auto;height:232px;margin:18px 18px 18px}
  .showcase-card.wide{min-height:500px}
  .wave-stage{padding:30px 18px;gap:6px}
  .wave-stage span{width:5px}
  .header-logo{height:36px}
  .header-brand-halo{width:58px;height:44px}
  .footer{gap:18px;padding:32px 0 40px}
  .footer-contacts{gap:8px 10px;width:100%}
  .footer-contact-link{padding:7px 11px;font-size:.78rem}
  .footer-logo{height:25px}
}

@media (prefers-reduced-motion:reduce){
  *,*:before,*:after{animation-duration:.001ms!important;animation-iteration-count:1!important;scroll-behavior:auto!important}
  .visual-shell{transform:none!important}
  .cursor-glow{display:none}
  .signal-card-logo,.signal-logo-wrap,.signal-halo{animation:none!important;transform:none!important;transition:none!important}
  .signal-symbol-wrap,.signal-text-wrap{animation:none!important;transform:translate(-50%,-50%)!important;transition:none!important}
  .footer-contact-link,.footer-contact-icon{animation:none!important;transition:none!important;transform:none!important}
  .footer-logo{animation:none!important;transition:none!important}
  .footer-logo-link{transition:none!important;transform:none!important}
  .header-logo,.header-brand-halo{animation:none!important;transform:none!important;transition:none!important}
}

/* CARD 01 | ilustração grande no topo */
.service-card:first-child .icon {
  display: none !important;
}

.service-card:first-child {
  padding-top: 26px;
}

.service-hero-illustration {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 4px 0 22px;
  pointer-events: none;
}

.design-hero-svg {
  width: min(150px, 62%);
  height: auto;
  overflow: visible;
  filter: drop-shadow(0 0 20px rgba(143,214,220,.10));
}

.design-guide-path,
.design-path-highlight,
.design-handle,
.design-anchor,
.design-control,
.design-pen-body,
.design-pen-tip {
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.design-guide-path {
  stroke: url(#designStroke);
  stroke-width: 2.2;
  opacity: .9;
  stroke-dasharray: 220;
  stroke-dashoffset: 220;
  animation: designPathDraw 4.8s ease-in-out infinite;
  filter: url(#designGlow);
}

.design-path-highlight {
  stroke: rgba(255,255,255,.9);
  stroke-width: 1.2;
  opacity: 0;
  stroke-dasharray: 18 82;
  stroke-dashoffset: 100;
  animation: designPathGlow 4.8s ease-in-out infinite;
}

.design-handle {
  stroke: rgba(143,214,220,.35);
  stroke-width: 1.2;
  opacity: 0;
  animation: designHandlesIn 4.8s ease-in-out infinite;
}

.design-anchor {
  fill: #b17fbf;
  stroke: rgba(255,255,255,.45);
  stroke-width: 1;
  opacity: 0;
  transform-origin: center;
  animation: designPointsIn 4.8s ease-in-out infinite;
  filter: url(#designGlow);
}

.design-control {
  fill: #8FD6DC;
  stroke: rgba(255,255,255,.35);
  stroke-width: .8;
  opacity: 0;
  transform-origin: center;
  animation: designControlsIn 4.8s ease-in-out infinite;
}

.design-pen-body {
  fill: rgba(143,214,220,.18);
  stroke: url(#designStroke);
  stroke-width: 1.6;
}

.design-pen-tip {
  fill: rgba(177,127,191,.20);
  stroke: url(#designStroke);
  stroke-width: 1.3;
}

.design-pen-group {
  transform-origin: center;
  animation: designPenMove 4.8s ease-in-out infinite;
  filter: url(#designGlow);
}

.service-card:first-child:hover .design-hero-svg,
.service-card:first-child:focus-within .design-hero-svg {
  filter: drop-shadow(0 0 26px rgba(143,214,220,.16));
}

@keyframes designPathDraw {
  0%, 8% {
    stroke-dashoffset: 220;
    opacity: .25;
  }
  18%, 70% {
    stroke-dashoffset: 0;
    opacity: .92;
  }
  100% {
    stroke-dashoffset: 0;
    opacity: .92;
  }
}

@keyframes designPathGlow {
  0%, 24% {
    opacity: 0;
    stroke-dashoffset: 100;
  }
  34%, 72% {
    opacity: .95;
    stroke-dashoffset: 0;
  }
  100% {
    opacity: 0;
    stroke-dashoffset: -30;
  }
}

@keyframes designHandlesIn {
  0%, 14% {
    opacity: 0;
  }
  24%, 100% {
    opacity: 1;
  }
}

@keyframes designPointsIn {
  0%, 10% {
    opacity: 0;
    transform: scale(.7);
  }
  18%, 100% {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes designControlsIn {
  0%, 16% {
    opacity: 0;
    transform: scale(.7);
  }
  26%, 100% {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes designPenMove {
  0%, 12% {
    transform: translate(32px, 76px) rotate(-28deg);
    opacity: 0;
  }
  22% {
    opacity: 1;
  }
  42% {
    transform: translate(92px, 34px) rotate(-8deg);
    opacity: 1;
  }
  68% {
    transform: translate(158px, 58px) rotate(14deg);
    opacity: 1;
  }
  100% {
    transform: translate(158px, 58px) rotate(14deg);
    opacity: 0;
  }
}

@media (max-width: 768px) {
  .service-hero-illustration {
    margin: 2px 0 18px;
  }

  .design-hero-svg {
    width: min(132px, 58%);
  }
}

@media (prefers-reduced-motion: reduce) {
  .design-guide-path,
  .design-path-highlight,
  .design-handle,
  .design-anchor,
  .design-control,
  .design-pen-group {
    animation: none !important;
    opacity: 1 !important;
    stroke-dashoffset: 0 !important;
  }

  .design-path-highlight {
    opacity: .55 !important;
  }
}

/* =========================================================
   CARD 02 | MARKETING DIGITAL & TRÁFEGO PAGO
   Globo digital + cursor + alcance
   ========================================================= */

.service-card:nth-child(2) {
  padding-top: 26px;
}

.service-hero-illustration--traffic {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 0 22px;
  pointer-events: none;
}

.traffic-hero-svg {
  width: min(160px, 66%);
  height: auto;
  overflow: visible;
  filter:
    drop-shadow(0 0 12px rgba(143, 214, 220, .10))
    drop-shadow(0 0 26px rgba(159, 120, 201, .08));
}

/* =========================================================
   GLOBO
   ========================================================= */

.traffic-globe-line {
  fill: none;
  stroke: url(#trafficGradient);
  stroke-width: 1.7;
  stroke-linecap: round;
  opacity: .62;

  stroke-dasharray: 360;
  stroke-dashoffset: 360;

  animation:
    trafficGlobeDraw 5.4s ease-in-out infinite;
}

.traffic-globe-outline {
  stroke-width: 2;
  opacity: .82;
}

.traffic-globe-meridian {
  animation-delay: .10s;
}

.traffic-globe-latitude--top {
  animation-delay: .18s;
}

.traffic-globe-latitude--bottom {
  animation-delay: .26s;
}

.traffic-globe-equator {
  animation-delay: .34s;
}

/* =========================================================
   PONTOS REPRESENTANDO ALCANCE / PÚBLICO
   ========================================================= */

.traffic-point {
  fill: #8FD6DC;
  opacity: 0;
  transform-box: fill-box;
  transform-origin: center;

  filter: url(#trafficGlow);

  animation:
    trafficReachPoint 5.4s ease-in-out infinite;
}

.traffic-point--1 {
  animation-delay: .15s;
}

.traffic-point--2 {
  fill: #B17FBF;
  animation-delay: .35s;
}

.traffic-point--3 {
  fill: #8FD6DC;
  animation-delay: .55s;
}

.traffic-point--4 {
  fill: #C35DE0;
  animation-delay: .75s;
}

/* =========================================================
   CURSOR
   ========================================================= */

.traffic-cursor {
  transform-box: fill-box;
  transform-origin: center;

  animation:
    trafficCursorMove 5.4s cubic-bezier(.22, .8, .24, 1) infinite;

  filter: url(#trafficGlow);
}

.traffic-cursor-body {
  fill: rgba(14, 18, 35, .96);
  stroke: url(#trafficGradient);
  stroke-width: 2.2;
  stroke-linejoin: round;
}

/* =========================================================
   CLIQUE
   ========================================================= */

.traffic-click-ring {
  fill: none;
  stroke: #8FD6DC;
  transform-box: fill-box;
  transform-origin: center;
  opacity: 0;
}

.traffic-click-ring--outer {
  stroke-width: 1.2;

  animation:
    trafficClickRingOuter 5.4s ease-out infinite;
}

.traffic-click-ring--inner {
  stroke-width: 1.8;

  animation:
    trafficClickRingInner 5.4s ease-out infinite;
}

.traffic-click-pulse {
  fill: none;
  stroke: #B17FBF;
  stroke-width: 2;

  transform-box: fill-box;
  transform-origin: center;

  opacity: 0;

  animation:
    trafficClickPulse 5.4s ease-out infinite;
}

/* =========================================================
   HOVER DO CARD
   ========================================================= */

.service-card:nth-child(2):hover .traffic-hero-svg,
.service-card:nth-child(2):focus-within .traffic-hero-svg {
  filter:
    drop-shadow(0 0 16px rgba(143, 214, 220, .18))
    drop-shadow(0 0 34px rgba(177, 127, 191, .16));
}

.service-card:nth-child(2):hover .traffic-globe-line {
  opacity: .92;
}

/* =========================================================
   ANIMAÇÕES
   ========================================================= */

@keyframes trafficGlobeDraw {
  0%,
  8% {
    stroke-dashoffset: 360;
    opacity: .10;
  }

  23% {
    stroke-dashoffset: 0;
    opacity: .78;
  }

  82% {
    stroke-dashoffset: 0;
    opacity: .78;
  }

  100% {
    stroke-dashoffset: 0;
    opacity: .42;
  }
}

@keyframes trafficReachPoint {
  0%,
  22% {
    opacity: 0;
    transform: scale(.4);
  }

  32% {
    opacity: 1;
    transform: scale(1);
  }

  43% {
    transform: scale(1.45);
  }

  52% {
    transform: scale(1);
  }

  78% {
    opacity: 1;
  }

  100% {
    opacity: .20;
  }
}

@keyframes trafficCursorMove {
  0%,
  24% {
    transform:
      translate(34px, 28px)
      rotate(5deg);

    opacity: 0;
  }

  31% {
    opacity: 1;
  }

  48% {
    transform:
      translate(0, 0)
      rotate(0deg);

    opacity: 1;
  }

  53% {
    transform:
      translate(0, 0)
      scale(.92);

    opacity: 1;
  }

  58% {
    transform:
      translate(0, 0)
      scale(1);

    opacity: 1;
  }

  80% {
    transform:
      translate(0, 0)
      scale(1);

    opacity: 1;
  }

  100% {
    transform:
      translate(8px, 6px)
      scale(.98);

    opacity: 0;
  }
}

@keyframes trafficClickRingOuter {
  0%,
  47% {
    opacity: 0;
    transform: scale(.45);
  }

  53% {
    opacity: .85;
  }

  66% {
    opacity: 0;
    transform: scale(2.2);
  }

  100% {
    opacity: 0;
    transform: scale(2.2);
  }
}

@keyframes trafficClickRingInner {
  0%,
  48% {
    opacity: 0;
    transform: scale(.35);
  }

  53% {
    opacity: 1;
    transform: scale(1);
  }

  61% {
    opacity: 0;
    transform: scale(1.65);
  }

  100% {
    opacity: 0;
  }
}

@keyframes trafficClickPulse {
  0%,
  49% {
    opacity: 0;
    transform: scale(.3);
  }

  54% {
    opacity: .9;
  }

  69% {
    opacity: 0;
    transform: scale(5);
  }

  100% {
    opacity: 0;
    transform: scale(5);
  }
}

/* =========================================================
   RESPONSIVO
   ========================================================= */

@media (max-width: 768px) {
  .service-hero-illustration--traffic {
    margin-bottom: 18px;
  }

  .traffic-hero-svg {
    width: min(142px, 62%);
  }
}

/* =========================================================
   REDUÇÃO DE MOVIMENTO
   ========================================================= */

@media (prefers-reduced-motion: reduce) {
  .traffic-globe-line,
  .traffic-point,
  .traffic-cursor,
  .traffic-click-ring,
  .traffic-click-pulse {
    animation: none !important;
  }

  .traffic-globe-line {
    stroke-dashoffset: 0 !important;
    opacity: .78 !important;
  }

  .traffic-point {
    opacity: 1 !important;
    transform: none !important;
  }

  .traffic-cursor {
    opacity: 1 !important;
    transform: none !important;
  }

  .traffic-click-ring,
  .traffic-click-pulse {
    opacity: 0 !important;
  }
}