/* Santa Rita Cursos — versão mobile editorial, com a mesma imagem e identidade do desktop */
.navlinks .mobile-portal-link{display:none}
@media (max-width:760px) {
  /* Cabeçalho compacto, como no site institucional */
  .top {position:relative;z-index:61;background:#fff!important}
  .top-inner{min-height:70px!important;height:70px!important;justify-content:flex-start!important}
  .top .brand{gap:0!important}
  .top .brand img{width:180px!important;max-width:calc(100vw - 94px)!important}
  .top .brand small,.top .top-links{display:none!important}
  .navwrap{height:0!important;min-height:0!important;position:static!important;background:transparent!important;box-shadow:none!important}
  .nav{min-height:0!important;height:0!important;padding:0!important;position:static!important}
  .menu-toggle{display:flex!important;align-items:center!important;justify-content:center!important;position:absolute!important;top:14px!important;right:17px!important;z-index:65!important;width:43px!important;height:43px!important;color:#082c68!important;font-size:29px!important;font-weight:500!important;background:transparent!important;border:0!important}
  .navlinks{position:absolute!important;top:70px!important;left:0!important;right:0!important;z-index:64!important;padding:11px 24px 20px!important;background:#0b347a!important;box-shadow:0 12px 28px rgba(3,20,52,.25)!important}
  .navlinks.open{display:flex!important}
  .navlinks a{padding:13px 9px!important;border-bottom:1px solid rgba(255,255,255,.13)!important;color:#fff!important}
  .navlinks .mobile-portal-link{display:block!important;font-weight:800!important;color:#fff!important}
  .nav .login{display:none!important}

  #inicio.hero{padding:0!important;background:#0b2f73!important;overflow:hidden!important}
  #inicio .ref-banner-desktop{display:none!important}
  #inicio .hero-mobile-fallback{position:relative!important;display:flex!important;flex-direction:column!important;isolation:isolate!important;min-height:0!important;overflow:hidden!important;background:#0b2f73!important}
  #inicio .hero-mobile-fallback::before{display:none!important;content:none!important}
  #inicio .hero-mobile-fallback .hero-content{display:flex!important;flex-direction:column!important;position:relative!important;z-index:3!important;box-sizing:border-box!important;min-height:0!important;padding:31px 23px 0!important;background:#0b2f73!important;gap:0!important;align-content:normal!important}
  #inicio .hero-mobile-fallback .eyebrow{order:1!important;display:flex!important;align-items:center!important;gap:9px!important;width:100%!important;max-width:none!important;margin:0!important;font-size:11px!important;font-weight:850!important;line-height:1.35!important;letter-spacing:.45px!important;color:#eef3ff!important;text-transform:uppercase!important}
  #inicio .hero-mobile-fallback .eyebrow::before{content:""!important;display:block!important;width:24px!important;height:3px!important;flex:0 0 24px!important;border-radius:4px!important;background:#fc304b!important}
  #inicio .hero-mobile-fallback h1{order:2!important;display:block!important;width:100%!important;max-width:450px!important;margin:14px 0 12px!important;font:900 clamp(35px,9.6vw,45px)/1.04 Inter,Arial,sans-serif!important;letter-spacing:-1.3px!important;color:#fff!important;text-shadow:none!important}
  #inicio .hero-mobile-fallback h1 em{font-style:normal!important;color:#fff!important;text-decoration:underline!important;text-decoration-color:#f52e4b!important;text-decoration-thickness:4px!important;text-underline-offset:5px!important}
  #inicio .hero-mobile-fallback p{order:3!important;display:block!important;width:100%!important;max-width:340px!important;margin:0!important;font-size:14px!important;font-weight:500!important;line-height:1.48!important;color:#e7efff!important}
  #inicio .hero-mobile-fallback .hero-actions{order:4!important;grid-row:auto!important;display:grid!important;grid-template-columns:minmax(0,1.18fr) minmax(0,1fr)!important;gap:8px!important;width:100%!important;margin:20px 0 19px!important}
  #inicio .hero-mobile-fallback .hero-actions .btn{display:flex!important;box-sizing:border-box!important;min-width:0!important;min-height:46px!important;width:100%!important;justify-content:center!important;gap:5px!important;padding:11px 9px!important;border-radius:10px!important;font-size:12px!important;font-weight:850!important;line-height:1.15!important;white-space:normal!important;text-align:center!important;box-shadow:0 5px 14px rgba(1,14,45,.16)!important;transition:transform .2s ease,box-shadow .2s ease!important}
  #inicio .hero-mobile-fallback .hero-actions .btn-red{background:#f31937!important;color:#fff!important}
  #inicio .hero-mobile-fallback .hero-actions .btn-outline{background:transparent!important;border:1.5px solid #eaf1ff!important;color:#fff!important}
  #inicio .hero-mobile-fallback .hero-actions .btn:active{transform:scale(.98)!important}
  #inicio .hero-mobile-fallback .play-circle{height:20px!important;width:20px!important;border-width:1.5px!important;font-size:10px!important}
  #inicio .hero-mobile-fallback .hero-points{order:5!important;grid-row:auto!important;position:relative!important;z-index:6!important;display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;align-items:stretch!important;gap:0!important;box-sizing:border-box!important;width:100%!important;max-width:none!important;margin:0 0 -62px!important;padding:12px 7px!important;border:1px solid rgba(255,255,255,.18)!important;border-radius:12px!important;background:rgba(6,36,93,.94)!important;box-shadow:0 8px 20px rgba(1,12,44,.18)!important;transform:none!important}
  #inicio .hero-mobile-fallback .hero-points .point{display:flex!important;flex-direction:column!important;justify-content:center!important;align-items:center!important;gap:6px!important;min-width:0!important;width:100%!important;min-height:64px!important;margin:0!important;padding:0 5px!important;border:0!important;border-right:1px solid rgba(255,255,255,.25)!important}
  #inicio .hero-mobile-fallback .hero-points .point:last-child{border:0!important}
  #inicio .hero-mobile-fallback .hero-points .point svg{flex:none!important;width:24px!important;height:24px!important;min-width:24px!important;color:#fff!important}
  #inicio .hero-mobile-fallback .hero-points .point span{display:block!important;line-height:1.13!important;text-align:center!important}
  #inicio .hero-mobile-fallback .hero-points .point strong,#inicio .hero-mobile-fallback .hero-points .point small{display:block!important;white-space:normal!important;font-size:10px!important;line-height:1.22!important;font-weight:800!important}
  #inicio .hero-mobile-fallback .hero-photo{order:2!important;display:block!important;position:relative!important;z-index:1!important;top:auto!important;right:auto!important;left:auto!important;width:100%!important;height:294px!important;min-height:294px!important;margin:0!important;opacity:1!important;filter:none!important;clip-path:none!important;background-image:url('/assets/mobile-foto-banner-pc.png')!important;background-position:center 50%!important;background-repeat:no-repeat!important;background-size:cover!important}
  #inicio .hero-mobile-fallback .hero-photo::before{content:""!important;display:block!important;position:absolute!important;z-index:2!important;top:0!important;left:0!important;bottom:0!important;right:auto!important;width:53px!important;height:100%!important;background:#f52243!important;clip-path:polygon(0 0,68% 0,54% 22%,35% 48%,50% 77%,74% 100%,0 100%)!important;transform:none!important;opacity:1!important;border-radius:0!important}
  #inicio .hero-mobile-fallback .hero-photo::after{content:""!important;display:block!important;position:absolute!important;z-index:1!important;top:0!important;left:0!important;right:0!important;bottom:auto!important;width:100%!important;height:65px!important;background:linear-gradient(180deg,rgba(8,38,88,.25),transparent)!important;clip-path:none!important;transform:none!important;opacity:1!important}
  .stats-mobile-fallback .stats{margin-top:11px!important}
}
@media(max-width:369px){
  #inicio .hero-mobile-fallback .hero-content{padding:27px 18px 0!important}
  #inicio .hero-mobile-fallback h1{font-size:33px!important}
  #inicio .hero-mobile-fallback .hero-actions{grid-template-columns:1fr!important;gap:8px!important}
  #inicio .hero-mobile-fallback .hero-actions .btn{min-height:42px!important;font-size:12px!important}
  #inicio .hero-mobile-fallback .hero-photo{height:270px!important;min-height:270px!important}
  #inicio .hero-mobile-fallback .hero-points .point strong,#inicio .hero-mobile-fallback .hero-points .point small{font-size:9.3px!important}
}
@media(prefers-reduced-motion:reduce){#inicio .hero-mobile-fallback .hero-actions .btn{transition:none!important}}
/* Refinamento visual: preservar a fotografia inteira e criar indicadores 2×2 */
@media(max-width:760px){
  #inicio .hero-mobile-fallback .hero-points{margin-bottom:0!important;border-radius:12px 12px 0 0!important;box-shadow:none!important}
  .stats-mobile-fallback{position:relative!important;z-index:6!important;width:calc(100% - 26px)!important;max-width:600px!important;margin:-17px auto 0!important}
  .stats-mobile-fallback .stats{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:0!important;overflow:hidden!important;margin:0!important;padding:5px!important;border:1px solid #e4ebf5!important;border-radius:16px!important;background:#fff!important;box-shadow:0 14px 33px rgba(5,33,80,.13)!important}
  .stats-mobile-fallback .stat{display:flex!important;align-items:center!important;justify-content:flex-start!important;min-width:0!important;gap:10px!important;min-height:58px!important;margin:0!important;padding:10px 8px!important;border-right:1px solid #e1e8f2!important;border-bottom:1px solid #e1e8f2!important}
  .stats-mobile-fallback .stat:nth-child(2n){border-right:0!important}
  .stats-mobile-fallback .stat:nth-child(n+3){border-bottom:0!important}
  .stats-mobile-fallback .stat svg{flex:0 0 29px!important;width:29px!important;height:29px!important}
  .stats-mobile-fallback .stat b{font-size:13px!important;letter-spacing:-.15px!important;line-height:1.08!important}
  .stats-mobile-fallback .stat small{font-size:10.5px!important;line-height:1.24!important}
}


/* santa-rita-mobile-editorial-transition-v10: portrait and blue share a single canvas */
@media (max-width:760px){
  #inicio.hero{background:#0b2f73!important;overflow:visible!important}
  #inicio .hero-mobile-fallback{background:#0b2f73!important;overflow:hidden!important;isolation:isolate}
  #inicio .hero-mobile-fallback .hero-content{
    position:relative!important;z-index:4!important;
    padding:32px 23px 0!important;
    background:transparent!important;
  }
  #inicio .hero-mobile-fallback h1{margin:11px 0 11px!important;font-size:clamp(34px,9.1vw,44px)!important;line-height:1.02!important}
  #inicio .hero-mobile-fallback p{line-height:1.45!important}
  #inicio .hero-mobile-fallback .hero-actions{margin:19px 0 18px!important}
  #inicio .hero-mobile-fallback .hero-points{
    position:relative!important;z-index:5!important;
    margin:0!important;
    padding:11px 0 18px!important;
    border:0!important;border-radius:0!important;
    background:transparent!important;
    box-shadow:none!important;
    -webkit-backdrop-filter:none!important;backdrop-filter:none!important;
  }
  #inicio .hero-mobile-fallback .hero-points .point{min-height:55px!important}
  #inicio .hero-mobile-fallback .hero-photo{
    order:2!important;
    position:relative!important;
    z-index:2!important;
    margin:-20px 0 0!important;
    width:100%!important;
    height:352px!important;
    min-height:352px!important;
    background-image:url('/assets/mobile-foto-banner-pc.png')!important;
    background-position:center 43%!important;
    background-repeat:no-repeat!important;
    background-size:cover!important;
    filter:none!important;
    clip-path:polygon(0 13%,18% 10%,40% 5%,63% 2%,83% 0%,100% 0%,100% 100%,0 100%)!important;
    opacity:1!important;
  }
  #inicio .hero-mobile-fallback .hero-photo::before{display:none!important;content:none!important}
  #inicio .hero-mobile-fallback .hero-photo::after{display:none!important;content:none!important;}
  .stats-mobile-fallback{margin:-13px auto 0!important}
}
@media(max-width:369px){
  #inicio .hero-mobile-fallback .hero-content{padding:29px 18px 0!important}
  #inicio .hero-mobile-fallback h1{font-size:34px!important}
  #inicio .hero-mobile-fallback .hero-photo{height:319px!important;min-height:319px!important;margin-top:-15px!important}
}

/* santa-rita-acento-curto-suave-v13 */
@media(max-width:760px){
  #inicio .hero-mobile-fallback .hero-photo::before{
    content:''!important;
    display:block!important;
    position:absolute!important;
    z-index:5!important;
    inset:0!important;
    width:100%!important;
    height:100%!important;
    opacity:1!important;
    background:linear-gradient(90deg,#f02046 0%,#f02046 7%,rgba(240,32,70,.65) 12%,rgba(240,32,70,0) 24%)!important;
    clip-path:polygon(0 13%,18% 10%,25% 8.8%,25% 10.1%,18% 11.5%,0 14.6%)!important;
    transform:none!important;
    border-radius:0!important;
    pointer-events:none!important;
  }
}

/* santa-rita-separacao-vermelha-v14 */
@media (max-width:760px){
  #inicio .hero-mobile-fallback .hero-points{
    padding-bottom:20px!important;
  }
  #inicio .hero-mobile-fallback .hero-photo{
    margin-top:0!important;
  }
  #inicio .hero-mobile-fallback .hero-photo::before{
    clip-path:polygon(0 13%,18% 10%,25% 8.8%,25% 11.1%,18% 12.35%,0 15.4%)!important;
  }
}
@media (max-width:369px){
  #inicio .hero-mobile-fallback .hero-photo{
    margin-top:0!important;
  }
}
