/* =========================================================
   CAREKA DIGITAL — V97 HERO COM CAIXINHA RETORNADA
   - mantém vídeo full viewport da V96;
   - mantém título, legenda e botão;
   - retorna informações da caixinha do fundador;
   - caixinha fora do hero-content para não criar wrapper duplicado;
   - alinhamento premium em desktop, tablet e mobile.
   ========================================================= */

body .hero.ckHeroV97,
body section.hero.ckHeroV97,
body #hero.ckHeroV97{
  position:relative!important;
  width:100vw!important;
  height:100vh!important;
  min-height:100vh!important;
  padding:0 clamp(22px, 5.8vw, 96px)!important;
  display:flex!important;
  align-items:center!important;
  justify-content:flex-start!important;
  overflow:hidden!important;
  isolation:isolate!important;
}

body .hero.ckHeroV97 > .hero-video{
  position:absolute!important;
  inset:0!important;
  z-index:0!important;
  width:100vw!important;
  height:100vh!important;
  object-fit:cover!important;
  object-position:center center!important;
}

body .hero.ckHeroV97 > .hero-overlay{
  position:absolute!important;
  inset:0!important;
  z-index:1!important;
  background:
    linear-gradient(90deg, rgba(0,0,0,.82) 0%, rgba(0,0,0,.66) 38%, rgba(0,0,0,.38) 68%, rgba(0,0,0,.62) 100%),
    rgba(0,0,0,.55)!important;
  pointer-events:none!important;
}

body .hero.ckHeroV97 > .hero-content{
  position:relative!important;
  z-index:2!important;
  width:min(100%, 660px)!important;
  max-width:660px!important;
  margin:0!important;
  padding:0!important;
  display:flex!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-content h1{
  margin:0!important;
  color:#fff8ec!important;
  font-family:var(--font-display, "Anton", "Bebas Neue", Impact, sans-serif)!important;
  font-size:clamp(54px, 6.15vw, 112px)!important;
  line-height:.90!important;
  font-weight:900!important;
  letter-spacing:.018em!important;
  text-transform:uppercase!important;
  max-width:11.7ch!important;
  text-shadow:0 20px 46px rgba(0,0,0,.50)!important;
}

body .hero.ckHeroV97 > .hero-content h1 span{
  color:#F5A623!important;
  background:linear-gradient(180deg,#ffd96e 0%,#F5A623 58%,#d97718 100%)!important;
  -webkit-background-clip:text!important;
  background-clip:text!important;
  -webkit-text-fill-color:transparent!important;
}

body .hero.ckHeroV97 > .hero-content p{
  margin:0!important;
  max-width:52ch!important;
  color:rgba(255,248,236,.86)!important;
  font-size:clamp(16px,1.15vw,21px)!important;
  line-height:1.55!important;
  font-weight:600!important;
  letter-spacing:-.025em!important;
  text-shadow:0 14px 32px rgba(0,0,0,.44)!important;
}

body .hero.ckHeroV97 > .hero-content .hero-cta{
  min-width:min(100%, 430px)!important;
  min-height:58px!important;
  padding:0 30px!important;
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  border:1px solid rgba(255,214,108,.46)!important;
  border-radius:14px!important;
  background:linear-gradient(135deg,#ffd765 0%,#F5A623 48%,#e7791f 100%)!important;
  color:#050505!important;
  box-shadow:0 24px 54px rgba(231,121,31,.28), inset 0 1px 0 rgba(255,255,255,.35)!important;
  text-decoration:none!important;
  text-transform:uppercase!important;
  font-size:clamp(12px,.86vw,15px)!important;
  line-height:1.1!important;
  font-weight:900!important;
  letter-spacing:.18em!important;
  transition:transform .28s cubic-bezier(.22,1,.36,1), box-shadow .28s cubic-bezier(.22,1,.36,1), filter .28s cubic-bezier(.22,1,.36,1)!important;
}

body .hero.ckHeroV97 > .hero-content .hero-cta:hover,
body .hero.ckHeroV97 > .hero-content .hero-cta:focus-visible{
  transform:translateY(-2px)!important;
  filter:saturate(1.05) brightness(1.03)!important;
  box-shadow:0 30px 68px rgba(231,121,31,.34), inset 0 1px 0 rgba(255,255,255,.40)!important;
}

/* Caixinha do fundador */
body .hero.ckHeroV97 > .hero-founder-card{
  position:absolute!important;
  z-index:2!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;
  display:grid!important;
  grid-template-columns:minmax(0,.92fr) minmax(0,1.08fr)!important;
  align-items:center!important;
  gap:clamp(18px,1.3vw,28px)!important;
  padding:clamp(18px,1.35vw,26px)!important;
  border:1px solid rgba(242,189,63,.28)!important;
  border-radius:clamp(18px,1.45vw,28px)!important;
  background:
    linear-gradient(120deg,rgba(13,11,9,.72),rgba(5,7,10,.82))!important;
  box-shadow:0 30px 90px rgba(0,0,0,.46), inset 0 1px 0 rgba(255,255,255,.08)!important;
  backdrop-filter:blur(16px)!important;
  -webkit-backdrop-filter:blur(16px)!important;
  overflow:hidden!important;
}

body .hero.ckHeroV97 > .hero-founder-card::before{
  content:""!important;
  position:absolute!important;
  inset:0!important;
  pointer-events:none!important;
  background:
    linear-gradient(115deg,rgba(255,255,255,.07),transparent 24%,transparent 72%,rgba(242,189,63,.06)),
    radial-gradient(420px 180px at 88% 18%,rgba(242,189,63,.10),transparent 70%)!important;
  opacity:.72!important;
}

body .hero-founder-card__identity,
body .hero-founder-card__info{
  position:relative!important;
  z-index:1!important;
}

body .hero-founder-card__identity{
  display:grid!important;
  grid-template-columns:clamp(74px,4.4vw,98px) minmax(0,1fr)!important;
  gap:clamp(12px,.9vw,18px)!important;
  align-items:center!important;
  min-width:0!important;
}

body .hero-founder-card__image{
  width:clamp(74px,4.4vw,98px)!important;
  height:clamp(74px,4.4vw,98px)!important;
  object-fit:cover!important;
  border-radius:clamp(12px,.9vw,16px)!important;
  border:1px solid rgba(242,189,63,.32)!important;
  box-shadow:0 16px 42px rgba(0,0,0,.34)!important;
}

body .hero-founder-card__copy{
  min-width:0!important;
  display:grid!important;
  gap:clamp(4px,.38vw,7px)!important;
}

body .hero-founder-card__copy b,
body .hero-founder-card__item b{
  color:#ffd66c!important;
  font-size:clamp(9px,.62vw,12px)!important;
  line-height:1.05!important;
  letter-spacing:.24em!important;
  text-transform:uppercase!important;
}

body .hero-founder-card__copy strong{
  color:#fff8ec!important;
  font-family:var(--font-display, "Anton", "Bebas Neue", Impact, sans-serif)!important;
  font-size:clamp(26px,1.75vw,40px)!important;
  line-height:.94!important;
  letter-spacing:.035em!important;
  text-transform:uppercase!important;
}

body .hero-founder-card__copy span{
  color:rgba(255,248,236,.72)!important;
  font-size:clamp(11px,.75vw,14px)!important;
  line-height:1.35!important;
  font-weight:700!important;
}

body .hero-founder-card__info{
  min-width:0!important;
  display:grid!important;
  grid-template-columns:minmax(0,1fr) minmax(0,1fr)!important;
  gap:0!important;
  padding-left:clamp(18px,1.2vw,28px)!important;
  border-left:1px solid rgba(242,189,63,.42)!important;
}

body .hero-founder-card__item{
  min-width:0!important;
  display:grid!important;
  align-content:start!important;
  gap:clamp(5px,.42vw,8px)!important;
  padding:0 clamp(14px,1vw,22px)!important;
}

body .hero-founder-card__item:first-child{
  padding-left:0!important;
}

body .hero-founder-card__item + .hero-founder-card__item{
  border-left:1px solid rgba(242,189,63,.28)!important;
  padding-left:clamp(18px,1.2vw,26px)!important;
}

body .hero-founder-card__item span,
body .hero-founder-card__item small{
  display:block!important;
  color:rgba(255,248,236,.78)!important;
  font-size:clamp(11px,.76vw,14px)!important;
  line-height:1.34!important;
  font-weight:700!important;
  white-space:normal!important;
}

body .hero-founder-card__item small{
  color:rgba(255,248,236,.62)!important;
}

body .hero-founder-card__item:last-child span,
body .hero-founder-card__item:last-child small{
  white-space:nowrap!important;
}

/* Notebook médio */
@media (max-width: 1380px){
  body .hero.ckHeroV97 > .hero-content{
    max-width:600px!important;
  }

  body .hero.ckHeroV97 > .hero-content h1{
    font-size:clamp(48px,5.5vw,92px)!important;
  }

  body .hero.ckHeroV97 > .hero-founder-card{
    width:min(52vw,760px)!important;
    min-width:560px!important;
  }
}

/* Tablet e telas menores: card abaixo do conteúdo em fluxo, sem cortar */
@media (max-width: 1100px){
  body .hero.ckHeroV97{
    height:auto!important;
    min-height:100svh!important;
    padding-top:calc(var(--ck80-header-h, 74px) + 34px)!important;
    padding-bottom:34px!important;
    align-items:flex-start!important;
    flex-direction:column!important;
    gap:28px!important;
  }

  body .hero.ckHeroV97 > .hero-content{
    max-width:680px!important;
    width:100%!important;
    margin-top:0!important;
  }

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

/* Mobile */
@media (max-width: 720px){
  body .hero.ckHeroV97{
    min-height:100svh!important;
    padding:
      calc(var(--ck80-header-h, 70px) + 20px)
      clamp(22px,6vw,30px)
      28px!important;
    gap:22px!important;
  }

  body .hero.ckHeroV97 > .hero-content{
    gap:18px!important;
    transform:none!important;
  }

  body .hero.ckHeroV97 > .hero-content h1{
    font-size:clamp(44px,13.8vw,62px)!important;
    line-height:.91!important;
    max-width:10.75ch!important;
  }

  body .hero.ckHeroV97 > .hero-content p{
    font-size:clamp(15.8px,4.2vw,18px)!important;
    line-height:1.44!important;
    max-width:34ch!important;
  }

  body .hero.ckHeroV97 > .hero-content .hero-cta{
    width:100%!important;
    min-width:0!important;
    min-height:52px!important;
    border-radius:13px!important;
    padding:0 18px!important;
  }

  body .hero.ckHeroV97 > .hero-founder-card{
    grid-template-columns:1fr!important;
    gap:16px!important;
    padding:16px!important;
    border-radius:20px!important;
  }

  body .hero-founder-card__info{
    grid-template-columns:1fr!important;
    padding-left:0!important;
    padding-top:14px!important;
    border-left:0!important;
    border-top:1px solid rgba(242,189,63,.30)!important;
    gap:14px!important;
  }

  body .hero-founder-card__item,
  body .hero-founder-card__item + .hero-founder-card__item{
    border-left:0!important;
    padding-left:0!important;
    padding-right:0!important;
  }

  body .hero-founder-card__item + .hero-founder-card__item{
    border-top:1px solid rgba(242,189,63,.22)!important;
    padding-top:14px!important;
  }

  body .hero-founder-card__item:last-child span,
  body .hero-founder-card__item:last-child small{
    white-space:normal!important;
  }
}

@media (max-width: 390px){
  body .hero.ckHeroV97{
    padding-left:20px!important;
    padding-right:20px!important;
  }

  body .hero.ckHeroV97 > .hero-content h1{
    font-size:clamp(40px,13.1vw,54px)!important;
  }
}
