/* V18.4.2 — splash hotfix: mesma lógica visual/viewport do Intelectus Alfabetização */
html[data-ifx-product="matematica"] .appShell.route-splash{width:100%!important;max-width:none!important;min-height:100svh!important;margin:0!important;padding:0!important;background:transparent!important;box-shadow:none!important;overflow:visible!important}
html[data-ifx-product="matematica"] .route-splash main{width:100%!important;min-height:100svh!important;padding:20px!important;display:grid!important;place-items:center!important;background:linear-gradient(rgba(230,248,240,.54),rgba(225,246,237,.68)),url('./resources/intelectus-matematica-bg-rc7.webp') center/cover fixed no-repeat!important}
html[data-ifx-product="matematica"] .route-splash .splash{width:min(620px,calc(100vw - 40px))!important;max-width:620px!important;min-height:0!important;margin:0 auto!important;padding:22px 26px 18px!important;display:flex!important;flex-direction:column!important;align-items:center!important;gap:8px!important;border:1px solid rgba(255,255,255,.92)!important;border-radius:36px!important;background:rgba(255,255,255,.965)!important;color:#14372d!important;box-shadow:0 28px 76px rgba(16,77,57,.18)!important;overflow:hidden!important}
html[data-ifx-product="matematica"] .route-splash .splash:before,html[data-ifx-product="matematica"] .route-splash .splash:after{display:none!important}
html[data-ifx-product="matematica"] .route-splash .splashBrand{order:0!important;width:100%!important;margin:0 auto 2px!important;display:flex!important;justify-content:center!important}
html[data-ifx-product="matematica"] .route-splash .splashBrand .v14Logo{height:auto!important;overflow:visible!important}
html[data-ifx-product="matematica"] .route-splash .splashBrand .v14Logo img{display:block!important;width:min(280px,72vw)!important;height:auto!important;max-width:100%!important;filter:none!important}
html[data-ifx-product="matematica"] .route-splash .splashHero{order:1!important;width:100%!important;min-height:0!important;margin:0!important;padding:0 6px 2px!important;border:0!important;border-radius:0!important;background:none!important;box-shadow:none!important;display:flex!important;flex-direction:column!important;align-items:center!important;gap:7px!important;text-align:center!important;backdrop-filter:none!important}
html[data-ifx-product="matematica"] .route-splash .splashHero>p:first-child{display:none!important}
html[data-ifx-product="matematica"] .route-splash .splashAiArt{order:-1!important;display:block!important;width:min(240px,60vw)!important;max-width:240px!important;aspect-ratio:1!important;object-fit:cover!important;object-position:center!important;margin:0 auto 2px!important;border:0!important;border-radius:28px!important;box-shadow:0 15px 34px rgba(22,84,62,.15)!important;animation:none!important}
html[data-ifx-product="matematica"] .route-splash .splashHero h1{margin:3px auto 0!important;max-width:520px!important;color:#087b58!important;font-size:clamp(1.85rem,4.2vw,2.55rem)!important;line-height:1.06!important;letter-spacing:-.05em!important;text-align:center!important;text-shadow:none!important}
html[data-ifx-product="matematica"] .route-splash .splashHero>p:nth-of-type(2){margin:0 auto!important;max-width:500px!important;color:#63736d!important;font-size:.98rem!important;line-height:1.42!important;text-align:center!important}
html[data-ifx-product="matematica"] .route-splash .splashActions{order:2!important;width:min(520px,100%)!important;margin:8px auto 0!important;display:grid!important;grid-template-columns:1fr!important;gap:8px!important}
html[data-ifx-product="matematica"] .route-splash .splashActions .primary{display:flex!important;align-items:center!important;justify-content:center!important;width:100%!important;min-height:58px!important;margin:0!important;border:0!important;border-radius:17px!important;background:linear-gradient(180deg,#22c96c,#10aa57)!important;color:#fff!important;font-size:1.05rem!important;font-weight:900!important;box-shadow:0 8px 0 #078c45,0 12px 24px rgba(17,166,86,.2)!important}
html[data-ifx-product="matematica"] .route-splash .splashActions .secondary{display:flex!important;align-items:center!important;justify-content:center!important;width:100%!important;min-height:48px!important;margin:0!important;border:1.5px solid #cce5da!important;border-radius:16px!important;background:#fff!important;color:#0b704f!important;font-weight:850!important;box-shadow:none!important}
html[data-ifx-product="matematica"] .route-splash .splashActions em{margin:0!important;color:#74837d!important;text-align:center!important;font-size:.7rem!important;line-height:1.35!important}
html[data-ifx-product="matematica"] .route-splash .brandFooter{order:4!important;width:min(520px,100%)!important;margin:4px auto 0!important;padding:8px 10px!important;border:0!important;border-radius:12px!important;background:transparent!important;color:#456259!important;box-shadow:none!important}
html[data-ifx-product="matematica"] .route-splash .brandFooter b{display:none!important}html[data-ifx-product="matematica"] .route-splash .brandFooter span{color:#456259!important;font-size:.66rem!important}
html[data-ifx-product="matematica"] .route-splash .ifx-bncc-splash{margin-top:2px!important;padding:7px 9px!important;font-size:.64rem!important}
@media(max-height:820px) and (min-width:561px){html[data-ifx-product="matematica"] .route-splash main{padding:12px!important}html[data-ifx-product="matematica"] .route-splash .splash{padding:14px 22px 12px!important;gap:5px!important}html[data-ifx-product="matematica"] .route-splash .splashBrand .v14Logo img{width:240px!important}html[data-ifx-product="matematica"] .route-splash .splashAiArt{width:190px!important;max-width:190px!important}html[data-ifx-product="matematica"] .route-splash .splashHero h1{font-size:2rem!important}html[data-ifx-product="matematica"] .route-splash .splashActions{margin-top:5px!important}html[data-ifx-product="matematica"] .route-splash .splashActions .primary{min-height:52px!important}html[data-ifx-product="matematica"] .route-splash .splashActions .secondary{min-height:44px!important}}
@media(max-width:560px){html[data-ifx-product="matematica"] .route-splash main{padding:8px!important}html[data-ifx-product="matematica"] .route-splash .splash{width:calc(100vw - 16px)!important;max-width:calc(100vw - 16px)!important;padding:12px 12px 10px!important;border-radius:28px!important;gap:5px!important}html[data-ifx-product="matematica"] .route-splash .splashBrand .v14Logo img{width:min(230px,70vw)!important}html[data-ifx-product="matematica"] .route-splash .splashAiArt{width:min(180px,52vw)!important;max-width:180px!important;border-radius:23px!important}html[data-ifx-product="matematica"] .route-splash .splashHero h1{font-size:clamp(1.65rem,8vw,2rem)!important}html[data-ifx-product="matematica"] .route-splash .splashHero>p:nth-of-type(2){font-size:.88rem!important;line-height:1.35!important}html[data-ifx-product="matematica"] .route-splash .splashActions{margin-top:5px!important;gap:6px!important}html[data-ifx-product="matematica"] .route-splash .splashActions .primary{min-height:54px!important;font-size:.98rem!important}html[data-ifx-product="matematica"] .route-splash .splashActions .secondary{min-height:44px!important;font-size:.9rem!important}html[data-ifx-product="matematica"] .route-splash .brandFooter{padding:5px!important;margin-top:2px!important}html[data-ifx-product="matematica"] .route-splash .ifx-bncc-splash{display:none!important}}
/* Mobile text safety: nenhuma frase ou CTA pode ultrapassar o card. */
html[data-ifx-product="matematica"] .route-splash .splashHero h1,html[data-ifx-product="matematica"] .route-splash .splashHero p,html[data-ifx-product="matematica"] .route-splash .splashActions,html[data-ifx-product="matematica"] .route-splash .splashActions em,html[data-ifx-product="matematica"] .route-splash .brandFooter{box-sizing:border-box!important;max-width:100%!important;white-space:normal!important;overflow-wrap:break-word!important;word-break:normal!important}
@media(max-width:560px){html[data-ifx-product="matematica"] .route-splash .splashHero h1,html[data-ifx-product="matematica"] .route-splash .splashHero>p:nth-of-type(2){width:100%!important;max-width:100%!important}html[data-ifx-product="matematica"] .route-splash .splashHero h1{font-size:clamp(1.5rem,7.3vw,1.9rem)!important;letter-spacing:-.035em!important}html[data-ifx-product="matematica"] .route-splash .splashHero>p:nth-of-type(2){padding:0 4px!important;font-size:.84rem!important}html[data-ifx-product="matematica"] .route-splash .splashActions em{padding:0 8px!important;font-size:.64rem!important}}
