/* =========================================================
   CAREKA DIGITAL — V98 HERO VISIBILITY FIX
   Correção:
   - força título, legenda, botão e caixinha a aparecerem;
   - neutraliza animações antigas que deixavam [data-hero-reveal] em opacity:0;
   - mantém a estrutura V97 com vídeo, overlay, conteúdo e card.
   ========================================================= */

body #hero.ckHeroV97,
body .hero.ckHeroV97{
  position:relative!important;
  z-index:1!important;
}

body #hero.ckHeroV97 > .hero-content,
body #hero.ckHeroV97 > .hero-founder-card,
body .hero.ckHeroV97 > .hero-content,
body .hero.ckHeroV97 > .hero-founder-card,
body #hero.ckHeroV97 [data-hero-reveal],
body .hero.ckHeroV97 [data-hero-reveal]{
  display:flex!important;
  opacity:1!important;
  visibility:visible!important;
  filter:none!important;
  pointer-events:auto!important;
}

body #hero.ckHeroV97 > .hero-content,
body .hero.ckHeroV97 > .hero-content{
  position:relative!important;
  z-index:5!important;
  transform:none!important;
  width:min(100%,660px)!important;
  max-width:660px!important;
  margin:0!important;
  padding:0!important;
  flex-direction:column!important;
  align-items:flex-start!important;
  justify-content:center!important;
  gap:24px!important;
  background:transparent!important;
  border:0!important;
  border-radius:0!important;
  box-shadow:none!important;
  backdrop-filter:none!important;
  -webkit-backdrop-filter:none!important;
}

body #hero.ckHeroV97 > .hero-founder-card,
body .hero.ckHeroV97 > .hero-founder-card{
  opacity:1!important;
  visibility:visible!important;
  transform:none!important;
  display:grid!important;
  z-index:5!important;
}

/* Neutraliza regra da V96 que escondia qualquer elemento legado dentro do hero */
body .hero.ckHeroV97 .hero-content,
body .hero.ckHeroV97 .hero-founder-card{
  display:flex!important;
}

body .hero.ckHeroV97 .hero-founder-card{
  display:grid!important;
}

/* Garante que os elementos internos do texto nunca fiquem transparentes */
body #hero.ckHeroV97 h1,
body #hero.ckHeroV97 h1 *,
body #hero.ckHeroV97 p,
body #hero.ckHeroV97 .hero-cta,
body #hero.ckHeroV97 .hero-founder-card *,
body .hero.ckHeroV97 h1,
body .hero.ckHeroV97 h1 *,
body .hero.ckHeroV97 p,
body .hero.ckHeroV97 .hero-cta,
body .hero.ckHeroV97 .hero-founder-card *{
  opacity:1!important;
  visibility:visible!important;
  filter:none!important;
}

body #hero.ckHeroV97 > .hero-overlay,
body .hero.ckHeroV97 > .hero-overlay{
  z-index:1!important;
}

body #hero.ckHeroV97 > .hero-video,
body .hero.ckHeroV97 > .hero-video{
  z-index:0!important;
}

/* Desktop: mantém card visível sem cortar */
@media (min-width:1101px){
  body #hero.ckHeroV97 > .hero-founder-card,
  body .hero.ckHeroV97 > .hero-founder-card{
    position:absolute!important;
    right:clamp(22px,5.8vw,96px)!important;
    bottom:clamp(24px,5vh,58px)!important;
    width:min(50vw,820px)!important;
    max-width:820px!important;
    min-width:640px!important;
  }
}

/* Tablet/mobile: card no fluxo abaixo do conteúdo */
@media (max-width:1100px){
  body #hero.ckHeroV97,
  body .hero.ckHeroV97{
    height:auto!important;
    min-height:100svh!important;
  }

  body #hero.ckHeroV97 > .hero-founder-card,
  body .hero.ckHeroV97 > .hero-founder-card{
    position:relative!important;
    right:auto!important;
    bottom:auto!important;
    width:100%!important;
    max-width:760px!important;
    min-width:0!important;
  }
}
