/* Goolab Home — Intro Motion V1
   Abertura editorial do primeiro bloco. CSS-only e acessível. */

.home-story-v3 .home4-intro-title{
  max-width:18ch;
  margin:0 auto;
  color:#121a28;
  font-size:clamp(2.85rem,5.7vw,5.65rem);
  font-weight:650;
  line-height:1.01;
  letter-spacing:-.056em;
  text-wrap:balance;
}

/* Neutraliza a regra legada que deixava todo <span> do H1 azul. */
.home-story-v3 .home4-intro .home4-intro-title span{
  color:inherit!important;
}

.home-story-v3 .home4-title-line{
  display:block;
  overflow:hidden;
  padding:.055em .04em .095em;
  margin:-.055em -.04em -.095em;
}

.home-story-v3 .home4-title-line-inner{
  display:block;
  opacity:0;
  transform:translate3d(0,28px,0);
  will-change:transform,opacity;
  animation:home4TitleReveal .88s cubic-bezier(.16,1,.3,1) forwards;
}

.home-story-v3 .home4-title-line:nth-child(1) .home4-title-line-inner{animation-delay:.22s}
.home-story-v3 .home4-title-line:nth-child(2) .home4-title-line-inner{animation-delay:.48s}

.home-story-v3 .home4-title-line em{
  font-style:normal;
  color:#121a28;
  animation:home4Accent .62s cubic-bezier(.16,1,.3,1) 1.05s forwards;
}

.home-story-v3 .home4-intro-mark-motion{
  opacity:0;
  transform:translateY(8px);
  animation:home4MetaReveal .48s ease-out .06s forwards;
}

.home-story-v3 .home4-continue-motion{
  opacity:0;
  transform:translateY(12px);
  animation:home4CtaReveal .6s cubic-bezier(.16,1,.3,1) 1.08s forwards;
}

.home-story-v3 .home4-continue-motion:hover{
  transform:translateY(-2px);
}

@keyframes home4TitleReveal{
  from{opacity:0;transform:translate3d(0,28px,0)}
  to{opacity:1;transform:translate3d(0,0,0)}
}

@keyframes home4MetaReveal{
  from{opacity:0;transform:translateY(8px)}
  to{opacity:1;transform:translateY(0)}
}

@keyframes home4CtaReveal{
  from{opacity:0;transform:translateY(12px)}
  to{opacity:1;transform:translateY(0)}
}

@keyframes home4Accent{
  0%{color:#121a28}
  100%{color:#1948f0}
}

@media(max-width:960px){
  .home-story-v3 .home4-intro-title{
    max-width:15ch;
    font-size:clamp(2.5rem,7.6vw,4.45rem);
    line-height:1.015;
    letter-spacing:-.052em;
  }
}

@media(max-width:680px){
  .home-story-v3 .home4-intro{
    min-height:88svh;
    padding:7.1rem 0 4.1rem!important;
  }
  .home-story-v3 .home4-intro-title{
    max-width:12.4ch;
    font-size:clamp(2.15rem,10.6vw,3.25rem);
    line-height:1.035;
    letter-spacing:-.047em;
  }
  .home-story-v3 .home4-title-line-inner{
    transform:translate3d(0,16px,0);
    animation-duration:.7s;
  }
  .home-story-v3 .home4-title-line:nth-child(1) .home4-title-line-inner{animation-delay:.16s}
  .home-story-v3 .home4-title-line:nth-child(2) .home4-title-line-inner{animation-delay:.34s}
  .home-story-v3 .home4-title-line em{animation-delay:.78s;animation-duration:.5s}
  .home-story-v3 .home4-intro-mark-motion{animation-delay:.02s;animation-duration:.38s}
  .home-story-v3 .home4-continue-motion{margin-top:1.8rem;animation-delay:.82s;animation-duration:.5s}
}

@media(prefers-reduced-motion:reduce){
  .home-story-v3 .home4-intro-mark-motion,
  .home-story-v3 .home4-title-line-inner,
  .home-story-v3 .home4-title-line em,
  .home-story-v3 .home4-continue-motion{
    animation:none!important;
    opacity:1!important;
    transform:none!important;
  }
  .home-story-v3 .home4-title-line em{color:#1948f0!important}
}
