/* SCARM Site Layout V66 — estabilidade visual global, contraste e mobile */
:root{--scarm-ink:#120721;--scarm-ink-2:#1a0b2c;--scarm-cream:#f2eadf;--scarm-text:#f7f2f8;--scarm-muted:#c2b7c8;--scarm-acid:#d4ff3d;--scarm-violet:#6d3cc8;--scarm-line-dark:rgba(255,255,255,.16);--scarm-line-light:rgba(40,17,62,.16)}
html{width:100%;max-width:100%;overflow-x:clip;scroll-padding-top:86px}
body.scarm-layout-v66{margin:0;width:100%;max-width:100%;overflow-x:clip}
body.scarm-layout-v66 *,body.scarm-layout-v66 *::before,body.scarm-layout-v66 *::after{box-sizing:border-box;min-width:0}
body.scarm-layout-v66 img,body.scarm-layout-v66 video,body.scarm-layout-v66 svg,body.scarm-layout-v66 canvas,body.scarm-layout-v66 iframe{max-width:100%;height:auto}
body.scarm-layout-v66 h1,body.scarm-layout-v66 h2,body.scarm-layout-v66 h3{overflow-wrap:break-word;text-wrap:balance}
body.scarm-layout-v66 p,body.scarm-layout-v66 li,body.scarm-layout-v66 a,body.scarm-layout-v66 span,body.scarm-layout-v66 summary{overflow-wrap:anywhere}
body.scarm-layout-v66 main{isolation:isolate}
body.scarm-layout-v66 section,body.scarm-layout-v66 article,body.scarm-layout-v66 aside,body.scarm-layout-v66 header,body.scarm-layout-v66 footer{max-width:100%}

/* Cabeçalhos e navegação */
body.scarm-layout-v66 .lp-nav,body.scarm-layout-v66 .v15-header-inner,body.scarm-layout-v66 .article-nav,body.scarm-layout-v66 .nav{max-width:100%}
body.scarm-layout-v66 .article-header,body.scarm-layout-v66 .lp-header,body.scarm-layout-v66 .v15-header{width:100%;max-width:100%;left:0;right:0}
body.scarm-layout-v66 .lp-brand,body.scarm-layout-v66 .v15-brand,body.scarm-layout-v66 .article-brand,body.scarm-layout-v66 .brand{flex:0 1 auto;max-width:100%}
body.scarm-layout-v66 .lp-brand span,body.scarm-layout-v66 .v15-brand span,body.scarm-layout-v66 .article-brand span{min-width:0}
body.scarm-layout-v66 .lp-nav nav,body.scarm-layout-v66 .v15-nav,body.scarm-layout-v66 .article-nav nav{min-width:0}

/* Vídeos e mídia do hero */
body.scarm-layout-v66 .v25-hero-video,body.scarm-layout-v66 .v15-hero-video,body.scarm-layout-v66 .hero-video{width:100%!important;max-width:100%!important;min-width:0!important;object-fit:cover!important;object-position:center!important}
body.scarm-layout-v66 .v25-hero-media,body.scarm-layout-v66 .v15-hero-media,body.scarm-layout-v66 .hero-media{overflow:hidden!important;max-width:100%!important}

/* Seções escuras: contraste real e links legíveis */
body.scarm-layout-v66 .lp-related,body.scarm-layout-v66 .related,body.scarm-layout-v66 .article-related,body.scarm-layout-v66 .service-related,body.scarm-layout-v66 .final-cta{background:var(--scarm-ink)!important;color:var(--scarm-text)!important}
body.scarm-layout-v66 .lp-related h2,body.scarm-layout-v66 .lp-related h3,body.scarm-layout-v66 .lp-related p,body.scarm-layout-v66 .lp-related a,body.scarm-layout-v66 .lp-related span,
body.scarm-layout-v66 .related h2,body.scarm-layout-v66 .related h3,body.scarm-layout-v66 .related p,body.scarm-layout-v66 .related a,body.scarm-layout-v66 .related span,
body.scarm-layout-v66 .article-related h2,body.scarm-layout-v66 .article-related h3,body.scarm-layout-v66 .article-related p,body.scarm-layout-v66 .article-related a,body.scarm-layout-v66 .article-related span,
body.scarm-layout-v66 .service-related h2,body.scarm-layout-v66 .service-related h3,body.scarm-layout-v66 .service-related p,body.scarm-layout-v66 .service-related a,body.scarm-layout-v66 .service-related span{color:var(--scarm-text)!important}
body.scarm-layout-v66 .lp-related>.lp-container{display:block!important}
body.scarm-layout-v66 .lp-related h2{max-width:900px!important;margin:0 0 38px!important;font-size:clamp(36px,5vw,70px)!important;line-height:.98!important;letter-spacing:-.045em!important}
body.scarm-layout-v66 .lp-related-grid,body.scarm-layout-v66 .related-grid{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:0!important;border-top:1px solid var(--scarm-line-dark)!important}
body.scarm-layout-v66 .lp-related-grid>a,body.scarm-layout-v66 .related-grid>a{display:flex!important;flex-direction:column!important;justify-content:space-between!important;min-height:132px!important;padding:22px 22px 22px 0!important;border:0!important;border-bottom:1px solid var(--scarm-line-dark)!important;background:transparent!important;color:var(--scarm-text)!important;text-decoration:none!important;line-height:1.45!important}
body.scarm-layout-v66 .lp-related-grid>a+a,body.scarm-layout-v66 .related-grid>a+a{padding-left:22px!important;border-left:1px solid var(--scarm-line-dark)!important}
body.scarm-layout-v66 .lp-related-grid>a::after,body.scarm-layout-v66 .related-grid>a::after{color:var(--scarm-muted)!important;opacity:1!important}
body.scarm-layout-v66 .lp-related-grid>a:hover,body.scarm-layout-v66 .related-grid>a:hover{color:var(--scarm-acid)!important}
body.scarm-layout-v66 .lp-final,body.scarm-layout-v66 .v15-final{overflow:hidden!important}
body.scarm-layout-v66 .lp-final h2,body.scarm-layout-v66 .v15-final h2,body.scarm-layout-v66 .final-cta h2{color:#fff!important}

/* Blocos contextuais que haviam sido inseridos fora do container */
body.scarm-layout-v66 .lp-context-links{padding:72px 0;background:var(--scarm-cream);color:#2d2036}
body.scarm-layout-v66 .lp-context-links .lp-content-section{margin:0;padding:34px 0;border-top:1px solid var(--scarm-line-light);border-bottom:1px solid var(--scarm-line-light)}
body.scarm-layout-v66 .lp-context-links a{color:#5b269f!important;font-weight:750;text-underline-offset:3px}
body.scarm-layout-v66 .lp-context-links a:hover{color:var(--scarm-violet)!important}

/* Conteúdo editorial gerado: sempre dentro de uma estrutura visual segura */
body.scarm-layout-v66.page-landing>.article-ai-update,body.scarm-layout-v66.page-landing main>.article-ai-update{display:none!important}
body.scarm-layout-v66 .lp-editorial-update{padding:84px 0;background:var(--scarm-cream);color:#2d2036}
body.scarm-layout-v66 .lp-editorial-update .lp-editorial-body{width:min(100%,860px);margin-inline:auto}
body.scarm-layout-v66 .lp-editorial-update h2{margin:44px 0 16px;font-size:clamp(30px,4vw,46px);line-height:1.05;letter-spacing:-.035em}
body.scarm-layout-v66 .lp-editorial-update h2:first-child{margin-top:0}
body.scarm-layout-v66 .lp-editorial-update h3{margin:30px 0 12px;font-size:24px}
body.scarm-layout-v66 .lp-editorial-update p,body.scarm-layout-v66 .lp-editorial-update li{font-size:17px;line-height:1.78}
body.scarm-layout-v66 .lp-editorial-update ul,body.scarm-layout-v66 .lp-editorial-update ol{padding-left:22px}
body.scarm-layout-v66 .article-ai-update,body.scarm-layout-v66 .scarm-editorial-update{margin:48px 0;padding:34px;border-top:1px solid var(--scarm-line-light);border-bottom:1px solid var(--scarm-line-light);background:rgba(109,60,200,.055)}
body.scarm-layout-v66 .article-ai-update h2:first-child,body.scarm-layout-v66 .scarm-editorial-update h2:first-child{margin-top:0}

/* Código, tabelas e conteúdos largos */
body.scarm-layout-v66 pre{display:block;max-width:100%!important;overflow-x:auto!important;overscroll-behavior-inline:contain;contain:inline-size;padding:18px;border-radius:10px}
body.scarm-layout-v66 pre code{display:block;width:max-content;min-width:100%;max-width:none;white-space:pre;overflow-wrap:normal;word-break:normal}
body.scarm-layout-v66 code:not(pre code){overflow-wrap:anywhere;word-break:break-word}
body.scarm-layout-v66 .article-table-scroll,body.scarm-layout-v66 .table-scroll,body.scarm-layout-v66 .table-wrap{max-width:100%;overflow-x:auto;-webkit-overflow-scrolling:touch}
body.scarm-layout-v66 table{max-width:100%}
body.scarm-layout-v66 .mobile-pack{max-width:calc(100vw - 24px)!important;width:auto!important}
body.scarm-layout-v66 dialog{max-width:calc(100vw - 24px)}

/* Grades e cartões */
body.scarm-layout-v66 [class*="grid"]>*{min-width:0}
body.scarm-layout-v66 .lp-content-section,body.scarm-layout-v66 .lp-feature-grid,body.scarm-layout-v66 .lp-faq-grid,body.scarm-layout-v66 .v15-footer-grid,body.scarm-layout-v66 .lp-footer-grid,body.scarm-layout-v66 .related-grid{max-width:100%}
body.scarm-layout-v66 details{max-width:100%}
body.scarm-layout-v66 summary{white-space:normal}

/* Rodapés: sem colunas vazando para fora da tela */
body.scarm-layout-v66 .lp-footer,body.scarm-layout-v66 .v15-footer,body.scarm-layout-v66 .article-footer,body.scarm-layout-v66 .site-footer,body.scarm-layout-v66 .scarm-legal-footer{overflow:hidden}
body.scarm-layout-v66 .lp-footer-grid>div,body.scarm-layout-v66 .v15-footer-grid>div,body.scarm-layout-v66 .article-footer .article-shell>*,body.scarm-layout-v66 .footer-row>*{min-width:0;max-width:100%}
body.scarm-layout-v66 .lp-footer a,body.scarm-layout-v66 .lp-footer span,body.scarm-layout-v66 .lp-footer p,
body.scarm-layout-v66 .v15-footer a,body.scarm-layout-v66 .v15-footer span,body.scarm-layout-v66 .v15-footer p,
body.scarm-layout-v66 .article-footer a,body.scarm-layout-v66 .article-footer span,body.scarm-layout-v66 .article-footer p{overflow-wrap:anywhere;word-break:normal}
body.scarm-layout-v66 .lp-footer-bottom,body.scarm-layout-v66 .v15-footer-bottom,body.scarm-layout-v66 .footer-row{max-width:100%;flex-wrap:wrap}
body.scarm-layout-v66 .scarm-legal-footer{padding:42px 0;background:var(--scarm-ink);color:var(--scarm-text)}
body.scarm-layout-v66 .scarm-legal-footer .scarm-legal-footer-inner{width:min(calc(100% - 40px),1180px);margin:auto;display:flex;justify-content:space-between;gap:24px;align-items:center;flex-wrap:wrap}
body.scarm-layout-v66 .scarm-legal-footer a{color:var(--scarm-text)}
body.scarm-layout-v66 .scarm-legal-footer nav{display:flex;gap:18px;flex-wrap:wrap}

/* Provas, barras e linhas longas */
body.scarm-layout-v66 .lp-proof p,body.scarm-layout-v66 .v15-direct,body.scarm-layout-v66 .article-meta{white-space:normal!important;max-width:100%!important}
body.scarm-layout-v66 .scarm-cookie-settings-row{max-width:100%;overflow:hidden}
body.scarm-layout-v66 .scarm-legal-footer .scarm-cookie-settings-row{width:min(calc(100% - 40px),1180px);margin:24px auto 0;padding-top:20px;border-top:1px solid var(--scarm-line-dark)}
body.scarm-layout-v66 .scarm-legal-footer .scarm-cookie-settings{border:1px solid var(--scarm-line-dark);border-radius:8px;padding:9px 12px;background:transparent;color:var(--scarm-text);cursor:pointer}

@media(max-width:980px){
 body.scarm-layout-v66 .v15-nav,body.scarm-layout-v66 .lp-nav>nav,body.scarm-layout-v66 .article-nav>nav,body.scarm-layout-v66 .nav-links>a:not(.btn){display:none!important}
 body.scarm-layout-v66 .v15-menu{display:grid!important}
 body.scarm-layout-v66 .lp-nav,body.scarm-layout-v66 .article-nav,body.scarm-layout-v66 .v15-header-inner{gap:12px!important}
 body.scarm-layout-v66 .lp-related-grid,body.scarm-layout-v66 .related-grid{grid-template-columns:1fr!important}
 body.scarm-layout-v66 .lp-related-grid>a,body.scarm-layout-v66 .related-grid>a{min-height:0!important;padding:20px 0!important;border-left:0!important}
 body.scarm-layout-v66 .lp-related-grid>a+a,body.scarm-layout-v66 .related-grid>a+a{padding-left:0!important;border-left:0!important}
}

@media(max-width:760px){
 html,body.scarm-layout-v66{overflow-x:hidden}
 body.scarm-layout-v66 .v25-hero-video,body.scarm-layout-v66 .v15-hero-video{display:none!important;width:100%!important}
 body.scarm-layout-v66 .lp-container,body.scarm-layout-v66 .v15-shell,body.scarm-layout-v66 .article-shell,body.scarm-layout-v66 .shell,body.scarm-layout-v66 .container{width:calc(100vw - 26px)!important;max-width:calc(100vw - 26px)!important;margin-left:auto!important;margin-right:auto!important}
 body.scarm-layout-v66 .lp-header .lp-button,body.scarm-layout-v66 .article-header .article-cta-top{max-width:46vw;white-space:normal;text-align:center;line-height:1.15;padding-inline:12px}
 body.scarm-layout-v66 .lp-brand small,body.scarm-layout-v66 .article-brand small{display:none!important}
 body.scarm-layout-v66 .lp-hero h1,body.scarm-layout-v66 .article-hero h1,body.scarm-layout-v66 .v15-hero h1,body.scarm-layout-v66 .tool-hero h1{font-size:clamp(38px,12vw,58px)!important;line-height:.98!important;letter-spacing:-.045em!important}
 body.scarm-layout-v66 .lp-related,body.scarm-layout-v66 .related,body.scarm-layout-v66 .article-related{padding:64px 0!important}
 body.scarm-layout-v66 .lp-related h2{margin-bottom:28px!important;font-size:clamp(34px,10vw,48px)!important}
 body.scarm-layout-v66 .lp-editorial-update{padding:64px 0}
 body.scarm-layout-v66 .article-ai-update,body.scarm-layout-v66 .scarm-editorial-update{margin:36px 0;padding:24px 18px}
 body.scarm-layout-v66 .lp-footer-grid,body.scarm-layout-v66 .v15-footer-grid{display:grid!important;grid-template-columns:1fr!important;gap:26px!important}
 body.scarm-layout-v66 .lp-footer-grid>div,body.scarm-layout-v66 .v15-footer-grid>div{grid-column:auto!important;width:100%!important;padding-top:18px;border-top:1px solid var(--scarm-line-dark)}
 body.scarm-layout-v66 .lp-footer-grid>div:first-child,body.scarm-layout-v66 .v15-footer-grid>div:first-child{padding-top:0;border-top:0}
 body.scarm-layout-v66 .lp-footer-bottom,body.scarm-layout-v66 .v15-footer-bottom,body.scarm-layout-v66 .article-footer .article-shell,body.scarm-layout-v66 .site-footer .footer-row{display:grid!important;grid-template-columns:1fr!important;gap:10px!important;width:min(calc(100% - 26px),1180px)!important}
 body.scarm-layout-v66 .lp-footer a,body.scarm-layout-v66 .v15-footer a,body.scarm-layout-v66 .article-footer a{display:block;max-width:100%}
 body.scarm-layout-v66 .lp-proof p{font-size:12px!important;line-height:1.6!important}
 body.scarm-layout-v66 pre{margin-left:0!important;margin-right:0!important;padding:15px!important;border-radius:8px!important}
 body.scarm-layout-v66 .mobile-pack{left:12px!important;right:12px!important;width:auto!important;max-width:none!important}
 body.scarm-layout-v66 .scarm-legal-footer .scarm-legal-footer-inner{width:min(calc(100% - 26px),1180px);display:grid}
 body.scarm-layout-v66 .scarm-legal-footer nav{display:grid;gap:10px}
}

@media(max-width:390px){
 body.scarm-layout-v66 .lp-container,body.scarm-layout-v66 .v15-shell,body.scarm-layout-v66 .article-shell,body.scarm-layout-v66 .shell,body.scarm-layout-v66 .container{width:calc(100vw - 22px)!important;max-width:calc(100vw - 22px)!important}
 body.scarm-layout-v66 .lp-header .lp-button,body.scarm-layout-v66 .article-header .article-cta-top{font-size:11px!important}
}
